Commit Graph

174 Commits

Author SHA1 Message Date
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
jo d8195f0fd8 Fix trailing whitespaces in files 2021-06-04 17:06:05 +02:00
jo 65f7b41487 Fix spelling 2021-06-04 17:04:53 +02:00
Robb 7647476f60
Merge pull request #958 from paddatrapper/api2.0
API 2.0
2021-05-21 19:16:24 -04:00
Kyle Robbertze 2df0189a90 add API v2 2021-05-14 13:04:46 +02:00
Kyle Robbertze 79ea5dfc73 fixup: remove duplicate lines 2021-05-03 16:47:19 +02:00
Kyle Robbertze 12c8f18671 Install python3-dev
Fixes: #1191
2021-04-19 09:16:57 +02:00
Lucas Bickel d67f321f74 fix(centos): update to python 3.8 and install psycopg 2021-01-04 11:50:06 +01:00
Lucas Bickel 194682d89c fix: update to CentOS 8 2020-12-26 12:59:54 +01:00
Zachary Klosko ad413338e1 Merge remote-tracking branch 'upstream/master' 2020-11-19 12:02:06 -05:00
Zachary Klosko a5023d031a pin PyGObject versions to distro provided packages
this prevents pip trying to build the pypi package and failing.
Fixes: #1107
2020-11-18 17:49:51 +02:00
Zachary Klosko de74fba187 Changing installer requirements 2020-11-16 13:58:16 -05:00
Zachary Klosko 6540a34a9b Adding back scripts in /docs 2020-05-19 10:16:31 -04:00
Kyle Robbertze 6ebb1fd555 more pypo fixes 2020-04-29 19:06:52 +02:00
Kyle Robbertze 39e986a39c use packaged version of pycairo 2020-04-29 19:06:52 +02:00
Kyle Robbertze b8225b429e remove lists for unsupported releases 2020-04-29 19:06:52 +02:00
Kyle Robbertze 4188baf851 update requirements to use python3 2020-04-29 19:06:52 +02:00
Kyle Robbertze 8346e89e99 install successfully using py3 2020-04-29 19:05:35 +02:00
Keoni Mahelona 4b3bff7c29
Add silan package to Debian Buster install 2020-03-11 22:57:17 +13:00