Commit graph

13462 commits

Author SHA1 Message Date
Albert Santoni
b11e98ea24 Reduced the Now Playing screen AJAX on load from 9 to 2. 2015-04-10 19:52:06 -04:00
Albert Santoni
095ca86b34 Open session for writing when we need it (fixes login/logout) 2015-04-10 15:03:25 -04:00
Albert Santoni
1734cc35c8 Refactored session_write_close() optimization and dashboard preloading
hack
2015-04-09 13:03:06 -04:00
Albert Santoni
3e255bfd37 Merge branch 'saas' into saas-speedy 2015-04-09 12:20:23 -04:00
Albert Santoni
d5012c25cb Another small bugfix for error handling in the analyzer 2015-04-06 17:33:08 -04:00
Albert Santoni
492a7f329a Minor airtime_analyzer error handling improvements and documentation 2015-04-06 17:22:13 -04:00
Albert Santoni
3e2cd54be7 Fixed double sending of headers problem with S3 cache 2015-04-01 17:29:21 -04:00
Albert Santoni
9b85fc59a6 Another attempt at squashing header() warning 2015-04-01 16:29:59 -04:00
Albert Santoni
69b03cdefa Three small bugfixes
* Remove files from the database even if they couldn't be removed from disk. (log a warning)
* Return a better error message if the user attempts to delete a scheduled file
* Attempt to squash headers already sent warning during buffer flushing
  in FileIO.php
2015-04-01 16:16:46 -04:00
Albert Santoni
7fd58ac51b Merge branch 'saas-s3proxy' into saas 2015-04-01 13:49:47 -04:00
Albert Santoni
dab9cc775c Hide the show form after updating a show because it was broken at that point anyways 2015-03-31 15:39:06 -04:00
Albert Santoni
79d2ae12fb Added 2.5.12 upgrader and increased show/show instance description field
length
2015-03-31 12:38:42 -04:00
Albert Santoni
ae02fe7816 Log traceback in analyzer status_reporter.py exception handler 2015-03-30 13:21:26 -04:00
Albert Santoni
d31de0937f Refactored file storage code slightly to allow multiple download URLs 2015-03-30 11:31:07 -04:00
duncan
3fe1a46c41 Fixed dropdown menus not behaving correctly 2015-03-26 12:50:53 -04:00
Albert Santoni
271dc266fa S3 proxy cache support + 1 minor analyzer bugfix 2015-03-26 12:08:52 -04:00
Duncan Sommerville
775635cdc7 Merge branch 'saas' of https://github.com/sourcefabric/Airtime into saas 2015-03-25 17:36:05 -04:00
Duncan Sommerville
669d980565 Fixed conf.php 2015-03-25 17:35:43 -04:00
Albert Santoni
b1c00932c6 Merge branch 'saas' of github.com:sourcefabric/Airtime into saas 2015-03-25 17:34:59 -04:00
Albert Santoni
58624ec100 Try to silence another permissions error problem 2015-03-25 17:34:38 -04:00
Duncan Sommerville
040eb1443d CSS fixes to make page header more responsive 2015-03-25 17:29:28 -04:00
Albert Santoni
99d16444d2 Squash unlink warning in CcFiles.php 2015-03-25 10:51:51 -04:00
Albert Santoni
48b4eaacd6 Squashed ob_end_flush(): failed to delete and flush buffer warning 2015-03-24 17:02:04 -04:00
Albert Santoni
25d6ecac0e Disabled broken maintenance screen code to squash warnings on upgrade 2015-03-24 16:54:57 -04:00
Albert Santoni
2f4f4b05b9 Squash warning in php-amqplib 2015-03-24 16:54:09 -04:00
Albert Santoni
d1b28fd564 Fixed a bug in FTP upload hook, other minor improvements
* Ensure we have write permissions on any newly uploaded files by FTP
* Don't silence warnings in moveFileToStor()
* Reduced the FTP upload max retry count
* Log E_NOTICE and E_WARNING levels to Sentry
2015-03-24 14:56:03 -04:00
Albert Santoni
bc2acaea51 Don't fire conversion tracking for the sourcefabric_admin user 2015-03-24 11:18:03 -04:00
Albert Santoni
084c6dd662 PHP compatibility fix 2015-03-24 10:34:48 -04:00
Albert Santoni
3d03f837d2 Trial->Paid conversion tracking with GTM
* Added trial to paid conversion tracking with GTM
* Removed WHMCS roundtrip from Showbuilder
* Moved all Analytics code into common/GoogleAnalytics.php
* Added a new Thank You page after plan changes to capture conversions
* Added a ConversionTracking plugin to facilitate that
* Also backported some minor staticBaseDir compatibility changes
* Fixed a logic error in creating the baseDir
2015-03-24 10:11:25 -04:00
Albert Santoni
7b9efb988f Fixed logic error Amazon_S3StorageBackend 2015-03-20 18:03:23 -04:00
Albert Santoni
8c7ae6c890 Added safety checks to Amazon_S3StorageBackend 2015-03-20 17:23:53 -04:00
Albert Santoni
32aa962138 Fixed error logging and refactored ErrorController to get invoked
correctly when using API key authentication

