Commit Graph

7471 Commits

Author SHA1 Message Date
Robb 8f372f5610 Merge pull request #136 from radiorabe/feature/freeipa-auth
FreeIPA Auth Adaptor for LibreTime
2017-04-03 11:50:23 -04:00
Lucas Bickel af2ca7f9a0 Only grab ldap config from ini if it exists
This is a workaround to make updating easier for folks who do not re-install. A proper solution would get rid of most of the Config class and use something based on Zend_Config_Ini instead. It would also have some sensible defaults in the code and nor error when new values get added.
2017-04-03 13:46:28 +02:00
Robb Ebright 8a92c80bcb Fixed autoplaylist repeat to fill show 2017-04-01 01:00:00 -04:00
Robb Ebright 8bd93e3f6d modifying the test database files to include autoplaylist_repeat column 2017-03-31 12:11:38 -04:00
Robb Ebright 1ff48a32cd added missing dn function 2017-03-31 11:46:39 -04:00
Robb Ebright 4489b68d48 now with propel database autogen changes 2017-03-31 11:29:23 -04:00
Robb Ebright 8e3076190c keep db changes in alpha.1 2017-03-31 11:17:26 -04:00
Robb Ebright b42dd20e09 Merge remote-tracking branch 'origin/master' into feature/repeat-autoplaylist-until-show-is-full 2017-03-31 11:12:17 -04:00
Robb Ebright c0363145f9 added db column to schema.xml 2017-03-31 10:55:20 -04:00
Lucas Bickel 367fb3ae76 Add missing config for tests
Since conf assumes the ldap stuff to exist it also needs to be in the tests :(
2017-03-31 14:26:29 +02:00
Lucas Bickel aa5bc06d74 FreeIPA Auth Adaptor for LibreTime
Allow delegating user authentication to FreeIPA rather than having it be checked against the database.
2017-03-31 14:16:31 +02:00
Robb Ebright c12ad4ea4f added UI to toggle autoplaylist repeat option 2017-03-31 00:00:19 -04:00
Robb Ebright 7a944ac9ce code change to repeat autoplaylists lacking UI option to enable/disable 2017-03-30 23:01:31 -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