3 |
4 |
--------------------------------------------------------------------------------
/orkbasej/src/main/java/net/sf/oreka/serializers/test/TestNestedMessage.xml:
--------------------------------------------------------------------------------
1 |
2 | 546
3 |
4 | hello
5 |
6 |
--------------------------------------------------------------------------------
/website/latest/mirror.inc.php:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/orkbasecxx/filters/g726codecs/g72x/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | noinst_LTLIBRARIES = libg72x.la
3 | libg72x_la_SOURCES = g72x.c g721.c g723_24.c g723_40.c
4 |
5 | INCLUDES = -I@top_srcdir@
6 | AM_CFLAGS = -D_REENTRANT
7 |
--------------------------------------------------------------------------------
/orkbasecxx/filters/gsm/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | SUBDIRS = gsm610
3 | noinst_LTLIBRARIES = libgsm.la
4 | libgsm_la_SOURCES = GsmFilters.cpp
5 |
6 | INCLUDES = -I@top_srcdir@ -I./gsm610
7 | AM_CXXFLAGS = -D_REENTRANT
8 |
--------------------------------------------------------------------------------
/orkbasecxx/filters/g722codec/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | SUBDIRS =
3 | noinst_LTLIBRARIES = libg722codec.la
4 | libg722codec_la_SOURCES = G722Codec.cpp
5 |
6 | INCLUDES = -I@top_srcdir@ -I../..
7 | AM_CXXFLAGS = -D_REENTRANT
8 |
--------------------------------------------------------------------------------
/orkbasecxx/filters/g726codecs/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | SUBDIRS = g72x
3 | noinst_LTLIBRARIES = libg721codec.la
4 | libg721codec_la_SOURCES = G721Codec.cpp
5 |
6 | INCLUDES = -I@top_srcdir@ -I./g72x
7 | AM_CXXFLAGS = -D_REENTRANT
8 |
--------------------------------------------------------------------------------
/orkweb/src/net/sf/oreka/orkweb/OrkWeb.java:
--------------------------------------------------------------------------------
1 | package net.sf.oreka.orkweb;
2 |
3 | import net.sf.oreka.HibernateManager;
4 |
5 | public class OrkWeb {
6 |
7 | public static HibernateManager hibernateManager = HibernateManager.instance();
8 | }
9 |
--------------------------------------------------------------------------------
/orkbasecxx/filters/audiogain/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | noinst_LTLIBRARIES = libaudiogain.la
3 | libaudiogain_la_SOURCES = AudioGain.cpp
4 |
5 | INCLUDES = -I@top_srcdir@ -I/usr/include/apr-1 -I/usr/include/apr-1.0
6 | AM_CXXFLAGS = -D_REENTRANT
7 |
--------------------------------------------------------------------------------
/orkbasecxx/filters/ilbc/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | SUBDIRS = ilbc
3 | noinst_LTLIBRARIES = libilbc.la
4 | libilbc_la_SOURCES = IlbcFilters.cpp
5 |
6 | INCLUDES = -I@top_srcdir@ -I./ilbc -I/usr/include/apr-1 -I/usr/include/apr-1.0
7 | AM_CXXFLAGS = -D_REENTRANT
8 |
--------------------------------------------------------------------------------
/orkweb/context/WEB-INF/TestComponent.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/orkbasecxx/filters/speex/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | SUBDIRS =
3 | noinst_LTLIBRARIES = libspeexcodec.la
4 | libspeexcodec_la_SOURCES = SpeexCodec.cpp
5 |
6 | INCLUDES = -I@top_srcdir@ -I../.. -I/usr/include/apr-1 -I/usr/include/apr-1.0
7 | AM_CXXFLAGS = -D_REENTRANT
8 |
--------------------------------------------------------------------------------
/orktrack/src/main/java/net/sf/oreka/orktrack/Constants.java:
--------------------------------------------------------------------------------
1 | package net.sf.oreka.orktrack;
2 |
3 | public class Constants {
4 | public static final String APP_NAME = "OrkTrack";
5 | public static final String DEFAULT_REGISTRY_NAME = "metrics-registry";
6 |
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/website/latest/audacity-src.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | # perform a redirect to the latest version, so links to it can remain static
4 |
5 | include 'mirror.inc.php';
6 | include 'versions.inc.php';
7 | header('Location: '.download_url('audacity-src-'.src_version.src_suffix));
8 |
9 | ?>
10 |
--------------------------------------------------------------------------------
/website/latest/audacity-win.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | # perform a redirect to the latest version, so links to it can remain static
4 |
5 | include 'mirror.inc.php';
6 | include 'versions.inc.php';
7 | header('Location: '.download_url('audacity-win-'.win_exe_version.'.exe'));
8 |
9 | ?>
10 |
--------------------------------------------------------------------------------
/orkbasej/src/main/java/net/sf/oreka/srvc/ObjectService.java:
--------------------------------------------------------------------------------
1 | package net.sf.oreka.srvc;
2 |
3 | public interface ObjectService {
4 |
5 | public void saveObject(Object obj);
6 | public Object getObjectById(java.lang.Class cl, int id);
7 | public int getNumObjects(java.lang.Class cl);
8 | }
9 |
--------------------------------------------------------------------------------
/website/latest/audacity-mac.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | # perform a redirect to the latest version, so links to it can remain static
4 |
5 | include 'mirror.inc.php';
6 | include 'versions.inc.php';
7 | header('Location: '.download_url('audacity-mac-'.mac_classic_version.'.sit'));
8 |
9 | ?>
10 |
--------------------------------------------------------------------------------
/website/latest/audacity-macosx.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | # perform a redirect to the latest version, so links to it can remain static
4 |
5 | include 'mirror.inc.php';
6 | include 'versions.inc.php';
7 | header('Location: '.download_url('audacity-macosx-'.macosx_version.'.dmg'));
8 |
9 | ?>
10 |
--------------------------------------------------------------------------------
/website/latest/audacity-win-zip.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | # perform a redirect to the latest version, so links to it can remain static
4 |
5 | include 'mirror.inc.php';
6 | include 'versions.inc.php';
7 | header('Location: '.download_url('audacity-win-'.win_zip_version.'.zip'));
8 |
9 | ?>
10 |
--------------------------------------------------------------------------------
/orkbasecxx/dll.h:
--------------------------------------------------------------------------------
1 | #ifndef __DLL_H__
2 | #define __DLL_H__
3 |
4 | #ifdef WIN32
5 | #define __CDECL__ __cdecl
6 | #else
7 | #define __CDECL__
8 | #endif
9 | #ifdef WIN32
10 | #define DLL_EXPORT __declspec( dllexport )
11 | #else
12 | #define DLL_EXPORT
13 | #endif
14 |
15 | #endif
16 |
17 |
18 |
--------------------------------------------------------------------------------
/website/list/invalid.php:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 | The email address you entered was invalid.
8 |
9 |
10 |
11 | Click here to return to the Audacity home page
12 |
13 |
14 |
17 |
--------------------------------------------------------------------------------
/website/list/unsubscribed.php:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 | You have been unsubscribed from our mailing list.
8 |
9 |
10 |
11 | Click here to return to the Audacity home page
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/orkweb/src/net/sf/oreka/services/UserService.java:
--------------------------------------------------------------------------------
1 | package net.sf.oreka.services;
2 |
3 | import net.sf.oreka.persistent.OrkUser;
4 |
5 | public interface UserService {
6 |
7 | public OrkUser login(String username, String password);
8 | public boolean changePassword(int userId, String oldPassword, String newPassword);
9 |
10 | }
11 |
--------------------------------------------------------------------------------
/orkaudio/messages/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | noinst_LTLIBRARIES = libmessages.la
3 | libmessages_la_SOURCES = CaptureMsg.cpp DeleteTapeMsg.cpp PingMsg.cpp \
4 | TapeMsg.cpp TestMsg.cpp RecordMsg.cpp
5 | AM_CPPFLAGS = -D_REENTRANT
6 | libmessages_la_LIBADD = -L../../orkbasecxx/ -lorkbase
7 | INCLUDES = -I@top_srcdir@ -I../../orkbasecxx
8 |
--------------------------------------------------------------------------------
/website/list/noton.php:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 | Sorry, the email address you entered is not on our mailing list.
8 |
9 |
10 |
11 | Click here to return to the Audacity home page
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/website/about/main.inc.php:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/website/support/main.inc.php:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/orkaudio/App.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 |
15 |
--------------------------------------------------------------------------------
/orkaudio/OrkAudio.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 |
--------------------------------------------------------------------------------
/website/download/main.inc.php:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/orkbasecxx/filters/gsm/gsm610/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | noinst_LTLIBRARIES = libgsm610.la
3 | libgsm610_la_SOURCES = add.c code.c decode.c gsm_create.c gsm_decode.c \
4 | gsm_destroy.c gsm_encode.c gsm_option.c \
5 | long_term.c lpc.c preprocess.c rpe.c \
6 | short_term.c table.c
7 |
8 | INCLUDES = -I@top_srcdir@
9 | AM_CFLAGS = -D_REENTRANT
10 |
--------------------------------------------------------------------------------
/orkbasecxx/filters/opuscodec/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | SUBDIRS =
3 | noinst_LTLIBRARIES = libopuscodec.la
4 | libopuscodec_la_SOURCES = OpusCodec.cpp
5 | INCLUDES = -I@top_srcdir@ -I../.. -I/opt/opus/include/opus -I/usr/include/apr-1 -I/usr/include/apr-1.0
6 | libopuscodec_la_LIBADD = -L/opt/opus/lib/ -lopusstatic
7 | AM_CXXFLAGS = -D_REENTRANT
8 |
9 |
10 |
--------------------------------------------------------------------------------
/orkweb/context/WEB-INF/hivemodule.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/website/list/alreadyon.php:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 | The email address you entered is already on our mailing list!
8 |
9 |
10 |
11 | Click here to return to the Audacity home page
12 |
13 |
14 |
17 |
--------------------------------------------------------------------------------
/orkbasecxx/messages/SyncMessage.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 | #include "SyncMessage.h"
15 |
--------------------------------------------------------------------------------
/orkbasej/src/resources/proxool-template.properties:
--------------------------------------------------------------------------------
1 | # copy this to proxool.properties and change to suit your needs
2 | jdbc-0.proxool.alias=ork-pool
3 | jdbc-0.proxool.driver-url=jdbc:mysql://localhost/test
4 | jdbc-0.proxool.driver-class=com.mysql.jdbc.Driver
5 | jdbc-0.user=root
6 | jdbc-0.password=password
7 | jdbc-0.proxool.maximum-connection-count=10
8 | jdbc-0.proxool.house-keeping-test-sql=select CURRENT_DATE
--------------------------------------------------------------------------------
/orkweb/src/net/sf/oreka/tapestry/MainMenu.jwc:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
--------------------------------------------------------------------------------
/orkweb/context/WEB-INF/Account.page:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/orkweb/context/WEB-INF/RecSegments.properties:
--------------------------------------------------------------------------------
1 |
2 | Duration=Duration
3 | LocalParty=Local Party
4 | RemoteParty=Remote Party
5 |
6 | seg.timestamp=Time
7 | seg.direction=Direction
8 | seg.duration=Duration
9 | seg.localParty=Local Party
10 | seg.remoteParty=Remote Party
11 | tape.id=Tape Id
12 |
13 | firstPage=<<
14 | lastPage=>>
15 | previousPage=<
16 | nextPage=>
17 |
18 | NoResults=There were no results
--------------------------------------------------------------------------------
/.devcontainer/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -e
3 |
4 | #make orkbase
5 | cd /oreka-src/orkbasecxx
6 | autoreconf -i
7 | ./configure CXX=g++
8 | make
9 | make install
10 |
11 | #orkaudio
12 | cd /oreka-src/orkaudio
13 | autoreconf -i
14 | ./configure CXX=g++
15 | make
16 | make install
17 |
18 | #package orkaudio deb
19 | cd /oreka-build/distribution
20 | bash make-orkaudio-deb.sh
21 |
22 | ls -ltrah *.deb
23 |
--------------------------------------------------------------------------------
/distribution/orkaudio-linux-deb-binary/debian/DEBIAN/control:
--------------------------------------------------------------------------------
1 | Package: orkaudio
2 | Priority: optional
3 | Section: base
4 | Maintainer: henri@oreka.org
5 | Architecture: i386
6 | Version: 0.3-1
7 | Depends: libpcap-dev, libsndfile1-dev, libace5.4, libxerces26-dev
8 | Conflicts: liblog4cpp-dev, liblog4cpp1c102, liblog4cpp1-dev, liblog4cpp0
9 | Description: Audio streams recording daemon (VoIP and Sound Device)
10 |
--------------------------------------------------------------------------------
/orkbasecxx/audiofile/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | noinst_LTLIBRARIES = libaudiofile.la
3 | libaudiofile_la_SOURCES = MediaChunkFile.cpp AudioFile.cpp LibSndFileFile.cpp PcmFile.cpp opus_header.cpp OggOpusFile.cpp
4 | AM_CPPFLAGS = -D_REENTRANT
5 | libaudiofile_la_LIBADD = -logg -L/opt/opus/lib/ -lopusstatic
6 | INCLUDES = -I@top_srcdir@ -I../../orkbasecxx -I/opt/opus/include/opus -I/usr/include/apr-1 -I/usr/include/apr-1.0
7 |
--------------------------------------------------------------------------------
/orkbasecxx/shared_ptr.h:
--------------------------------------------------------------------------------
1 | #ifdef SUPPORTS_CPP11
2 |
3 | #include
4 |
5 | namespace oreka {
6 | using std::shared_ptr;
7 | using std::make_shared;
8 | using std::weak_ptr;
9 | };
10 |
11 | #else
12 |
13 | #include
14 | #include
15 | #include
16 | namespace oreka {
17 | using boost::shared_ptr;
18 | using boost::make_shared;
19 | using boost::weak_ptr;
20 | };
21 |
22 | #endif
23 |
--------------------------------------------------------------------------------
/website/list/emailconfirm.php:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 | Thank you for signing up for our announcement list. You will be
8 | receiving a confirmation email shortly. You must respond to this
9 | email in order to be subscribed.
10 |
11 |
12 |
13 | Click here to return to the Audacity home page
14 |
15 |
16 |
19 |
--------------------------------------------------------------------------------
/orkbasej/src/main/java/net/sf/oreka/Direction.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 | package net.sf.oreka;
15 |
16 | public enum Direction {IN, OUT, ALL, UNKN}
17 |
--------------------------------------------------------------------------------
/orkbasej/src/main/java/net/sf/oreka/ServiceClass.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 | package net.sf.oreka;
15 |
16 | public enum ServiceClass {UNKN, AUDIO, CTI}
17 |
--------------------------------------------------------------------------------
/website/contact/main.inc.php:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/orkbasej/src/main/java/net/sf/oreka/Cycle.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 | package net.sf.oreka;
15 |
16 | public enum Cycle {PERMANENT, HOURLY, DAILY, WEEKLY, MONTHLY, UNKN}
17 |
--------------------------------------------------------------------------------
/orkbasecxx/filters/ilbc/ilbc/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | noinst_LTLIBRARIES = libilbcrfc.la
3 | libilbcrfc_la_SOURCES = anaFilter.c iCBSearch.c packing.c \
4 | constants.c gainquant.c iLBC_decode.c StateConstructW.c \
5 | createCB.c getCBvec.c iLBC_encode.c StateSearchW.c doCPLC.c \
6 | helpfun.c syntFilter.c enhancer.c hpInput.c LPCdecode.c \
7 | iLBC_filter.c hpOutput.c LPCencode.c FrameClassify.c iCBConstruct.c lsf.c
8 |
9 | INCLUDES = -I@top_srcdir@
10 | AM_CFLAGS = -D_REENTRANT
11 |
--------------------------------------------------------------------------------
/orkbasej/src/main/java/net/sf/oreka/Day.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 | package net.sf.oreka;
15 |
16 | public enum Day {MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY, UNKN}
17 |
--------------------------------------------------------------------------------
/orktrack/src/main/resources/log4j2.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/orkbasej/src/main/java/net/sf/oreka/messages/AsyncMessage.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 | package net.sf.oreka.messages;
15 |
16 | public abstract class AsyncMessage extends Message {
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/orkaudio/filters/rtpmixer/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | plugindir= $(prefix)/lib/orkaudio/plugins
3 | plugin_LTLIBRARIES = librtpmixer.la
4 | librtpmixer_la_SOURCES = RtpMixer.cpp
5 | librtpmixer_la_LDFLAGS = -module
6 | AM_CPPFLAGS = -D_REENTRANT
7 | librtpmixer_la_LIBADD = -lxerces-c -llog4cxx -lorkbase
8 | INCLUDES = -I@top_srcdir@ -I../../../orkbasecxx -I../common -I/usr/include/apr-1 -I/usr/include/apr-1.0
9 | all-local: librtpmixer.la
10 | cp .libs/librtpmixer.so.0.0.0 ../../plugins/librtpmixer.so
11 |
--------------------------------------------------------------------------------
/orkbasecxx/g711.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 | #ifndef __G711_H__
15 | #define __G711_H__
16 |
17 | int ulaw2linear(unsigned char u_val);
18 | int alaw2linear(unsigned char a_val);
19 |
20 | #endif
21 |
22 |
--------------------------------------------------------------------------------
/orkweb/src/net/sf/oreka/pages/SessionStateObject.java:
--------------------------------------------------------------------------------
1 | package net.sf.oreka.pages;
2 |
3 | import net.sf.oreka.persistent.OrkUser;
4 |
5 | public class SessionStateObject {
6 |
7 | private OrkUser user = null;
8 |
9 | public boolean isUserLoggedIn() {
10 | if(user == null) {
11 | return false;
12 | }
13 | return true;
14 | }
15 |
16 | public OrkUser getUser() {
17 | return user;
18 | }
19 |
20 |
21 | public void setUser(OrkUser user) {
22 | this.user = user;
23 | }
24 |
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/distribution/orkaudio-win32-binary/README.txt:
--------------------------------------------------------------------------------
1 |
2 | Welcome to Oreka, an open media capture and retrieval platform
3 |
4 | Copyright (C) 2005, orecx LLC http://www.orecx.com
5 |
6 | This program is free software, distributed under the terms of
7 | the GNU General Public License. See http://www.gnu.org/licenses/gpl.html.
8 |
9 | This package is a binary distribution of the oreka audio recording service. Source code and documentation can be found at
10 | http://www.oreka.org
11 | http://sourceforge.net/projects/oreka/
12 |
--------------------------------------------------------------------------------
/orkbasecxx/serializers/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | noinst_LTLIBRARIES = libserializers.la
3 | libserializers_la_SOURCES = DomSerializer.cpp DomSerializer.h Serializer.cpp\
4 | Serializer.h SingleLineSerializer.cpp SingleLineSerializer.h\
5 | UrlSerializer.cpp UrlSerializer.h XmlRpcSerializer.cpp\
6 | XmlRpcSerializer.h
7 | #libserializers_la_LIBADD = -L/projects/ext/xmlrpc++/xmlrpc++0.7/ -lXmlRpc
8 | INCLUDES = -I@top_srcdir@ -I/usr/include/apr-1 -I/usr/include/apr-1.0
9 |
10 | AM_CXXFLAGS = -D_REENTRANT
11 |
--------------------------------------------------------------------------------
/website/about/screenshots.php:
--------------------------------------------------------------------------------
1 |
12 |
13 | =$pageTitle?>
14 |
15 | =_('Click any screenshot for a larger version.')?>
16 |
17 |
20 |
--------------------------------------------------------------------------------
/website/include/detect-os.inc.php:
--------------------------------------------------------------------------------
1 |
19 |
--------------------------------------------------------------------------------
/.devcontainer/devcontainer.json:
--------------------------------------------------------------------------------
1 | // See https://aka.ms/vscode-remote/devcontainer.json for format details.
2 | {
3 | "name": "oreka",
4 | "dockerFile": "Dockerfile.orkaudio.build",
5 | "runArgs": [
6 | "--cap-add=SYS_PTRACE",
7 | "--security-opt", "seccomp=unconfined"
8 | ],
9 | "context" : "..",
10 |
11 | // "appPort": [],
12 |
13 | "settings": {
14 | "terminal.integrated.shell.linux": "/bin/bash"
15 | },
16 |
17 | //"postCreateCommand": "make",
18 |
19 | "extensions": [
20 | "ms-vscode.cpptools"
21 | ]
22 | }
--------------------------------------------------------------------------------
/orkweb/src/net/sf/oreka/pages/OrkPage.java:
--------------------------------------------------------------------------------
1 | package net.sf.oreka.pages;
2 |
3 | import org.apache.tapestry.IAsset;
4 | import org.apache.tapestry.annotations.Asset;
5 | import org.apache.tapestry.annotations.InjectState;
6 | import org.apache.tapestry.html.BasePage;
7 |
8 | public abstract class OrkPage extends BasePage
9 | {
10 | @InjectState("session-state-object")
11 | public abstract SessionStateObject getSessionStateObject();
12 |
13 | @Asset("css/orekastyle.css")
14 | public abstract IAsset getGlobalStylesheet();
15 | }
16 |
--------------------------------------------------------------------------------
/.devcontainer/build-pjsua.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -e
3 |
4 | apt-get update -qq && apt-get install -y --no-install-recommends ca-certificates curl libgsm1-dev \
5 | libspeex-dev libspeexdsp-dev libssl-dev portaudio19-dev libsrtp0-dev \
6 | && apt-get purge -y --auto-remove && rm -rf /var/lib/apt/lists/*
7 |
8 | git clone --depth 1 --branch 2.5.5 https://github.com/pjsip/pjproject /opt/pjproject \
9 | && cd /opt/pjproject && ./configure && touch pjlib/include/pj/config_site.h && make dep && make \
10 | && cp pjsip-apps/bin/pjsua* /usr/local/bin/pjsua
--------------------------------------------------------------------------------
/orkaudio/audiocaptureplugins/generator/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | lib_LTLIBRARIES = libgenerator.la
3 | libgenerator_la_SOURCES = GeneratorConfig.cpp Generator.cpp \
4 | AudioCapturePluginCommon.cpp
5 | libgenerator_la_LDFLAGS = -module
6 | AM_CPPFLAGS = -D_REENTRANT
7 | libgenerator_la_LIBADD = -lxerces-c -llog4cxx -lorkbase
8 | INCLUDES = -I@top_srcdir@ -I../../../orkbasecxx -I../common -I/usr/include/apr-1 -I /usr/include/apr-1.0
9 | AudioCapturePluginCommon.cpp:
10 | ln -s ../common/AudioCapturePluginCommon.cpp AudioCapturePluginCommon.cpp
11 |
--------------------------------------------------------------------------------
/orkbasej/src/main/java/net/sf/oreka/messages/SyncMessage.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 | package net.sf.oreka.messages;
15 |
16 | public abstract class SyncMessage extends Message {
17 |
18 | public abstract AsyncMessage process();
19 | }
20 |
--------------------------------------------------------------------------------
/distribution/docker/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -e
3 |
4 | INF=${INTERFACE:-eth0}
5 |
6 | #check if /etc/orkaudio is mounted externally
7 |
8 | if grep -qs '/etc/orkaudio' /proc/mounts; then
9 | echo "Config File exists externally."
10 | else
11 | echo "Config File does not exist. Applying default template"
12 | sed "s/__INTERFACE__/$INF/g" /etc/orkaudio/config_default.xml > /etc/orkaudio/config.xml
13 | fi
14 |
15 | echo "---- Using Configuration -----"
16 | cat /etc/orkaudio/config.xml
17 | echo "---------"
18 |
19 | exec "$@"
20 |
21 |
--------------------------------------------------------------------------------
/orkbasecxx/messages/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | noinst_LTLIBRARIES = libmessages.la
3 | libmessages_la_SOURCES = AsyncMessage.cpp Message.cpp \
4 | SyncMessage.cpp CaptureMsg.cpp DeleteTapeMsg.cpp \
5 | PingMsg.cpp TapeMsg.cpp RecordMsg.cpp InitMsg.cpp \
6 | CrashMessage.cpp AddTagMsg.cpp\
7 | ReadLoggingPropertiesMsg.cpp\
8 | OrkaudioVersionMsg.cpp
9 |
10 | #libmessages_la_LIBADD = -L/projects/ext/xmlrpc++/xmlrpc++0.7/ -lXmlRpc
11 | INCLUDES = -I@top_srcdir@ -I../../orkaudio -I/usr/include/apr-1 -I/usr/include/apr-1.0
12 | AM_CXXFLAGS = -D_REENTRANT
13 |
--------------------------------------------------------------------------------
/orkaudio/filters/g729codec/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | plugindir= $(prefix)/lib/orkaudio/plugins
3 | plugin_LTLIBRARIES = libg729codec.la
4 | libg729codec_la_SOURCES = G729Codec.cpp
5 | libg729codec_la_LDFLAGS = -module
6 | AM_CPPFLAGS = -D_REENTRANT
7 | libg729codec_la_LIBADD = -lbcg729 -llog4cxx -L/opt/bcg729 -L/usr/lib
8 | INCLUDES = -I@top_srcdir@ -I../../../orkbasecxx -I/opt/bcg729/include -I/opt/bcg729/src -I/usr/include/apr-1 -I/usr/include/apr-1.0
9 |
10 | all-local: libg729codec.la
11 | cp .libs/libg729codec.so.0.0.0 ../../plugins/libg729codec.so
12 |
--------------------------------------------------------------------------------
/orkweb/context/WEB-INF/Home.page:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/orkweb/src/net/sf/oreka/tapestry/my.library:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 | Project specific components
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/orkbasecxx/PartyFilter.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 | #ifndef __PARTYFILTER_H__
14 | #define __PARTYFILTER_H__ 1
15 |
16 | bool DLL_IMPORT_EXPORT_ORKBASE PartyFilterActive(void);
17 | bool DLL_IMPORT_EXPORT_ORKBASE PartyFilterMatches(CStdString& party);
18 |
19 | #endif
20 |
--------------------------------------------------------------------------------
/website/404.php:
--------------------------------------------------------------------------------
1 |
12 |
13 | =$pageTitle?>
14 | =_('Sorry, the page you are looking for was not found. Please try the Oreka home page or the site map.')?>
15 |
16 |
19 |
--------------------------------------------------------------------------------
/distribution/orkweb-win32-installer/verify-java-page.ini:
--------------------------------------------------------------------------------
1 | ; Ini file generated by the HM NIS Edit IO designer.
2 | [Settings]
3 | NumFields=3
4 |
5 | [Field 1]
6 | Type=Label
7 | Text=Java (JRE) installation.
8 | Left=0
9 | Right=178
10 | Top=0
11 | Bottom=14
12 |
13 | [Field 2]
14 | Type=Checkbox
15 | Text=Install Java - JRE 7.0.2
16 | State=1
17 | Left=10
18 | Right=262
19 | Top=25
20 | Bottom=39
21 |
22 | [Field 3]
23 | Type=Label
24 | Text=(uncheck this option only if Java is already installed on your system)
25 | Left=21
26 | Right=262
27 | Top=38
28 | Bottom=48
29 |
30 |
--------------------------------------------------------------------------------
/orkweb/src/net/sf/oreka/tapestry/TableHeader.html:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/orkbasej/src/main/java/net/sf/oreka/OrkException.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 | package net.sf.oreka;
15 |
16 | public class OrkException extends Exception {
17 |
18 | static final long serialVersionUID = 1l;
19 |
20 | public OrkException(String message)
21 | {
22 | super(message);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/orkbasecxx/OrkBase.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 | #ifdef WIN32
15 | #ifdef BUILD_ORKBASE
16 | #define DLL_IMPORT_EXPORT_ORKBASE __declspec( dllexport )
17 | #else
18 | #define DLL_IMPORT_EXPORT_ORKBASE __declspec( dllimport )
19 | #endif
20 | #else
21 | #define DLL_IMPORT_EXPORT_ORKBASE
22 | #endif
23 |
24 |
--------------------------------------------------------------------------------
/orkbasej/src/main/java/net/sf/oreka/OrkBase.java:
--------------------------------------------------------------------------------
1 | package net.sf.oreka;
2 |
3 |
4 |
5 | public class OrkBase {
6 |
7 | private static OrkBase orkBase = null;
8 |
9 | private boolean debugSwitch = false;
10 |
11 | public boolean isDebugSwitch() {
12 | return debugSwitch;
13 | }
14 |
15 |
16 | public void setDebugSwitch(boolean debugSwitch) {
17 | this.debugSwitch = debugSwitch;
18 | }
19 |
20 |
21 | private OrkBase() {
22 | }
23 |
24 | public static OrkBase instance() {
25 | if(orkBase == null) {
26 | orkBase = new OrkBase();
27 | }
28 | return orkBase;
29 | }
30 |
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/orkbasej/src/main/java/net/sf/oreka/OrkObject.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 | package net.sf.oreka;
15 |
16 | import net.sf.oreka.serializers.*;
17 |
18 | public interface OrkObject {
19 |
20 | public String getOrkClassName();
21 | public void define(OrkSerializer serializer) throws OrkException;
22 | public void validate();
23 | }
24 |
--------------------------------------------------------------------------------
/orkbasecxx/OrkBase.dsw:
--------------------------------------------------------------------------------
1 | Microsoft Developer Studio Workspace File, Format Version 6.00
2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
3 |
4 | ###############################################################################
5 |
6 | Project: "OrkBase"=.\OrkBase.dsp - Package Owner=<4>
7 |
8 | Package=<5>
9 | {{{
10 | }}}
11 |
12 | Package=<4>
13 | {{{
14 | }}}
15 |
16 | ###############################################################################
17 |
18 | Global:
19 |
20 | Package=<5>
21 | {{{
22 | }}}
23 |
24 | Package=<3>
25 | {{{
26 | }}}
27 |
28 | ###############################################################################
29 |
30 |
--------------------------------------------------------------------------------
/orkbasecxx/OrkBase.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 | // Defines the entry point for the DLL application.
15 | //
16 |
17 | //#include "stdafx.h"
18 | /*
19 | BOOL APIENTRY DllMain( HANDLE hModule,
20 | DWORD ul_reason_for_call,
21 | LPVOID lpReserved
22 | )
23 | {
24 | return TRUE;
25 | }
26 | */
27 |
28 |
--------------------------------------------------------------------------------
/orkaudio/filters/silkcodec/Makefile.am:
--------------------------------------------------------------------------------
1 | METASOURCES = AUTO
2 | plugindir= $(prefix)/lib/orkaudio/plugins
3 | plugin_LTLIBRARIES = libsilkcodec.la
4 | libsilkcodec_la_SOURCES = SilkCodec.cpp
5 | libsilkcodec_la_LDFLAGS = -module
6 | AM_CPPFLAGS = -D_REENTRANT
7 | libsilkcodec_la_LIBADD = -llog4cxx \
8 | -L/opt/silk/SILKCodec/SILK_SDK_SRC_FIX -lSKP_SILK_SDK
9 |
10 | INCLUDES = -I@top_srcdir@ -I../../../orkbasecxx -I/opt/silk/SILKCodec/SILK_SDK_SRC_FIX/interface -I/opt/silk/SILKCodec/SILK_SDK_SRC_FIX/src -I/usr/include/apr-1 -I/usr/include/apr-1.0
11 |
12 | all-local: libsilkcodec.la
13 | cp .libs/libsilkcodec.so.0.0.0 ../../plugins/libsilkcodec.so
14 |
--------------------------------------------------------------------------------
/orkweb/src/net/sf/oreka/services/RecSegmentService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | * This program is free software, distributed under the terms of
9 | * the GNU General Public License.
10 | * Please refer to http://www.gnu.org/copyleft/gpl.html
11 | *
12 | */
13 |
14 | /**
15 | *
16 | */
17 | package net.sf.oreka.services;
18 |
19 | import java.util.*;
20 |
21 |
22 | public interface RecSegmentService {
23 |
24 | public int getResults(RecSegmentFilter filter, int offset, int number, String orderBy, boolean ascending, List results);
25 | }
26 |
--------------------------------------------------------------------------------
/orkweb/src/net/sf/oreka/pages/ProtectedPage.java:
--------------------------------------------------------------------------------
1 | package net.sf.oreka.pages;
2 |
3 | import org.apache.tapestry.PageRedirectException;
4 | import org.apache.tapestry.event.PageEvent;
5 | import org.apache.tapestry.event.PageValidateListener;
6 |
7 |
8 | public abstract class ProtectedPage extends OrkPage implements PageValidateListener
9 | {
10 | public void pageValidate(PageEvent event)
11 | {
12 | if(getSessionStateObject().isUserLoggedIn()) {
13 | return; // Ok, all fine
14 | }
15 | // Need to authenticate user
16 | HomePage home = (HomePage) getRequestCycle().getPage("Home");
17 | throw new PageRedirectException(home);
18 |
19 | // #### See if we can set a callback here
20 | }
21 | }
--------------------------------------------------------------------------------
/orkweb/src/net/sf/oreka/tapestry/TableHeader.jwc:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
--------------------------------------------------------------------------------
/orkaudio/filters/LiveStream/LiveStreamServer.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * LiveStreamFilter Plugin
5 | * Author Shushant Sharan
6 | *
7 | */
8 | #ifndef LIVESTREAMSERVER_H
9 | #define LIVESTREAMSERVER_H
10 | #define CPPHTTPLIB_USE_POLL
11 |
12 | #include
13 | #include
14 | #include "ConfigManager.h"
15 | #include "LiveStreamSession.h"
16 | #include "Config.h"
17 |
18 | class LiveStreamServer {
19 | public:
20 | LiveStreamServer(int port);
21 | void Run();
22 | void Start();
23 | void Stop();
24 |
25 | private:
26 | int m_port;
27 | httplib::Server svr;
28 | };
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/orkaudio/audiocaptureplugins/voip/SkinnyParsers.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Oreka -- A media capture and retrieval platform
3 | *
4 | * Copyright (C) 2005, orecx LLC
5 | *
6 | * http://www.orecx.com
7 | *
8 | */
9 | #ifndef __SKINNYPARSERS_H__
10 | #define __SKINNYPARSERS_H__ s
11 |
12 | #include
13 | #include "Utils.h"
14 | #include