* Along with the bugfixes, backported improved ErrorController from upstream branch,
  including style improvements.
2015-03-20 17:20:34 -04:00
Albert Santoni
ddd75cb8e3 Merge branch 'saas' of github.com:sourcefabric/Airtime into saas 2015-03-20 12:36:46 -04:00
Albert Santoni
68c4cdcab3 Added missing downgrade() function to the 2.5.11 upgrader 2015-03-20 12:36:28 -04:00
Duncan Sommerville
59206bc73b Fixed typo 2015-03-19 17:53:53 -04:00
Duncan Sommerville
2ec2403cce Moved provisioning change function into controller from helper 2015-03-19 17:32:02 -04:00
Duncan Sommerville
bd72252e9e Fixed typos 2015-03-19 12:07:02 -04:00
Duncan Sommerville
766f649f56 Merge branch 'saas-dashboard-provisioning' into saas 2015-03-19 11:59:01 -04:00
Albert Santoni
34de6da2c7 Major performance improvements to the Dashboard and Calendar views
* Close the PHP session for writing as early as possible in most AJAX
  calls for those views
* Reduce the number of roundtrips to the server in both the Dashboard
  and Calendar views by putting the data in our HTML response (this
  makes a massive difference)
* Eliminated a couple of unneccessary AJAX calls
* Use lazy loading in full calendar
* Fixed a bug in the week view that only occurs near the end of the
  week (date->gmdate bug!)
2015-03-13 18:22:27 -04:00
Albert Santoni
b49e98693b Ignore artist_name and track_titles that aren't strings (fixes playout
for empty artist name or track titles)
2015-03-12 10:52:28 -04:00
Albert Santoni
a29d464eb2 SAAS-642: Files with doublequotes in their track titles fail to playout
(pypo->LS communication bug)

* Fixed it by escaping the command
2015-03-11 18:34:50 -04:00
Albert Santoni
b868e4cd46 Merge branch 'saas' of github.com:sourcefabric/Airtime into saas 2015-03-11 18:34:20 -04:00
Albert Santoni
e182e73626 SAAS-602: airtime_analyzer deadlocks in S3 hostname lookup
* Stopped using multiprocess.subprocess because it's dangerous and
  unreliable due to Python bug 6721: http://bugs.python.org/issue6721
2015-03-11 18:33:08 -04:00
Denise Rigato
052055bfff Merge pull request #106 from sourcefabric/saas-update-disk-usage-upgrader
SAAS-628: Create script to update disk_usage for all Airtime pro station...
2015-03-11 16:48:28 -04:00
Denise Rigato
90196a572f Merge pull request #107 from sourcefabric/saas-enable-disk-quota
SAAS-606: Enable disk quota on Airtime Pro
2015-03-11 14:15:56 -04:00
drigato
55ed21a155 SAAS-606: Enable disk quota on Airtime Pro 2015-03-11 13:50:17 -04:00
drigato
5b3edaa2ca Add order by clause to /rest/media index action 2015-03-11 13:25:27 -04:00
Duncan Sommerville
716244011a Removed unnecessary conditional around /provisioning/change in Bootstrap 2015-03-10 13:20:11 -04:00
drigato
b398fea7e7 SAAS-628: Create script to update disk_usage for all Airtime pro stations 2015-03-10 12:29:30 -04:00
Denise Rigato
0d790213e3 Merge pull request #103 from sourcefabric/saas-paginagte-rest-media-index-action
Saas paginagte rest media index action
2015-03-06 14:31:06 -05:00