Commit graph

35 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
9d3995b658 added more tests to WebStorageClientTest 2005-01-21 12:46:37 +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
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
5c5e8c7de9 Updated the methods in the scheduler module to use the changed storage client
interface.
Re-formatted try-catch blocks everywhere to make them less readable.
2005-01-12 20:28:31 +00:00
fgerlits
0bf873f13c added C++ API in the authentication module for the new storage server
methods loadPref and savePref
2005-01-10 21:10:53 +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
26da504e90 added simplePlaylistTest 2005-01-09 13:32:14 +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
7adc50d7da modified to use new locstor.storeAudioClip method 2004-12-28 10:40:53 +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
4f23838731 re-added storeAudioClip test 2004-12-27 11:23:55 +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
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
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
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
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