Commit Graph

15216 Commits

Author SHA1 Message Date
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
Robb 3eaa999130 Merge pull request #81 from radiorabe/feature/email-from-header-config
Change default email sender
2017-03-14 00:06:30 -04:00
Robb d54359371e Merge pull request #82 from radiorabe/feature/centos-lsof-dep
Add missing playout dependency
2017-03-14 00:06:09 -04:00
Robb Ebright 1b90dbd4ca working python liquidsoap reconfigure script, might need further refinement 2017-03-14 04:02:51 +00:00
Robb Ebright 67ffd2d34a Making show and master source ports and mount points editable. 2017-03-14 01:15:14 +00:00
Lucas Bickel 9d6ceb1488 Merge pull request #83 from Robbt/fix/default-streaming-hostname
changed default streamsetting to match the baseurl vs. out.airtime.pro
2017-03-13 21:45:27 +01:00
Robb Ebright 99a3150db5 changed default streamsetting to match the baseurl vs. out.airtime.pro 2017-03-13 20:37:51 +00:00
Lucas Bickel 7f8b73d9ae Add missing playout dependency 2017-03-13 20:56:59 +01:00
Lucas Bickel 88b3eb22a0 Change default email sender
The new noreply@ address is now libretime.org and the address gets moved to contants.php rather than being hardcoded in the email model.
2017-03-13 20:46:39 +01:00
Lucas Bickel 61cde1557f Make password reset work for eveyone
This stops distinguishing between superadmin users from whmcs vs regular local users on the password reset page.
2017-03-13 20:39:21 +01:00
Robb f52f0e7ff0 Merge pull request #77 from radiorabe/feature/disable-google-tracking
Disable all google tracking per default
2017-03-13 14:50:26 -04:00
Robb 479bdb1c80 Merge pull request #76 from radiorabe/feature/no-more-std_err_override-for-pypo
Problem: std_err_override is a hack for python < 2.7
2017-03-13 14:44:01 -04:00
Lucas Bickel eb89725b57 Merge pull request #74 from Robbt/feature/smart-block-time-track-length-limit
modified smart block to not exceed the time limits.
2017-03-13 18:25:20 +01:00
Robb cb4ad730fc Merge pull request #75 from radiorabe/feature/centos-fixes
Problem: Install cleanup needed for CentOS
2017-03-13 12:36:08 -04:00
Lucas Bickel 38d4fdcdda Disable all google tracking per default 2017-03-13 17:30:05 +01:00
Lucas Bickel dfe3f077fd Replace std_err_override with logging.captureWarnings(True) in pypo
The quite ugly hack with std_err_override seems to have been made for python < 2.7. Since all major distros
have al least python 2.7 installed we can stop using the std_err_override hack.

