Duncan Sommerville
5dfadf6ecc
Changed check for image deletion
2014-09-18 16:35:32 -04:00
Duncan Sommerville
096556fa74
Added show_logo_name field to data object to avoid deleting current logo when none is being uploaded
2014-09-18 10:32:56 -04:00
Duncan Sommerville
c4b38043e8
Removed unnecessary image_path field from showData and ccShow object
2014-09-17 19:43:26 -04:00
Duncan Sommerville
f64b7d0813
Updated show edit functionality to accommodate uploading new show image
2014-09-17 10:27:14 -04:00
Duncan Sommerville
f5a607ad90
Added functionality for deleting saved images when the show is deleted, updating the show image, and returning the showId to be used by ShowController
2014-09-16 18:24:22 -04:00
drigato
6249deb1ac
Removed unused function.
...
Removed commented out code.
Renamed fillNewLinkedInstances to fillLinkedInstances.
Streamline show instance content if a show goes from unlinked to linked.
2014-08-21 16:40:01 -04:00
drigato
4c03e12ea1
Better way of getting the linked show schedule and moved that into its own function.
...
Store the ids of the new, created show instances so we can pass them to the
fillNewLinkedInstances function
2014-08-20 16:37:44 -04:00
drigato
33f397f577
remove memory usage log statements
2014-08-15 16:25:37 -04:00
drigato
f863f4dfcf
More mem usage logs
2014-08-15 15:41:00 -04:00
drigato
2bc8f6d403
Logging memory usage
2014-08-15 15:36:13 -04:00
drigato
26b210ded9
Commented out unnecessary functions using too much memory
2014-08-15 15:32:52 -04:00
drigato
520387fcad
CC-5898: Future repeating shows may not get generated and/or filled with content
...
Create and fill show instances when pypo requests the schedule
Changed getCcShowInstancess function to return all instances
Changed some function calls to retrieve only show instances scheduled in the future
2014-08-16 11:05:55 -04:00
drigato
ee489b39f9
CC-5869: Changing a repeating show to non-repeating and changing start time does not work
2014-06-06 14:51:01 -04:00
drigato
e4bb97bcc4
CC-5867: Can't edit show instance
2014-06-06 12:22:59 -04:00
drigato
14c670aa20
CC-5728: Problem when removing repeat option and changing start date
2014-03-10 17:41:57 -04:00
drigato
8ad866c2a2
Fixed changing the start date on a non-repeating show
2014-03-10 17:32:54 -04:00
drigato
6b91d2daf8
CC-5725: Changing a show's repeat type removes first instance from repeating series
2014-03-07 14:52:32 -05:00
drigato
35fd639c1c
CC-5725: Changing a show's repeat type removes first instance from repeating series
2014-03-06 11:18:13 -05:00
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
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
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
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
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
drigato
cdfdbc4da2
Removed unused code
2013-12-06 16:51:13 -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
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
drigato
c9549c6a1d
Delete unused code
2013-10-28 10:34:18 -04:00