Commit Graph

327 Commits

Author SHA1 Message Date
maroy 26da504e90 added simplePlaylistTest 2005-01-09 13:32:14 +00:00
maroy c11f956563 added uploadPlaylist, displaySchedule and removeFromSchedule methods
added proper XML-RPC error handling
2005-01-08 13:39:30 +00:00
maroy 4eac8957fd moved LiveSupport::Storage::StorageException and derivatives to
LiveSupport::Core::XmlRpcException
2005-01-08 12:40:33 +00:00
maroy a08d2b4dcd added some more functions 2005-01-08 12:39:33 +00:00
fgerlits cf1054852c moved XmlRpcTools (and PlayLogEntry) over to the Core module 2005-01-07 14:55:19 +00:00
maroy 21485a6d01 removed 'cd -' from the end of statements that were like
dirname=`cd somethere; pwd; cd -`
2005-01-07 14:04:29 +00:00
maroy c80f18b5aa moved ScheduleEntry from LiveSupport::Scheduler to LiveSupport::Core 2005-01-07 13:12:43 +00:00
tomas 8001ffdce4 Result structure and documentation changes in searchMetadata/localSearch
methods. (http://bugs.campware.org/view.php?id=481)
File doc/search.html removed - content moved to inline docs.
XR_LocStor class moved to separate file.
2005-01-07 02:46:52 +00:00
fgerlits 3d6cb307de changed StorageClientInterface::storeAudioClip() return type to void 2005-01-06 17:25:40 +00:00
fgerlits 4453635885 addAudioClip() and addPlaylist() now update playlength of Playlist object 2005-01-06 12:59:57 +00:00
fgerlits 0abd972d26 added clarification to the AudioClip and Playlist class documentation 2005-01-06 11:21:06 +00:00
fgerlits 7c0793a370 added "generate new audio clip ID" functionality to TestStorageClient::
storeAudioClip()
2005-01-06 10:40:48 +00:00
tomas 0f1625db38 Search method with structured query support added.
(http://bugs.campware.org/view.php?id=481)
(+probably: http://bugs.campware.org/view.php?id=513)
+solved: http://bugs.campware.org/view.php?id=522
2005-01-06 01:10:01 +00:00
fgerlits 7259599ce1 changed all(*) XML-RPC references to unique IDs to string, and all(*)
PostgreSQL references to BIGINT.

* that I could think of
2005-01-05 19:50:01 +00:00
fgerlits 7a56bbf8be added AudioClip constructor without ID, to be used before storeAudioClip()
added run-time type info to Playable: getType(), getAudioClip() and
    getPlaylist()
2005-01-04 21:47:56 +00:00
tomas b2d6de1344 - 2005-01-04 03:18:35 +00:00
tomas 28ab690499 solution of http://bugs.campware.org/view.php?id=523
and minor changes
2005-01-04 03:02:06 +00:00
fgerlits f1ca8879ab added acquirePlaylist() and releasePlaylist() to WebStorageClient
modified config() methods in Core (Playlist, PlaylistElement, FadeInfo,
    and AudioClip) to read ID as hexadecimal string & not decimal number
some config xml files and tests had to be modified accordingly
2005-01-03 19:39:54 +00:00
fgerlits 31cc87b3c5 *** empty log message *** 2005-01-03 13:28:58 +00:00
fgerlits de9799cc6f changed test files in storageServer/var/tests 2005-01-03 13:25:39 +00:00
maroy dc01754047 fixed open/close cycle, hopefully 2005-01-02 12:30:10 +00:00
maroy 3e851ea7ed changed the open() call, to enable opening new clips without playing
the previous one
2005-01-02 12:04:15 +00:00
maroy 9566112cfd added getPlaylength() function to AudioPlayerInterface
renamed playThis() to open(), and added close() function
2005-01-02 11:50:29 +00:00
fgerlits 6eb6926c8b added playlist methods to WebStorageClient (everything except acquire and
release)
finally got rid of RemoveAudioClip() in Playlist
2004-12-31 14:13:49 +00:00
fgerlits 4d777103f7 added title attribute to AudioClip (in config(), too)
updated config files with title attribute
created getXmlString() method in AudioClip, Playlist, PlaylistElement
    and FadeInfo
replaced old (and bad) toXml() method with getMetadataString() in AudioClip
2004-12-30 20:09:28 +00:00
fgerlits 1931deef7c *** empty log message *** 2004-12-30 12:25:04 +00:00
fgerlits 29e95ebf70 changed Makefiles to use curlpp instead of curl 2004-12-30 11:51:48 +00:00
tomas 2fe057b9e5 audioclip and playlist internal file types added,
several next mime-types supported now
2004-12-30 02:35:47 +00:00
fgerlits 562705b031 changed return values in AudioClip and Playlist from Ptr<std::string>::Ref
and Ptr<Glib::ustring>::Ref to Ptr<const ... >::Ref
finished adding audio clip methods to WebStorageClient
modified helix install script to copy the splay executable to $LS/usr/bin
    (HELIX_LIBS needs to be set to "$LS/usr/lib/helix/" for this to work)
2004-12-29 19:16:33 +00:00
fgerlits 11f46d11ba wrote configuration of AudioClip from metafile;
added toXml() method to AudioClip
2004-12-29 10:02:29 +00:00
tomas f57fa14fbd Playlist methods added in PHP and XMLRPC layers.
+solved bug: http://bugs.campware.org/view.php?id=520
+minor change in _createGunid - for only non-negative bigint.
2004-12-29 01:51:00 +00:00
fgerlits 7adc50d7da modified to use new locstor.storeAudioClip method 2004-12-28 10:40:53 +00:00
tomas a7698073cb ftype added to files db table,
resolved bug from report 0000513 at http://bugs.campware.org/view.php?id=482
2004-12-28 00:47:04 +00:00
fgerlits 3b01df226c added get/set methods for title and for general metadata in AudioClip
and in Playlist
2004-12-27 19:52:02 +00:00
tomas 54df237819 minor bug ... 2004-12-27 15:56:09 +00:00
tomas 8ae91afd94 Gunid testing added. 2004-12-27 15:31:13 +00:00
tomas a9e52421d9 Gunid format change!
Gunid is internally bigint (8B int).
Gunid is transported as 16 hex digits string in input parameters and output
results.
2004-12-27 14:49:25 +00:00
fgerlits 4f23838731 re-added storeAudioClip test 2004-12-27 11:23:55 +00:00
fgerlits a7721186cd *** empty log message *** 2004-12-24 14:20:15 +00:00
fgerlits 70e6d2f6e0 *** empty log message *** 2004-12-24 13:57:56 +00:00
fgerlits ea3b4af262 got storeAudioClip to work, kinda sorta 2004-12-24 13:19:51 +00:00
fgerlits 5c7db7cf98 fixed a typo in UniqueId.h 2004-12-23 23:15:47 +00:00
fgerlits 518ae21eeb added curl-7.12.3 in tools/
plagiarized MD5 code from Mordechai T Abzug into Core::Md5 class
2004-12-23 21:53:22 +00:00
fgerlits de2b5a49a2 modified the authentication and storage modules to throw their
own exception classes AuthenticationException and StorageException
instead of invalid_argument and logic_error
2004-12-23 11:37:55 +00:00
fgerlits adf05eaf29 Changed WebStorageClient because storage server behavior changed. 2004-12-22 09:05:06 +00:00
tomas ca9eebe138 - 2004-12-22 03:33:51 +00:00
tomas f0186ae3ee sorry - there were wrong commit ... 2004-12-22 03:32:53 +00:00
tomas c0ccb18a82 minor changes 2004-12-22 02:19:56 +00:00
tomas bc954ea07b Field in return struct of download-close methods is gunid:string now. 2004-12-22 02:18:46 +00:00
tomas 5268a81857 solved bug: http://bugs.campware.org/view.php?id=480 2004-12-22 00:36:53 +00:00
fgerlits 288ad456be Finally got reading from the storage server to work. Yippee! 2004-12-21 21:00:37 +00:00
fgerlits 48be2884b4 changed UniqueId::IdType from unsigned int to long long int
added UniqueId constructor from, and conversion to, std::string
got WebStorageClient::existsAudioClip() to work
2004-12-20 22:08:19 +00:00
maroy d554a793d1 changed the call to GetSchedulerTime to call with no parameters 2004-12-20 14:21:49 +00:00
maroy e9f5b6b04c fixed fallbackTest 2004-12-20 14:02:48 +00:00
maroy 1522d9c053 added LocalizedConfigurable
added Glib::ustring functions to LocalizedObject
2004-12-20 13:58:16 +00:00
tomas f81887c4ae Methods addSubj2 and removeSubjFromGr added.
(from alib module html ui example).
2004-12-20 02:43:16 +00:00
tomas 3490c97746 Documentation tags for doxugen added. 2004-12-19 00:40:12 +00:00
tomas 88df4ba4fc Documentation improved. 2004-12-18 23:43:53 +00:00
tomas a6d3541ae1 Inline documetation and error processing improved. 2004-12-18 23:32:49 +00:00
fgerlits 5e8378a164 changed methods calling the storage server according to the new specs 2004-12-18 16:33:38 +00:00
tomas 4785ebaafb Major changes - mainly in XMLRPC interface,
new layer in class hierarchy: BasicStor
2004-12-18 02:14:17 +00:00
tomas d4718a6b96 editPerms permission depends on perm setting of parent object now. 2004-12-18 01:57:11 +00:00
tomas d384f42da0 deleteData() corrected 2004-12-18 01:11:15 +00:00
tomas fccdbccf4a minor bug in checkPerm eliminated 2004-12-18 01:02:10 +00:00
tomas 504fabf8c7 testonly target added 2004-12-18 01:01:19 +00:00
maroy 790e6ee4c1 migrated from libxml++ 1.x to 2.8 2004-12-17 12:12:31 +00:00
maroy 6fdafd17e2 added missing file 2004-12-17 12:10:28 +00:00
tomas 2de82b2a6a - 2004-12-16 23:39:23 +00:00
fgerlits 7dbfa2dbc4 a few more places where the ClientInterface moves had to be recorded 2004-12-16 11:24:54 +00:00
fgerlits 8d8eaa93be moved AuthenticationClientInterface.h from Core to Authentication
moved StorageClientInterface.h from Core to Storage
added tests for AuthenticationClientFactory and StorageClientFactory
2004-12-15 20:36:26 +00:00
tomas 1796f4b4a3 Old XMLRPC extension files removed. 2004-12-15 17:30:06 +00:00
tomas 275af6c516 Inlude patched XML_RPC extension into LiveSupport CVS. 2004-12-15 17:25:50 +00:00
tomas bdb2c5c474 Bug in folder rename solved. 2004-12-15 17:21:39 +00:00
maroy b306b0c2dd added more parallel tests, as they seem to be fixed with
hxclient_1_3_0_neptunex-2004-12-15
2004-12-15 12:46:44 +00:00
maroy ae093e2cdc now the XML-RPC client closes the connection immediately 2004-12-14 13:02:32 +00:00
maroy cb38affb2a added getSchedulerTime() function 2004-12-14 12:46:50 +00:00
fgerlits 12e3b40235 patched incorrect handling of struct tm in XmlRpc::XmlRpcValue 2004-12-13 21:45:41 +00:00
maroy b9495ba094 time conversion routines now properly throw exceptions, when needed 2004-12-13 13:56:13 +00:00
maroy b937849015 added TimeCoverstion::tmToPtime() 2004-12-13 12:33:41 +00:00
tomas ce64c6ead3 cosmetic chngs 2004-12-12 20:32:51 +00:00
tomas 29844f9a3a added:
resetStorage XML-RPC method in xrLocStor
 and var/tests/sampleData.php file
(and minor changes)
2004-12-12 02:12:47 +00:00
fgerlits 8908bffe6b added webAuthenticationClient.xml for testing WebStorageClient 2004-12-09 09:14:52 +00:00
tomas 1a14163965 Few comments added 2004-12-09 00:42:42 +00:00
fgerlits 089744e465 added some stuff to the WebStorageClient, not much to show for it yet 2004-12-08 12:50:09 +00:00
tomas 705bd34c33 Minor changes in LocStor::storeAudioClip and StoredFile::insert (bug. 483) 2004-12-08 01:47:18 +00:00
fgerlits 0c6cd50546 added abstract Playable class, which is a common ancestor of AudioClip and
Playlist; plus some clarification in the PlaylistElement documentation
2004-12-06 17:19:24 +00:00
tomas ba315ed7d4 XMLRPC library frmo PEAR used
- solved bug: http://bugs.campware.org/view.php?id=480
2004-12-06 02:32:55 +00:00
fgerlits 3ce857b78b added parentheses to make gcc happy 2004-12-03 11:07:42 +00:00
fgerlits 0fa7cd107d appendix #2 2004-12-02 13:39:53 +00:00
fgerlits f8e647bac3 appendix to the previous 2004-12-02 13:39:12 +00:00
fgerlits 02736c51aa moved WebAuthenticationClient in cvs, too 2004-12-02 13:38:09 +00:00
fgerlits b1a40ac950 fixed a typo 2004-12-02 13:20:54 +00:00
fgerlits d48cb7ccce added explicit "private" visibility specification
moved WebAuthenticationClient.h from public to private
2004-12-02 13:11:20 +00:00
maroy c5f2579ec9 added WebStorageClient to StorageClientFactory 2004-12-02 10:30:02 +00:00
maroy c0cc88833e updated documenation 2004-12-02 01:36:06 +00:00
maroy 885b2cc212 added scheduler client module 2004-12-02 01:22:38 +00:00
maroy 97a0c86134 fixed typo 2004-12-01 23:48:46 +00:00
maroy 05d0cce2b1 fixed typo 2004-12-01 23:42:42 +00:00
maroy c5107f715b separated troublesome helix problems into separate test cases 2004-12-01 21:14:11 +00:00
maroy 585a096fdb added capability to Localized object to load a resource bundle based on
information in a configuration file
2004-12-01 20:07:37 +00:00
maroy 70968ffbcf added message formatting functions 2004-11-30 23:57:55 +00:00
fgerlits 7be7d6b0d9 added nested playlist support to the storage module 2004-11-30 17:00:25 +00:00
fgerlits 34b681064c added support for playlists containing other playlists 2004-11-29 20:40:36 +00:00
fgerlits f8e5516240 *** empty log message *** 2004-11-29 12:57:52 +00:00
fgerlits 0311bb4fb4 moved WebStorageClient.h to include/LiveSupport/Storage 2004-11-29 12:55:21 +00:00
fgerlits 7a6592edbf wrote specifications for the playlist methods in the storage server
started adding a savePlaylist() call to the xml-rpc functions which
  call the storage server (I should have done this earlier but didn't)
2004-11-26 18:54:53 +00:00
tomas 98b553cec0 DOMXML extension checking added. 2004-11-25 20:17:10 +00:00
tomas 496e49a68c StoredFile::recallByGunid method added for more clear recalling by gunid. 2004-11-25 17:38:03 +00:00
tomas a0eba92d89 Error reporting enabled with XML header/footer. 2004-11-25 17:13:32 +00:00
maroy c9e68edff6 minor sanity changes... 2004-11-25 14:52:26 +00:00
maroy a279b355c1 replaced handler thread implementation from direct POSIX thread to
LiveSupport::Core::Thread
2004-11-25 12:33:22 +00:00
maroy 17afe62335 changes helix error code output to hex format 2004-11-25 10:13:42 +00:00
maroy 952021633d removed pthread_exit() again. for some reason, the pthread implementation
on Mandrake 10 crashes when a thread function exists by calling it.
2004-11-25 09:51:24 +00:00
tomas d95c09c236 Returning error codes and messages corrected. 2004-11-25 01:48:40 +00:00
fgerlits c74555104f testAuthenitcation.xml -- one more file left out last time 2004-11-24 22:34:55 +00:00
fgerlits f561ad58ff modified to allow only one kind of client at a time 2004-11-24 16:45:58 +00:00
fgerlits 8d7e16a0c4 changed StorageClientFactory to produce only one kind of client
added some documentation (of xml configuration file format)
2004-11-24 16:21:59 +00:00
maroy bcbe880d42 removed references to usleep(), and replaced them with TimeConversion::sleep() 2004-11-24 13:36:01 +00:00
maroy 654632125b added boost time lib to Makefile 2004-11-24 13:07:37 +00:00
maroy 9ae4244b4b addded Thread::yield()
replaced usleep() call to nanosleep() in TimeCoversion::sleep()
2004-11-24 13:05:27 +00:00
fgerlits 0a7ca4196c fixed the authenitication client factory to produce test clients, too 2004-11-24 11:42:49 +00:00
fgerlits 06a2fcd2a0 added a test authentication client, and (temporarily) removed the
'make -C modules/storageServer' lines from the makefiles
2004-11-24 11:09:23 +00:00
tomas 41af7984c1 Changes for less verbose and more robust setup process.
Some documentation added.
2004-11-24 04:07:46 +00:00
fgerlits d453f7d664 added some more documentation to the authentication client 2004-11-23 16:31:14 +00:00
maroy 723e0459fa added -pthread option to CFLAGS and LDFLAGS 2004-11-23 11:51:22 +00:00
fgerlits 3aff2f8a8c added authenticationclient.xml files which I forgot last time 2004-11-23 11:32:36 +00:00
fgerlits 6b616419df I thought I committed this last night, but apparently not 2004-11-23 09:42:36 +00:00
maroy a9fddab949 fixed typo 2004-11-22 12:05:21 +00:00
fgerlits 4d58654fea moved these over to Core because the StorageClientInterface depends on them 2004-11-22 10:57:24 +00:00
maroy ef9025c181 fixed typo 2004-11-22 10:41:50 +00:00
fgerlits d64b7fcdf5 version 2 of the authentication client; it works now, but still depends
on a http server set up correctly beforehand
2004-11-22 10:38:08 +00:00
maroy e0cac7c756 added LocalizedObject base class, with one known failing test 2004-11-22 10:30:12 +00:00
maroy 3f0fe23b5e added empty directories 2004-11-21 10:09:18 +00:00
fgerlits c662e639e0 added some more bits of the authentication module 2004-11-20 10:53:56 +00:00
fgerlits 03e541ce79 added authentication module 2004-11-20 10:24:23 +00:00
maroy f790cf1965 fixed thread test to make sure it runs on all scheduling environments 2004-11-18 15:59:22 +00:00
maroy 5e8312cc82 fixed bug #0000452, where the thread was crashing after exit 2004-11-18 15:44:11 +00:00
maroy 54164b752c updated test object to reflect changes in access return types (const returns) 2004-11-18 12:28:02 +00:00
fgerlits 9b4502fccc added the first real function (existsAudioClip()) to the WebStorageClient 2004-11-17 18:18:34 +00:00
fgerlits 6fb2c1b578 added (so far mostly empty) WebStorageClient 2004-11-16 15:21:16 +00:00
fgerlits ca278cecdd *** empty log message *** 2004-11-12 14:14:23 +00:00
fgerlits 696aa95c9f moved doxytag generation to the root Makefile 2004-11-12 10:19:21 +00:00
fgerlits dc58a33ca4 mostly cosmetic changes to TestStorageClient & fiddling with doxytag 2004-11-11 15:39:15 +00:00
fgerlits 9db6d24725 removed the URIs from released playlists and audio clips
added the XmlRpcServerMethod external to the Scheduler documentation
2004-11-10 17:45:53 +00:00
fgerlits 321955070f got rid of tempnam() and fopen() 2004-11-10 10:09:04 +00:00
maroy 3ed2496b03 added .smil extenstion to generated temporary SMIL files 2004-11-09 20:58:18 +00:00
fgerlits 027156d9c1 shortened the test sound 2004-11-09 17:43:50 +00:00
fgerlits 830325ca92 part 2 of the new acquire/release methods 2004-11-09 16:54:03 +00:00
fgerlits 0e0d7335a1 rewrote acquire/release methods in TestStorageClient 2004-11-09 16:05:44 +00:00
maroy c3a8a3c6da changed temp file name prefix from var/ to tmp/ 2004-11-09 10:13:53 +00:00