Commit Graph

15154 Commits

Author SHA1 Message Date
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
Robb cebd4cba8e Merge pull request #62 from radiorabe/feature/manual-links-in-ui
Change inline manual links
2017-03-11 17:48:13 -05:00
Lucas Bickel 1c1f7587a3 Fix _isTask method in taskmanager
The is_a fix from 09aea8b747 was not quite the way to go, with array_key_exists and class_implements implements the TaskManager finds all tasks again.
2017-03-11 22:49:05 +01:00
Lucas Bickel d8c663ef7a Change inline manual links
Fixes #59
2017-03-11 21:20:06 +01:00
Lucas Bickel 0cb5e2665e Fix unicode issues in podcast downloader
The podcast downloader fails pretty badly when the podcast name contains non ascii chars. The main fail happens during logging; I have learnt way to much about pythons stupid unicode implementation.

This adds addtional debug logging and also outputs the real reason a download fails properly. The content of the tags should be written as UTF-8 or whater is input into it, this commit mainly touches (and fixes) logging.
2017-03-11 21:01:52 +01:00
Robb Ebright 8fb41cabc0 adding --upgrade to pip install for pyopenssl 2017-03-11 19:15:33 +00:00
Robb Ebright 07d7f3ef5e Merge branch 'feature/autodj' of https://github.com/radiorabe/libretime into Robbt-install-fix-python-ssl-workaround 2017-03-11 19:11:20 +00:00
Robb Ebright 880496c20f Merge branch 'install-fix-python-ssl-workaround' of https://github.com/Robbt/libretime into Robbt-install-fix-python-ssl-workaround 2017-03-11 09:56:46 -05:00
Robb 77ebfa93d3 Merge pull request #54 from radiorabe/feature/configurable-cors
Make CORS great again
2017-03-10 21:44:26 -05:00
Robb b3b9738846 Merge pull request #39 from radiorabe/feature/vagrant-install
Install LibreTime in vagrant env
2017-03-10 21:20:04 -05:00
Robb Ebright 2ae2377ee2 Modified install script to install PyOpenSSL for Ubuntu 14.04 for airtime-celery SSL fix 2017-03-10 17:13:24 -05:00
Lucas Bickel 095ddaed38 Add new columns to schema.xml and regenerate sql 2017-03-10 21:18:50 +01:00
Lucas Bickel bd18caf69d Harmonize version reporting in ui and api
Everything should use the version from the VERSION file created by the installer like this.
2017-03-10 20:38:43 +01:00