Commit Graph

185 Commits

Author SHA1 Message Date
Jonas L 1edcbc0657
feat(legacy): disable services check when missing systemctl (#2160) 2022-09-19 11:56:56 +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
Kyle Robbertze 1da42b2603 feat: add container setup
- build container with multi-stage Dockerfile
- change api listen port to 9001
2022-09-14 11:09:52 +02:00
Jonas L cfd6a6291f
chore(legacy): update locales (#2130) 2022-09-12 20:44:20 +02:00
jo 63d9e430e1 chore(legacy): format code 2022-09-12 14:15:50 +02:00
jo da52f495b4 chore(legacy): set format rules based on version 2022-09-12 14:15:50 +02:00
renovate[bot] edab2a694d fix(deps): update dependency friendsofphp/php-cs-fixer to <3.11.1 2022-09-12 14:15:50 +02:00
Jonas L 586776a5cd
style(legacy): simplify config-check templates (#2127) 2022-09-12 13:55:36 +02:00
jo 08a44186aa fix(worker): rewrite podcast download task
- Fixes bad exception handling when facing an invalid podcast episode file. Fix #2083
2022-09-12 10:50:02 +02:00
Jonas L c282d5e81c
fix(legacy): track_type_id should cast to int not text (#2112)
Fixes #2111
2022-09-08 22:55:41 +02:00
jo c6a007e7ac fix(legacy): consistent with docs in outputs public_url generation
Fixes #2100
2022-09-08 11:05:47 +02:00
jo e874db24c5 fix(legacy): config default values are not sanitized 2022-09-06 20:44:21 +02:00
jo 37b8b17ed3 feat(playout): allow liquidsoap listen address configuration 2022-09-06 13:21:54 +02:00
jo f5a83dbabb feat(playout): allow updating message_offline value 2022-09-06 13:21:54 +02:00
jo 5bf62dd9cb feat(legacy): read stream config from file
- We don't delete the stream preferences from the database to prevent data loss. This will be handled in a future release.
2022-09-06 13:21:54 +02:00
jo 65d3552fc7 feat: remove cc_stream_setting models
- We don't drop the cc_stream_setting table from the database to prevent data loss. This will be handled in a future release.
2022-09-06 13:21:54 +02:00
jo 090a5c93ac fix(legacy): look in /legacy for a VERSION file 2022-09-04 17:49:28 +02:00
jo 252ab00a8e style(legacy): format config 2022-09-04 17:49:28 +02:00
Jonas L c28c048bf4
chore: use https links (#2075) 2022-08-25 16:25:54 +02:00
jo 85f7c6d89b test(legacy): enable stdout logs 2022-08-25 10:52:38 +02:00
jo 0dd96345c9 chore(legacy): fix config validator name 2022-08-25 10:52:38 +02:00
jo 4d0cbe4d15 fix(legacy): 404 on listeners stats 2022-08-25 10:52:38 +02:00
jo 9001a18f2d fix(legacy): args comma syntax error 2022-08-24 12:18:40 +02:00
jo 3f2f2cb50b ci(legacy): catch syntax errors on older php versions 2022-08-24 12:18:40 +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
Weblate (bot) e6945a0e45
chore(legacy): translated using weblate (Croatian) (#2059)
Currently translated at 72.7% (692 of 951 strings)

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

Co-authored-by: Milo Ivir <mail@milotype.de>
2022-08-15 07:55:37 +02:00
Weblate (bot) 2a3822b4d1
chore(legacy): translated using weblate (Croatian) (#2054)
Currently translated at 56.6% (539 of 951 strings)

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

Co-authored-by: Milo Ivir <mail@milotype.de>
2022-08-13 17:14:54 +02:00
Weblate (bot) 151b47e60f
chore(legacy): translated using weblate (Croatian) (#2052)
Currently translated at 56.2% (535 of 951 strings)

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

Co-authored-by: Milo Ivir <mail@milotype.de>
2022-08-12 21:06:00 +02:00
jo e8785124e0 feat(legacy): add config dot notation access 2022-08-11 13:17:39 +02:00
jo f483852ccd refactor(legacy): clean config
- sort imports
- improve indentation
- rename internal_values to legacy_values
- reorder functions
 remove unused isYesValue
2022-08-11 13:17:39 +02:00
jo 21254b048d feat(legacy): setup config schema validation
BREAKING CHANGE: Unrecognized values in the configuration file will
raise validation errors, please make sure to cleanup your configuration
file.
2022-08-11 11:26:16 +02:00
jo d9815fb76f chore(legacy): sort composer packages 2022-08-11 11:26:16 +02:00
Jonas L 1550d44ac5
style(legacy): format (#2039) 2022-08-10 13:38:19 +02:00
Jonas L 45c283504e
fix(legacy): do not rely on undefined SERVER_NAME (#2031) 2022-08-09 20:24:09 +02:00
jo 406d42323a feat: move stream stats status to pref table 2022-08-07 08:50:06 +02:00
jo 2b533d4724 feat: move stream liquisoap status to pref table 2022-08-07 08:50:06 +02:00
Jonas L 6c59ff588b
feat: move off_air_meta stream setting to pref table (#2023) 2022-08-06 19:18:40 +02:00
Weblate (bot) 782a3b140e
chore(legacy): translated using weblate (German) (#2010)
Currently translated at 75.0% (714 of 951 strings)

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

Co-authored-by: Domenik Töfflinger <domenikt96@yahoo.de>
2022-07-31 11:26:09 +02:00
Milo Ivir d7e6b6a776 chore(legacy): translated using weblate (Croatian)
Currently translated at 55.0% (524 of 951 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/hr/
2022-07-30 21:19:16 +02:00
Jonas L f137be09a1
fix(legacy): sanitize track_type_id when updating file (#2003)
Fixes #2000
2022-07-27 09:52:09 +02:00
Jonas L fc856c5667
fix(legacy): get local logo file (#1999)
Load logo content from the local file instead of the public location.
2022-07-27 09:51:14 +02:00
Jonas L 067b35e9bb
feat(analyzer): load callback details from config and file_id (#1993) 2022-07-26 14:19:22 +02:00
Jonas L d93731807c
feat(worker): load callback details from config (#1994) 2022-07-26 14:18:41 +02:00
jo 71b3f7f065 chore: remove schedule unused independent_event 2022-07-20 12:05:01 +02:00
Weblate (bot) 794e75e600
chore(legacy): translated using weblate (English (United Kingdom)) (#1962)
Currently translated at 77.4% (737 of 951 strings)

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

Co-authored-by: Kyle Robbertze <github@paddatrapper.com>
2022-07-14 11:23:56 +02:00
jo a8cb62586e feat: remove unused cc_country table 2022-07-12 11:33:22 +02:00
jo f234aa7c42 fix(legacy): no invalid track type in smartblock criteria 2022-07-12 11:32:26 +02:00
jo fdd3ff1e5a style(legacy): format tools/composer.json 2022-07-11 17:35:02 +02:00
jo c28fe32cdc style(legacy): php-cs-fixer upgrade 2022-07-11 17:30:52 +02:00
jo 25fbf5cf32 chore(legacy): commit tools composer.json
Allow to keep track of the tools version and not have unexpected version bumps.
2022-07-11 17:30:52 +02:00