Commit Graph

442 Commits

Author SHA1 Message Date
drigato 51b5cc2052 CC-5725: Changing a show's repeat type removes first instance from repeating series 2014-03-06 10:54:40 -05:00
drigato 426b75b635 CC-5724: Changing start date of a repeating show will update content incorrectly 2014-03-05 14:37:07 -05:00
drigato ebc68b980c CC-5718: Show content can get scheduled in instances that are in the past
Disabled scheduled content into instances that have already played out
Removed setting the show's start date to the first repeating instance's start date
because we already fixed that in CC-5697
2014-03-05 13:12:27 -05:00
drigato 7660e0cd84 CC-5719: Incorrect show content start time
The show content was getting recalculated twice sometimes.
So if the difference between the original and now show start
date-time and was 2 hours, the scheduled content would have
a difference of 4 hours
2014-03-04 11:29:49 -05:00
drigato 753003639f CC-5696: Two shows or even three shows playing at once. Unstopable even after reboot
The problem was that we weren't updating the first show's start time if deleting
a repeat show day changes it. This affected the difference between the original
show start time and the new one.
2014-02-25 17:22:17 -05:00
drigato f1658f6490 CC-5697: Editing a linked show's repeat day sets wrong day for show content
Fixed a problem where we can't store the original cc_show_day data
because none can exist at some points. If the user changes the only
repeat day, the cc_show_day rule is deleted first then recreated
2014-02-25 17:16:14 -05:00
drigato 3db1cd412a CC-5697: Editing a linked show's repeat day sets wrong day for show content
Optimized how we store the instance ids that already exist
2014-02-25 16:51:48 -05:00
drigato 6cd84363a6 CC-5697: Editing a linked show's repeat day sets wrong day for show content
Added comment
2014-02-24 16:04:48 -05:00
drigato 787f19f69a CC-5697: Editing a linked show's repeat day sets wrong day for show content
When a user edits a show and changes the repeat day, we are really deleting the instances from the original
repeat day and creating new instances. Therefore, we don't need to update the show content's start/end time
in this case.
2014-02-24 14:49:11 -05:00
drigato 3b9608a8df CC-5693: API call to notify-item-start-playing fails because an invalid schedule id is sent
Temporary fix for this bug. Throw an exception if no schedule item is found.
2014-02-10 16:19:26 -05:00
drigato b7c79df6ec Merge branch 'unittests' into 2.5.x 2014-01-31 15:02:41 -05:00
drigato ce7eddf563 CC-5678: Scheduler: Show's contents won't follow show's scheduled time change
Fixed by storing original cc_show_day object by value
2014-01-30 12:07:24 -05:00
Albert Santoni c9d98e4e10 Small Airtime Pro fix for ShowFormService 2014-01-27 14:31:33 -05:00
drigato d5112f0368 Added comments for a show_service function 2014-01-20 17:05:37 -05:00
drigato 0b4ae6b94d CC-5651: Unit Test the Scheduler
Added test for deleting repeating show instances
2014-01-14 14:16:37 -05:00
drigato 0f107dbad3 Initial unit test configuration 2014-01-13 11:43:16 -05:00
drigato 9e5cfe0d39 CC-5666: Deleting a show instance can revert the 'no end' option 2014-01-13 11:41:44 -05:00
drigato 27c3637591 CC-5640: End time does not get updated when editing the current playing show
Was checking if the start time was in the past, but we should check if the
end time is in the past. This way you can extend or shrink shows that are currently playing.
2013-12-16 15:27:51 -05:00
Albert Santoni 0afaeadb15 CC-5641: Can Create Zero or Negative Length Shows
* Fixed two underlying causes of zero or negative length shows
  that could be created over DST time changes:
    - Fixed incorrect end time arithmetic which did not preserve the
      show duration.
    - Fixed a desynchronization issue due to FullCalendar handling
      events over DST differently from Airtime.
