Commit Graph

235 Commits

Author SHA1 Message Date
martin b4f1a6b3b0 -CC-1805 Ability to edit a show
Initial check-in...still incomplete.
2011-04-12 00:14:26 -04:00
naomiaro 7f775105e2 adding end date check in get shows just incase nobody checks calendar for a while.
preferences had to be updated because there will be no user id if the daemon process updates the date pouplated until pref.
2011-04-04 00:02:35 -04:00
naomiaro 1cdbce55a7 CC-2125 : Soundcloud: ability to retry to upload
if a recorded show in the past does not have a soundcloud file id, context menu action appears to upload to soundcloud if it is enabled in preferences.

if a recorded file is on soundcloud the soundcloud icon replaces the record icon.
2011-04-03 22:32:11 -04:00
naomiaro 9bd1aa14a9 CC-2145 : Redesign & layout fixes for the Preferences screen
added javascript to page, got rid of separate index/update actions and moved everything to just index since update was not needed as a separate action.
2011-04-03 18:04:14 -04:00
naomiaro a28d8ce305 CC-2145 : Redesign & layout fixes for the Preferences screen
view templates are all done, form works. just need javascript.
2011-04-03 17:34:44 -04:00
naomiaro b97e79773b CC-2110 : Soundcloud file metadata
added show genre column, this is used instead of soundcloud default genre if set.
2011-04-02 17:09:37 -04:00
naomiaro 5a105ff4c8 CC-2110 : Soundcloud file metadata
added all defaults or ways to input a default for soundcloud metadata.
2011-04-02 16:33:45 -04:00
naomiaro 132c78453a CC-2116 : Add Extra Form Validation For Rebroadcasts
can only schedule rebroadcast shows an hour after original broadcast or later.

zend date validator passes '09:0f' which it shouldn't...
2011-04-01 18:18:32 -04:00
martin f74b0a562e -removed "Cancel current show" option for Guest user. 2011-03-31 17:10:25 -04:00
martin d0035e8e4c CC-2119: "Show Content" should display what it is going to rebroadcast
-done
2011-03-31 16:39:32 -04:00
Paul Baranowski c34b25883f CC-2137: Playlist builder doesnt work. Shows blank page
Fixed bug with new return type from Playlist::create() in the PlaylistController.
2011-03-31 14:40:55 -04:00
Naomi 7cedbabb39 CC-2129 : Retry automatic upload to Soundcloud if Internet connection problem
fixing http code check
2011-03-31 10:37:06 -04:00
Naomi e902d3b3d4 Merge branch 'master' of dev.sourcefabric.org:campcaster 2011-03-30 18:15:48 -04:00
Naomi 85a984e669 CC-2129 : Retry automatic upload to Soundcloud if Internet connection problem
configs for retry, id of soundcloud file is added to database.
2011-03-30 18:15:33 -04:00
Paul Baranowski 94dc54638a Merge branch 'master' of dev.sourcefabric.org:airtime 2011-03-30 17:27:24 -04:00
Paul Baranowski e5cbfa6ecd Added Ofir's Calendar load test.
In order to make it work, I made the following changes:

Merged Playlist::Insert() into the create() function, now there
is only one way to create a playlist.

Renamed Show::addShow() to Show::create() to make the API like
the other classes.  It returns the created show ID now.

Renamed Show::populateShowUntilLastGeneratedDate() to Show::populateShowUntil(),
allowed it to accept a second parameter for an end date.

Renamed Show::populateShowsUntil() to Show::populateAllShowsInRange().

Added documentation to a number of functions.
2011-03-30 17:27:14 -04:00
Naomi d2fb99eff9 Merge branch 'master' of dev.sourcefabric.org:campcaster 2011-03-30 15:42:36 -04:00
Naomi f184cc596a CC-2110 : Soundcloud file metadata 2011-03-30 15:42:01 -04:00
martin 32c28046ef CC-1990: Widget to display schedule and "Now Playing" on any website
-admin can now enable/disable access to scheduling information to remote widgets via the preferences page.
2011-03-30 15:34:35 -04:00
martin db3134cea8 -Preference page now shows a green confirmation success message similar to Manage Users page. 2011-03-30 14:54:31 -04:00
Naomi 3805f8dfda CC-2129 : Retry automatic upload to Soundcloud if Internet connection problem 2011-03-30 13:27:21 -04:00
Naomi a9d288385b CC-2129 : Retry automatic upload to Soundcloud if Internet connection problem
static retries/wait time right now.
2011-03-29 19:36:36 -04:00
martin 70dd2a4838 Merge branch 'master' of dev.sourcefabric.org:airtime 2011-03-28 16:30:00 -04:00
martin 2aa0cd22c6 CC-1990: Widget to display schedule and "Now Playing" on any website
-update to API controller to support new widget
2011-03-28 16:29:50 -04:00
Naomi c0e8152077 CC-2110 : Soundcloud file metadata
added text area to preferences to allow for additional soundcloud tags.
2011-03-28 15:39:01 -04:00
naomiaro df8b9af8f6 CC-2110 : Soundcloud file metadata
uploading show description, show name in filename, tags ready to be uploaded for creator need to figure out what to upload.
2011-03-28 12:10:51 -04:00
naomiaro d067cf0222 Merge branch 'master' of dev.sourcefabric.org:campcaster 2011-03-24 23:47:08 -04:00
martin 1107a67579 CC-2098: Only push playlists that havent ended yet
-implemented. Removed ability to specify time ranges for now, and defaulted to looking from now to 24 hours ahead.
Being able to specify time ranges was removed, since we are not using bi-directional communication between pypofetch and Airtime server.
2011-03-24 23:43:27 -04:00
naomiaro d5707c514b Merge branch 'master' of dev.sourcefabric.org:campcaster
Conflicts:
	python_apps/show-recorder/install/recorder-daemontools.sh
