Commit Graph

2637 Commits

Author SHA1 Message Date
Robb Ebright 015bcea70d Merge branch 'feature/relative_smartblocks' of https://github.com/Robbt/libretime into feature/relative_smartblocks 2018-01-04 10:38:25 -05:00
Robb Ebright 18a7ff5c0a fixed autoplaylist database logic and icon position 2018-01-03 22:01:46 -05:00
Robb Ebright 927fcbc42d Pluralized file criteria, cleaned up CSS and removed dead code 2018-01-03 18:57:02 -05:00
Robb Ebright 968dcfa6ad added CSS for autoplaylist icon 2018-01-02 10:07:33 -05:00
Lucas Bickel c342aef031 Use max upload size from php config in frontend plupload js 2017-12-26 13:14:01 +01:00
Robb Ebright e4f94c18cc Replaced lower case a icon with A and fixed transparency 2017-12-20 09:08:23 -05:00
Robb Ebright 7584f07d48 fixed icon 2017-12-20 08:52:33 -05:00
Robb Ebright ee86112898 Removed debug code and rewrote SQL as ORM query and readded icon image file 2017-12-17 10:47:38 -05:00
Robb Ebright a294d66383 adding autoplaylist icon 2017-11-29 07:15:40 -05:00
Robb Ebright 01ec7ce797 inital attempt to add autoplaylist icon to calendar 2017-11-29 07:15:40 -05:00
Robb Ebright 6bdb570338 Modified smartblock form to allow preview of tracks meeting criteria for dynamic smartblocks 2017-11-21 21:22:06 -05:00
Robb Ebright bab3c235dc point to install file with hardcoded values to avoid broken setup 2017-11-16 22:02:30 -05:00
Lucas Bickel d356b754df
Merge pull request #359 from jerry924/issue350_advsearch_calendermode
issue 350 - change z-index to allow advanced search in calendar mode
2017-11-16 21:10:18 +01:00
Jerry Russell fadefaa1bc issue 350 - change z-index to allow advanced search of library while editing a show from calendar 2017-11-16 00:55:50 +00:00
Robb Ebright b89f159fe8 modified the database code to allow custom pgsql password 2017-11-13 15:03:15 -05:00
Robb Ebright d58468185c Made rabbitmq settings write to tempfile upon check to fix install bug 2017-11-13 11:42:58 -05:00
Robb Ebright 67807bb4b3 fixed blatant errors in jquery and php validation 2017-10-14 21:01:58 -04:00
Robb Ebright 311ecd393d working relative dates with drop down selects 2017-10-14 01:00:06 -04:00
Robb Ebright 6c6b33b553 fixed jquery javascript regarding datetime select dynamic modification 2017-10-13 18:54:04 -04:00
Xabi Spacebiker 8d23a91ac0 Fixing layout in styles.css 2017-09-30 15:56:34 +02:00
Xabi Spacebiker adbcdc496b Styles css fixes 2017-09-30 13:06:07 +02:00
Xabi Spacebiker 3e8d893f01 Fix missing translations 2017-09-27 10:15:38 +02:00
Robb Ebright c78979c19c work in progress - need to write rules to parse when to show vs hide datetime select and add it to value field 2017-08-24 10:27:13 -04:00
Robb Ebright 9dae48702f Added some basic javascript based checking to require album override to be enabled for auto smartblock to be enabled 2017-08-23 12:43:48 -04:00
Robb Ebright c630a69b89 Added ability to text input relative date times w/o validation 2017-08-16 20:05:02 -04:00
Lucas Bickel fa2018a2c5 Simplify configuration file structure
This removes most of the legacy upstream config madness by not using
weird config files spread all over the place.