This removes it from pypo, media-monitor still uses the module and we can completely delete it when we have
remove media-monitor after having maybe backported the watched folders feature to analyzer.
2017-03-13 16:28:07 +01:00
Lucas Bickel 99a0ce37cc Fix fix_cue_in to work with liquidsoap 1.2
The previous syntax only worked with 1.1, this one should work on both.
2017-03-13 14:30:51 +01:00
Lucas Bickel 9a6d5b0175 Restore SELinux tags after install 2017-03-13 14:10:29 +01:00
Lucas Bickel d2ffb6d91d Add missing packages 2017-03-13 14:10:03 +01:00
Robb Ebright ba9f7879a4 modified smart block to not exceed the time limits. 2017-03-12 22:36:36 -04:00
Robb a583d8fa1e Merge pull request #64 from radiorabe/feature/debian-and-experimental-centos
Vagrant Debian support (and experimental CentOS)
2017-03-12 21:42:37 -04:00
Robb b2c30ed3a5 Merge pull request #68 from radiorabe/feature/product-name-in-widgets
Problem: Pro widgets contain ads for legacy upstream
2017-03-12 15:20:28 -04:00
Robb b4cb7adb4e Merge pull request #65 from radiorabe/feature/liquidsoap-workaround-cue_cut
Problem: liquidsoap sometimes clips audio
2017-03-12 15:16:42 -04:00
Robb c1251b4c1b Merge pull request #67 from radiorabe/feature/fix-saving-prefs
Problem: sad tape error when saving prefs w/o soundcloud config
2017-03-12 15:04:04 -04:00
Robb 0d025f86ea Merge pull request #66 from radiorabe/feature/fix-listenerstat-page
Problem: sad tape error on /listenerstats
2017-03-12 14:57:35 -04:00
Lucas Bickel 8823e76f5c Use PRODUCT_NAME in pro widgets 2017-03-12 15:30:58 +01:00
Lucas Bickel 8afdf2808d Fix sad tape error when saving prefs w/o soundcloud 2017-03-12 15:19:16 +01:00
Lucas Bickel 260ebe2476 Fix listenerstat page
Deactivates the bandwidth limit stuff if none is configured.
2017-03-12 15:13:45 +01:00
Lucas Bickel ac5f608bd8 Refactor into def check_version
Make the code more readable :)
2017-03-12 14:18:06 +01:00
Lucas Bickel 80373ca7bc cue_cut workaround
This is the workaround for <https://github.com/savonet/liquidsoap/issues/390>.

I still need to do proper testing on it and maybe we should figure out the proper "formula" for getting to the 0.04 value.
2017-03-12 14:18:06 +01:00
Lucas Bickel c29285ae48 Vagrant Debian support (and experimental CentOS)
This changes the Vagrant setup to support multiple installations as multiple
boxes. In addition to Ubuntu Vagrant can now be used to install on Debian
as well as on CentOS.

I took the chance to clean up the .deb install a bit and backported analyzer
and celery to SysV proper so it runs there. Some of the distro specfics were
moved to the install script from the python setup scripts to acheive this.

For the CentOS support I added a rather involved OS prepare script. In the
long term this will be added to the preparing-the-server docs we already have.

I had to switch the default port to http-alt (8080). On CentOS 9080 is registered
for ocsp and getting it to work for apache without hacking SELinux is hard. I
think 8080 is the RFC way to go anyhow. If anyone want to override this it
should be rather easy using the --web-port arg and by hacking Vagrantfile.

The PyOpenSSL code has been refactored for all the distros that the Vagrantfile
now supports.

As far as my checks go, I tried this code with all the distros, uploaded a track
and downloaded a unicode and a ssl podcast and was able to listen to them
in each case.

In the experimental CentOS case, the UI is not up to spec since services
need to get scheduled through systemctl and the status overview (ie. on the /?config page)
do not work properly. They need to be as follows:

```
sudo systemctl start airtime-playout
sudo systemctl start airtime-liquidsoap
sudo systemctl start airtime_analyzer.service
sudo systemctl start airtime-celery.service
```
2017-03-12 13:42:22 +01:00
Lucas Bickel c8b4d40eb2 Merge pull request #58 from Robbt/install-fix-python-ssl-workaround
Modified install script to install PyOpenSSL for Ubuntu 14.04 for air…
2017-03-12 12:05:42 +01:00
Robb f7ea88b5f0 Merge pull request #60 from radiorabe/feature/unicode-safe-podcast-downloading
Fix unicode issues in podcast downloader
2017-03-11 19:14:23 -05:00
Robb ff83784864 Merge pull request #56 from radiorabe/feature/version-reporting
Harmonize version reporting in ui and api
2017-03-11 19:06:28 -05:00
Robb 2be8ef0f2b Merge pull request #55 from radiorabe/feature/autodj
Robbs AutoDJ
2017-03-11 18:41:08 -05:00
Robb c12f6c6f03 Merge pull request #61 from radiorabe/feature/default-stream-wording
Replace Airtime Pro wording
2017-03-11 17:48:50 -05:00