15 Commits

Author SHA1 Message Date
paul.baranowski
f6080261b9 Changed StoredFile::Insert() to do everything for you if you dont pass in stuff.
This makes writing tests much easier.  This also simplifies the campcaster-import
script.

Changed BasicStor::bsSetMetadataBatch() to do one query for all values instead
of one query for each value to update.  This speeds up campcaster-import by about
10%.
2010-09-21 19:43:47 -04:00
naomiaro
7edbfedc60 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-09-21 15:53:18 -04:00
naomiaro
5a84cee98d Changes to how the playlist works, from files to database. 2010-09-21 15:52:35 -04:00
paul.baranowski
582969915c Moved DataEngine functionality into BasicStor. Removed DataEngine.
Fixed problem with Browse functionality due to case sensitivity.

Added comments to BasicStor funcs.
2010-09-14 17:34:50 -04:00
paul.baranowski
8bd8f7c7a4 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-09-14 10:19:10 -04:00
paul.baranowski
7ea2352ca3 Started to put metadata into the files table.
Gave the table sequences their own config values in $CC_CONFIG.
This allows us to change their names from one single place.

Fixed WHITE_SCREEN_OF_DEATH warnings.

Added PHPUnit to the pear library.

Started adding unit tests in storageServer/var/tests.
2010-09-14 10:18:53 -04:00
naomiaro
eff63827d7 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-09-13 17:19:44 -04:00
naomiaro
4d3b90621e CC-1434 && CC-1373
Won't delete a file that's scheduled or contained in a playlist.
2010-09-13 14:05:45 -04:00
paul.baranowski
e537255e27 Apparently we do need the StationPrefs group. Since the group name was
hard-coded in everywhere, I didnt detect that this value was used in the app.
I changed the hard-coded values to use the value from the config file instead.

Fixed the Transport.php::xmlrpcCall() function, an object was not being
created before it was used.

Fixed the archive server URLs in the default config files.
2010-09-10 15:49:35 -04:00
paul.baranowski
73d672b552 Fixed installation errors found by Doug.
Moved all database installation into one file (pulled stuff from scheduler
and classes).  Same with uninstallation.

Removed ability to reset the storage through and XMLRPC call.  This is
very dangerous to allow.

Disallowed remote execution of CleanStor.php.

Changed database table prefix from "ls_" to "cc_".

Removed all groups.
2010-09-10 14:37:02 -04:00
paul.baranowski
956056747c CC-1309 Rationalize the Network Hub storage and Local Storage: put all the archiveServer functionality into the local storage. Removed install of separate archiveServer directories and database tables. Checked in some other minor tweaks. 2010-09-07 16:15:05 -04:00
paul.baranowski
aa9528b9fd CC-1658 Remove file tree structure from code and database. Removed tables ls_class and ls_cmemb and continued removing code that was depending on the tree structure. 2010-09-03 16:49:28 -04:00
paul.baranowski
0a46b39c46 CC-1658: Remove file tree structure from code and database. Removed everything and tested the interface, add temporary upgrade file to bin directory. For now you will have to apply it manually. Permissions still need to be fixed. 2010-09-02 12:00:18 -04:00
paul.baranowski
ef785742be CC-1639: Change copyright and webpage info in source code. Also removed useless @author and @revision tags 2010-07-23 23:03:53 -04:00
Sourcefabric
b91512b57c removed root folder 2010-06-18 14:12:55 +02:00