2013-12-14 22:38:33 -05:00
drigato d841f11de3 CC-5638: Shows become unlinked when moving the end time back
Disabled linked checkbox field in show form while the show is playing
Added a warning message if the user attempts to change this value
Update .po and .mo files with the warning message string
2013-12-13 13:06:14 -05:00
drigato e8a8aeaf00 CC-5636: Php 5.5: Cannot update repeating show's name if that instance is updated
Made all show fields readonly when editing a repeating instance
2013-12-13 12:13:58 -05:00
Naomi bbccc2e7d3 Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x 2013-12-12 17:18:17 -05:00
Naomi 87ac5dc294 CC-5627 : Check all Application_Common_DateHelper calculations that use timezone 2013-12-12 17:18:03 -05:00
drigato d0474f4247 Changed function title when editing a repeating instance
Removed a function call we don't need when editing a repeating instance
2013-12-12 16:47:55 -05:00
drigato f37b9a3796 CC-5634: Can add/remove content to a linked show while one instance is currently playing
small logic fix
2013-12-12 13:23:20 -05:00
drigato fb793ff3e1 CC-5634: Can add/remove content to a linked show while one instance is currently playing
Fixed by removing option from context menu
2013-12-12 13:01:33 -05:00
Naomi 67031a75fe CC-5627 : Check all Application_Common_DateHelper calculations that use timezone. 2013-12-11 18:56:19 -05:00
drigato 9237692782 CC-5630: Shows created on a DST border get scheduled an extra hour longer
The show start and end time need to be in the show's local timezone when adding
or subtracting time to the start and end time (in case of DST crossings). In this
case the end time was already converted to UTC when we tried to change the time.
2013-12-11 14:45:16 -05:00
Albert Santoni 0919915c6b Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x 2013-12-09 16:27:06 -05:00
drigato 310cfddd3a CC-5626: Context menu -> Edit -> Doesn't populate show forms properly 2013-12-09 14:53:58 -05:00
Naomi 0f28e0f1aa Merge branch '2.5.x' into cc-5594-date_default 2013-12-06 18:18:17 -05:00
drigato cdfdbc4da2 Removed unused code 2013-12-06 16:51:13 -05:00
Naomi 7e9ca3e950 CC-5594 : Remove all date_default_timezone_get()
updating move show code to work with the user's timezone.
unified method signature for updateScheduleStartTime to always use the $diff param.
2013-12-06 12:33:36 -05:00
Naomi ec6a991090 CC-5594 : Remove all date_default_timezone_get()
missed a place to set show timezone,
setting UTC timezone in CcSchedule, very important!!
2013-12-05 15:57:00 -05:00
Naomi b1842fff34 Merge branch '2.5.x' into cc-5594-date_default 2013-12-05 15:13:54 -05:00
Naomi 39063aaadb CC-5594 : Remove all date_default_timezone_get()
using the user selected timezone in the form to calculate duration.
2013-12-05 15:12:01 -05:00
drigato 86ed77a106 CC-5599: Can drag and drop an edited repeating instance on calendar
Fixed by properly checking if a show is repeating or not
2013-12-04 15:02:14 -05:00
drigato ab435ce3ec CC-5598: Deleting an edited, repeated instance deletes the entire show
Fixed by setting the correct url action
2013-12-04 14:50:22 -05:00
Naomi 82b40f52e7 Merge branch '2.5.x' into cc-5594-date_default 2013-12-04 14:42:30 -05:00
Naomi e6808b0c12 CC-5594 : Remove all date_default_timezone_get()
removing now unused old methods
2013-12-04 14:31:23 -05:00
drigato 49ed0cf0f1 CC-5405: When editing a single show instance from a repeating series, should not create a new cc_show
Removed redundant function call to update last_scheduled column on a cc_show_instance
2013-12-04 14:28:16 -05:00
drigato 7f8f084c98 CC-5405: When editing a single show instance from a repeating series, should not create a new cc_show
Refactored cc_show_day->getLocalEndDateAndTime() function
2013-12-04 14:17:19 -05:00
drigato 22595c1098 CC-5596: Can Recreate an Instance in a Location that has been modified
Fixed by updating the modified instance's start/end time and leaving as a placeholder
for future show updates
2013-12-04 11:36:38 -05:00
drigato 6c71b17024 CC-5595: Improper day of week comparison
Need to convert show instance start time to the show's local timezone before getting
the repeat day of week
2013-12-04 10:05:32 -05:00
drigato 02453c52ee Copy/paste error
Was setting cc_show_days twice
2013-12-04 09:00:43 -05:00
drigato a164416c84 Fixed minor bugs 2013-12-04 09:00:43 -05:00
drigato ef8af1b724 CC-5405: When editing a single show instance from a repeating series, should not create a new cc_show
- Fixed resizing repeating shows to not include edited instances
- Fixed context menu on repeating shows with edited instances
- Fixed populated the show form when editing a single instance
2013-12-04 09:00:43 -05:00
drigato a465b5a770 CC-5405: When editing a single show instance from a repeating series, should not create a new cc_show
Create a new cc_show_day rule instead of a new cc_show
2013-12-04 09:00:43 -05:00
drigato f571000657 Fixed updating single show instance problem where it wasn't fetching
the current instance
2013-11-26 12:32:05 -05:00
Albert Santoni 050d984882 CC-5487 : Calendar won't load under certain situation with linked shows 2013-10-30 18:09:57 -04:00
drigato c9549c6a1d Delete unused code 2013-10-28 10:34:18 -04:00
denise 787ecdc3fa CC-5384: Drag & drop show sets wrong time
Was not setting new start time on cc_show_day object
2013-10-15 16:01:42 -04:00
Naomi f2a794168d CRLF 2013-10-11 16:31:34 -04:00
Naomi 470f0b2a7f CC-5408 : Can't add content to now playing show on calendar page
can schedule the now playing show from the calendar page.
2013-10-11 16:30:49 -04:00
Naomi 4c331aa955 CRLF 2013-10-11 11:08:49 -04:00
Naomi 61bab553ff CC-5396 : Playout History: Restart airtime-liquidsoap will cause redundant items in history log 2013-10-11 11:07:59 -04:00
Naomi 0c4dcda508 CC-5394 : File Summary Fix
need to check if length is set.
2013-10-10 16:01:53 -04:00
denise 533fbeb5f6 CC-5385: Shows with negative duration time are created with inverted time 2013-10-10 11:16:39 -04:00
denise 3261bd6307 Small formatting change 2013-10-09 17:38:06 -04:00
denise 05e4195165 CC-5390: Cannot drag & drop record show that has a rebroadcast
Was using wrong method to query for the rebroadcast show's
original recorded show
2013-10-09 17:24:16 -04:00
denise 4daa34d14b CC-5364: Problem with drag & drop recording show on calendar 2013-10-09 17:11:39 -04:00
denise aadbf0b200 CC-5384: Drag & drop show sets wrong time
Start time was getting stored in UTC in cc_show_days when it
should be stored in the show's local timezone
2013-10-09 16:55:56 -04:00
denise 807833e3f3 CC-5361: Create show from repeating instance could have wrong time 2013-10-08 17:38:03 -04:00
denise c687b6ad24 Merge branch 'master' of https://github.com/jamieconnor/Airtime
Conflicts:
	airtime_mvc/application/services/ShowService.php
