Commit Graph

192 Commits

Author SHA1 Message Date
jo 755848482d feat: set icecast mount default charset to UTF-8
On first install, configure icecast to use utf-8 as default charset for it's mounts.

Fixes #2501
2023-04-12 11:42:51 +01:00
jo 31e69a60f7 chore: import icecast config from debian package 2023-04-12 11:42:51 +01:00
Jonas L d800c5e280
feat: use secret_key config field instead of api_key (#2444)
Fixes #2426
2023-03-22 09:14:11 +00:00
Jonas L e991870e2d
chore: clean unmaintained centos files (#2212)
Fix #1475
2022-10-08 08:07:53 +02:00
Jonas L a48fecb0c3
docs: missing fields from stream config (#2146) 2022-09-15 11:24:20 +02:00
Jonas L 9b3207b8a4
feat: move timezone preference to config file (#2096)
BREAKING CHANGE: The timezone preference moved to the configuration
file.
2022-09-14 12:48:08 +02:00
jo e9f05975fe fix(installer): move non reusable fields from default output
- Make it explicit that you should not reuse those fields, as they should always be specified.
- Add empty icecast output public_url field.
2022-09-08 11:05:47 +02:00
Jonas L 35476f9d6d
feat(api): move /api-auth to /api/browser (#2094) 2022-09-06 21:30:43 +02:00
jo 87dff94749 fix(installer): add liquidsoap config section 2022-09-06 20:44:43 +02:00
jo ba73866e47 feat(installer): deploy stream config 2022-09-06 13:21:54 +02:00
jo 82502fb608 docs: improve config comments 2022-08-25 10:51:25 +02:00
Jonas L 2edbf15bf4
feat(worker): rename service and package to libretime-worker (#2065)
BREAKING CHANGE: The `libretime-celery` python package and service was renamed to `libretime-worker`. Make sure to remove the old python package and service.
2022-08-20 08:13:30 +02:00
Jonas L f8de1ec865
chore: install python3-venv in vagrant for dev (#2057) 2022-08-14 19:56:00 +02:00
jo 1cb03c35d2 feat(api): listen on unix socket with gunicorn 2022-07-07 10:51:07 +02:00
jo ec45717ccf feat: replace apache2 with nginx + php-fpm
BREAKING CHANGE: The `apache2` webserver has been replaced with `nginx` and `php-fpm`, be sure to uninstall `apache2` and clean related configuration files from your system before upgrading.
2022-07-07 10:51:07 +02:00
jo 2f205544c2 feat: use dedicated 'libretime' user
BREAKING CHANGE: The default `www-data` user has been replaced by a dedicated  `libretime` user to run the services. Be sure to change the ownership of the libretime files.
2022-07-07 10:51:07 +02:00
jo 4004981429 chore: allow vagrant rabbitmq management access 2022-06-21 13:13:49 +02:00
jo 1a9fa6b559 chore: allow vagrant postgresql remote access 2022-06-21 13:13:49 +02:00
jo f7bb6e7592 feat: move storage path setting to configuration file
- change default storage path to /srv/libretime
- remove music dirs table
- use /tmp for testing storage
- storage dir should always have a trailing slash
2022-06-08 23:23:08 +02:00
jo eb8e7b3415 feat: move allowed cors url to configuration file
- don't set cors origins form field as readonly and add deprecation notice.
2022-06-08 23:23:08 +02:00
jo 510e978952 feat: add systemd libretime.target
- add wanted by
- instantly start services in vagrant
2022-06-08 23:23:08 +02:00
jo ee98387264 feat(installer): rewrite install script
- remove unused root packages.ini
- write config to yaml file
- allow to set public_url during install
- force icecast start right after package install
- move config file in place at the end of installation

BREAKING CHANGE: The bash installer has been rewritten, the flags and
options changed, please run `./install --help` to get more details.
2022-06-08 23:23:08 +02:00
jo aed6d2f294 feat: change config dir path to /etc/libretime
BREAKING: The configuration directory changed from `/etc/airtime` to
`/etc/libretime`. Please rename your configuration directory accordingly.
2022-06-08 23:23:08 +02:00
Jonas L 87ab49c8b9
chore: improve vagrant debian prepare script (#1850)
- add vim package
- split apt-cacher packages and utils
2022-05-09 12:55:15 +02:00
Jonas L 95a7411c0c
feat: improve apache configuration (#1784)
- merge php config in apache config
- remove deprecated php config
- remove old apache config
- use dedicated log files for libretime vhost
- change template variables format

BREAKING: The apache configuration file has been updated and renamed. You must remove the old configuration files `/etc/apache2/sites-available/airtime*` file from the system.

BREAKING: The php configuration file has been merged in the apache configuration. You need to remove the `/etc/php/*/apache2/conf.d/airtime.ini` file from the system.
2022-04-25 12:46:30 +02:00
Jonas L dc92661c49
chore(api): move uswgi config in api/install (#1781) 2022-04-21 07:14:35 +02:00
Jonas L d5ea71246f
chore: remove custom icecast install files (#1779) 2022-04-21 07:09:37 +02:00
Jonas L c904c46424
chore: remove unused lxc-boostrap file (#1778) 2022-04-20 22:26:05 +02:00
jo 32cb67806a chore: add pyupgrade pre-commit hook
- add --py3-plus flag to pyupgrade hook
- add --py36-plus flag to pyupgrade hook
2022-01-27 10:37:48 +02:00
Jonas L 19faffea16
fix: make vagrant source.list update idempotent (#1520) 2022-01-17 09:33:09 +02:00
Jonas L 56a3875e2d
chore: add auto-apt-proxy to vagrant prepare (#1511)
* chore: add auto-apt-proxy to vagrant prepare

* bypass apt SRV redirections for deb.debian.org
2022-01-13 09:59:51 +02:00
jo e84137a8ee chore: fixes after libretime_api rename 2022-01-04 09:18:58 +02:00
jo d97ecdfba7 Move python_apps/icecast2 to installer/icecast/ 2021-10-17 08:02:47 +00:00
Kyle Robbertze 1e7e8112df
Merge pull request #1246 from jooola/deps_manager
Create dependencies manager
2021-09-01 13:58:01 +00:00
jo 3b546a05c6 Remove install/apt folder 2021-08-31 16:07:29 +02:00
jo f5288109e5 Generate installer/apt/ files
Generate installer/apt/ files with our dependencies manager.
2021-08-31 16:07:29 +02:00
jo 30611f1d80 Remove already recommended packages by liquidsoap
Many packages are already in the recommends list
of the liquidsoap package or from the
plugin packages (only bionic), so we don't need to
install them manually.
2021-08-31 15:22:46 +02:00
jo f2b9391a22 Remove unused packages from apt requirements 2021-08-31 15:22:46 +02:00
jo 854663e51d Remove duplicate entries 2021-08-31 15:22:46 +02:00
jo 3e4968244d Sort apt requirements files 2021-08-31 15:22:46 +02:00
Kyle Robbertze b193e0a28c add apt update to accept release suite change
Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929248
2021-08-18 17:56:45 +02:00
jo dc999f9006 Fix shellcheck errors 2021-08-17 12:23:32 +02:00
jo b5f302ac61 Enhance bash shebangs 2021-08-17 12:22:47 +02:00
jo 8b3e09d41c Format shell scripts
Fix flags order
2021-08-17 12:22:46 +02:00
jo 8ce437828e Remove install apt-get dangerous options
Apt should fail fast (and report) instead of
forcing a broken installation.

The version check is also not required anymore as
most distribution now provide an apt version > 1.1.
2021-08-17 00:07:39 +02:00
jo 4033b20ee8 Rename apt requirements directory to apt
Previously ignored by the top level .gitignore, because
lib/ is a reserved directory name for python builds.
2021-08-15 14:16:55 +02:00
Kyle Robbertze fa5db502ed Drop Ubuntu Xenial support
Fixes: #1226
2021-07-06 10:27:17 +02:00
Kyle Robbertze c26abba7a9 drop Debian Stretch support
Fixes #1194
2021-06-18 22:26:56 +02:00
jo f2e840989a Fix executable bit 2021-06-04 17:06:05 +02:00
jo 6871956baa Fix end of files 2021-06-04 17:06:05 +02:00