Commit Graph

17953 Commits

Author SHA1 Message Date
Jonas L 4837a1885d
feat: remove unused cc_sess table (#1907) 2022-06-22 15:15:31 +02:00
jo ec8c18097d chore(api): fix some linting errors 2022-06-22 13:37:17 +02:00
jo 1e83a91b5e chore(api): use named argument for on_delete 2022-06-22 13:37:17 +02:00
jo 7ff59e272c chore(api): disable some linting rule 2022-06-22 13:37:17 +02:00
Jonas L cbfd9e51fd
fix(api): update model fields in set_icecast_passwords (#1903) 2022-06-22 08:35:26 +02:00
Jonas L dc426f0aa5
feat(api): rename user model fields (#1902) 2022-06-21 23:43:03 +02:00
jo 28c4989d44 chore(api): update StreamSetting model 2022-06-21 16:53:25 +02:00
jo 6bae0e2846 chore(api): update Preference model 2022-06-21 16:53:25 +02:00
Jonas L b9895d19e2
chore(api): move podcasts in dedicated app (#1899) 2022-06-21 14:40:21 +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
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