renovate[bot]
ab16cb47c5
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.23.1 (stable) ( #2656 )
...
* fix(deps): update dependency friendsofphp/php-cs-fixer to <3.23.1
* style: format files using php-cs-fixer
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-08-15 18:28:18 +02:00
jo
6b9f3b14fe
Merge branch 'stable'
2023-07-06 21:39:33 +02:00
renovate[bot]
8c5512cd73
chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) ( #2614 )
...
* chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3
* style: format code using prettier v3.0.0
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-07-06 21:39:05 +02:00
jo
c911dbded6
Merge branch 'stable'
2023-07-01 16:56:49 +02:00
renovate[bot]
3fe1df1c6d
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.20.1 (stable) ( #2602 )
...
* fix(deps): update dependency friendsofphp/php-cs-fixer to <3.20.1
* style: format legay files
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-07-01 16:55:43 +02:00
jo
c2c0be1fbc
feat(api): add email configuration
2023-06-02 07:44:34 +01:00
Jonas L
001466f8fd
feat(legacy): move session store to database ( #2523 )
2023-05-30 22:25:50 +02:00
renovate[bot]
8b41302ddd
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.17.1 (main) ( #2556 )
...
* fix(deps): update dependency friendsofphp/php-cs-fixer to <3.17.1
* style(legacy): format using php-cs-fixer
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-05-25 15:06:18 +02:00
jo
f357fb64b7
Merge branch 'stable'
2023-04-24 16:03:18 +02:00
jo
b2fc3a5ecf
feat(playout): allow harbor ssl configuration
2023-04-24 14:58:34 +01:00
Jonas L
aa98309634
fix(legacy): keep datatable settings between views ( #2519 )
...
Use a different storage key for datatable settings for the dashboard and
builder views. The settings were overwritten when the other view was
loaded.
2023-04-24 14:52:52 +01:00
Jonas L
4bf729679e
fix(legacy): don't print track_type id in show builder table ( #2510 )
2023-04-18 08:22:48 +01:00
renovate[bot]
20bb031db0
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.16.1 (main) ( #2490 )
...
* fix(deps): update dependency friendsofphp/php-cs-fixer to <3.16.1
* style: format code using php-cs-fixer
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-04-03 11:58:36 +02:00
jo
a1db2a157a
feat(playout): replace schedule event dicts with objects
2023-03-22 13:05:57 +00:00
Jonas L
d800c5e280
feat: use secret_key config field instead of api_key ( #2444 )
...
Fixes #2426
2023-03-22 09:14:11 +00:00
jo
9384df7be2
Merge branch '3.0.x' into main
2023-02-26 20:16:38 +01:00
jo
5fbd4f54a2
fix(legacy): on air light fails when no shows are scheduled
2023-02-26 18:13:00 +01:00
togir
a2aca7ddb4
fix(legacy): do not delete audio file when removing artwork ( #2395 )
...
* fix: do not delete audio file when removing artwork
* replace glob with explicit filenames
---------
Co-authored-by: jo <ljonas@riseup.net>
2023-02-24 12:04:11 +01:00
Jonas L
63c4233833
fix(legacy): don't use dict assignment on object ( #2384 )
2023-02-21 08:56:14 +02:00
jo
440ad29015
fix(legacy): ensure options is a dict during json encoding
2023-02-20 16:14:54 +01:00
jo
87de25052a
cuepoints analyzer disabled by default
2023-02-15 10:13:32 +02:00
jo
f5e46c6f3d
feat: configure cue points analysis per track type
2023-02-15 10:13:32 +02:00
jo
c34f02d916
fix(legacy): improve error messages and logs
2023-02-02 08:23:03 +02:00
jo
2fc9e335a2
refactor(legacy): remove unused variable
2023-01-16 08:42:23 +02:00
jo
0db72614eb
fix(legacy): advanced search by track type id
...
Advanced where clause didn't support matching primary keys.
Fixes #2344
2023-01-16 08:42:23 +02:00
jo
ec2c560831
refactor(legacy): remove unused variable
2023-01-08 22:40:48 +02:00
jo
fcfe52ec9d
fix(legacy): advanced search by track type id
...
Advanced where clause didn't support matching primary keys.
Fixes #2344
2023-01-08 22:40:48 +02:00
Jonas L
d9fe7d8712
fix(legacy): log errors on connect check failure ( #2317 )
2022-12-16 19:38:33 +01:00
Jonas L
5bdb2628b1
fix(legacy): add log entry on task run ( #2316 )
2022-12-16 19:38:17 +01:00
Jonas L
58dd5bf903
fix(legacy): log errors on connect check failure ( #2317 )
2022-12-16 20:07:38 +02:00
Jonas L
13852ad7a7
fix(legacy): add log entry on task run ( #2316 )
2022-12-16 20:06:56 +02:00
jo
d73555fa65
style(legacy): format using php-cs-fixer
2022-10-12 17:29:28 +02:00
Jonas L
cff98f2d23
feat(legacy): remove db allowed_cors_origins preference ( #2095 )
...
- Remove after deprecation in eb8e7b3415
2022-10-11 13:38:31 +02:00
jo
181f770dbb
fix(legacy): gracefully handle missing asset checksum
2022-10-07 16:33:21 +02:00
jo
5ed0bf67cb
fix(legacy): jquery i18n translations for plupload
2022-10-07 16:33:21 +02:00
jo
9a005138a7
fix(legacy): missing plupload uk_UA translation
2022-10-07 16:33:21 +02:00
Jonas L
6fb667d510
fix(legacy): correct log levels ( #2196 )
2022-09-27 13:16:03 +02:00
Jonas L
3ef42413d8
fix(legacy): add play button to stream player ( #2190 )
2022-09-27 08:14:53 +02:00
jo
09a75570f3
fix: include version variable inside containers
2022-09-26 13:25:35 +02:00
Jonas L
060fb9d24b
fix(legacy): fail when uploading wma files ( #2172 )
...
Fix #1449
2022-09-21 14:04:56 +02:00
Jonas L
5cd2c5263e
fix(legacy): prepend file id in tmp upload filename ( #2173 )
...
Fix #1880
2022-09-21 14:04:11 +02:00
jo
6b16df8966
fix(legacy): update or remove broken links
2022-09-21 08:28:43 +02:00
Jonas L
4496e3d061
fix(legacy): number of tracks displayed initially ( #2168 )
...
Fix #124
2022-09-20 19:54:22 +02:00
Jonas L
23578da4e2
feat(legacy): invalidate cached assets using md5sum ( #2161 )
...
* feat(legacy): invalidate cached assets using md5sum
Don't rely on version to invalidate cached assets
* use Assets::url() when loading legacy pages
* fix script docs
2022-09-19 11:58:31 +02:00
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
jo
63d9e430e1
chore(legacy): format code
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
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
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
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
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
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
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
c28fe32cdc
style(legacy): php-cs-fixer upgrade
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
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
Jonas L
eb19283d96
fix(legacy): don't log 'could not obtain lock' exception ( #1943 )
...
Fixes #1490
2022-07-07 16:47:56 +02:00
jo
c6bba21ef9
fix(legacy): station-metadata api endpoint
...
- Remove hardcoded http://
- Add missing $request variable
2022-07-07 16:44:27 +02:00
jo
be7447b28f
style(legacy): format ApiController.php
2022-07-07 16:44:27 +02:00
jo
f1270fed6f
feat(legacy): don't guess cors url from server
2022-07-07 10:51:07 +02:00
Jonas L
703a8e5856
chore: remove cloud storage remainings ( #1934 )
2022-07-04 22:09:14 +02:00
jo
0e6b0da142
feat(legacy): add Ukrainian language
2022-07-04 20:00:51 +02:00
jo
fa136fad97
chore: explicit schedule file metadata dict values
2022-07-01 11:07:26 +02:00
jo
216ab62507
style(legacy): format Schedule.php
2022-07-01 11:07:26 +02:00
jo
523f646acc
feat(legacy): compute md5 during early upload
2022-06-28 19:05:14 +02:00
jo
df3b4fccd4
style(legacy): format CcFiles.php
2022-06-28 19:05:14 +02:00
Jonas L
9c042c881a
feat: remove unused cc_perms table ( #1909 )
2022-06-22 16:32:39 +02:00
Jonas L
4837a1885d
feat: remove unused cc_sess table ( #1907 )
2022-06-22 15:15:31 +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