2011-03-24 23:10:04 -04:00
naomiaro c727c338af CC-2097: Show-recorder: Use RabbitMQ, api_client, and the structure of pypofetch
using api client now
2011-03-24 23:07:13 -04:00
martin 343fb593ee CC-2051: Unable to change user password
-Password is changeable, and success message appears whenever a user is added/updated.
2011-03-24 22:29:14 -04:00
naomiaro 35b2ddfd29 CC-2097 : Show-recorder: Use RabbitMQ, api_client, and the structure of pypofetch
setting up configs
2011-03-24 17:43:37 -04:00
paul.baranowski bdf98c9ec8 CC-2035: Context menu says 'Add Content' when it should say 'Add/Remove Content'
Changed.
2011-03-24 15:08:58 -04:00
paul.baranowski f9c8a7cc11 CC-2096 Schedule changes should be sent to RabbitMQ at most once per user request
Implemented as a plugin to Zend.  Now at most one schedule push to RabbitMQ
will happen per user action.  It's pretty sweet.
2011-03-23 23:24:06 -04:00
martin e92be3c186 CC-1990: Widget to display schedule and "Now Playing" on any website
-First working version, needs to be called using:

<script>
    $(document).ready(function() {
        $("#headerLiveHolder").airtimeLiveInfo();
        $("#onAirToday").airtimeShowSchedule();
    });
</script>
2011-03-22 18:04:27 -04:00
paul.baranowski b650abcbb8 Merge branch 'master' of dev.sourcefabric.org:airtime
Conflicts:
	application/models/Shows.php
2011-03-22 10:00:37 -04:00
paul.baranowski d38e2adb58 CC-2084: Integrate RabbitMQ for immediate schedule updates and commands
This is the code for the server side to push the schedule to RabbitMQ.
Right now it is disabled and should cause no changes in behavior.

Also added comments to functions and formatted code correctly.
2011-03-22 09:55:33 -04:00
martin 730df4c345 Merge branch 'master' of dev.sourcefabric.org:airtime 2011-03-22 01:29:38 -04:00
martin cbe8f98a7c CC-1990: Widget to display schedule and "Now Playing" on any website
-initial checkin, some hardcoded values
2011-03-22 01:29:23 -04:00
naomiaro 864cda6c34 CC-1630 : Automatic recording of shows
multi threading now used in recorded for back to back shows.
recorded file id is put into show instances table.
2011-03-22 00:46:31 -04:00
naomiaro 60649cba8a CC-1987 : Automatic upload of recorded shows to Soundcloud
created Soundcloud.php in models, added upload track method.
using python-setuptools in install to find poster package to be able to upload recoded file to airtime and then to soundcloud.
2011-03-21 15:48:44 -04:00
Naomi 3a0f9ddcd1 CC-1987 : Automatic upload of recorded shows to Soundcloud
Added fields to preference form for the station's soundcloud user/pass
need to generalize file upload as commented out in the new Soundcloud.php file.
2011-03-18 17:15:12 -04:00
naomiaro 28b7d8e882 CC-1985 : Automatic rebroadcast of recorded content
can't move a rebroadcast show infront of it's original recorded show,
know how to print form element errors out in a custom view script,
removed show content option from a recorded show's context menu.
2011-03-18 00:20:38 -04:00
naomiaro e3e8f10021 CC-1985 : Automatic rebroadcast of recorded content
added url column to cc_shows table, logic to show/hide form components for rebroadcast
2011-03-17 18:23:05 -04:00
naomiaro f104872175 CC-1985 : Automatic rebroadcast of recorded content
modified full calendar code to allow disabling resize of specific events (rebrodcast shows)
2011-03-15 17:26:59 -04:00
naomiaro 8f86b05a4b Merge branch 'master' of dev.sourcefabric.org:campcaster
Conflicts:
	application/controllers/ScheduleController.php
	public/css/styles.css
2011-03-15 17:02:22 -04:00
naomiaro bd81b0cd4f CC-1985 : Automatic rebroadcast of recorded content
working on disabling resizing of a rebroadcast show.
2011-03-15 16:39:52 -04:00
naomiaro 29816f32fa CC-1985 : Automatic rebroadcast of recorded content
can add absolute dates/times for non repeating show instances to rebroadcast.
2011-03-15 15:20:10 -04:00
naomiaro 6ef4169315 CC-1985: Automatic rebroadcast of recorded content
populates rebroadcast show instances now, added a new table cc_show_rebroadcast,
added columns record, rebroadcast, instance_id, file_id to cc_show_instances table.
added column record to cc_show_days.
2011-03-15 12:05:41 -04:00
mkonecny ba81e947ec -add code comments / some code cleanup 2011-03-13 19:24:45 -04:00