2013-10-08 11:16:25 -04:00
denise 8a25d9cd2e CC-5376: Sometimes schedule times don't get updated 2013-10-07 15:53:33 -04:00
denise ff46883c1b CC-5360: Updating a Show over a timezone change period has problems
Need to apply the old timezone to show start time when attempting to
fetch current instance
2013-10-07 14:16:20 -04:00
denise 60b4eb5c8a Removed unnecessary formating when comparing DateTime objects 2013-10-04 09:49:23 -04:00
Naomi faa6c7210c Merge branch '2.5.x' of dev.sourcefabric.org:airtime into 2.5.x 2013-10-02 11:25:08 -04:00
Naomi 4d01e3b11f CC-5347 : isScheduled doesn't work for webstreams 2013-10-02 11:24:48 -04:00
denise 3d9bc85fa0 Merge branch '2.5.x' of dev.sourcefabric.org:airtime into 2.5.x 2013-10-01 08:49:10 -04:00
Naomi 1fa13eed13 CRLF 2013-09-30 13:59:08 -04:00
Naomi 7d739a0f66 CC-5316 : Playout History: Doesn't support webstream
adding the webstream metadata to the history table.
2013-09-30 13:56:27 -04:00
denise 34e2344100 CC-5323: User's Timezone Can Improperly Edit Show
Sometimes show form would populate the start/end time with wrong timezone
2013-09-25 17:18:23 -04:00
denise 3e5a6b2a3d CC-5323: User's Timezone Can Improperly Edit Show
Edit show from was displaying rebroadcast dates in user's timezone
instead of in the show's timezone
2013-09-25 16:40:55 -04:00
denise e8dc1c5729 CC-5323: User's Timezone Can Improperly Edit Show
- fixed to use show's timezone instead of user's timezone when updating a show's
  start and end time after a show has been edited
