renovate[bot]
7f3f318601
chore(deps): update dependency friendsofphp/php-cs-fixer to <3.59.4 ( #3030 )
...
[](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.58.2` -> `<3.59.4` |
[](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.59.3`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3593 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.59.2...v3.59.3 )
- refactor: refactor to templated trait+interface
([#​7988](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7988 ))
###
[`v3.59.2`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3592 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.59.1...v3.59.2 )
- fix: "list" is reserved type
([#​8087](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8087 ))
- chore: add missing type in method prototype
([#​8088](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8088 ))
- CI: bump Ubuntu version
([#​8086](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8086 ))
- deps: bump infection to unblock PHPUnit 11, and few more as chore
([#​8083](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8083 ))
###
[`v3.59.1`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3591 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.59.0...v3.59.1 )
- fix: Bump React's JSON decoder buffer size
([#​8068](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8068 ))
- docs: options - handle enums in dicts
([#​8082](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8082 ))
###
[`v3.59.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3590 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.58.1...v3.59.0 )
- feat(Docker): Multi-arch build (support for `arm64`)
([#​8079](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8079 ))
- feat: `@PhpCsFixer` ruleset - normalise implicit backslashes in single
quoted strings
([#​7965](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7965 ))
- feat: `SimpleToComplexStringVariableFixer` - support variable being an
array
([#​8064](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8064 ))
- fix: Look up for PHPDoc's variable name by only chars allowed in the
variables
([#​8062](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8062 ))
- fix: Update `PhpUnitTestCaseStaticMethodCallsFixer::STATIC_METHODS`
([#​8073](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8073 ))
- fix: `native_constant_invocation` - array constants with native
constant names
([#​8008](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8008 ))
- chore: update PHPStan
([#​8060](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8060 ))
- CI: Update PHPStan to 1.11.4
([#​8074](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8074 ))
- docs: don't expose list as config type for dicts
([#​8081](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8081 ))
- docs: Make wording in `final_class` docs less dismissive
([#​8065](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8065 ))
- docs: Update 1-bug_report.yml
([#​8067](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8067 ))
- DX: Remove version from Docker Compose files
([#​8061](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8061 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJwaHAiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-22 11:45:50 +02:00
dakriy
451652bc40
feat(legacy): add current date macro to string block criteria ( #3013 )
...
### Description
It is useful to be able to automatically filter tracks to a certain date
or day when scheduling tracks for playback. This adds the ability to do
just that in any string filter with the `date{format}` macro.
Closes: #3012
2024-06-22 11:19:21 +02:00
renovate[bot]
826aac1c05
chore(deps): lock file maintenance (legacy/composer.json) ( #3033 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |
🔧 This Pull Request updates lock files to use the latest dependency
versions.
---
### Configuration
📅 **Schedule**: Branch creation - "after 4am and before 5am on monday"
(UTC), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJwaHAiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-18 09:18:21 +01:00
libretime-bot
01253b31fc
chore(legacy): update locales
2024-06-10 02:02:19 +00:00
renovate[bot]
5ed15f9722
chore(deps): update dependency friendsofphp/php-cs-fixer to <3.58.2 ( #3016 )
...
[](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.56.2` -> `<3.58.2` |
[](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.58.1`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3581 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.58.0...v3.58.1 )
- fix: `ConstantCaseFixer` - do not change class constant usages
([#​8055](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8055 ))
- fix: `PhpUnitTestClassRequiresCoversFixer` - do not add annotation
when attribute with leading slash present
([#​8054](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8054 ))
###
[`v3.58.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3580 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.57.2...v3.58.0 )
- chore(doc): Use FQCN for parallel config in documentation
([#​8029](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8029 ))
- chore: fix typo in `PhpUnitTestClassRequiresCoversFixerTest`
([#​8047](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8047 ))
- chore: RandomApiMigrationFixer - do not modify configuration property
([#​8033](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8033 ))
- chore: Tokens::setCode - further improvements to cache
([#​8053](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8053 ))
- chore: update PHPStan
([#​8045](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8045 ))
- docs: Add missing imports in a cookbook about creating custom rules
([#​8031](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8031 ))
- docs: fix deprecated string interpolation style
([#​8036](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8036 ))
- docs: global_namespace_import - simplify allowed config types
([#​8023](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8023 ))
- feat(GroupImportFixer): Ability to configure which type of imports
should be grouped
([#​8046](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8046 ))
- fix: clear `Tokens::$blockStartCache` and `Tokens::$blockEndCache`
when calling `Tokens::setCode`
([#​8051](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8051 ))
- fix: correctly handle PHP closing tag with `simplified_null_return`
([#​8049](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8049 ))
- fix: `ConstantCaseFixer` - do not change namespace
([#​8004](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8004 ))
- fix: `PhpUnitAttributesFixer` - do not add attribute if already
present
([#​8043](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8043 ))
- fix: `PhpUnitSizeClassFixer` - do not add annotation when there are
attributes
([#​8044](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8044 ))
- fix: `PhpUnitTestClassRequiresCoversFixer` - attribute detection when
class is `readonly`
([#​8042](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8042 ))
###
[`v3.57.2`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3572 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.57.1...v3.57.2 )
- docs: better ConfigurableFixer allowed types
([#​8024](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8024 ))
- docs: Improve Docker usage example
([#​8021](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8021 ))
- feat: Report used memory to 2 decimal digits only
([#​8017](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8017 ))
- fix: Support named args in `ParallelConfigFactory::detect()`
([#​8026](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8026 ))
- fix: `php_unit_test_class_requires_covers` Attribute detection when
class is final
([#​8016](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8016 ))
###
[`v3.57.1`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3571 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.57.0...v3.57.1 )
- chore: update PHPDoc in `Preg::matchAll`
([#​8012](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8012 ))
- fix: Runner - handle no files while in parallel runner
([#​8015](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8015 ))
###
[`v3.57.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3570 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.56.2...v3.57.0 )
- feat: Ability to run Fixer with parallel runner 🎉
([#​7777](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7777 ))
###
[`v3.56.2`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3562 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.56.1...v3.56.2 )
- chore: update PHPStan
([#​8010](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8010 ))
- DX: Fix Mess Detector violations
([#​8007](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8007 ))
- DX: Install PCov extension for local Docker
([#​8006](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8006 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJwaHAiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-07 21:52:47 +02:00
Rob Hailman
2b43e51ed1
fix: playlist allocates inaccurate time to smartblocks ( #3026 )
...
### Description
In the existing logic of `retrieveMediaFiles`, the time remaining in
show is calculated incorrectly in some scenarios. Each time a duration
is subtracted from `showLimit`, it is not the duration of the files just
added, but instead the length of all files scheduled. This can cause
cases where a smart block set to "time remaining in show" fails to
completely fill the program.
For example, given a 30 minute show, and a playlist like follows:
1. a 5 minute track
2. another 5 minute track
3. smart block, set to time remaining in show
When item 1 is added, `showLimit` is reduced by 5 minutes as expected.
When item 2 is added, `showLimit` is reduced by 10 minutes (as both
items 1 and 2 are counted). As a result, the smart block is only run to
fill 15 minutes, leaving 5 minutes unfilled.
This PR resolves this issue, by recalculating `showLimit` from the
original duration rather than subtracting from a running total.
This change not does implement a new feature and should not require any
changes to documentation.
### Testing Notes
**What I did:**
- On a dev environment, set up a playlist as described above.
- Before applying this PR, created a show and scheduled playlist, and
confirmed issue was reproducible
- Applied PR and repeated, and confirmed show was filled completely.
Also repeated this testing with sample data from our production
instance.
Here is a sample schedule of the "before" case with sample data, showing
the issue

The smartblock that scheduled the music is set to allow last track to
overflow, but 3m55s was left unscheduled.
Using the same playlist and same track library, here is a sample
schedule after the PR applied:

As expected, the show is fully scheduled with the last track
overflowing.
Additionally, I've applied this PR as a hot fix to our production
instance, where it has been running for a week without issue.
Also performed spot tests of playlists without smart blocks, smart
blocks scheduled directly (not in playlists) and autoloading playlists,
with no change in behaviour observed as a result of this change.
**How you can replicate my testing:**
Same test steps as I followed should be able to reproduce issue &
validate fix on any instance.
### **Links**
Not directly related to issue fixed by #3019 , but also addresses the
issue of dead air left at end of blocks.
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2024-06-05 17:01:57 +01:00
renovate[bot]
10996e847b
chore(deps): lock file maintenance (legacy/composer.json)
2024-06-05 15:55:53 +00:00
renovate[bot]
5d2ad43039
chore(deps): lock file maintenance (legacy/composer.json)
2024-05-14 11:11:50 +00:00
renovate[bot]
f77c8dbaaa
chore(deps): update dependency friendsofphp/php-cs-fixer to <3.56.2 ( #3008 )
...
[](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.54.1` -> `<3.56.2` |
[](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.56.1`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3561 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.56.0...v3.56.1 )
- chore: improve PHPDoc typehints
([#​7994](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7994 ))
- CI: Allow any integer in PHPStan error for Token's constructor
([#​8000](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8000 ))
- fix: Better array shape in `PhpUnitDedicateAssertFixer`
([#​7999](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7999 ))
- fix: `ConstantCaseFixer` - do not touch typed constants
([#​7998](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7998 ))
###
[`v3.56.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3560 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.55.0...v3.56.0 )
- feat: `TrailingCommaInMultilineFixer` - handle trailing comma in
language constructs
([#​7989](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7989 ))
- fix: `TrailingCommaInMultilineFixer` - language constructs should be
covered by arguments, not parameters
([#​7990](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7990 ))
- chore: remove invalid comment
([#​7987](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7987 ))
- DX: Cache optimisation
([#​7985](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7985 ))
###
[`v3.55.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3550 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.54.0...v3.55.0 )
- feat: Introduce `OrderedAttributesFixer`
([#​7395](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7395 ))
- chore: few SCA fixes and dev-tools update
([#​7969](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7969 ))
- chore: fix phpdoc types
([#​7977](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7977 ))
- chore: narrow PHPDoc types
([#​7979](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7979 ))
- chore: Normalize implicit backslahes in single quoted strings
internally
([#​7786](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7786 ))
- chore: phpdoc - rely on strict list/tuple/assoc instead of array
([#​7978](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7978 ))
- chore: PhpUnitDataProviderNameFixer - follow config creation pattern
([#​7980](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7980 ))
- chore: Preg - drop half-support for array-pattern
([#​7976](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7976 ))
- chore: re-use CodeHasher
([#​7984](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7984 ))
- chore: RuleSetsTest - assert that Fixer is configurable
([#​7961](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7961 ))
- chore: sugar syntax
([#​7986](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7986 ))
- chore: Tokens should be always a list
([#​7698](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7698 ))
- CI: Ad-hoc fix for MacOS jobs
([#​7970](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7970 ))
- CI: Fix calculating diff between branches in PRs
([#​7973](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7973 ))
- DX: allow to enforce cache mechanism by env var
([#​7983](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7983 ))
- DX: do not typehint fixed-length arrays as lists
([#​7974](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7974 ))
- DX: Prevent having deprecated fixers listed as successors of other
deprecated fixers
([#​7967](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7967 ))
- DX: Resolve/Ignore PHPStan issues on level 6 + bump to level 7 with
new baseline
([#​7971](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7971 ))
- DX: use `list` type in PHPDoc
([#​7975](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7975 ))
- fix: `PhpUnitAttributesFixer` - fix for `#[RequiresPhp]` exceeding its
constructor parameters
([#​7966](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7966 ))
- test: don't count comment after class as another classy element
([#​7982](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7982 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicGhwIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-11 11:10:18 +02:00
libretime-bot
4442664c36
chore(legacy): update locales
2024-05-06 01:56:09 +00:00
Thomas Göttgens
86da46ee3a
fix(legacy): allow deleting file with api token ( #2995 )
...
When calling DELETE "/rest/media/<id>" the call fails with 'unknown error'
if it's not within a GUI session. The StoredFile delete method checks
for user permissions regardless of if a user is even known.
2024-05-05 22:26:27 +02:00
Thomas Göttgens
064c435b09
refactor(legacy): remove unused waveform related code ( #3003 )
...
Co-authored-by: Thomas Göttgens <tgoettgens@mail.com>
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2024-05-05 21:15:11 +02:00
renovate[bot]
a556b73d2a
chore(deps): lock file maintenance (legacy/composer.json)
2024-04-30 09:09:41 +00:00
libretime-bot
ad16a9b3f8
chore(legacy): update locales
2024-04-29 01:54:43 +00:00
Jonas L
40b4fc7f66
feat: build schedule events exclusively in playout ( #2946 )
...
### Description
Build and use the schedule events only in playout, the events generated
by legacy are not used anymore.
This ensure that we don't have to maintain 2 different implementation in
2 different languages. We still need the php function to run to make
sure the side effects of this function are executed (filling the
schedule in the DB).
2024-04-27 20:09:16 +02:00
renovate[bot]
8615c85572
chore(deps): update dependency friendsofphp/php-cs-fixer to <3.54.1 ( #2994 )
...
[](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.53.1` -> `<3.54.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.54.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3540 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.53.0...v3.54.0 )
- feat: introduce `PhpUnitAttributesFixer`
([#​7831](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7831 ))
- chore: Properly determine self-approval trigger commit
([#​7936](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7936 ))
- chore: Revert ref for self-approval Git checkout
([#​7944](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7944 ))
- CI: check if proper array key is declared
([#​7912](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7912 ))
- DX: cleanup `FullyQualifiedStrictTypesFixerTest`
([#​7954](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7954 ))
- DX: cleanup `PhpdocNoAccessFixerTest`
([#​7933](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7933 ))
- DX: cleanup `PhpUnitMethodCasingFixerTest`
([#​7948](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7948 ))
- DX: cleanup `PhpUnitStrictFixerTest`
([#​7938](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7938 ))
- DX: Improve internal dist config for Fixer
([#​7952](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7952 ))
- DX: Improve issue templates
([#​7942](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7942 ))
- DX: there is no namespace if there is no PHP code
([#​7953](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7953 ))
- DX: update .gitattributes
([#​7931](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7931 ))
- fix: Remove Infection during Docker release
([#​7937](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7937 ))
- fix: `FullyQualifiedStrictTypesFixer` - do not add imports before PHP
opening tag
([#​7955](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7955 ))
- fix: `PhpUnitMethodCasingFixer` - do not double underscore
([#​7949](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7949 ))
- fix: `PhpUnitTestClassRequiresCoversFixer` - do not add annotation
when there are attributes
([#​7880](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7880 ))
- test: Ignore PHP version related mutations
([#​7935](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7935 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJwaHAiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 18:54:41 +02:00
Weblate (bot)
7e92bc50cc
chore(legacy): translations update from Hosted Weblate ( #2998 )
...
Translations update from [Hosted Weblate](https://hosted.weblate.org )
for
[LibreTime/Legacy](https://hosted.weblate.org/projects/libretime/legacy/ ).
Current translation status:

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2024-04-23 11:20:55 +01:00
libretime-bot
046aa724cc
chore(legacy): update locales
2024-04-22 01:54:41 +00:00
Thomas Göttgens
da02e74f21
feat(legacy): visual cue point editor ( #2947 )
...
A visual cue point editor in the track editor view. This view displays the track as a waveform and allows you to set where the in- and out-cue points are set. These cue points determine the start and end points of the track.
---------
Co-authored-by: Thomas Göttgens <tgoettgens@mail.com>
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2024-04-21 10:13:43 +01:00
libretime-bot
a56edd9e98
chore(legacy): update locales
2024-04-15 03:48:57 +00:00
renovate[bot]
b721dbecd1
chore(deps): lock file maintenance (legacy/composer.json)
2024-04-15 01:39:59 +00:00
Jonas L
a63df8c989
chore: mark php-cs-fixer as dev dependency ( #2986 )
...
### Description
This should remove the update entries from the release-please changelog,
as renovate will now consider updates for this dep as `chore` and not
`fix`.
2024-04-13 16:08:45 +02:00
Jonas L
5ad69bf0b7
fix(legacy): ensure validation is performed on the track type form ( #2985 )
...
### Description
Fixes #2939
The zend form validation was not performed, only a custom method to
validate the code was used. This merge both validation, and leverage the
Zend form validation framework.
Also allow updating the track type code from the track type form.
Related to #2955
2024-04-13 15:54:47 +02: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]
f6092e84d7
chore(deps): lock file maintenance (legacy/composer.json)
2024-03-27 15:29:40 +00:00
renovate[bot]
e8e88f7d46
chore(deps): lock file maintenance (legacy/composer.json)
2024-03-19 19:32:13 +00:00
Weblate (bot)
d067d640dc
chore(legacy): translations update from Hosted Weblate ( #2970 )
...
Translations update from [Hosted Weblate](https://hosted.weblate.org )
for
[LibreTime/Legacy](https://hosted.weblate.org/projects/libretime/legacy/ ).
Current translation status:

Co-authored-by: Mikachu <micah.sh@proton.me>
2024-03-17 08:49:52 +00:00
renovate[bot]
22c303cfff
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.51.1 ( #2963 )
...
[](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.49.1` -> `<3.51.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.51.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3510 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.50.0...v3.51.0 )
- chore: add missing tests for non-documentation classes
([#​7848](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7848 ))
- chore: do not perform type analysis in tests
([#​7852](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7852 ))
- chore: list over array in more places
([#​7857](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7857 ))
- chore: tests documentation classes
([#​7855](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7855 ))
- feat: `@Symfony` - add nullable_type_declaration
([#​7856](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7856 ))
- test: fix wrong type in param annotation
([#​7858](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7858 ))
###
[`v3.50.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3500 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.49.0...v3.50.0 )
- chore: add missing types
([#​7842](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7842 ))
- chore: BlocksAnalyzer - raise exception on invalid index
([#​7819](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7819 ))
- chore: DataProviderAnalysis - expect list over array
([#​7800](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7800 ))
- chore: do not use `@large` on method level
([#​7832](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7832 ))
- chore: do not use `@medium` on method level
([#​7833](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7833 ))
- chore: Fix typos
([#​7835](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7835 ))
- chore: rename variables
([#​7847](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7847 ))
- chore: some improvements around array typehints
([#​7799](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7799 ))
- CI: fix PHP 8.4 job
([#​7829](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7829 ))
- DX: Include `symfony/var-dumper` in dev tools
([#​7795](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7795 ))
- feat: Ability to remove unused imports from multi-use statements
([#​7815](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7815 ))
- feat: allow PHPUnit 11
([#​7824](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7824 ))
- feat: Allow shortening symbols from multi-use statements (only classes
for now)
([#​7816](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7816 ))
- feat: introduce `PhpdocArrayTypeFixer`
([#​7812](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7812 ))
- feat: PhpUnitTestCaseStaticMethodCallsFixer - cover PHPUnit v11
methods
([#​7822](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7822 ))
- feat: Support for multi-use statements in `NamespaceUsesAnalyzer`
([#​7814](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7814 ))
- feat: `MbStrFunctionsFixer` - add support for `mb_trim`, `mb_ltrim`
and `mb_rtrim` functions
([#​7840](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7840 ))
- feat: `NoEmptyPhpdocFixer` - do not leave empty line after removing
PHPDoc
([#​7820](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7820 ))
- feat: `no_superfluous_phpdoc_tags` - introduce `allow_future_params`
option
([#​7743](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7743 ))
- fix: do not use wrongly named arguments in data providers
([#​7823](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7823 ))
- fix: Ensure PCNTL extension is always installed in Docker
([#​7782](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7782 ))
- fix: PhpdocListTypeFixer - support key types containing `<…>`
([#​7817](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7817 ))
- fix: Proper build target for local Docker Compose
([#​7834](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7834 ))
- fix: union PHPDoc support in `fully_qualified_strict_types` fixer
([#​7719](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7719 ))
- fix: `ExecutorWithoutErrorHandler` - remove invalid PHP 7.4 type
([#​7845](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7845 ))
- fix: `fully_qualified_strict_types` must honor template/local type
identifiers
([#​7724](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7724 ))
- fix: `MethodArgumentSpaceFixer` - do not break heredoc/nowdoc
([#​7828](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7828 ))
- fix: `NumericLiteralSeparatorFixer` - do not change `float` to `int`
when there is nothing after the dot
([#​7805](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7805 ))
- fix: `PhpUnitStrictFixer` - do not crash on property having the name
of method to fix
([#​7804](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7804 ))
- fix: `SingleSpaceAroundConstructFixer` - correctly recognise multiple
constants
([#​7700](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7700 ))
- fix: `TypeExpression` - handle array shape key with dash
([#​7841](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7841 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-29 22:00:17 +01:00
renovate[bot]
288a30d77b
chore(deps): lock file maintenance (legacy/composer.json)
2024-02-21 17:12:41 +00:00
renovate[bot]
6acf2e3f5a
chore(deps): lock file maintenance (legacy/composer.json) ( #2959 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |
🔧 This Pull Request updates lock files to use the latest dependency
versions.
---
### Configuration
📅 **Schedule**: Branch creation - "after 4am and before 5am on monday"
(UTC), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-20 10:37:45 +00:00
Thomas Göttgens
270aa08ae6
fix(legacy): allow updating track types code ( #2955 )
...
Since moving to an indexed track_type model for 3.0, the constraint of the code being immutable is no longer
valid, since it's not used as index anymore. This commit removes the readonly flag from that form field.
2024-02-18 19:10:30 +01:00
Weblate (bot)
12461c4597
chore(legacy): translations update from Hosted Weblate ( #2949 )
...
Translations update from [Hosted Weblate](https://hosted.weblate.org )
for
[LibreTime/Legacy](https://hosted.weblate.org/projects/libretime/legacy/ ).
Current translation status:

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
2024-02-12 05:48:36 +00:00
Jonas L
37d1a7685e
fix(legacy): replay_gain_modifier should be a system preference ( #2943 )
2024-02-08 19:48:49 +01:00
Weblate (bot)
3b353ec74b
chore(legacy): translations update from Hosted Weblate ( #2942 )
...
Translations update from [Hosted Weblate](https://hosted.weblate.org )
for
[LibreTime/Legacy](https://hosted.weblate.org/projects/libretime/legacy/ ).
Current translation status:

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2024-02-07 23:47:31 +00:00
libretime-bot
2b119adab2
chore(legacy): update locales
2024-02-05 01:52:47 +00:00
Thomas Göttgens
f4b260fdf7
fix(legacy): fix hidden fields in edit file form ( #2932 )
...
this removes a visual gap between artwork and editor fields. I stumbled
across this while updating the form to include replay gain.

2024-02-03 22:31:00 +01:00
renovate[bot]
3e05748d2d
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.49.1 ( #2899 )
...
[](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.46.1` -> `<3.49.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.49.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3490 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.48.0...v3.49.0 )
- chore(checkbashisms): update to 2.23.7
([#​7780](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7780 ))
- chore: add missing key types in PHPDoc types
([#​7779](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7779 ))
- chore: Exclude `topic/core` issues/PRs from Stale Bot
([#​7788](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7788 ))
- chore: `DescribeCommand` - better handling of deprecations
([#​7778](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7778 ))
- docs: docker - use gitlab reporter in GitLab integration example
([#​7764](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7764 ))
- docs: docker in CI - don't suggest command that overrides path from
config file
([#​7763](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7763 ))
- DX: check deprecations exactly
([#​7742](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7742 ))
- feat: Add `ordered_types` to `@Symfony`
([#​7356](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7356 ))
- feat: introduce `PhpdocListTypeFixer`
([#​7796](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7796 ))
- feat: introduce `string_implicit_backslashes` as
`escape_implicit_backslashes` replacement
([#​7669](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7669 ))
- feat: update
`Symfony.nullable_type_declaration_for_default_null_value` config
([#​7773](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7773 ))
- feat: `@PhpCsFixer` ruleset - enable `php_unit_data_provider_static`
([#​7685](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7685 ))
- fix: Allow using cache when running in Docker distribution
([#​7769](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7769 ))
- fix: ClassDefinitionFixer for anonymous class with phpdoc/attribute on
separate line
([#​7546](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7546 ))
- fix: `ClassKeywordFixer` must run before
`FullyQualifiedStrictTypesFixer`
([#​7767](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7767 ))
- fix: `function_to_constant` `get_class()` replacement
([#​7770](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7770 ))
- fix: `LowercaseStaticReferenceFixer` - do not change typed constants
([#​7775](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7775 ))
- fix: `PhpdocTypesFixer` - handle more complex types
([#​7791](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7791 ))
- fix: `TypeExpression` - do not break type using `walkTypes` method
([#​7785](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7785 ))
###
[`v3.48.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3480 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.47.1...v3.48.0 )
- chore: `FullyQualifiedStrictTypesFixer` must run before
`OrderedInterfacesFixer`
([#​7762](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7762 ))
- docs: Add PHP-CS-Fixer integration in a GitHub Action step
([#​7757](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7757 ))
- feat: `PhpdocTypesOrderFixer` Support DNF types
([#​7732](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7732 ))
- fix: Support shebang in fixers operating on PHP opening tag
([#​7687](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7687 ))
- fix: work correctly for a switch/case with ternary operator
([#​7756](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7756 ))
- fix: `NoUselessConcatOperatorFixer` - do not remove new line
([#​7759](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7759 ))
###
[`v3.47.1`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3471 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.47.0...v3.47.1 )
- fix: Do not override short name with relative reference
([#​7752](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7752 ))
- fix: make `BinaryOperatorSpacesFixer` work as pre-v3.47
([#​7751](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7751 ))
- fix: Proper Docker image name suffix
([#​7739](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7739 ))
- fix: `FullyQualifiedStrictTypesFixer` - do not change case of the
symbol when there's name collision between imported class and imported
function
([#​7750](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7750 ))
- fix: `FullyQualifiedStrictTypesFixer` - do not modify statements with
property fetch and `::`
([#​7749](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7749 ))
###
[`v3.47.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3470 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.46.0...v3.47.0 )
- chore: better identify EXPERIMENTAL rules
([#​7729](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7729 ))
- chore: fix issue detected by unlocked PHPStan + upgrade dev-tools
([#​7678](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7678 ))
- chore: handle extract()
([#​7684](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7684 ))
- chore: Mention contributors in app info
([#​7668](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7668 ))
- chore: no need to mark private methods as internal
([#​7715](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7715 ))
- chore: ProjectCodeTests - dry for function usage extractions
([#​7690](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7690 ))
- chore: reduce PHPStan baseline
([#​7644](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7644 ))
- chore: use numeric literal separator for PHP version IDs
([#​7712](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7712 ))
- chore: use numeric_literal_separator for project
([#​7713](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7713 ))
- chore: Utils::sortElements - better typing
([#​7646](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7646 ))
- CI: Allow running Stale Bot on demand
([#​7711](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7711 ))
- CI: Fix PHP 8.4
([#​7702](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7702 ))
- CI: Give write permissions to Stale Bot
([#​7716](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7716 ))
- CI: Use `actions/stale` v9
([#​7710](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7710 ))
- docs: Add information about allowing maintainers to update PRs
([#​7683](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7683 ))
- docs: CONTRIBUTING.md - update Opening a PR
([#​7691](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7691 ))
- docs: Display/include tool info/version by default in commands and
reports
([#​7733](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7733 ))
- DX: fix deprecation tests warnings for PHP 7.4
([#​7725](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7725 ))
- DX: update `host.docker.internal` in Compose override template
([#​7661](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7661 ))
- DX: `NumericLiteralSeparatorFixer` - change default strategy to
`use_separator`
([#​7730](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7730 ))
- feat: Add support for official Docker images of Fixer
([#​7555](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7555 ))
- feat: Add `spacing` option to `PhpdocAlignFixer`
([#​6505](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6505 ))
- feat: Add `union_types` option to `phpdoc_to_param_type`,
`phpdoc_to_property_type`, and `phpdoc_to_return_type` fixers
([#​7672](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7672 ))
- feat: Introduce `heredoc_closing_marker` fixer
([#​7660](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7660 ))
- feat: Introduce `multiline_string_to_heredoc` fixer
([#​7665](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7665 ))
- feat: Introduce `NumericLiteralSeparatorFixer`
([#​6761](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6761 ))
- feat: no_superfluous_phpdoc_tags - support for arrow function
([#​7666](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7666 ))
- feat: Simplify closing marker when possible in
`heredoc_closing_marker` fixer
([#​7676](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7676 ))
- feat: Support typed properties and attributes in
`fully_qualified_strict_types`
([#​7659](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7659 ))
- feat: `@PhpCsFixer` ruleset - enable
no_whitespace_before_comma_in_array.after_heredoc
([#​7670](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7670 ))
- fix: Improve progress bar visual layer
([#​7708](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7708 ))
- fix: indentation of control structure body without braces
([#​7663](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7663 ))
- fix: make sure all PHP extensions required by PHPUnit are installed
([#​7727](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7727 ))
- fix: PhpdocToReturnTypeFixerTest - support for arrow functions
([#​7645](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7645 ))
- fix: Several improvements for `fully_qualified_strict_types` (respect
declared symbols, relative imports, leading backslash in global
namespace)
([#​7679](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7679 ))
- fix: SimplifiedNullReturnFixer - support array return typehint
([#​7728](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7728 ))
- fix: Support numeric values without leading zero in
`numeric_literal_separator`
([#​7735](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7735 ))
- fix: `BinaryOperatorSpacesFixer` - align correctly when multiple
shifts occurs in single line
([#​7593](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7593 ))
- fix: `ClassReferenceNameCasingFixer` capitalizes the property name
after the nullsafe operator
([#​7696](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7696 ))
- fix: `fully_qualified_strict_types` with
`leading_backslash_in_global_namespace` enabled - handle reserved types
in phpDoc
([#​7648](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7648 ))
- fix: `NoSpaceAroundDoubleColonFixer` must run before
`MethodChainingIndentationFixer`
([#​7723](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7723 ))
- fix: `no_superfluous_phpdoc_tags` must honor multiline docs
([#​7697](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7697 ))
- fix: `numeric_literal_separator` - Handle zero-leading floats properly
([#​7737](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7737 ))
- refactor: increase performance by ~7% thanks to `Tokens::block*Cache`
hit increased by ~12%
([#​6176](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6176 ))
- refactor: Tokens - fast check for non-block in 'detectBlockType',
evaluate definitions only once in 'getBlockEdgeDefinitions'
([#​7655](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7655 ))
- refactor: `Tokens::clearEmptyTokens` - play defensive with cache
clearing
([#​7658](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7658 ))
- test: ensure we do not forget to test any short_open_tag test
([#​7638](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7638 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-02-02 20:39:10 +01:00
Thomas Göttgens
a95ce3d229
feat(legacy): trim overbooked shows after autoloading a playlist ( #2897 )
...
### Description
Some combination of preload/postload and autoloding playlists with
smartblocks generate massively overbooked shows that clutter up the
interface. This addition performs a 'trim overbooked' after filling up
the autoload list, and does the same as pushing the 'trim overbooked'
button in the UI.
### Testing Notes
Define an autoloading playlist of 2 hours and schedule it for a one hour
show. Without patch, you'll get entries for 2 hours, with the patch, you
only get one hour and a 'overboarding' orange entry at most.
---------
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
Co-authored-by: Thomas Göttgens <tgoettgens@mail.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-02-02 20:17:23 +01:00
Thomas Göttgens
170d09545e
feat(legacy): disable public radio page and redirect to login ( #2903 )
...
### Description
Many people don't need the public page and use libretime purely for
playout management. This adds the ability to have libretime publicly
available but only present the login page to the user.
**I have updated the documentation to reflect these changes**:
no, but i will add documentation if this PR is accepted.
### Testing Notes
**What I did:**
Toggle the new ceckbox on the general settings, log out and back in and
check behaviour.
note: this may have conflicts with the trim overbooked PR since the
toggle sits in the same place. If both are accepted this needs to be
formatted nicely :-)
---------
Co-authored-by: Thomas Göttgens <tgoettgens@mail.com>
Co-authored-by: Jonas L. <jooola@users.noreply.github.com>
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-02-02 19:04:12 +01:00
Julien Valentin
12dd477312
fix(legacy): avoid crash when lot of streams in configuration ( #2915 )
...
### Description
lot of streams forbid
http://libretime.example.org/preference/stream-setting to open (max=4)
this patch prevent the crash by displaying an error message and truncate
streamcount to 4.
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2024-01-30 17:24:28 +00:00
Weblate (bot)
c42a1c6660
chore(legacy): translations update from Hosted Weblate ( #2907 )
...
Translations update from [Hosted Weblate](https://hosted.weblate.org )
for
[LibreTime/Legacy](https://hosted.weblate.org/projects/libretime/legacy/ ).
Current translation status:

Co-authored-by: Domenik Töfflinger <domenikt96@yahoo.de>
2024-01-19 16:56:16 +00:00
renovate[bot]
5a581c034e
chore(deps): lock file maintenance (legacy/composer.json)
2024-01-16 10:21:21 +00:00
Thomas Göttgens
95283efc1f
feat(legacy): add aac/opus support to dashboard player ( #2881 )
...
### Description
The Player on the dashbaord does not correctly play an AAC stream. The
rewritng logic only takes into account the ogg format. Add rewriting
from aac to m4a in the javascript calls so the player works.
**This is a new feature**:
AAC output currently only works with replacing liquidsoap, so
technically this is a new feature.
**I have updated the documentation to reflect these changes**:
The dashboard player is not documented. The player widget works with AAC
streams already.
### Testing Notes
**What I did:**
Swapped liquidsoap and reconfigured the default mp3 stream as AAC
**How you can replicate my testing:**
on ubuntu focal, drop in the upstream liquidsoap deb to enable aac, then
configure the secondary output to use 128kbit aac instead of mp3.
Restart the target, login to the dashboard and open the dashboard
player. Both streams from the dropdown should work.
---------
Co-authored-by: Thomas Göttgens <tgoettgens@mail.com>
Co-authored-by: Jonas L <jooola@users.noreply.github.com>
2024-01-13 13:47:54 +01:00
renovate[bot]
ee33c0c56a
chore(deps): lock file maintenance (legacy/composer.json)
2024-01-09 09:35:34 +00:00
renovate[bot]
4827dbce71
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.46.1 (main) ( #2868 )
...
[](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.45.1` -> `<3.46.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.46.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3460 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.45.0...v3.46.0 )
- chore: fix internal typehints in Tokens
([#​7656](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7656 ))
- chore: reduce PHPStan baseline
([#​7643](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7643 ))
- docs: Show class with unit tests and BC promise info
([#​7667](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7667 ))
- feat: change default ruleset to `@PER-CS` (only behind
PHP_CS_FIXER_FUTURE_MODE=1)
([#​7650](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7650 ))
- feat: Support new/instanceof/use trait in
`fully_qualified_strict_types`
([#​7653](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7653 ))
- fix: FQCN parse phpdoc using full grammar regex
([#​7649](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7649 ))
- fix: Handle FQCN properly with `leading_backslash_in_global_namespace`
option enabled
([#​7654](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7654 ))
- fix: PhpdocToParamTypeFixerTest - support for arrow functions
([#​7647](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7647 ))
- fix: PHP_CS_FIXER_FUTURE_MODE - proper boolean validation
([#​7651](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7651 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-01-07 13:59:02 +01:00
renovate[bot]
6f84328380
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.45.1 (main) ( #2855 )
...
[](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.43.2` -> `<3.45.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.45.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3450 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.44.0...v3.45.0 )
- feat: Enable symbol importing in `@PhpCsFixer` ruleset
([#​7629](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7629 ))
- fix: NoUnneededBracesFixer - improve handling of global namespace
([#​7639](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7639 ))
- test: run tests with "short_open_tag" enabled
([#​7637](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7637 ))
###
[`v3.44.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3440 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.43.1...v3.44.0 )
- feat: Introduce percentage bar as new default progress output
([#​7603](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7603 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-12-30 19:41:50 +01:00
renovate[bot]
62e5f4dfbb
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.43.2 (main) ( #2848 )
...
[](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.42.1` -> `<3.43.2` |
[](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.43.1`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3431 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.43.0...v3.43.1 )
- fix: Import only unique symbols' short names
([#​7635](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7635 ))
###
[`v3.43.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3430 )
[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.42.0...v3.43.0 )
- chore: change base of `@Symfony` set to `@PER-CS2.0`
([#​7627](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7627 ))
- chore: PHPUnit - allow for v10
([#​7606](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7606 ))
- chore: Preg - rework catching the error
([#​7616](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7616 ))
- chore: Revert unneeded peer-dep-pin and re-gen lock file
([#​7618](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7618 ))
- docs: drop extra note about 8.0.0 bug in README.md
([#​7614](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7614 ))
- feat: add cast_spaces into `@PER-CS2.0`
([#​7625](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7625 ))
- feat: Configurable phpDoc tags for FQCN processing
([#​7628](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7628 ))
- feat: StatementIndentationFixer - introduce
stick_comment_to_next_continuous_control_statement config
([#​7624](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7624 ))
- feat: UnaryOperatorSpacesFixer - introduce only_dec_inc config
([#​7626](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7626 ))
- fix: FullyQualifiedStrictTypesFixer - better support annotations in
inline {}
([#​7633](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7633 ))
- fix: Improve how FQCN is handled in phpDoc
([#​7622](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7622 ))
- fix: phpdoc_align - fix multiline tag alignment issue
([#​7630](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7630 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-12-29 15:28:57 +01:00
maxtim
06af18b84e
feat(playout): configure device for alsa and pulseaudio system outputs ( #2654 )
...
### Description
Add hardware configuration to liquidsoap so that users may
set hardware output in config.yml.
---------
Co-authored-by: jo <ljonas@riseup.net>
2023-12-29 15:22:43 +01:00
Weblate (bot)
0e91a7db7d
chore(legacy): translations update from Hosted Weblate ( #2843 )
...
Translations update from [Hosted Weblate](https://hosted.weblate.org )
for
[LibreTime/Legacy](https://hosted.weblate.org/projects/libretime/legacy/ ).
Current translation status:

Co-authored-by: Maurizio Castelvetro <castelvetro@gmail.com>
2023-12-28 13:45:53 +01:00
Jonas L
083ee3f1dd
feat!: default system output is now `pulseaudio` ( #2842 )
...
BREAKING CHANGE: The default system output
(`stream.outputs.system[].kind`) changed from `alsa` to `pulseaudio`.
Make sure to update your configuration file if you rely on the default
system output.
Closes #2542
2023-12-27 18:23:40 +01:00