sintonia/airtime_mvc/application/services
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
..
CalendarService.php Fix calendar context menu word wrapping 2015-09-02 11:22:24 -04:00
CeleryServiceFactory.php Bunch of schema changes 2015-10-13 10:14:23 -04:00
HistoryService.php Vendorize ZF1, fix PHPUnit and configure travis 2017-02-27 17:59:01 +01:00
MediaService.php Vendorize ZF1, fix PHPUnit and configure travis 2017-02-27 17:59:01 +01:00
PodcastEpisodeService.php added passing podcast title to download function 2017-03-04 13:38:36 +01:00
PodcastFactory.php SAAS-1080: Station podcast feed 2015-10-19 11:54:53 -04:00
PodcastService.php Vagrant Debian support (and experimental CentOS) 2017-03-12 13:42:22 +01:00
PublishService.php Improve the publish service implementation 2015-11-16 16:18:29 -05:00
PublishServiceFactory.php * SAAS-1084 - initial work on publishing API backend 2015-10-20 19:03:34 -04:00
SchedulerService.php SAAS-1121: New link show instances don't get created sometimes if there is no show content 2015-10-13 11:08:17 -04:00
ShowFormService.php Whitespace and deadcode nitpick 2017-03-10 16:27:46 +01:00
ShowService.php Whitespace and deadcode nitpick 2017-03-10 16:27:46 +01:00
SoundcloudService.php Let soudcloud fail gracefuly when unconfigured 2017-03-02 14:47:16 +01:00
ThirdPartyCeleryService.php Vendorize ZF1, fix PHPUnit and configure travis 2017-02-27 17:59:01 +01:00
ThirdPartyService.php Fix bug creating track references 2015-11-26 18:54:49 -05:00
UserService.php history records for a show have times validated within show range. 2013-08-30 00:43:43 -04:00