2013-09-25 16:22:30 -04:00
denise 6aa6d576cd CC-5323: User's Timezone Can Improperly Edit Show
-made localizeDate a static function in ShowFormService
2013-09-25 16:22:30 -04:00
denise 8ddb2974f1 CC-5323: User's Timezone Can Improperly Edit Show 2013-09-25 16:22:30 -04:00
denise 107263ae20 CC-5323: User's Timezone Can Improperly Edit Show 2013-09-25 16:22:30 -04:00
Daniel James 577bbf14b6 Remove swear words from source code 2013-09-23 16:16:51 +01:00
Naomi Aro ae1c41e4ce CC-5333 : Rebroadcast Shows are not created 2013-09-23 12:20:10 +02:00
Naomi Aro 4c6d96e062 CC-5333 : Rebroadcast Shows are not created 2013-09-20 16:35:46 +02:00
Naomi Aro 0d089b787d Merge branch '2.4.x' into ryerson-history 2013-09-07 16:41:57 +02:00
Jamie Connor f7f2cdc51c Follow up changes relating to adding in new show repeat options 2013-09-07 14:54:03 +12:00
Naomi Aro 5a85fce89d CC-5321 : Changing Timezone after Creating shows creates Problems 2013-09-06 12:35:31 +02:00
Jamie Connor 03f383f764 added more options for show repeats 2013-09-03 12:25:22 +12:00
Naomi Aro 4a4ef2767e CC-5318 : Playout History: The last song of the show will display wrong end time. 2013-09-01 17:59:47 -04:00
Naomi Aro 9c0bee3877 adding show instance to the create form if it's already set. 2013-08-31 23:34:37 -04:00
Naomi 4fd37a4fa0 Merge branch '2.4.x' into ryerson-history 2013-08-30 16:07:41 -04:00
Naomi 0c379ef840 a working show instance select. 2013-08-30 15:03:43 -04:00
Naomi Aro 15e27f8166 history records for a show have times validated within show range. 2013-08-30 00:43:43 -04:00
Naomi Aro 0f0958ee6b changing the query to only filter by instance id not starts/ends if instance id is set. 2013-08-29 18:32:42 -04:00
Naomi d50cdd16c2 starting association of a show instance. 2013-08-29 17:40:08 -04:00
Naomi f97069bd0b displaying show list in proper time zone. 2013-08-29 15:58:24 -04:00
Naomi 5780eb5bbe show tables filtering by instance id. 2013-08-29 15:17:24 -04:00
Naomi Aro a4c97479b6 using an accordian to display per show logs. 2013-08-28 23:30:15 -04:00
Naomi 429cdeeffb filtering by a host's show so they can edit their own playout history. 2013-08-28 19:37:46 -04:00
Naomi 653a6384b9 creating a separate controller for playouthistory templates. 2013-08-28 18:25:46 -04:00
Naomi 5aa983be36 adding an instance id to the playout history table. 2013-08-28 17:15:36 -04:00
Naomi dbe160c5d9 beginning of displaying form errors, need to keep working on this. 2013-08-23 15:52:49 -04:00
cliff.wang 12a62a3827 CC-5309:Calendar-> Recording Show: Fail to open context menu
Better error msg, also add more information in show-record.log
2013-08-23 14:23:47 -04:00
Naomi 84efdfd64a crlf 2013-08-20 17:23:48 -04:00
Naomi 007a7ee7ef casting non mandatory types from "", to avoid database query problems. 2013-08-20 17:23:15 -04:00
Naomi 2e572c652c creating a random string for field names to work for all languages. 2013-08-20 15:31:13 -04:00
Naomi Aro 3ea2b920a6 crlf 2013-08-19 23:20:26 -04:00
Naomi Aro 09693ef174 changing to context menu single edit/delete. 2013-08-19 23:19:13 -04:00
Naomi 7cf654551d crlf 2013-08-14 16:39:50 -04:00
Naomi 673c422015 replacing booleans in table with checkbox + column title 2013-08-14 16:38:59 -04:00
Naomi c3c64e6fb1 crlf 2013-08-12 18:18:58 -04:00
Naomi fdf18ec3ce upgrading table tools to version 2.1.5 2013-08-12 18:18:33 -04:00
Naomi b65007868a crlf fix 2013-08-12 15:08:09 -04:00
Naomi d83c004fb9 subclassing the template types, files summary table is now fully configurable form wise. 2013-08-12 15:06:26 -04:00
Naomi 27b079ace9 adding a label to the form fields (Datatables column headers) 2013-08-07 17:55:18 -04:00
Naomi aaf2e5c2f6 better casting on form checkbox, setting populate flag properly based on if id is set (for create/update) 2013-08-05 15:05:26 -04:00
Naomi 31c604d09c can update an existing history item entry. Form is pre-populated. 2013-08-02 18:16:23 -04:00
Naomi 590837a357 crlf 2013-08-02 16:16:04 -04:00
Naomi e047c2f71d can configure the file summary template as well now. 2013-08-02 16:15:32 -04:00
Naomi 774027c9bd crlf 2013-08-02 15:30:35 -04:00
Naomi c110b4b4df file summary table now starting to work with templates.need to change query around to be configurable still. 2013-08-02 15:29:39 -04:00
Naomi b480a5ae18 crlf 2013-08-02 11:19:46 -04:00
Naomi 6e43094d10 pagination working properly (but not with filtering, have removed serach for now anyways.) 2013-08-02 11:18:15 -04:00
denise 8ba95b3587 CC-5262: PHP error happens when creating shows
SAAS only because there is no recording show form
2013-08-02 11:03:14 -04:00
Naomi af38d3cb02 CRLF 2013-08-01 17:10:04 -04:00
Naomi 2341b7b68c can order data in the item table 2013-08-01 17:09:42 -04:00
Naomi 557b3f9c9b CRLF 2013-08-01 16:37:10 -04:00
Naomi a5a99da21e Editing templates, strictly typing metadata for datatables (for unions) 2013-08-01 16:36:18 -04:00
denise 06f5f2f5a7 CC-5283: Calendar gets messy, possibly after upgrade 2013-08-01 15:38:34 -04:00
Naomi b33f33964a crlf 2013-07-31 17:39:45 -04:00
Naomi 7ca28fe81d history item datatable is set up with configurable columns now.
should add a field when configuring template field for "display name"
2013-07-31 17:38:48 -04:00
Naomi 0c9c0c16e8 working on sql for custom templates 2013-07-30 20:04:10 -04:00
Naomi 07819d895d fix added to avoid a blank row in aggregate view 2013-07-30 19:32:31 -04:00
Naomi a170ee7308 crlf 2013-07-30 19:25:06 -04:00
Naomi 7ca3048f36 can add a new list item using the template.
set a default item template

