Commit Graph

7459 Commits

Author SHA1 Message Date
Robb Ebright 4b62bafdf2 Merge remote-tracking branch 'origin/master' into fix/sort-auto-playlist-alpha 2017-03-31 11:09:59 -04:00
Robb Ebright 0fdd6d8d57 sort autoplaylists alphabetically 2017-03-30 22:45:29 -04:00
comiconomenclaturist f42401a6ad modified: airtime_mvc/application/controllers/ApiController.php 2017-03-27 16:04:20 +02:00
Robb e73a2941fd Merge pull request #121 from radiorabe/feature/restore-recording-feature-part-2
Fix recording through ecasound
2017-03-26 00:19:49 -04:00
Robb Ebright 4b9a105a89 Merge branch 'feature/restore-recording-feature-part-2' of https://github.com/radiorabe/libretime into radiorabe-feature/restore-recording-feature-part-2 2017-03-26 00:04:09 -04:00
Robb d6b7a86048 Merge pull request #123 from radiorabe/feature/translatable-radio-page
Translatable radio page
2017-03-26 00:02:36 -04:00
Lucas Bickel 7ac24870ce Regenerate strings
This contains some more strings that where mostly already waiting on master or added in the last commit.
2017-03-24 17:28:17 +01:00
Lucas Bickel c2deb94c16 Make radio page translatable
This makes the radio page use the station default language if one is set. Previously the pages where not really getting translated.
2017-03-24 17:23:21 +01: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 b267036483 Fix recording through ecasound
This is part 2 of fixing ecasound recordings from line-in. Part 1 restored the User-Interface, part 2 takes care of getting to the point where ecasound gets started, records something and uploads it through rest when done. Part 3 will take care of making sure that the recorded file is mapped to the show and not just stored as a new track.

I refactored api_clients to not use urllib2 for posting multipart data since I was loosing my sanity over it and requests seems to have a modern approach to doing this compared to what api_clients was previously doing.
2017-03-24 15:15:37 +01:00
Lucas Bickel 01e7b31ccb Add missing string to localcontroller 2017-03-24 13:36:31 +01:00
Lucas Bickel ee81a73817 Run more unstranslated Strings through _() 2017-03-24 13:32:15 +01: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
Lucas Bickel c3e2dda3c1 Translatable sub-menu 2017-03-23 23:53:47 +01:00
Lucas Bickel 314c105508 Proper translation rendering for main menu 2017-03-23 23:41:47 +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
Lucas Bickel caaa0c0e2a Fix locale generation for js dicts 2017-03-23 23:01:20 +01:00
Lucas Bickel 559fdd0659 Update ru and de i18n 2017-03-23 22:16:44 +01: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 42e0d40e62 Make version comparision robust
This needed to take various git version into account as per https://github.com/LibreTime/libretime/pull/102#issuecomment-288707322.

It also had a bug where it would do the completely wrong thing with the currentParts array if a git commit-ish was treated as a version by mistake.
2017-03-23 13:49:44 +01:00
Lucas Bickel 01aef516e4 Merge pull request #109 from Robbt/fix/auto-playlist-validation
Fixing dependence upon hard-coded password in AutoPlaylist
2017-03-23 10:59:58 +01:00
Robb 920179318b Merge pull request #108 from radiorabe/feature/update-i18n-strings
Update i18n strings
2017-03-22 20:05:30 -04:00
Lucas Bickel 1fc1e6a199 Get rid of session use in auto playlist
The user object was triggering the creation of a user context that tried to grab something from the session. The later code never tried to use this due to the checkPerm flag.

I'm assuming the user model used to have a sane constructor w/o side effects in the times where this code had it's heyday.
2017-03-22 12:26:18 +01:00
Robb Ebright 934cad44b5 Fixing dependence upon hard-coded password by modifying playlist build to not require authentication 2017-03-21 15:02:31 -04:00
Lucas Bickel 57ce6390bb Update po files
Basically I switched to the dev_tools dir and ran "bash update_po_files.sh". A quick check with the german translation shows me that they have about the same amount of missing strings.
2017-03-21 19:11:55 +01:00
Lucas Bickel ca382aedda Rename initial show back to "Untitled Show"
This is mainly so we don't have to retranslate this and that it matches with playlists and smart blocks again.
2017-03-21 19:06:01 +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
Robb Ebright 56dc67fe71 Merge branch 'fix/live-stream-source' of https://github.com/Robbt/libretime into fix/live-stream-source 2017-03-19 12:03:12 -04:00
Robb Ebright eb3a1b1ed5 Added port number validation to livestream preferences 2017-03-19 12:02:45 -04: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 6ad3fd87cc Merge pull request #95 from radiorabe/feature/per-podcast-album-override
per podcast album override
2017-03-18 14:49:49 -04:00
Robb Ebright 91290b5e43 Fixing CSS for podcast override 2017-03-18 14:34:21 -04:00
Lucas Bickel 5684689a12 Make some room for text to fit line
In some resolutions the line-height was not adding up to be enough space.
2017-03-18 17:38:58 +01:00
Lucas Bickel 4527b63c7b General fixes for TLS
This was tested in airtime web and with integration of media-monitor and silan up and running. It might work for pypo but that needs testing.
2017-03-18 15:47:50 +01:00
Lucas Bickel 1310c44d75 Fix: add missing upgrade scripts 2017-03-18 11:46:30 +01:00
Lucas Bickel b36b1ea63c Get rid of var_export in logs
This has been bugging me since I first saw it. Dumping the whole object has no value at all, whats left should suffice.
2017-03-18 11:38:58 +01:00
Lucas Bickel 7f00182913 Allow 0 file_id in third_party_trackrefs
The previous constraint of NOT NULL made it impossible to create a placeholder entry for later downloading. This uses a 0 default instead of the constraint and downloading as well as the green checkbox work again.
2017-03-18 11:37:45 +01:00
Lucas Bickel e1cf27664b Cleanup dead code 2017-03-17 15:09:21 +01:00
Lucas Bickel e3879b42a3 Send per podcast album override flag to celery 2017-03-17 14:56:33 +01:00
Lucas Bickel d68c95b144 Add db up/downgrade script for album_override field 2017-03-17 14:36:28 +01:00
Lucas Bickel a2eb4b2297 Add album_override field for imported_podcasts 2017-03-17 11:52:03 +01:00
Lucas Bickel 033e816015 Edit form 2017-03-17 11:45:10 +01:00
Robb Ebright 9fe31a5923 minor code clean-up 2017-03-16 22:30:08 -04:00
Lucas Bickel 8a8c54c21f Remove redundant call to setDescription 2017-03-17 02:28:45 +01:00