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
|
4c6b2cd4d3
|
Merged the archive server into the storage server. Still might need an upgrade script to do the transfer of files.
|
2007-03-01 16:10:20 +00:00 |
paul
|
5389324558
|
Code cleanup.
|
2007-03-01 16:00:51 +00:00 |
paul
|
982255503a
|
Added some ability to test searching.
|
2007-03-01 15:59:53 +00:00 |
fgerlits
|
72016072b4
|
partial undo of [3002]
|
2007-02-19 11:37:14 +00:00 |
paul
|
bd3828c97c
|
Fix for #2191 - n the packaged version, backups can neither be created nor restored.
|
2007-02-16 15:42:13 +00:00 |
paul
|
6eb888ecdc
|
Fix for #2174 - Web interface: fade values are rounded to whole seconds.
|
2007-02-16 15:07:44 +00:00 |
tomash
|
2e6bf8f55b
|
#2187 minor quick fix
|
2007-02-13 17:54:45 +00:00 |
paul
|
b6d548aff8
|
Changed the closeRestore() function to return what it said it was supposed to return.
|
2007-02-13 17:03:00 +00:00 |
tomash
|
a105d81743
|
#2183 probably solved - one 'private' to 'public' change and one 'global' statement added.
|
2007-02-13 16:50:01 +00:00 |
paul
|
e5ea53f8ac
|
Fix for #2186 - funky characters in file names cause import script to crash.
|
2007-02-13 16:42:20 +00:00 |
paul
|
e04e8b244d
|
Fixed formatting
|
2007-02-13 12:11:39 +00:00 |
paul
|
f41791c944
|
Added documentation
|
2007-02-13 12:09:07 +00:00 |
paul
|
d87bf98163
|
Fix for #2179 - locstor.createBackupOpen is broken
|
2007-02-10 17:42:11 +00:00 |
paul
|
be56bbd453
|
Fixed bug where clicking on a column name in the search results gave you no results from that point forward. Now if you click on a column name it will sort by the column. Fixed #2173 - This was done by removing the sorting by track number. However, and upgrade script has been added to clean track numbers (convert from things like "20/1" to "1"), and this same function is used when importing from the command line and the web (however, not from the studio). More fixes for #2107 - changed the way the Web BROWSE columns work so that they matched how the studio works (i.e. each column is dependent on the previous column).
|
2007-02-09 15:38:57 +00:00 |
fgerlits
|
9a3a7a3ebd
|
fixed #2163
|
2007-02-09 10:15:05 +00:00 |
paul
|
02b5c32098
|
Fix for #2107 - In CCWeb->Browse, selecting a value from the third column does not refine the search. In fact the code for browse was seriously broken. It has all been fixed, and is easier to understand. I also optimized the code, there is now (number_of_results)*2 fewer database calls for this screen - instead there are only 2 database calls for the entire list of results. Therefore the Browse screen should be visibly faster. The result ordering now takes into account the track number, the complete order is now: creator, album, track number, title. The album name and track number have been added to the search results. In DataEngine.php, I broke up the function _localGenSearch() into two functions: one for searching and one for fetching the column values (new function: _browseCategory()). These two things are completely separate tasks and doing this separation makes the code much easier to understand. Added lots of code documentation to htmlUI/var/ui_browse.class.php.
|
2007-02-07 13:31:21 +00:00 |
paul
|
2da8161fb7
|
Fixed database initialization script so that it still works when run multiple times. Previously the StorageRoot would be created again for each installation. Added more verbose output about the database initialization. Added checks for is_null() on the return value for StoredFile::Recall*() functions. Do not create the "public" virtual subfolder when creating a new user. Create the root user in the same way that normal users are created.
|
2007-02-05 14:06:59 +00:00 |
paul
|
af78a12f6c
|
Fixed bug #2147 - trying to change password gives an error. Also fixed an additional incorrect API call in Greenbox.
|
2007-01-31 12:02:23 +00:00 |
paul
|
dc9ac0a2c2
|
Fix for #2140
|
2007-01-29 13:34:49 +00:00 |
paul
|
2ff948f2ed
|
Fix for #2100 - the scheduler user is not created in the development environment. Added a script called campcaster-user.php which allows you to add users, change user passwords, and delete users. The changeSchedulerPassword.php script is no longer needed because of this.
|
2007-01-29 13:22:05 +00:00 |
paul
|
7fe3f07bae
|
Fix for #2139 - Alib API change broke changeSchedulerPassword.php
|
2007-01-28 21:02:30 +00:00 |
paul
|
c66be911e6
|
Final fix for #2074 - make it easier to change the version number. You can now set the version number for PHP code in src/modules/storageServer/var/campcaster_version.php - all components look at this file to get the version number.
|
2007-01-27 17:11:02 +00:00 |
paul
|
c2b524aaba
|
Fix newline in upgrade script
|
2007-01-24 17:54:36 +00:00 |
paul
|
f2370f759c
|
Added upgrade DB call for Tomas fix for killing transfer processes.
|
2007-01-24 17:49:09 +00:00 |
paul
|
c76376e327
|
print out error message when copy/link operation fails so i can debug whats going wrong with dougs bug
|
2007-01-24 17:37:43 +00:00 |
tomash
|
8818ae3537
|
#2058 cancel transport kill already running transport processes too
|
2007-01-24 03:04:56 +00:00 |
paul
|
1e48e8c7da
|
Better output when installing/uninstalling storage server. All media files and temp files are now deleted when you uninstall. Bug fix: the media files will still be deleted even if the database is gone. Bug fix: during storage server install, the storage server directories and all files must be created first before the are CHGRP and CHMOD.
|
2007-01-23 20:51:17 +00:00 |
paul
|
6700878ccb
|
Fixed bug with missing include file
|
2007-01-21 06:09:57 +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 |
fgerlits
|
8ea66df5c9
|
fixed #2116; needs testing
|
2007-01-18 10:30:51 +00:00 |
paul
|
7aaabb2165
|
Minor code formatting tweaks.
|
2007-01-12 06:13:13 +00:00 |
paul
|
a11d39d8f6
|
Another fix for bug #2114 - after command line import, a file could not be added to the live mode. There were two problems: an incorrect API call, and the new feature which only makes symlinks to files (to fix the double-disk space problem) caused problems because files_exists() didnt work anymore.
|
2007-01-12 06:11:35 +00:00 |
paul
|
623be37d8a
|
Fix for the bug where you could not upload files (the first part of bug #2114). Converted StoredFile into a real class that mapped the database table properly. Renamed some functions to be consistent with each other and with coding standards.
|
2007-01-11 19:24:45 +00:00 |
paul
|
c59a73f506
|
A web interface to test the XMLRPC for the storage server.
|
2007-01-11 19:17:44 +00:00 |
paul
|
e910361aa0
|
Combined the RawMediaData class into the StoredFile class in order to simplify things. Fixed a bug related to the variable NAME (filename - which is now called FNAME) in the StoredFile class. Added code documentation.
|
2007-01-10 16:55:17 +00:00 |
paul
|
be48f1634f
|
Completed upgrade script for saving MD5 values for each file
|
2007-01-10 16:38:34 +00:00 |
paul
|
997814e78a
|
Added md5 checksum to FILES table in the database. The XML-RPC function call storeAudioClipOpen now returns error code 888 if the file uploaded is a duplicate of an existing file. Started an upgrade script, but still needs a little bit of work. Removed unused className argument to StoredFile::recall functions. Fixed xr_cli_test.php to use Console_GetOpt PEAR class and fixed code formatting. Fixed code documentation. Fixed some function names to conform to coding standards.
|
2007-01-09 21:11:45 +00:00 |
paul
|
2e37fb9c66
|
StorageServer install: Added more error checking and better code resuse and also fixed a bug where a table was not removed on uninstall because the tables were removed in the wrong order. Install of scheduler was moved to the products/scheduler/bin directory.
|
2007-01-09 17:30:46 +00:00 |
tomash
|
1cbc14025c
|
#1855 copying of media files replaces by making symlink in import script
|
2007-01-08 00:41:32 +00:00 |
paul
|
e4d3179227
|
Beginning of fix for #2106 - Scheduler database tables are created in a different way than all other tables.
|
2007-01-03 22:47:25 +00:00 |
paul
|
b23c11c0b8
|
Fixed parameters passed to the various recallByGunid() functions- they no longer require the GreenBox parameter. Some functions had been switched, and some had not, which lead to some crashes.
|
2007-01-03 22:46:26 +00:00 |
paul
|
425212bfb8
|
Possible fix for #2100 - scheduler user is not created. There is now a more verbose output when this step is taken, and also there were previous steps, that if they failed, would prevent this step from happening; so this has been fixed as well. Converted more functions to static functions because thats what they were in the first place...they were just pretending to be member functions.
|
2006-12-20 02:46:29 +00:00 |
paul
|
3239208c60
|
Fix for bug #2098 - warnings in Web interface
|
2006-12-19 20:15:14 +00:00 |
paul
|
5b4f673c04
|
Fix for bug #2099 - Cannot load or save preferences
|
2006-12-19 20:03:52 +00:00 |
paul
|
4733682a62
|
Refactored Alib to reveal its true nature: a bunch of static functions inside of classes. This makes it much easier to understand what is going on, and removes 4 layers of class heirarchies (now only 4 left). There are now two important global variables: CC_DBC, the database connection, and CC_CONFIG, the config variables. These used to be passed around to all classes, but since they are always the same they should be global. Refactored the StorageServer install scripts to live outside of the classes. They now live in the storageServer install scripts. A lot of functions in the StorageServer have become static as well, but there are definitely more that I didnt get to. Lots of code cleanup as well. This is a big update.
|
2006-12-16 06:36:22 +00:00 |
paul
|
f98af0ace0
|
Code formatting
|
2006-12-08 04:33:35 +00:00 |
paul
|
55688910d5
|
Formatting, and making a note about a bug
|
2006-12-08 04:33:02 +00:00 |
paul
|
482d0052b3
|
Added public/private/protected/static to functions
|
2006-12-08 04:32:12 +00:00 |