working on sql to get a table with unified columns for file md and manually entered metadata without a file.
2013-07-30 19:24:05 -04:00
Naomi 06e21029d0 saving a template to the DB. 2013-07-29 17:35:07 -04:00
Naomi a2d4af5449 CRLF 2013-07-29 17:22:44 -04:00
Naomi 8eecbb18c0 propel rename done for template fields, template name input. 2013-07-29 17:21:46 -04:00
Naomi db4e025c05 CRLF fix 2013-07-29 16:32:05 -04:00
Naomi 16581088d9 working on configuring an item template UI.
modified db to have fields concept for templates.
2013-07-29 16:31:01 -04:00
denise 7d70a5ed28 Deleting show code improvement. 2013-07-29 15:13:47 -04:00
denise ff557ec75f CC-5283: Calendar gets messy, possibly after upgrade 2013-07-29 15:10:24 -04:00
denise 1046a0916d CC-5289: Exception about linked show in zendphp.log 2013-07-29 14:13:56 -04:00
Naomi Aro c0206ff8f4 CRLF 2013-07-29 08:59:04 -04:00
Naomi Aro 7183396da5 needed to update jquery, fullcalendar needed updating for the new JS.
working on configuring a template.
2013-07-29 08:57:31 -04:00
Naomi 46ecdf393d dynamic form rendering for template
bootstrap datetime widget.

jquery update is needed, testing with hosted jquery first.
2013-07-26 17:33:17 -04:00
Naomi Aro c7b5592fa9 starting to populate with the template. 2013-07-26 11:36:58 -04:00
Naomi ecb2f81211 creating an new row for edit/delete links in the datatable
working on creating/editing records.
2013-07-23 18:01:43 -04:00
Naomi 69afc715d1 creating templates for validation. 2013-07-22 18:11:44 -04:00
Naomi Aro 634eb40a0c creating an entry. 2013-07-22 10:45:39 -04:00
Naomi Aro ec44b81f6a clrf 2013-07-18 01:37:39 -04:00
Naomi Aro 29c8570ade editing in progress 2013-07-18 01:31:20 -04:00
Naomi c744d88f23 IM-784 : Create Editing Abilities For History 2013-07-08 18:00:02 -04:00
Naomi 1abbe85d6d IM-733 Create Development timetable for Airtime Development
IM-777
Database structure for new History Feature

