Commit Graph

11 Commits

Author SHA1 Message Date
fgerlits 6efc50520c reverted the storageServer, archiveServer, storageAdmin and htmlUI modules to their branches/campcaster-1.2 (last known working) state 2007-05-10 09:57:06 +00:00
paul 0cd289c48b In BasicStor.php, converted many functions to STATIC because thats what they were. This in turn converted many other functions to STATIC in other files. Commented out functions that were not in use. Removed code that was already commented out. The Prefs class no longer requires the greenbox in its constructor. Changed the poorly named "upload2Hub" to "uploadToHub". Changed "uploadFileToHub" to "uploadFileAsync" (partly because the idea of a Hub no longer exists). Added public/private keywords to functions in Transport.php. Converted some comments mentioning LS to CC. DataEngine class no longer needs a Greenbox object to initialize it. Expanded LocStor::searchMetadata() to handle remote searches as well as local searches. 2007-03-05 13:54:55 +00:00
paul 488dad1fd9 Cleaned up BasicStor::bsPutFile()/StoredFile::Insert() by making a better set of more extensible parameters. This allowed me to pass in the MD5 and MIME type values, which means those values do not have to be re-calculated when this function is called. This means adding files will be faster now (each calculation of an MD5 value is .25 of a second on my machine). Added a cache to the Metadata class (this class needs serious cleaning up), so that you only have to do one database call and the rest of the time you just use the cache. The number of calls to getMetadataValue() should speedups due to this. Merged the LsPlaylist class into the Playlist class. Importing through the import script and web interface now reads the COMMENT tag and the COMPOSER tag (bug #2108). Moved from using (ls:genre) to (dc:type) for the metadata label for genre and added to the upgrade script to take this into account. Fixed bug in StoredFile::Recall() so that Playlists work again, added an MD5 parameter for this function so that all the Recall functions work in the same way, changed the return value to NULL if the Recall function does not find the record. Made a lot of code more readable and easier to debug. Added StoredFile::getGunid(). 2007-01-21 03:31:19 +00:00
paul a1d90f6bbc Fix to prevent double-import in the Web interface. Part of #1805 2007-01-15 23:12:54 +00:00
paul 655016777f This should be the end of the hash marks problem on the Library search/browse pages - I restored the HUBBROWSE object to load for every page load, it slows things down but should make it stable again. Bug #2037. Also added some code docs to uiBase. 2006-11-27 19:32:15 +00:00
paul 006e40a41b Undo of accidental checkin 2006-11-21 19:37:29 +00:00
paul 001e50bf08 Fix for bug #2003 - CREATE NEW PLAYLIST broken 2006-11-21 18:20:46 +00:00
paul 0785f322a0 Fixes for function renaming. Added ability to go directly to a page without showing that waiting popup 2006-11-21 16:55:00 +00:00
paul bed878246d Speedups for HTML interface by only creating the HUBBROWSE object on
demand instead of on every single page load - this object took the
longest to create.  Started to convert code to PHP5 using
public/private/protected/static and __construct() method, got rid
of =& when constructing objects.  Fixed a number of functions that were
marked as private that were actually public.  Fixed names of a couple
functions to be more readable.  Commented out functions that are no
longer in use.
2006-11-14 18:43:57 +00:00
paul ce24055515 Fixed some formatting to comply with style guidelines. 2006-10-25 20:43:20 +00:00
paul fe31d2dfab Renaming top-level livesupport directory (/trunk/livesupport) to campcaster (trunk/campcaster). 2006-10-19 14:55:07 +00:00