Commit Graph

17913 Commits

Author SHA1 Message Date
Kyle Robbertze ad14e3f525 ci: specify python version 2022-06-09 09:54:37 +02:00
Renovate Bot b6728603d7 chore(deps): update actions/setup-python action to v4 2022-06-09 09:54:37 +02:00
jo 3bca92413f fix: drop unused sequences
Drop old campcaster sequences that aren't used anymore.
2022-06-08 23:23:08 +02:00
jo df5ac70769 fix(api): missing build-essential to build psycopg2 2022-06-08 23:23:08 +02:00
jo e8fc5cd1c5 feat(installer): rename shared files path to /usr/share/libretime
BREAKING CHANGE: The shared files path changed from `/usr/share/airtime` to `/usr/share/libretime`. The directory must be renamed **before the upgrade procedure**.
2022-06-08 23:23:08 +02:00
jo 28b9343c77 fix(legacy): remove not null contraint when using default
This fixes the inital schema creation to match as if the old migrations
were always run.

The third_party_track_references.file_id field should not have a not
null constraint while have a default value to 0.
2022-06-08 23:23:08 +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 b3ff2defc4 docs: update install procedure
- update airtime migration guide
2022-06-08 23:23:08 +02:00
jo 0d16960887 feat: remove php web installer 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 a9c2271559 feat(installer): post install setup instructions 2022-06-08 23:23:08 +02:00
jo 91f8a51a1e feat(api): create set_icecast_passwords command
- allow to fetch icecast password from xml config
- set default stream password
2022-06-08 23:23:08 +02:00
jo 980f1acd0c fix: correct cc_file.artwork column size 2022-06-08 23:23:08 +02:00
jo 6889e11a91 fix: don't add track types only on migration 2022-06-08 23:23:08 +02:00
jo 4be8bde14e feat: drop cc_locale table 2022-06-08 23:23:08 +02:00
jo 0e4bc4cacd feat: replace php migration with django migration
- keep latest legacy version in initial migration file
- move propel schema to api legacy app
- remove legacy upgrade tool
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
jo 604ff20239 feat: change config filename to config.yml
BREAKING: The configuration file name changed from `airtime.conf` to
`config.yml`. Please rename your configuration file accordingly.
2022-06-08 23:23:08 +02:00
jo e4439390fe feat: change config file format to yaml
- docs: add link to yaml.org

BREAKING: The `ini` configuration file format changed to `yml`. Please
rewrite your configuration file using the yaml format.
2022-06-08 23:23:08 +02:00
jo 5d902ef962 docs: add pre upgrade procedure warnings 2022-06-08 23:23:08 +02:00
renovate[bot] f4f1fb28f7
chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v4.3.0 (#1866)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-07 22:40:17 +02:00
renovate[bot] 9b2c5fbc85
chore(deps): update pre-commit hook asottile/pyupgrade to v2.34.0 (#1865)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-07 07:58:44 +02:00
renovate[bot] f1d187ebe3
chore(deps): update pre-commit/action action to v3 (#1864)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-05 23:54:28 +02:00
Weblate (bot) 61dd20333b
chore(legacy): translated using weblate (Russian) (#1863)
Currently translated at 96.8% (929 of 959 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/ru/

Co-authored-by: МАН69К <weblate@mah69k.net>
2022-06-05 16:59:20 +02:00
Jonas L c78854b139
test(shared): remove bad disable no-self-use (#1862) 2022-06-04 22:27:09 +02:00
renovate[bot] b27f62f3fb
chore(deps): update lycheeverse/lychee-action action to v1.5.0 (#1861)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-31 06:41:15 +02:00
Jonas L 563afc5f25
chore(deps): update dependency @docusaurus/* to v2.0.0-beta.21 (#1860) 2022-05-28 11:46:56 +02:00
Renovate Bot 2e587bbc91 chore(deps): update dependency @docusaurus/module-type-aliases to v2.0.0-beta.21 2022-05-27 20:28:51 +00:00
Kyle Robbertze 4e9db2da16
docs: explicitly mention lack of 22.04 support (#1858) 2022-05-25 12:35:13 +02:00
Jonas L 6856dcbd25
feat(legacy): check services using systemctl (#1856) 2022-05-24 10:09:48 +02:00
Jonas L 11ebfd2137
test(legacy): use default rabbitmq settings (#1855) 2022-05-23 17:27:57 +02:00
Jonas L a73084e612
feat(playout): remove unused liquidsoap_prepare_terminate.py (#1854)
Related to cde6db812f
2022-05-21 18:37:54 +02:00
jo 8278366899 feat(worker): don't run with a dedicated user
BREAKING: The worker service no longer uses a dedicated `celery` user to run. The old `celery` user can be removed from the system.
2022-05-19 09:35:05 +02:00
Jonas L 6d5c58fbcb
fix(legacy): check if libretime-api is running (#1841) 2022-05-10 13:54:16 +02:00
Jonas L aa22536723
chore: don't check ignored scripts (#1851) 2022-05-09 13:38:17 +02:00
Jonas L 6a65a7f3f1
feat(legacy): improve rabbitmq check (#1839) 2022-05-09 13:21:17 +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
renovate[bot] 6289b5be6f
chore(deps): update docker/login-action action to v2 (#1844)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-06 08:13:20 +02:00
renovate[bot] f9e80377d5
chore(deps): update docker/build-push-action action to v3 (#1843)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-05 21:39:31 +02:00
renovate[bot] 577607844d
chore(deps): update dependency @docusaurus/* to v2.0.0-beta.20 (#1842)
Co-authored-by: jo <ljonas@riseup.net>
2022-05-05 21:36:58 +02:00
Jonas L be5d732006
fix(legacy): station url always has a trailing slash (#1838) 2022-05-05 19:24:51 +02:00
Jonas L a4caf4782b
fix(shared): allow list settings (#1837) 2022-05-05 18:14:32 +02:00
jo bc6b43c43c feat: rotate logs using libretime user 2022-05-05 09:42:34 +02:00
jo 137e76ff00 fix: don't set log folder permissions recursivly 2022-05-05 09:42:34 +02:00
jo 21ab07eff8 feat(legacy): change logrotate config deploy path
BREAKING: the legacy logrotate config filepath was changed from `/etc/logrotate.d/airtime-php` to `/etc/logrotate.d/libretime-legacy`
2022-05-05 09:42:34 +02:00
jo f58e51ec84 fix(playout): disable playout-notify log rotation
Let logrotate handle liquidsoap.log log rotation.

Fix #1546
2022-05-05 09:42:34 +02:00
jo 9130cf2895 feat(shared): allow to disable log rotate/retention 2022-05-05 09:42:34 +02:00
Jonas L d098671f3b
feat: replace click envar with auto_envvar_prefix (#1829) 2022-05-05 09:41:32 +02:00