Commit Graph

17794 Commits

Author SHA1 Message Date
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
Jonas L 50877a033b
ci: fix python packages caching (#1893) 2022-06-18 15:54:16 +02:00
jo b10696265f ci: check and dispatch api schema changes
- check if api schema is outdated
- do not cancel in progress workflow
  Since this workflow commit to an external repo, it might squash multiple changes into a single commit.
- dispatch each schema update to client repo
- cache pip dependencies
2022-06-18 12:13:11 +02:00
jo 08bcaf459c chore(api): add openapi schema 2022-06-18 12:13:11 +02:00
jo 71cfab79ef feat: rename default stream mount point to main
This will not change the default mount point if you are upgrading.

BREAKING: The default stream mount point changed from `airtime_128` to `main`. Be sure to updates your clients accordingly.
2022-06-18 12:08:29 +02:00
jo f936ba39ed style(legacy): format stream settings model 2022-06-18 12:08:29 +02:00
jo 7457a29e7f chore(api): pin django related packages 2022-06-18 11:55:02 +02:00
jo 9babb0c4f0 chore(api): pin/downgrade django-filter to ~=21.1.0 2022-06-18 11:55:02 +02:00
jo 14b716d366 chore(api): pin/upgrade django to ~=3.2.13 2022-06-18 11:55:02 +02:00
jo eef789e4d1 chore(api): rename deprecated filter_fields to filterset_fields 2022-06-18 11:55:02 +02:00
jo ca8214cd65 ci: replace link checker report with failing job 2022-06-18 11:08:35 +02:00
jo b5d923acd3 chore: don't check for unreachable www.ascap.com 2022-06-18 11:08:35 +02:00
jo 03b870f83d chore: don't check urls with version variables 2022-06-18 11:08:35 +02:00
jo a76446a371 chore: fix radiorabe liquidsoap patch link 2022-06-18 11:08:35 +02:00
Jonas L 8d2b340017
fix(legacy): remove file directory metadata (#1887) 2022-06-17 16:02:13 +02:00
Jonas L ed026660ef
docs: remove packages based install (#1883) 2022-06-16 17:08:51 +02:00
jo 36aa5a617d chore: fix code of conduct link 2022-06-16 16:25:43 +02:00
jo 679c3dc809 chore: fix radiorabe liquidsoap patch link 2022-06-16 16:25:43 +02:00
jo 6ae0f5d3f1 chore: fix python requests docs link 2022-06-16 16:25:43 +02:00
jo 387cb4da16 chore: exclude versionned docs from link checker 2022-06-16 16:25:43 +02:00
Jonas L 294b05a235
chore: auto merge pre-commit patch update (#1882) 2022-06-16 16:24:00 +02:00
renovate[bot] 567d0406ba
chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v2.7.1 (#1881)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 14:40:14 +02:00
rinka 97900e8b7c chore(legacy): translated using weblate (French)
Currently translated at 100.0% (959 of 959 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/fr/
2022-06-16 12:13:25 +02:00
rinka e8a9b64c4d chore(legacy): translated using weblate (French)
Currently translated at 100.0% (959 of 959 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/fr/
2022-06-15 15:13:28 +02:00
renovate[bot] 3e7ecb622a
chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v2.7.0 (#1874)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-14 15:48:53 +02:00
renovate[bot] 39d26b7333
fix(deps): update dependency @cmfcmf/docusaurus-search-local to ^0.11.0 (#1873)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-12 15:33:19 +02:00
Jonas L 7f926ab6a5
fix(api): allow updating default_icecast_password (#1872)
Correctly implement the Preference.objects.update_or_create function.
2022-06-12 07:52:54 +02:00
Jonas L 3705747132
feat(shared): add config trailing slash sanitizer (#1870) 2022-06-11 18:18:34 +02:00
Jonas L 8ab103ab44
docs: add missing storage config upgrade procedure (#1871) 2022-06-11 18:16:48 +02:00
Jonas L 9d0c098684
test(api): use pytest to run api tests (#1645) 2022-06-09 16:26:47 +02:00
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