Thomas Göttgens
7992a9be2d
fix: intro/outro playlist unset was impossible ( #3101 )
...
this reinstates the boolean fields in the database from the original PR
to work around a foreign key contraint. THE UI remains unchanged
2024-10-21 18:34:39 +01:00
Thomas Göttgens
299be3c142
feat: use custom intro/outro playlists per show ( #2941 )
...
### Description
Having a global intro and outro playlist in settings is not very
flexible for special programming. This adds an override intro/outro
playlist per show. If it is not set, the global one is used. also it's
ignored if there's no autloading at all.
**I have updated the documentation to reflect these changes**:
Yes
### Testing Notes
**What I did:**
Schedule 2 shows, one without defining custom lists, one with defining
custom lists. one hour before the show starts it should be populated
correctly. If you define a global list it shojuld be replaced with the
per-show list.
---------
Co-authored-by: Thomas Göttgens <tgoettgens@mail.com>
2024-10-14 21:07:41 +01:00
renovate[bot]
9192aaa2bb
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.53.1 ( #2972 )
...
[](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.51.1` -> `<3.53.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.53.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3530 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.52.1...v3.53.0 )
- chore: Use `list` over `array` in more places
([#​7905](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7905 ))
- CI: allow for self-approvals for maintainers
([#​7921](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7921 ))
- CI: Improve Infection setup
([#​7913](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7913 ))
- CI: no need to trigger enable auto-merge when self-approve
([#​7929](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7929 ))
- DX: reduce `array_filter` function usages
([#​7923](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7923 ))
- DX: remove duplicated character from `trim` call
([#​7930](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7930 ))
- DX: update actions producing warnings
([#​7925](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7925 ))
- DX: update actions producing warnings
([#​7928](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7928 ))
- DX: update `phpstan/phpstan-strict-rules`
([#​7924](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7924 ))
- feat: Add trailing comma in multiline to PER-CS 2.0
([#​7916](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7916 ))
- feat: Introduce `AttributeAnalysis`
([#​7909](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7909 ))
- feat: `@PHP84Migration` introduction
([#​7774](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7774 ))
- fix: Constant invocation detected in typed constants
([#​7892](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7892 ))
- fix: `PhpdocArrayTypeFixer` - JIT stack limit exhausted
([#​7895](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7895 ))
- test: Introduce Infection for mutation tests
([#​7874](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7874 ))
###
[`v3.52.1`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3521 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.52.0...v3.52.1 )
- fix: StatementIndentationFixer - do not crash on ternary operator in
class property
([#​7899](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7899 ))
- fix: `PhpCsFixer\Tokenizer\Tokens::setSize` return type
([#​7900](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7900 ))
###
[`v3.52.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3520 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.51.0...v3.52.0 )
- chore: fix PHP 8.4 deprecations
([#​7894](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7894 ))
- chore: fix PHPStan 1.10.60 issues
([#​7873](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7873 ))
- chore: list over array in more places
([#​7876](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7876 ))
- chore: replace template with variable in Preg class
([#​7882](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7882 ))
- chore: update PHPStan
([#​7871](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7871 ))
- depr: `nullable_type_declaration_for_default_null_value` - deprecate
option that is against `@PHP84Migration`
([#​7872](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7872 ))
- docs: Fix typo
([#​7889](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7889 ))
- feat: Add support for callable template in PHPDoc parser
([#​7084](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7084 ))
- feat: Add `array_indentation` to `PER-CS2.0` ruleset
([#​7881](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7881 ))
- feat: `@Symfony:risky` - add `no_unreachable_default_argument_value`
([#​7863](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7863 ))
- feat: `PhpCsFixer` ruleset - enable
`nullable_type_declaration_for_default_null_value`
([#​7870](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7870 ))
- fix: Constant invocation detected in DNF types
([#​7869](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7869 ))
- fix: Correctly indent multiline constants and properties
([#​7875](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7875 ))
- fix: `no_useless_concat_operator` - do not break variable
([#​7827](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7827 ))
- fix: `TokensAnalyzer` - handle unary operator in arrow functions
([#​7862](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7862 ))
- fix: `TypeExpression` - fix "JIT stack limit exhausted" error
([#​7843](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7843 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-04-13 14:36:31 +02:00
renovate[bot]
9af3050432
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.26.1 (main) ( #2677 )
...
* fix(deps): update dependency friendsofphp/php-cs-fixer to <3.26.1
* style: format code
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-09-08 15:45:24 +02: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
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
d73555fa65
style(legacy): format using php-cs-fixer
2022-10-12 17:29:28 +02:00
Jonas L
060fb9d24b
fix(legacy): fail when uploading wma files ( #2172 )
...
Fix #1449
2022-09-21 14:04:56 +02:00
jo
63d9e430e1
chore(legacy): format code
2022-09-12 14:15:50 +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
Jonas L
067b35e9bb
feat(analyzer): load callback details from config and file_id ( #1993 )
2022-07-26 14:19:22 +02:00
jo
a8cb62586e
feat: remove unused cc_country table
2022-07-12 11:33:22 +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
db976881f0
fix: use constrained foreign key for files track_type
2022-07-07 21:07:41 +02:00
Jonas L
703a8e5856
chore: remove cloud storage remainings ( #1934 )
2022-07-04 22:09:14 +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
28b9343c77
fix(legacy): remove not null contraint when using default
...
This fixes the inital schema creation to match as if the old migrations
were always run.
The third_party_track_references.file_id field should not have a not
null constraint while have a default value to 0.
2022-06-08 23:23:08 +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
980f1acd0c
fix: correct cc_file.artwork column size
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
Jonas L
69d8eae845
style(legacy): fix code format with php-cs-fixer ( #1674 )
2022-03-14 12:15:04 +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
83b7e4162e
Run pre-commit on legacy code
2021-10-12 11:17:57 +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
3e18d42c8b
Rename airtime_mvc/ to legacy/
2021-10-11 13:43:25 +02:00