Commit Graph

15301 Commits

Author SHA1 Message Date
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
Lucas Bickel 65b8bc049f Merge pull request #110 from HaJoHe/ftp-upload-hook
ftp-upload-hook: Get rid of the SaaS stuff
2017-03-22 00:13:56 +01:00
Hans-Joachim aa64b8eab8 get rid of SaaS definitions 2017-03-21 22:56:43 +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
Robb 0ac58165a3 Merge pull request #104 from radiorabe/fix/tls-api-client
Fix TLS support
2017-03-20 23:34:42 -04: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 d20965131c Fix TLS support
Clearly, I have no python skills hence this bug :(
2017-03-20 21:31:46 +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 a4b53c9945 Merge pull request #100 from radiorabe/feature/automate-release-tarball
Create release tarball using travis
2017-03-19 12:09:04 -04: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 c6225f9db5 Reverse pypo changes
The TODO seems to have been wrong due to the fact that everything works as advertised w/0 the change.
2017-03-19 13:15:59 +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
Lucas Bickel 74428511c2 Create release tarball using travis 2017-03-19 11:31:56 +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
Robb 00e65dab81 Merge pull request #97 from radiorabe/feature/restart-in-systemd
Restart services always with systemd
2017-03-18 12:56:04 -04:00
Robb 3237217f9b Merge pull request #96 from radiorabe/feature/dead-code-removal
Get rid of what I am sure is dead in dev_tools
2017-03-18 12:39:00 -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
Robb fcebafbc6b Merge pull request #98 from radiorabe/feature/tls-support
General fixes for TLS
2017-03-18 12:36:57 -04: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 90ac159a52 Restart services always with systemd
This essentially results in the same behaviour legacy upstream was exploiting in upstart. Normally I would argue that depending on such a feature as part of an applications runtime feature-set is bad. This applies, but until we can get that sorted at another leevel this makes everything work as intendend when running tthrough systemd.
2017-03-18 12:28:17 +01:00
Lucas Bickel 854110cb73 Get rid of what I am sure is dead in dev_tools 2017-03-18 12:21:25 +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 7e68a68732 Merge pull request #91 from Robbt/feature/always-override-podcast-album-option
basic podcast album override option in preferences
2017-03-18 11:32:42 +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
Lucas Bickel ae4c9203e6 Refactor override preference
Properly defaults the preference to be true and always return a boolean value since that is what celery will be expecting.
2017-03-17 02:10:04 +01:00
Robb Ebright fefc53c000 basic podcast album override option in preferences 2017-03-16 16:48:31 -04:00
Robb c7187f997f Merge pull request #87 from radiorabe/feature/fix-release-script
Fix release.sh script
2017-03-16 10:37:47 -04:00
Robb 1a9daa52dd Merge pull request #3 from Robbt/Robbt-fix/live-stream-source
fixed default and override URL settings and removed unused validation
2017-03-16 10:25:09 -04:00
Robb Ebright 4c8f2ad435 fixed default and override URL settings and removed unused validation 2017-03-16 10:18:43 -04:00
Lucas Bickel 1c3d8b57f4 Fix tag checkout during release 2017-03-15 17:07:52 +01:00
Lucas Bickel 0a2b3744d3 Fix release.sh script
Make it add vendor to the tarball and just be a generally nicer script with less verbose output and no abaility to wipe my working copies .git folder when executed in the wrong dir.

I plan on using this to create tarballs that can be used for the rpmbuild process without the build box needing to run composer and connect to the internet. The openSUSE Build Service boxen do not have a connection to the internet during builds.
2017-03-15 15:31:55 +01:00
Robb ef2c8a3844 Merge pull request #85 from radiorabe/feature/missing-docs-on-help-page
Add docs linked from help page
2017-03-15 09:17:50 -04:00
Lucas Bickel d028681d52 Add docs linked from help page
I linked these docs form the help page pointing to a 404 and this takes care of adding some rather bare content so we have something up and running for a release.
2017-03-15 12:16:48 +01:00
Robb ece85fe189 Merge pull request #1 from Robbt/Robbt-fix/live-stream-source
Robbt fix/live stream source
2017-03-14 23:19:32 -04:00
Robb Ebright f31236fe66 Fixed Override Javascript and Functionality 2017-03-14 23:03:37 -04:00
Robb Ebright e873e0d8da Merge branch 'fix/live-stream-source' of https://github.com/Robbt/libretime into Robbt-fix/live-stream-source 2017-03-14 19:22:32 -04:00
Robb 44d3d46904 Merge pull request #80 from radiorabe/feature/reset-password-without-whmcs
Make password reset work for eveyone
2017-03-14 19:07:27 -04:00