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
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
9384df7be2
Merge branch '3.0.x' into main
2023-02-26 20:16:38 +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
jo
c34f02d916
fix(legacy): improve error messages and logs
2023-02-02 08:23:03 +02:00
Jonas L
5bdb2628b1
fix(legacy): add log entry on task run ( #2316 )
2022-12-16 19:38:17 +01:00
Jonas L
13852ad7a7
fix(legacy): add log entry on task run ( #2316 )
2022-12-16 20:06:56 +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
Jonas L
060fb9d24b
fix(legacy): fail when uploading wma files ( #2172 )
...
Fix #1449
2022-09-21 14:04:56 +02:00
jo
6b16df8966
fix(legacy): update or remove broken links
2022-09-21 08:28:43 +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
jo
63d9e430e1
chore(legacy): format code
2022-09-12 14:15:50 +02:00
Jonas L
c28c048bf4
chore: use https links ( #2075 )
2022-08-25 16:25:54 +02:00
jo
9001a18f2d
fix(legacy): args comma syntax error
2022-08-24 12: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
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
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
f1270fed6f
feat(legacy): don't guess cors url from server
2022-07-07 10:51:07 +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
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
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
Jonas L
be5d732006
fix(legacy): station url always has a trailing slash ( #1838 )
2022-05-05 19:24:51 +02:00
jo
751d430bcc
feat: replace exploded base_* with public_url
...
Fixes #1574
BREAKING CHANGE: The `general` section in the config schema has changed: the `general.base_*`, `general.protocol` and `general.force_ssl` configuration fields have been replaced with a single `general.public_url` field. Be sure to use a valid url with the new configuration field.
2022-04-25 16:45:01 +02:00
Jonas L
69d8eae845
style(legacy): fix code format with php-cs-fixer ( #1674 )
2022-03-14 12:15:04 +02:00
jo
dc7560e1df
feat(legacy): replace massivescale/celery-php with jooola/celery-php
2022-03-04 22:18:29 +02:00
Jonas L
74c8d20284
fix(legacy): only render if img creation succeed ( #1540 )
...
Fixes #1489
2022-01-28 07:04:58 +02:00
Jonas L
8569af9328
style(legacy): force semicolon on same line ( #1534 )
2022-01-23 20:15:55 +02:00
Jonas L
5e8d8db6e9
Feature: Support php7.4 ( #1354 )
...
* Run CI tests against php 7.4
* Sort composer dependencies
* Remove unused Aws S3 php library
* Pin simplepie dependency to ^1.5
* Pin getid3 dependency to ^1.9
* Pin composer semver to ^3.2
* Pin php-amqplib to ^2.12
* Drop sentry logging support
* Update composer dependencies
* Move propel regenerate to Makefile
* Regenerate propel files with v1.7.0
* Pin propel orm to ^1.7
* Regenerate propel files with v1.7.2
* fix: generator_version in airtime-conf-production.php
* Replace propel/propel1 with jooola/propel1
* Regenerate propel files with v1.7.3-dev
* Fix php7.4 compatibility
Using php-cs-fixer:
'@PhpCsFixer' => true,
'concat_space' => ['spacing' => 'one'],
'ordered_class_elements' => false,
'yoda_style' => false,
'@PHP74Migration' => true,
'assign_null_coalescing_to_coalesce_equal' => false,
'ternary_to_null_coalescing' => false,
'heredoc_indentation' => false,
'@PHP74Migration:risky' => true,
'declare_strict_types' => false,
'void_return' => false,
'use_arrow_functions' => false,
* Fix pre-commit
2021-10-17 17:19:53 +02:00
jo
f05c228f1d
Put regex rules between single quotes
2021-10-12 11:09:46 +02:00
jo
d52c6184b9
Format code using php-cs-fixer
2021-10-12 11:07:56 +02:00
jo
ab0f3d04b8
Fix complex string interpolation
2021-10-12 11:07:56 +02:00
jo
3e18d42c8b
Rename airtime_mvc/ to legacy/
2021-10-11 13:43:25 +02:00