libretime/airtime_mvc/public/js/airtime
Lucas Bickel b1f840ee0f Only update timescale pref in db on change
The /Schedule/set-time-scale/format/json was being hit every time a new calendar page was displayed. The isn't good for performance reasons and also makes race conditions like #210 much more likely.

With this change the preference is only updated on the server when the GUI state changes because the user clicked on one of the "Day", "Week", or "Month" buttons.

This does not fix the locking issue completely, but it should help because the cc_prefs time-scale row in the database will get locked much less often. After applying this I wasn't able to reproduce #210 any more on an install with an extensive schedule.
2017-06-03 23:05:18 +02:00
..
audiopreview Resize player windows to correct dimensions on open 2015-07-02 16:07:49 -04:00
buttons CC-4466: Buttons on Now Playing page are clickable even though they are disabled 2012-09-18 10:53:19 -04:00
common Merge branch 'saas-dev' into saas-dev-facebook-radio 2015-11-19 15:09:29 -05:00
dashboard Re-implement version check 2017-03-20 20:36:46 +01:00
library Restore datatables-library from server on login 2017-03-24 16:21:39 +01:00
listenerstat SAAS-1039 - add processing overlay to listener stats screen 2015-09-02 11:52:43 -04:00
login Clean up and bugfixes for password reset (SAAS-1009) 2015-08-07 13:57:42 -04:00
nav SAAS-1017: Move top nav bar to side 2015-08-14 08:30:52 -04:00
nowplaying Force users to click OK in the language/timezone popup 2015-10-14 11:58:44 -04:00
player SAAS-712: UI Improvements 2015-04-09 14:22:50 -04:00
playlist SAAS-1058: Podcast table schema 2015-09-14 17:00:54 -04:00
playouthistory CC-6069: Pick consistent design for New buttons 2015-08-28 16:21:20 -04:00
preferences Build form early and reactivate ajaxy replacing 2017-03-19 12:35:58 +01:00
schedule Only update timescale pref in db on change 2017-06-03 23:05:18 +02:00
showbuilder Hideable Scheduled Shows tab 2017-03-21 00:19:25 +01:00
status CC-4943: Raspberry Pi optimization: don't create new background AJAX request until the previous one has returned 2013-02-14 12:58:31 -05:00
user Fix some issues with the users page 2015-09-09 17:25:40 -04:00
utilities CC-5727 : History search range using incorrect timezone offset (also Nowplaying & Listener Stats) 2014-03-11 13:26:05 -04:00
widgets Add basic 403 handling to table.js 2015-11-20 13:41:23 -05:00
airtime_bootstrap.js CC-4605: Some AJAX calls are cached 2012-10-19 11:22:44 -04:00