Commit Graph

2987 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 6d9e5028fc adding playlist tests 2010-09-21 17:41:05 -04:00
paul.baranowski 19780fd997 Removed old metadata table - this information is now split between the
"files", "playlist", and "playlistcontents" tables.
2010-09-21 16:56:20 -04:00
paul.baranowski 017064310f Merge branch 'master' of dev.sourcefabric.org:campcaster
Conflicts:
	src/modules/storageServer/var/tests/runUnitTests.php
2010-09-21 16:38:48 -04:00
paul.baranowski f4d260b02d CC-1672 Implement scheduler class in PHP
Part 1 of this implementation
This implementation keeps the playlists separate from the scheduler.
The scheduler keeps it's own copy of the list of things to play.

Support for adding single audio files to the scheduler is mostly implemented.
Adding playlists is not supported yet.

Added Scheduler.php class.
Added unit tests for Scheduler.

Updated install & upgrade file with new table structure.

Removed a lot of old defunct unit test stuff from storageServer /var/tests dir.
2010-09-21 16:32:04 -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
Robin Gareus 0807e9d5da first fix for 64bit bug/crash. 2010-09-20 19:26:19 +02:00
naomiaro 1d20c0bc27 changes to playlist so far, made trigger, using position to find clips in new db table. 2010-09-17 16:46:17 -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 30adbc2793 Fixed problem with the Scratchpad not seeing the metadata. 2010-09-14 16:19:12 -04:00
paul.baranowski 59dc0dbd99 CC-1662 Get rid of little popups everywhere
Got rid of popups inthe browse screen.

Fixed browse functionality.

Removed useless code in DataEngine.
2010-09-14 16:07:46 -04:00
paul.baranowski 4c0f9674be Fixed search scenarios when using criteria. Made the search case-insensitive.
Changed "Creator" to "Artist/Creator" in the interface.

Still need to fix "browseCategory".
2010-09-14 15:29:15 -04:00
paul.baranowski e53c64e856 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-09-14 12:03:56 -04:00
paul.baranowski 8bb5334aaa Fixes for search form - "Reset Criteria" works, and now you can ORDER BY correctly. 2010-09-14 11:55:43 -04:00
paul.baranowski 9835a605ce CC-1662 Get rid of little popups everywhere
Got rid of popups for Search and Hubsearch when clicking on page offset links.

Added more debugging for white screen of death.
2010-09-14 11:27:02 -04:00
paul.baranowski ac32fa5e5c Fixed copyright info. 2010-09-14 11:13:29 -04:00
naomiaro e25c598c8a Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-09-14 10:19:42 -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 c0245a6207 CC-1601 link changed for help manual 2010-09-14 10:12:03 -04:00
naomiaro 17fddfc4e6 CC-1668 if no preference is set, archive server taken from config file. 2010-09-13 17:32:30 -04:00
naomiaro eff63827d7 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-09-13 17:19:44 -04:00
naomiaro 23a775a66f CC-1669 Simple search form uses OR instead of AND. 2010-09-13 15:06:51 -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 0d3a947e79 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-09-10 10:48:35 -04:00
paul.baranowski 768797a60c Fixed errors during storage server build. For some reason detection of a request from localhost was no longer detected by the webserver. 2010-09-10 10:48:08 -04:00
naomiaro 51436f76b8 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-09-10 10:40:19 -04:00
naomiaro f4bf8105ad CC-1667 Did some more formatting for tool-tips. 2010-09-10 10:39:34 -04:00
paul.baranowski 9bf149b5c6 Merged in Naomis changes 2010-09-09 18:01:16 -04:00
paul.baranowski 54e1e9b935 CC-1309 Rationalize the Network Hub storage and Local Storage
CC-1244  	 Campcaster-Web: Division by zero on hub browse.

Got the Hub Search functionality working in the web interface.
It is now returning immediately without having to wait.  Pagination is working.
2010-09-09 17:53:06 -04:00
naomiaro f432d587a6 CC-1259 meta-data tool-tips added for scratchpad. 2010-09-09 15:42:45 -04:00
naomiaro 20eacb439c Editing the archive Url from the gui. 2010-09-08 10:02:53 -04:00
naomiaro d5ee603215 Merge branch 'master' of dev.sourcefabric.org:campcaster
Conflicts:
	src/modules/storageServer/var/xmlrpc/xr_cli_test.php
2010-09-07 16:25:18 -04:00
naomiaro f0af40ffea commiting things to merge 2010-09-07 16:20: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 37ba68e830 Merge branch 'master' of dev.sourcefabric.org:campcaster into tree-removal 2010-09-02 12:01:11 -04:00
naomiaro aca88f8c48 CC-1616, CC-406. If an audio file is 1 hour+ in length the time is now displayed properly in the UI. Active playlists can now be searched/browsed for. (editing:) in the creator field next too the creator of the playlist shows which user is currently modifying the playlist. 2010-09-02 10:12:31 -07: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
naomiaro a674aee3b9 forgot to upload new css img locations. 2010-08-31 16:17:40 -07:00
naomiaro a16e3daa11 #CC-1573 CleanStor script added to storage server to clean broken links or purge all files. 2010-08-31 15:36:05 -07:00
naomiaro 2ffe3b0a46 adding Plupload images 2010-08-30 12:09:45 -07:00
naomiaro 17d148f98a Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-08-30 10:53:48 -07:00
naomiaro 318337391c CC-1335 Plupload has been added to support multi-file upload. 2010-08-30 10:51:13 -07:00
Robin Gareus 1ff3b38d1d Debian/Ubuntu packaging 2010-08-26 15:52:53 +02:00
naomiaro 71a97cdc93 CC-1644 station logo can now be uploaded properly, there are still browser caching issues. 2010-08-25 13:59:06 -07:00
naomiaro 2dd20a03b3 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-08-25 12:34:17 -07:00