Commit Graph

176 Commits

Author SHA1 Message Date
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
jo 829b9bcd5b chore(legacy): use Config::getPublicUrl helper
Replace Application_Common_HTTPHelper::getStationUrl with Config::getPublicUrl.
2022-07-08 11:03:10 +02:00
jo 72960593c7 chore(legacy): use Config::getBasePath helper
Replace Application_Common_OsPath::getBaseDir with Config::getBasePath.
2022-07-08 11:03:10 +02:00
jo 712ecd70b4 chore(legacy): remove exploded public_url config
Replace exploded public_url parts with validated url object.
2022-07-08 11:03:10 +02:00
Mykola c309b4df13 chore(legacy): translated using weblate (Ukrainian)
Currently translated at 100.0% (951 of 951 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/uk/
2022-07-07 22:12:39 +02:00
Maxime Leroy edf2e41abe chore(legacy): translated using weblate (French)
Currently translated at 100.0% (951 of 951 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/fr/
2022-07-07 22:12:39 +02:00
jo db976881f0 fix: use constrained foreign key for files track_type 2022-07-07 21:07:41 +02:00
jo bcaea16c19 fix(legacy): check empty before iteration on files 2022-07-07 21:07:41 +02:00
jo 5e8f7d430f style(legacy): format files 2022-07-07 21:07:41 +02:00
Jonas L 4d393fa14e
style(legacy): format files (#1946) 2022-07-07 20:01:15 +02:00