Commit Graph

11946 Commits

Author SHA1 Message Date
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 061897a58b CC-5594 : Remove all date_default_timezone_get()
never rely on this method.
2013-12-05 16:00:52 -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
Naomi c732b44903 CC-5594 : Remove all date_default_timezone_get()
must allow 24 hours, but nothing greater to match old usage.
2013-12-05 13:11:36 -05:00
Naomi eb4cefa3ff CC-5594 : Remove all date_default_timezone_get()
DateTime here was relying on a timezone that wasn't what the user selects in the timezone drop down on the form.
2013-12-05 13:04:02 -05:00
Naomi ed74470803 CC-5594 : Remove all date_default_timezone_get()
updating dashbaord information for timezone.
2013-12-04 17:54:28 -05:00
Naomi 8f1e73edf5 CC-5594 : Remove all date_default_timezone_get()
fixing up controllers
2013-12-04 16:26:11 -05:00
Naomi 20b32bab80 CC-5594 : Remove all date_default_timezone_get()
simplifying code, removing unnecessary calculations.
2013-12-04 16:05:18 -05:00
Naomi e508d141ed CC-5594 : Remove all date_default_timezone_get()
resizing must calculate from displayed calendar settings.
2013-12-04 15:48:32 -05:00
Naomi e71f306c7d CC-5594 : Remove all date_default_timezone_get()
setting display time using user timezone.
last played was never converted properly for display previously.
2013-12-04 15:24:27 -05:00
Naomi 10d8351f93 CC-5594 : Remove all date_default_timezone_get()
setting display timezone to be user's timezone for library utime and mtime.
2013-12-04 15:16:07 -05:00
Naomi aafeeb6aed CC-5594 : Remove all date_default_timezone_get()
replacing timezone with the user timezone pref.
2013-12-04 15:11:40 -05:00
Albert Santoni f695d7b895 Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x 2013-12-04 15:09:52 -05:00
Naomi c8cfdadb90 CC-5594 : Remove all date_default_timezone_get()
removing unused old methods, changing listener stats to use the user timezone for display.
2013-12-04 15:06:07 -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 447ad4e3c6 CC-5594 : Remove all date_default_timezone_get()
correcting show contents timezone.
2013-12-04 14:39:56 -05:00
Albert Santoni 771d07c4cc Merge branch 'cc-5405' of https://github.com/sourcefabric/Airtime into 2.5.x 2013-12-04 14:36:38 -05:00
drigato 320cecd339 Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x 2013-12-04 14:36:30 -05:00
Albert Santoni 79af606418 Merge branch '2.5.x' of https://github.com/danielhjames/Airtime into 2.5.x 2013-12-04 14:33:53 -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
Naomi c9773d2a0e CC-5594 : Remove all date_default_timezone_get() 2013-12-04 14:13:19 -05:00
drigato 463d286ac5 CC-5405: When editing a single show instance from a repeating series, should not create a new cc_show
Refactored cc_show->isRepeating() function
2013-12-04 14:00:31 -05:00
drigato b78fa994f7 CC-5405: When editing a single show instance from a repeating series, should not create a new cc_show
Removed redundant timestamp var
Removed redundant DateTime object creation
2013-12-04 12:20: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 da0693eb3c Merge branch 'cc-5405' of github.com:sourcefabric/Airtime into cc-5405 2013-12-04 10:05:50 -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
Daniel James 504f1dbb8d Bump postinst version to 2.5.1 2013-12-04 13:50:31 +00:00
drigato 4253608948 Small fix to overlapping show check 2013-12-03 15:14:53 -05:00
drigato c18d53f403 CC-5593: Overlapping Show Bug
Get instance depending on whether instance id is provided or not
2013-12-03 15:07:40 -05:00
drigato d49131db48 CC-5593: Overlapping Show Bug
Need to check if the show instance has been deleted
2013-12-03 14:39:53 -05:00
drigato 3b539b7c04 Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x
Conflicts:
	install_minimal/include/airtime-install.php
2013-12-03 11:25:09 -05:00
drigato eae93008b4 CC-5589: SQL error when adding/moving a scheduled item
Error was occuring when a moved item didn't exist in a linked show instance
Error was also occuring when trying to insert item into a schedule localtion
that does not exist in a linked instance.

Fixed by skipping the move action if the file does not exist in a linked instance,
cleaning up the position numbers after deleting schedule items, and by
setting the insert time to the show start time in a linked instance is empty
2013-12-02 16:40:15 -05:00
drigato 81912f2934 Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x 2013-12-02 14:13:06 -05:00
drigato bc695e69d1 Copy/paste error
Was setting cc_show_days twice
2013-12-02 13:28:25 -05:00
drigato d967e36c45 Fixed minor bugs 2013-12-02 13:13:41 -05:00
drigato b4f016681e 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-02 07:19:31 -05:00
drigato 3ce2158b6f Merge branch 'master' of github.com:sourcefabric/Airtime into 2.5.x 2013-11-29 07:55:22 -05:00
drigato 6f9254e655 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-11-28 17:17:00 -05:00
Albert Santoni 28c81fcebb Nothing to see here, just a typo... 2013-11-28 16:09:03 -05:00
Albert Santoni bf5e995547 CC-5584: Quick PHP version check (5.4+)
* Thanks to John Chewter for connecting the dots on this one!
2013-11-28 16:04:56 -05:00