dos2unix fix
2013-07-03 16:02:17 -04:00
Naomi e63518f2da IM-733 Create Development timetable for Airtime Development
IM-777
Database structure for new History Feature

moving original functionality into the service.
2013-07-03 16:00:48 -04:00
Naomi 9f7e85b273 IM-733 Create Development timetable for Airtime Development
IM-777
Database structure for new History Feature
2013-07-03 15:20:40 -04:00
Naomi 328c1f3cac IM-733 Create Development timetable for Airtime Development
IM-777
Database structure for new History Feature
2013-07-03 15:19:05 -04:00
drigato f82cb364c1 CC-5246: Calendar: ON AIR show has an incorrect context menu 2013-06-20 15:21:33 -04:00
drigato 28d73264da CC-5240: Overnight Linked Shows, newly generated not getting content 2013-06-19 01:17:32 -04:00
denise b95a0d7c4a CC-5241: deleting a linked show, show comes back in the schedule 2013-06-18 16:56:16 -04:00
Martin Konecny 2a0c9769aa Merge branch '2.4.x'
Conflicts:
	airtime_mvc/public/js/airtime/showbuilder/builder.js
	python_apps/pypo/liquidsoap_scripts/fdkaac.liq
	python_apps/pypo/schedule/pypofetch.py
	python_apps/pypo/schedule/telnetliquidsoap.py
