Commit Graph

34 Commits

Author SHA1 Message Date
fgerlits bc49af1e38 added reset() method to StorageClientInterface;
modified scheduler tests to use this reset() method;
changed getAllPlaylists() and getAllAudioClips() in StorageClientInterface
  to use the search() method, and added optional limit and offset arguments;
changed the Makefile.in in modules/storage and products/scheduler to
  initialize the storage server after compilation and before running tests;
modified some scheduler tests to work correctly with either Test- or
  Web- StorageClient
2005-01-27 20:20:15 +00:00
fgerlits e273b4eb80 modified storage test data to make the testStorageClient and the webS.C.
more similar
2005-01-26 17:51:34 +00:00
fgerlits d3611a44aa added taglib-1.3.1 to tools 2005-01-20 16:57:32 +00:00
fgerlits 2a8113a892 fixed the search methods 2005-01-20 14:11:37 +00:00
fgerlits 83d1971639 implemented search() in Storage; it works in the TestStorageClient,
does not work yet in the WebStorageClient
2005-01-19 20:51:48 +00:00
fgerlits 575e1a56ab fixed the C++ wrapper of the resetStorage method in the storage server 2005-01-19 11:39:20 +00:00
fgerlits 30060746dd modified WebStorageClient to reflect changes in storageServer module 2005-01-18 13:14:14 +00:00
fgerlits 5a749c7977 modified the WebStorageClient to keep a cache of the playlists which are
currently being edited
2005-01-15 12:07:09 +00:00
fgerlits 72387302c0 changed the return value of createPlaylist() to Ptr<UniqueId>::Ref 2005-01-14 12:29:05 +00:00
fgerlits bb3b36e45a added a call to close() after every use of XmlRpcClient 2005-01-13 16:54:55 +00:00
fgerlits db0fcb87fb changed try-catch formatting
added deletePreferencesItem() to authentication module
2005-01-13 14:43:42 +00:00
fgerlits 300a90ab83 added documentation to the storage clients
rewrote the TestStorageClient to better mirror the behavior of the
    WebStorageClient
added copy constructors to AudioClip and Playlist (needed in TestS.C.)
2005-01-12 15:46:51 +00:00
fgerlits 67910f4fcf added title field in saved playlist
fixed (kind of; I still don't understand them) some problems arising from
    StorageException -> XmlRpcException change
2005-01-10 10:36:56 +00:00
maroy 4eac8957fd moved LiveSupport::Storage::StorageException and derivatives to
LiveSupport::Core::XmlRpcException
2005-01-08 12:40:33 +00:00
fgerlits 3d6cb307de changed StorageClientInterface::storeAudioClip() return type to void 2005-01-06 17:25:40 +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
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 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 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
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
fgerlits ea3b4af262 got storeAudioClip to work, kinda sorta 2004-12-24 13:19:51 +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
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
fgerlits 5e8378a164 changed methods calling the storage server according to the new specs 2004-12-18 16:33:38 +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
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
fgerlits 6b616419df I thought I committed this last night, but apparently not 2004-11-23 09:42:36 +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