Commit graph

3103 commits

Author SHA1 Message Date
paul.baranowski
c5d1faf0f9 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-09-27 17:06:12 -04:00
paul.baranowski
dd114a5fec CC-1683 Make sure all metadata fields are supported by the new "files" table
Added all the missing columns.

Fixed minor bug in the install where it gave you an error if the Postgres
scripting language was already installed.
2010-09-27 17:05:26 -04:00
naomiaro
373a5df4e9 CC-1615 playlist editor handles cuein/out fadein/out edits with '00:00:00.000000' format. 2010-09-27 16:44:25 -04:00
naomiaro
32368e794c Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-09-27 10:50:21 -04:00
naomiaro
abeccfa522 CC-1680 drag and drop for playlist,
CC-1615 cue in/cue out for playlist
2010-09-27 10:43:25 -04:00
paul.baranowski
57b3117663 CC-1676 Scheduler tabs in a different order to menu items
Fixed.

CC-1662  	 Get rid of little popups everywhere
Got rid of some of these for the scheduler screens.

CC-1684  	 Dont allow user to schedule overlapping playlists
Some work on this, but alerting the user to it is not complete.
2010-09-24 18:03:23 -04:00
naomiaro
8951416111 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-09-23 17:04:43 -04:00
naomiaro
c8e1e7fc9a scratchpad reloads playlists when logging in/out.
Drag to reorder done on table. template redone to work with jQuery.
2010-09-23 17:04:09 -04:00
paul.baranowski
371f085d5d CC-1672 Implement scheduler class in PHP
UI for scheduler is working again :).
2010-09-23 17:00:02 -04:00
paul.baranowski
1d141c56ae Fixed Scheduler UI so that it now works for the "Day" view. 2010-09-22 17:25:11 -04:00
paul.baranowski
47e0233e47 Renamed ScheduleItem class to ScheduleGroup.
Added support for adding playlists to the scheduler.
Also added count() and getItems() functions.
Added "clip_length" to the scheduler database table, no doubt it will come
in handy.

Fixed bug in Playlist where it didnt remember it's own ID after creation.
Updated documention for the playlist.
2010-09-22 16:19:58 -04:00
naomiaro
202fcbd254 lock picture for active playlist id 2010-09-22 11:03:47 -04:00
naomiaro
dbd44da1ad scratchpad only reloads active playlist, not entire contents. 2010-09-22 10:51:41 -04:00
naomiaro
a3e8e41f33 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-09-22 10:43:55 -04:00
naomiaro
04e81df67c playlists appear in scratchpad, can close, reopen for edit. 2010-09-22 10:43:23 -04:00
paul.baranowski
7fed4ea979 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-09-21 19:45:22 -04:00
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