2013-06-14 16:45:52 -04:00
denise 3f1c47b764 CC-5215: Linked shows sometimes lose crossfades 2013-06-07 13:47:12 -04:00
denise eaf337f317 CC-5209: Calendar -> Repeat by 5th day of the week problem 2013-06-07 11:30:24 -04:00
drigato 66af5cddd9 Trying things 2013-06-07 11:30:13 -04:00
denise f4aba1a189 CC-5209: Calendar -> Repeat by 5th day of the week problem 2013-06-07 11:29:45 -04:00
denise 02ca82f85e CC-5209: Calendar -> Repeat by 5th day of the week problem 2013-06-07 11:17:35 -04:00
drigato bef2dc190e Trying things 2013-06-07 11:17:35 -04:00
denise ccb3da3192 CC-5209: Calendar -> Repeat by 5th day of the week problem 2013-06-07 11:17:35 -04:00
denise 59c68569ab CC-5208: DJ can try to edit show not assign to him 2013-06-07 11:17:35 -04:00
Naomi 99cc75ef51 users can open the current show to schedule and also rebroadcast shows. 2013-06-07 11:17:35 -04:00
denise bad5b12472 CC-5208: DJ can try to edit show not assign to him 2013-06-05 12:05:41 -04:00
Naomi 12302aa1dc users can open the current show to schedule and also rebroadcast shows. 2013-05-31 11:42:35 -04:00
denise f28ab12281 Fixed typo. 2013-05-31 09:40:23 -04:00
denise 3f97b071fe CC-5187: Edit show -> disable linking option if show is currently playing 2013-05-30 11:06:45 -04:00
denise e2810606ab CC-5186: Edit current playing show throws exception sometimes 2013-05-29 14:24:29 -04:00
denise d00f8392bb CC-5183: Use of undefined variable 2013-05-29 12:34:00 -04:00
denise 9545d8aacb Removed dropping and recreating cc_schedule table index before inserting into this table.
We thought it would be a significant performance booster but it isn't
2013-05-28 16:19:17 -04:00
drigato 96ac9cb534 CC-5174: Linked Show: Update a regular show to linked show will move the whole scheduled time forward. 2013-05-24 09:43:03 -04:00
denise 0107f36206 Changed propel to prepared statements 2013-05-23 12:49:15 -04:00
denise d57836c42b CC-5159: Repeating Shows doesn't populate correct dates sometimes 2013-05-17 13:10:15 -04:00
denise 9133384789 is_scheduled flag was not getting updated when shows were deleted 2013-05-16 15:03:10 -04:00
denise f3edc2bee6 CC-5151: Calendar -> Remove all content -> Does not update scheduled flag in library
Fixed so it doesn't update files that are scheduled in other shows
2013-05-15 12:38:48 -04:00
denise 254ebb709e CC-5151: Calendar -> Remove all content -> Does not update scheduled flag in library 2013-05-15 11:25:30 -04:00
denise c173744929 CC-5090: Unscheduled tracks are still marked at Scheduled in linked show 2013-05-14 10:58:06 -04:00
denise 9377e21293 Removed unnecessary function call when editing a show 2013-05-14 08:59:21 -04:00
denise 13458ad687 CC-5122: Calendar -> linked show: Change the repeating weekday will lost all the contents 2013-05-10 14:17:54 -04:00
denise fe88e6249a CC-5093: Please disable link option for recording show 2013-05-08 15:08:56 -04:00
denise 9dbec4636a CC-5106: Calendar: Context menu "Show contents" is missing for past shows 2013-05-08 13:43:27 -04:00
denise d8ba15fac4 CC-5091: Linked Show: Cannot change the start time ahead 2013-05-08 12:05:45 -04:00
denise 22b74126f9 CC-5087: Repeating show -> Same day by Month: Time slot of repeating instances aren't correct 2013-05-07 16:16:32 -04:00
denise fac96996e3 CC-5084: Repeating show edited to linked doesn't add content to repeat instances
Fixed. If the each repeating instance has different content, we replace it
with the first instance's content
2013-05-03 11:37:11 -04:00
denise 0e5ba2f07f CC-5085: Linked show: Changing a regular show to linked show and updating the weekday, all the contents will lost 2013-05-02 15:36:14 -04:00
denise ea73d98c49 CC-5075: Future bi-weekly linked shows don't get filled with content sometimes 2013-05-02 11:40:56 -04:00
denise 09754b20cc CC-5082: Repeating shows "disappear" when switching calendar to next month
This was caused by the calendar trying to re-create single instance shows.
We needed to exclude non-repeating shows when populating the calendar with repeat events
2013-05-01 15:20:55 -04:00
denise 3d61a18261 CC-5082: Repeating shows "disappear" when switching calendar to next month
Small fix. Was treating object as an array
2013-05-01 14:42:53 -04:00
denise ded8ceb86b CC-5082: Repeating shows "disappear" when switching calendar to next month
We were trying to call a function on an object that was not set
2013-05-01 14:40:33 -04:00
denise 0362f24a4e CC-5076: Calendar -> Context menu -> Remove all content doesn't remove content from linked instances 2013-05-01 10:30:51 -04:00
denise ec2f36efa8 CC-5077: Calendar -> Context menu -> Show Content -> shows incorrect time filled on edited repeat instances
- We weren't updating the time_filled column in cc_show_instances when creating the new show
2013-04-30 15:54:04 -04:00
denise 4ca60ca676 CC-5074: Editing a linked instance sets incorrect schedule start times 2013-04-30 13:58:03 -04:00
denise 1384c5d39d Function call was missing an argument 2013-04-29 15:57:59 -04:00
denise de8f7b0ff7 CC-4961: Show linking 2013-04-29 15:27:14 -04:00
denise 52655ab375 CC-4961: Show linking 2013-04-26 13:43:30 -04:00
denise 0f1383d541 CC-4961: Show linking 2013-04-25 09:00:37 -04:00
denise 9b2fb3bece CC-4961: Show linking 2013-04-09 15:55:18 -04:00
denise cfee74693b CC-4961: Show linking
moved move-show to calendar service
2013-04-05 17:44:30 -04:00
denise f9d7167638 CC-4961: Show linking 2013-04-04 16:30:33 -04:00
denise 81dbb17922 CC-4961: Show linking
-moved show deletion into show service
2013-04-03 11:46:46 -04:00
denise ab10ae68a2 CC-5036: Add back edit show instance functionality 2013-04-01 14:42:35 -04:00
denise 1eba09fc4c Show linking 2013-03-28 16:19:05 -04:00
denise d0691b114c Show linking 2013-03-28 14:25:40 -04:00
denise 731b86b36c Added back editing a repeating show instance feature 2013-03-27 16:25:39 -04:00
denise e259639d1a Removed scheduleController private variable, currentUser
Removed showService private variable, currentUser
2013-03-27 09:02:49 -04:00
denise 418bf0b5ff Created calendar service and moved the context menu creation there 2013-03-26 16:03:53 -04:00
denise 230d1a6aa9 Fixed bug where shows weren't populating when moving forward in the calendar 2013-03-26 10:33:06 -04:00
denise ef8f87df5d Show linking 2013-03-25 16:28:53 -04:00
denise 5b69761833 CC-4961: Show linking
Populate repeat show form correctly when a show is repeating monthly
on the same day of the week
2013-03-25 13:48:11 -04:00
denise 327d0dd6c9 CC-4961: Show linking
Add front-end for creating a show with monthly repeats on same day of week
2013-03-22 15:57:15 -04:00
denise 187e49e4b2 CC-4961: Show linking
Added back-end functionality for creating monthly repeating shows on
the same day of the week
2013-03-22 14:57:02 -04:00
denise 6766d208aa CC-4961: Show linking
Removed logic out of edit-show action
Created new SchedulerService
Fixed overlapping show bug
2013-03-21 16:31:05 -04:00
denise a7601d290f CC-4961: Show linking
Refactored services
Removed ShowDaysService and ShowInstanceService
Combined all show actions into one ShowService
2013-03-21 10:05:11 -04:00
denise bae9f1202a CC-4961: Show linking
Removed unused schedule controller actions
Fix bug where changing a show to repeat deletes the original show's content
2013-03-19 10:09:28 -04:00
denise 4bdd89f747 CC-4961: Show linking
Fixed edit show start/end time bug
2013-03-18 12:34:27 -04:00
denise 896e03d76b CC-4961: Show linking
Refactoring all services thus far
2013-03-15 16:56:22 -04:00
denise 5735baf237 CC-4961: Show linking
Made progress on ShowInstanceService
2013-03-13 11:08:16 -04:00
denise f9f4e4f1fb CC-4961: Show linking
Made some progress on show editing
2013-03-12 18:01:12 -04:00
denise 438200425a CC-4961: Show linking 2013-03-12 11:33:32 -04:00
denise c721b81a13 CC-4961: Show linking
Refactoring
2013-03-12 10:30:31 -04:00
denise 7347be35b1 Created a new service for show days
Created a new user service
Started refactoring edit show action
2013-03-11 16:18:40 -04:00
denise d8ced29dd0 Refactored adding show forms to the view 2013-03-08 16:08:43 -05:00
denise 5111f74494 Created function to set the next populate until date for repeating shows 2013-03-08 12:17:55 -05:00
denise 9be6b82d97 Fixed rebroadcast date bug 2013-03-08 12:06:45 -05:00
denise 846e940f82 Merge branch 'cc-4961-show-linking' of dev.sourcefabric.org:airtime into cc-4961-show-linking
Conflicts:
	airtime_mvc/application/services/ScheduleService.php
	airtime_mvc/application/services/ShowInstanceService.php
	airtime_mvc/application/services/ShowService.php