This isn't the solution to other config reading fragility issues, but
it does move the whole config back to the central airtime.conf file.
2017-07-21 13:15:28 +02:00
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
Robb Ebright c12ad4ea4f added UI to toggle autoplaylist repeat option 2017-03-31 00:00:19 -04:00
Lucas Bickel 0274920d14 Restore datatables-library from server on login
When localStorage is empty we try getting the data from the server. This is a bit hacky since the ui uses a very old version of datatables.
2017-03-24 16:21:39 +01:00
Robb 3196603dde Merge pull request #118 from radiorabe/feature/pull-ru-from-zanata
Update ru and de i18n
2017-03-24 10:57:48 -04:00
Lucas Bickel eda331c4b2 Make .personal-block.solo fit i18n texts 2017-03-24 13:18:52 +01:00
Lucas Bickel da9aa991b3 Dont let menu overlap onto content 2017-03-24 00:08:45 +01:00
Robb 62388f7a09 Merge pull request #117 from radiorabe/feature/logo-replacement-for-oops-page
Remove legacy upstream branding from oops page
2017-03-23 18:15:04 -04:00
Robb 69347f227f Merge pull request #106 from radiorabe/feature/hideable-scheduled-shows
Hideable Scheduled Shows tab
2017-03-23 14:57:05 -04:00
Lucas Bickel 4a7d5be735 Wider max-width for more browser compat 2017-03-23 14:12:58 +01:00
Lucas Bickel 81cf904ce0 Remove legacy upstream branding from oops page 2017-03-23 14:06:50 +01:00
Lucas Bickel 6e712b4b82 Hideable Scheduled Shows tab
Makes the first tab remoeable and the tracks page be full width after removing the last tab. You can press the "Dashboard" link to open it back up again.
2017-03-21 00:19:25 +01:00
Lucas Bickel 06a3ad0ed3 Re-implement version check
This makes LibreTime check its version against github releases and lets the user know when to update. It uses the red exclamation point when there is a patch release or if LibreTime is more than one major release ahead. The orange icon is used when LibreTime is on a git install, a single major update is available, or a pre-release version is installed. The green update icon gets used to signify that a new minor release is available. Finally the green checkmark will be used when you are on a stable release.
2017-03-20 20:36:46 +01:00
Lucas Bickel 81d3c3e2b8 Merge pull request #84 from Robbt/fix/live-stream-source
[WIP] Making show and master source ports and mount points editable.
2017-03-20 02:06:58 +01:00
Lucas Bickel b93a0eccc6 Build form early and reactivate ajaxy replacing
This makes subform validation work for everything again. I also had to slightly unhack the corresponding js. It's still not very nice in that it still reloads even though ajax would have been enough but I could figure out why the mast source field was not getting the proper values (You can reproduce this by commenting the window.location.reload() in the js).
2017-03-19 12:35:58 +01:00
Robb Ebright 91290b5e43 Fixing CSS for podcast override 2017-03-18 14:34:21 -04:00
Lucas Bickel e1cf27664b Cleanup dead code 2017-03-17 15:09:21 +01:00
Lucas Bickel 033e816015 Edit form 2017-03-17 11:45:10 +01:00
Robb Ebright 4c8f2ad435 fixed default and override URL settings and removed unused validation 2017-03-16 10:18:43 -04:00
Robb Ebright f31236fe66 Fixed Override Javascript and Functionality 2017-03-14 23:03:37 -04:00
Lucas Bickel 38d4fdcdda Disable all google tracking per default 2017-03-13 17:30:05 +01:00
Robb 2be8ef0f2b Merge pull request #55 from radiorabe/feature/autodj
Robbs AutoDJ
2017-03-11 18:41:08 -05:00
Lucas Bickel d8c663ef7a Change inline manual links
Fixes #59
2017-03-11 21:20:06 +01:00
Lucas Bickel 2a53241ba3 Whitespace and deadcode nitpick 2017-03-10 16:27:46 +01:00
Robb Ebright 32a1a66378 Added AutoPlaylist Functionality to Show Scheduler enabling shows to have tracks added automatically. 2017-03-10 15:33:32 +01:00
Lucas Bickel 779081f4e0 Debrand big gray from old error page 2017-03-08 16:47:07 +01:00
Lucas Bickel 8f27f6c8e3 Debrand favicon.ico as well 2017-03-08 16:45:40 +01:00
Lucas Bickel c8c3f89a4b quick and dirty logo debranding
I'm replacing them all with empty images under the assumption that we will want to re-add a new logo. This is just to ensure that we can release LibreTime without infringing upon the sourcefabric trademark for now.
2017-03-08 16:37:26 +01:00
Lucas Bickel e28ad471f9 Rewrite config from /etc/airtime-saas to plain /etc/airtime
This is the results of sed -i -e 's|/etc/airtime-saas/|/etc/airtime/|' `grep -irl 'airtime-saas' airtime_mvc/ python_apps/` :P

