renovate[bot]
8ae4dce9e7
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.42.1 (main) ( #2765 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[friendsofphp/php-cs-fixer](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer )
| `<3.41.2` -> `<3.42.1` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PHP-CS-Fixer/PHP-CS-Fixer (friendsofphp/php-cs-fixer)</summary>
###
[`v3.42.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3420 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.41.1...v3.42.0 )
- chore: aim to not rely on internal array pointer but use
array_key_first
([#​7613](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7613 ))
- chore: deprecate Token::isKeyCaseSensitive
([#​7599](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7599 ))
- chore: deprecate Token::isKeyCaseSensitive, 2nd part
([#​7601](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7601 ))
- chore: do not check PHP_VERSION_ID
([#​7602](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7602 ))
- chore: FileFilterIteratorTest - more accurate type in docs
([#​7542](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7542 ))
- chore: minor code cleanup
([#​7607](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7607 ))
- chore: more types
([#​7598](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7598 ))
- chore: PHPDoc key-value spacing
([#​7592](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7592 ))
- chore: PHPUnit - run defects first
([#​7570](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7570 ))
- chore: ProjectCodeTest - DRY on Tokens creation
([#​7574](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7574 ))
- chore: ProjectCodeTest - prepare for symfony/console v7
([#​7605](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7605 ))
- chore: ProjectCodeTest::provide\*ClassCases to return iterable with
key for better tests execution log
([#​7572](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7572 ))
- chore: ProjectCodeTest::testDataProvidersDeclaredReturnType - use
better DataProvider to simplify test logic
([#​7573](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7573 ))
- chore: TokensAnalyzer - string-enum for better typehinting
([#​7571](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7571 ))
- chore: unify tests not agnostic of PHP version
([#​7581](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7581 ))
- chore: use ::class more
([#​7545](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7545 ))
- CI: Introduce `composer-unused`
([#​7536](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7536 ))
- DX: add types to anonymous functions
([#​7561](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7561 ))
- DX: Allow running smoke tests within Docker runtime
([#​7608](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7608 ))
- DX: check fixer's options for wording
([#​7543](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7543 ))
- DX: cleanup deprecation message
([#​7576](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7576 ))
- DX: do not allow overriding constructor of
`PHPUnit\Framework\TestCase`
([#​7563](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7563 ))
- DX: do not import ExpectDeprecationTrait in UtilsTest
([#​7562](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7562 ))
- DX: Enforce consistent naming in tests
([#​7556](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7556 ))
- DX: fix checking test class extends `PhpCsFixer\Tests\TestCase`
([#​7567](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7567 ))
- DX: make sure that exceptions in
`AbstractFixerTestCase::testProperMethodNaming` are not already fixed
([#​7588](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7588 ))
- DX: remove recursion from AbstractIntegrationTestCase::testIntegration
([#​7577](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7577 ))
- DX: remove `PhpUnitNamespacedFixerTest::testClassIsFixed`
([#​7564](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7564 ))
- DX: remove `symfony/phpunit-bridge`
([#​7578](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7578 ))
- DX: replace fixture classes with anonymous ones
([#​7533](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7533 ))
- DX: Unify Docker mount points and paths
([#​7549](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7549 ))
- DX: unify fixer's test method names - quick wins
([#​7584](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7584 ))
- DX: unify tests for casing fixers
([#​7558](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7558 ))
- DX: use anonymous function over concrete classes
([#​7553](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7553 ))
- feat(EXPERIMENTAL): ClassKeywordFixer
([#​2918](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/2918 ))
- feat(EXPERIMENTAL): ClassKeywordFixer, part 2
([#​7550](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7550 ))
- feat(PhpdocToCommentFixer): Add option to handle return as valid
docblock usage
([#​7401](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7401 ))
([#​7402](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7402 ))
- feat: Ability to import FQCNs found during analysis
([#​7597](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7597 ))
- feat: add phpDoc support for `fully_qualified_strict_types` fixer
([#​5620](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/5620 ))
- feat: Handle deprecated rule sets similarly to deprecated fixers
([#​7288](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7288 ))
- feat: PhpUnitTestCaseStaticMethodCallsFixer - cover PHPUnit v10
methods
([#​7604](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7604 ))
- feat: Support more FQCNs cases in `fully_qualified_strict_types`
([#​7459](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7459 ))
- fix: AbstractFixerTestCase - fix checking for correct casing
([#​7540](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7540 ))
- fix: Better OS detection in integration tests
([#​7547](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7547 ))
- fix: NativeTypeDeclarationCasingFixe - handle static property without
type
([#​7589](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7589 ))
- test: AutoReview - unify data provider returns
([#​7544](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7544 ))
- test: check to have DataProviders code agnostic of PHP version
([#​7575](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7575 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMTAzLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-12-27 13:40:15 +01:00
Jonas L
f252a16637
fix(legacy): allow uploading opus files ( #2804 )
2023-12-22 19:30:01 +01:00
renovate[bot]
2f1a0a8efa
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.27.1 (main) ( #2714 )
...
* fix(deps): update dependency friendsofphp/php-cs-fixer to <3.27.1
* style: format legacy files
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-09-17 17:14:59 +02:00
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
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