2013-03-08 11:24:54 -05:00
denise 4a86da5f87 Created function to create repeating show instances
Created function to create rebroadcast show instances
2013-03-08 11:19:03 -05:00
denise af622eb4b8 CC-4961: Show linking
Refactored some more show instance creation functions
2013-03-06 09:58:35 -05:00
denise c29e11fa0f Created empty showInstance service.
Split populateShowUntil into 2 new functions: getPopulateDateUntil, and getShowDays
2013-03-06 09:58:35 -05:00
denise d497cfa857 Created show service 2013-03-06 09:58:35 -05:00
denise 99c07272fd - Moved all form validation to it's own function in schedule service
- Moved show creation to it's own function in schedule service
2013-03-06 09:58:35 -05:00
drigato bdab294fce Added comments to Schedule Service 2013-03-06 09:58:35 -05:00
denise d08f6cf3e1 CC-4961: Show linking
-initial schedule service experimentation
2013-03-06 09:58:35 -05:00
denise c7203aa40d CC-4961: Show linking
Refactored some more show instance creation functions
2013-02-26 17:41:35 -05:00
denise 8c8a7d11e1 Created empty showInstance service.
Split populateShowUntil into 2 new functions: getPopulateDateUntil, and getShowDays
2013-02-26 13:21:39 -05:00
denise 2717c0845b Created show service 2013-02-26 10:20:02 -05:00
denise 9f0baba4f8 - Moved all form validation to it's own function in schedule service
- Moved show creation to it's own function in schedule service
2013-02-25 17:31:43 -05:00
drigato 3e49421221 Added comments to Schedule Service 2013-02-25 09:15:03 -05:00
denise 22f52ca195 CC-4961: Show linking
-initial schedule service experimentation
2013-02-21 17:57:56 -05:00