It might need more testing, the airtime-saas part never really made sense, zf1 has environments for that, ie you would create a saas env based on production for instance.

I beleive legacy upstream was using this to share configuration between customers (ie. analyser runs only once and writes to a shared S3 bucket). I assume they mount the airtime-saas folder onto individual customers instances with a global config. Like I said, I don't feel that this makes sense since all it does is make hacking at the configs in airtime-saas a bit easier. A serious SaaS operation should be using something like puppet or ansible to achieve this.
2017-03-03 15:57:41 +01:00
Lucas Bickel 21a319767f Fix missing AMQPConnection errors in setup
Also fixes them elsewhere, apart from having switched to a vendorized version, I also used one that is already namespaced.

The easy way out here is to use it in the namespaced fashion, it is only used in a few places and I know the library well enough to be certain that nothing much changed apart from the namespacing.
2017-03-02 12:38:44 +01:00
Lucas Bickel 4936b16bc1 Load autoloader early so setup can use it
Also fixes a @include_once check that is now much easier.
2017-02-28 12:25:24 +01:00
Albert Santoni c5429df59c Holiday promo update for billing page 2015-12-08 15:44:41 -05:00
Albert Santoni 68252a078b SAAS-1258: Long track titles hide play button and icon on radio page 2015-12-01 16:03:44 -05:00
Duncan Sommerville f857183247 Fix layout for disk quota error message 2015-11-30 13:13:06 -05:00
Duncan Sommerville b4b4cd265e SAAS-1236 - show duration text 2015-11-30 12:24:14 -05:00
Albert Santoni 819a882c31 Temporarily hide bandwidth usage and move it down in the page 2015-11-26 17:30:28 -05:00
Duncan Sommerville 17a03e088f SAAS-1244 - improve pending podcast episode sweeping; small bugfixes 2015-11-26 15:25:38 -05:00
drigato 21846be7ed SAAS-1243: Bandwidth usage status on Listener Stats page 2015-11-26 13:25:44 -05:00
drigato a2a30e5c42 Merge branch 'saas-dev' into saas-dev-facebook-radio 2015-11-24 11:22:18 -05:00
Duncan Sommerville 7f5e41c885 Add basic 403 handling to table.js 2015-11-20 13:41:23 -05:00
Duncan Sommerville fb3d83cc40 Change 'Learn about podcasts' link 2015-11-20 11:49:03 -05:00
Duncan Sommerville fff7ef371d Add fnDrawCallback to podcasts table to fix placeholder 2015-11-20 11:27:11 -05:00
Duncan Sommerville 641cfb9432 SAAS-1234 - bind station feed url to angular data model 2015-11-19 17:09:49 -05:00
Albert Santoni 7545c91ca4 SAAS-1181: Finalize the Facebook widget 2015-11-19 15:55:12 -05:00
Albert Santoni 25c54ce974 Merge branch 'saas-dev' into saas-dev-facebook-radio 2015-11-19 15:09:29 -05:00
Duncan Sommerville c328515f4b SAAS-1135 - fix help button url for logged out users 2015-11-19 11:08:35 -05:00
Duncan Sommerville e4027c1e1f Sweep pending podcast episodes after an hour; css tweaks to My Podcast page 2015-11-18 16:20:29 -05:00
Duncan Sommerville 9218d76de9 SAAS-1214 - add Connect with Soundcloud button; Fix nav styling in some browsers 2015-11-18 12:37:29 -05:00
Duncan Sommerville 9a8e80f74b Change station podcast RSS links back to https; style fix for menu in some browsers 2015-11-18 11:10:14 -05:00
Albert Santoni 4fd61cb088 Merge branch 'saas-dev-publishing' of github.com:sourcefabric/Airtime into saas-dev-publishing 2015-11-17 17:34:33 -05:00
Albert Santoni c5d9dfd93d Restrict podcast hosting for some plans. Fixed error page colours. 2015-11-17 17:34:13 -05:00
Duncan Sommerville 30c9c730be Bugfixes and itunes compatibility fix 2015-11-17 17:23:21 -05:00
Duncan Sommerville f2fae3c67e SAAS-1195 - fix calendar error; use baseurl in all internal links; css tweaks 2015-11-17 16:39:29 -05:00
drigato 031c4dca41 Merge branch 'saas-dev-publishing' of https://github.com/sourcefabric/Airtime into saas-dev-publishing 2015-11-17 15:20:17 -05:00
drigato b268028e6a SAAS-1213: Fix Podcast privacy settings radio button layout 2015-11-17 15:20:05 -05:00
Duncan Sommerville c12848b2de * SAAS-1212 - fix validation errors in station podcast rss
* Append podcast title to heading in episodes view
2015-11-17 12:26:21 -05:00
drigato b94164107f Podcast text overflow fix on radio page 2015-11-17 11:42:01 -05:00
Albert Santoni 6a668f79af Tighten up Radio Page CSS transitions 2015-11-17 11:42:08 -05:00
Albert Santoni 9ddb33f2cd Fix up title scaling on Radio Page 2015-11-17 10:48:16 -05:00
Albert Santoni 8ba7a5dbe9 Use flexbox for the Radio Page player bar 2015-11-17 10:33:43 -05:00
Duncan Sommerville 62a3251fb4 Style tweak for episode view dialog 2015-11-16 18:25:10 -05:00
Duncan Sommerville be7c60253b Disable publish button when finished publishing to selected source(s) 2015-11-16 17:27:51 -05:00
Duncan Sommerville 42e55f193c SAAS-1211 - fix columns in oColVis dropdown for My Podcast episode table 2015-11-16 15:54:20 -05:00
Duncan Sommerville 6d9859c025 SAAS-1210 - Fix broken link 2015-11-16 15:48:30 -05:00
Duncan Sommerville 43b1ce6520 Fix broken check for import status 2015-11-16 15:44:06 -05:00
Duncan Sommerville 2fb988a7cb CSS fix for nav menu at small resolutions 2015-11-16 15:28:28 -05:00
Duncan Sommerville a34d74e7ce Merge branch 'saas-dev-publishing' of github.com:sourcefabric/airtime into saas-dev-publishing 2015-11-16 14:23:16 -05:00
Duncan Sommerville 38d08a5661 SAAS-1208, SAAS-1209 - fix preferences and my podcast settings pages 2015-11-16 14:23:08 -05:00
drigato 16f252c2c8 Fix podcast title responsive layout on radio page 2015-11-16 14:16:10 -05:00
Duncan Sommerville 130c5f570b Fix podcast table bug 2015-11-16 12:44:57 -05:00
Duncan Sommerville 08f5aa51a6 CSS and display fixes 2015-11-16 12:07:53 -05:00
Duncan Sommerville 610d860d6a Merge branch 'saas-dev-publishing' of github.com:sourcefabric/airtime into saas-dev-publishing 2015-11-16 11:36:24 -05:00
Duncan Sommerville 3010fa01fa Add processing div to podcast episodes table 2015-11-16 11:36:18 -05:00
Duncan Sommerville 7569e936ce Merge branch 'saas-dev-publishing' into saas-dev-publishing-station-podcast 2015-11-13 15:59:57 -05:00
Duncan Sommerville 840f446e07 Disable publish button unless at least one source is checked 2015-11-13 15:59:34 -05:00
Duncan Sommerville 1d8ebab147 Merge branch 'saas-dev-publishing' into saas-dev-publishing-station-podcast 2015-11-13 14:58:24 -05:00
Duncan Sommerville d0265367bf Add forgotten png file 2015-11-13 14:58:06 -05:00
Duncan Sommerville 8e867b522c SAAS-1202 - move station podcast to top-level menu item 2015-11-13 14:57:32 -05:00
drigato 778904fdb5 Radio page css fixes 2015-11-13 07:48:14 -05:00
Duncan Sommerville 0514a5d789 Frontend tweaks + fixes 2015-11-12 19:29:55 -05:00
Duncan Sommerville 69109e171c Fix bad css 2015-11-12 19:03:32 -05:00
Duncan Sommerville 55df7775c2 Frontend polish and fixes; make empty placeholder implementation more abstract and add placeholder to 'My Podcast' view 2015-11-12 19:02:09 -05:00
Duncan Sommerville 0e74229975 Fix bug where 'Add' dialog appends to the dom multiple times 2015-11-12 15:42:41 -05:00
Duncan Sommerville 5a573d3d9e Merge branch 'saas-dev-publishing' of github.com:sourcefabric/airtime into saas-dev-publishing 2015-11-12 15:32:45 -05:00
Duncan Sommerville 607176276a Fix invalid reference bug 2015-11-12 15:32:38 -05:00
Duncan Sommerville 28e95d5c16 Add publish button to library table 2015-11-12 15:29:01 -05:00
drigato 9fc4e1c603 Merge branch 'saas-dev-publishing' of https://github.com/sourcefabric/Airtime into saas-dev-publishing 2015-11-12 15:28:51 -05:00
drigato 9dae535768 Radio page jPlayer fixes 2015-11-12 15:28:40 -05:00
Duncan Sommerville ea887dd8f6 Disable publish checkbox for disconnected sources 2015-11-12 14:47:47 -05:00
Duncan Sommerville 0951afcbb3 SAAS-1188 - add empty placeholder for podcast episodes table 2015-11-12 14:14:42 -05:00
Duncan Sommerville 26c9a19836 Fix bug with import status of podcst episodes 2015-11-12 11:37:39 -05:00
Duncan Sommerville 1b4ae9bb83 Quick fix for bug on calendar 2015-11-12 10:26:57 -05:00
Duncan Sommerville 071de55329 Add some additional error handling and prevent disabled buttons from being triggered 2015-11-11 19:26:51 -05:00
Duncan Sommerville 8a5c25291e Lower poll interval for checking import status of podcast episodes 2015-11-11 18:52:12 -05:00
Albert Santoni e5c198b61b Some minor style changes for podcasting 2015-11-11 18:01:09 -05:00
Duncan Sommerville 86b7dec6fb SAAS-1200 - remove context menu from schedule tracks dialog (calendar) 2015-11-11 17:07:24 -05:00
Duncan Sommerville 5b325acb34 Merge branch 'saas-dev-publishing' of github.com:sourcefabric/airtime into saas-dev-publishing 2015-11-11 16:48:35 -05:00
Duncan Sommerville 74f7c454b5 * SAAS-1184 - more polish for publishing/podcasting
* Fix some issues with the station podcast feed
* Various small fixes
2015-11-11 16:47:07 -05:00
drigato 59cf6f6238 Radio page jPlayer fixes 2015-11-11 14:55:47 -05:00
Duncan Sommerville 5264bebe57 SAAS-1199 - stop user from dragging unimported podcast episodes 2015-11-11 11:16:02 -05:00
Duncan Sommerville c5a5839eff Better errors from podcast 'Add' dialog 2015-11-10 19:26:25 -05:00
Duncan Sommerville de380369ed * SAAS-1197 - fix publish dialog behaviour for tasks with pending states
* SAAS-1184 - more polish on publishing/podcasting
2015-11-10 17:54:31 -05:00
drigato 308457c9f4 SAAS-1174: Indicate on Radio Page which podcast tracks cannot be played
Also made some other UI changes and pagination fixes
2015-11-10 17:06:58 -05:00
Duncan Sommerville b88bcfaa92 Merge branch 'saas-dev-publishing' of github.com:sourcefabric/airtime into saas-dev-publishing 2015-11-10 15:10:44 -05:00
Duncan Sommerville bb7f8c1ed3 SAAS-1184 - bugfixes and polish 2015-11-10 15:10:36 -05:00
Albert Santoni 127eeda0b3 Improved styling of podcast subscribe dialog 2015-11-10 15:10:08 -05:00
Albert Santoni f4e9328e57 Renamed View Podcasts to View Episodes 2015-11-10 10:57:56 -05:00
Duncan Sommerville f352b61707 Add prefixes for flex properties 2015-11-09 18:32:46 -05:00
Duncan Sommerville 0360b5e460 * SAAS-1182 - added sanity checks and additional logic to rss import and episode generation
* SAAS-1184 - started work on podcast UI polishing
* Fixed pull request issues
2015-11-09 18:17:49 -05:00
Duncan Sommerville 1bc0f9e54b Fix small bugs in table.js 2015-11-09 13:59:36 -05:00
Duncan Sommerville 48f09c44ca Merge branch 'saas-dev-publishing' into saas-dev-publishing-episode-view 2015-11-09 13:57:17 -05:00
drigato 372e28f82e SAAS-1158: Station podcast on Radio Page design implementation
Fix some pagination functionality
2015-11-09 13:44:45 -05:00
drigato ea9f0c8929 SAAS-1158: Station podcast on Radio Page design implementation
added pagination to the station rss episodes list
2015-11-09 12:15:46 -05:00
Duncan Sommerville ef5fd271e0 Merge branch 'saas-dev-publishing' into saas-dev-publishing-episode-view 2015-11-09 10:21:38 -05:00
drigato 4c3e05d5f0 SAAS-1158: Station podcast on Radio Page design implementation 2015-11-09 08:42:46 -05:00
Duncan Sommerville a7881b8941 SAAS-1165 - implement simple one-item drag and drop for podcast episodes table; still needs work 2015-11-06 17:47:46 -05:00
Duncan Sommerville 729360e1a1 SAAS-1165, SAAS-1155 - add constraints to Table buttons, implement podcast + podcast episode constraints; finish left-hand podcast episode view functionality 2015-11-06 14:40:22 -05:00
Duncan Sommerville 7072762dd9 Merge branch 'saas-dev-publishing' into saas-dev-publishing-episode-view 2015-11-06 09:44:29 -05:00
drigato 093de68edb Add station rss subscribe link to radio page 2015-11-05 20:46:33 -05:00
Duncan Sommerville 901ded1441 Merge branch 'saas-dev-publishing' into saas-dev-publishing-episode-view 2015-11-05 18:16:27 -05:00
Duncan Sommerville 0be26d621b SAAS-1165 - implement most functionality for left-hand podcast episodes view 2015-11-05 18:15:58 -05:00
drigato e496072541 Small css fix 2015-11-05 14:42:52 -05:00
drigato c476b69958 Add podcast icon to radio page 2015-11-05 14:41:31 -05:00
Duncan Sommerville 6cb28e0911 Merge branch 'saas-dev-publishing' into saas-dev-publishing-episode-view
Conflicts:
	airtime_mvc/public/js/airtime/library/podcast.js
2015-11-04 15:18:50 -05:00
Duncan Sommerville 866b88dbb2 Style tweaks to publishing and podcast dialogs 2015-11-04 15:16:29 -05:00