Scott McGrath
5b4c720e10
fix(playout): improve the way hashlib is called in libretime_playout/player ( #3135 )
...
### Description
Improves the way hashlib is called in libretime_playout/player so that
is isn't broken on systems with python < 3.9
The way it is currently called in
site-packages/libretime_playout/player/file.py, in the section where
scheduled files are copied to the cache dir for playout, specifies the
usedforsecurity=False flag as follows:
`hasher = hashlib.md5(usedforsecurity=False)`
hashlib.md5 did not support this flag until Python 3.9. Attempting to
specify the flag directly as an argument to hashlib.md5(), in an older
python environment (such as that in Ubuntu Focal 20.04), is unsafe, and
can cause hashlib.md5() to balk/throw an exception, which results in
file copy operations failing. This then precipitates into playout
problems, as scheduled media is missing from the cache folder.
This PR instead calls using hashlib.new(), and passes the argument to
that, as follows:
`hasher = hashlib.new('md5', usedforsecurity=False)`
This method of calling with the flag argument is safer, because the
constructor will take it or leave it gracefully, regardless of whether
the system has a version of hashlib that supports the `usedforsecurity`
flag. AFAICT, it improves (fixes) function on older systems without
negatively impacting others.
### Testing Notes
**What I did:**
Before applying this patch, we were experiencing occasional but fairly
regular periods of silence when the system was supposed to be playing a
song or track. This behavior was consistent with errors such as the
following being present in the playout log:
```
2025-01-15 14:01:28,331 | INFO | libretime_playout.player.file:copy_file:47 - copying file 19834 to cache /var/lib/libretime/playout/scheduler/19834.mp3
2025-01-15 14:01:28,466 | ERROR | libretime_playout.player.file:copy_file:77 - could not copy file 19834 to /var/lib/libretime/playout/scheduler/19834.mp3: 'usedforsecurity' is an invalid keyword argument for openssl_md5()
Traceback (most recent call last):
File "/opt/libretime/lib/python3.8/site-packages/libretime_playout/player/file.py", line 70, in copy_file
file_event.filesize = self.report_file_size_and_md5_to_api(
File "/opt/libretime/lib/python3.8/site-packages/libretime_playout/player/file.py", line 89, in report_file_size_and_md5_to_api
hasher = hashlib.md5(usedforsecurity=False)
TypeError: 'usedforsecurity' is an invalid keyword argument for openssl_md5()
```
_For more information about the characterization and results of this
problem, see issue #3134_
**Testing on running systems**
After the patch was applied, these errors were no longer seen. I first
tested this on a dev server, and then on a live server, with
approximately 100 distinct tracks of playout occurring over about 24
hours. There were no file copy failures, and no related playout
problems, which was a major and immediate improvement.
**Testing installer, fresh installs**
***Ubuntu 20.04***
I deployed a patch to the installer and installed it on a blank system
running Ubuntu 20.04 and tested it to make sure the fix was applied and
worked.
***Debian 11***
I deployed patch to the installer and installed it on a blank system
running Debian Bullseye (which runs python = 3.9) , and tested it there
to make sure it did not break anything or introduce a regression.
### **Links**
Closes : #3134
2025-01-17 23:11:02 +00:00
Kyle Robbertze
a14f1bec0b
ci: only check last commit for API schema in PRs ( #3133 )
...
### Description
PRs are intended to be squashed to a single commit. Only checking the
last commit gives us the intended state of the repo and ensures that if
the author commits the schema fixes later, the CI passes as expected.
Currently, the CI will fail because the earlier commits still have an
out of date schema.
2025-01-10 16:56:39 +00:00
nosbig
203c927554
feat: add flac support to Web player ( #3128 )
...
### Description
Added support for previewing FLAC files in the web interface, provided
in #509 by marmotte32 on Github in the comments for this issue.
I have tested this against a script-installed copy of 4.2.0, and FLAC
preview is working, although auto-play isn't. I haven't tested to
confirm if this behavior matches MP3 and OGG uploads.
**This is a new feature**:
_Do the changes in this PR implement a new feature?_
**I have updated the documentation to reflect these changes**:
No changes needed; this bug is a missing file format in preview, and it
requires no updates to the documentation.
### Testing Notes
**What I did:**
I installed a LibreTime 4.2.0 system using the default installation
script against a fully-updated, brand new Debian 11 system. I logged
into the web interface, uploaded some FLAC files, and attempted to
preview them. They failed to preview.
I then replaced the preview_jplayer.js file with the contents in this PR
and then refreshed the page. I was able to preview the FLAC files and
hear the results in my local browser audio output.
**How you can replicate my testing:**
Perform the same steps above, or replace the same file in the
libretime_legacy_1 docker image to see the same results.
### **Links**
Closes : #509
---------
Co-authored-by: Kyle Robbertze <kyle@paddatrapper.com>
2025-01-10 15:46:18 +00:00
Kyle Robbertze
6f5275176e
chore: update docker compose commands ( #3132 )
...
### Description
Upstream has renamed docker-compose to docker compose for all commands
**This is a new feature**:
_Do the changes in this PR implement a new feature?_
**I have updated the documentation to reflect these changes**:
Yes
2025-01-09 16:09:28 +00:00
Scott McGrath
644d2b9ce5
fix(legacy): additional specifics added to CSVexport.js for RFC 4180 ( #3131 )
...
### Description
The existing implementation for exporting playout logs to a CSV file
incorporates a very simplified CSV format. Some aspects of the complete
[RFC](https://www.rfc-editor.org/rfc/rfc4180 ) are missing, such as
escaping of quotes, and quoting of fields that contain certain
characters. This is problematic for common office spreadsheet tools, and
practically, anything else. Many radio stations rely on this
functionality to work well for exporting playout data, for example, in
order to compile data for reporting requirements.
**This is a new feature**:
The changes in this PR add quoting of fields containing a comma, as well
as those containing a CR/LF. It also escapes quotes by doubling them.
I'm not sure it makes CSVexport.js completely RFC 4180 compliant, but it
is much closer than it was.
**I have updated the documentation to reflect these changes**:
I don't think there are any documentation changes necessary; this is
probably expected behavior for anyone trying to use the CSV exporter.
### Testing Notes
**What I did:**
To validate this, I did a clean install of Debian, cloned from the
official libretime repo, and applied the code as a patch to the
installer. I then proceeded with the install and then loaded a database
from a running system (so that I had some playout data to test with). I
then performed the playout history export and examined the resulting CSV
file and after seeing previously problematic fields properly quoted, was
convinced it looked the way I expected. I loaded the csv file into
Libreoffice Calc and did not see any errors.
**How you can replicate my testing:**
See "What I did" above, basically run the patch after cloning the
installer from the repo. You could also apply the changes to a running
system by applying the patch to the file:
/usr/share/libretime/legacy/public/js/libs/CSVexport.js
Be sure to clear your browser cache and do a hard reload of the web
interface, before re-testing.
### **Links**
Closes : #2477
2025-01-09 08:34:13 +00:00
Kyle Robbertze
267da9e438
chore: add pre-commit API check ( #3120 )
...
### Description
This is a way of ensuring the schema is up to date with every change.
This should be extended by fixing the PR api schema pipeline to squash
down all PR commits into a single change and checking the API schema for
that. Otherwise people will fix the schema after a failed pipeline and
the pipeline will continue to fail
2025-01-09 07:53:49 +00:00
Keoni Mahelona
b1bdd6d9be
feat(api): added filters on genre & md5 for files api ( #3127 )
...
### Description
Added filters for genre and md5 to the files API, e.g.
`/api/v2/files?genre=soul`
**This is a new feature**: Yes
**I have updated the documentation to reflect these changes**: No
There should be a schema and docs that are generated automatically. I
don't know where that is.
### Testing Notes
**What I did:**
- Used docker to deploy locally
- Confirmed filters work at
http://localhost:8080/api/v2/files?genre=Soul
**How you can replicate my testing:**
- `make clean dev`
- Upload some files!
- Visit http://localhost:8080/api/v2/files
- You can use the filters
<img width="658" alt="Screenshot 2024-12-23 at 01 36 01"
src="https://github.com/user-attachments/assets/ba19f7f3-fb3e-495d-8937-d451c70d326c "
/>
<img width="652" alt="Screenshot 2024-12-23 at 01 35 56"
src="https://github.com/user-attachments/assets/c7191131-a963-463a-b52f-9d0952192555 "
/>
_How can the reviewer validate this PR?_
- See above
- wrote tests to confirm filters work
2025-01-08 16:54:53 +00:00
Kyle Robbertze
92ca6b0341
ci: make libretime test user owner of test database ( #3130 )
...
Fix the legacy tests
2025-01-08 16:53:45 +00:00
Weblate (bot)
7f40743d83
chore(legacy): translations update from Hosted Weblate ( #3129 )
...
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: marmotte <serge@e.email>
2025-01-08 10:48:31 +00:00
Scott McGrath
82d5af2dfb
fix(legacy): migrations from airtime 2.5.1 ( #3123 )
...
### Description
This fixes various problems in legacy migrations that were preventing a
successful database migration from Airtime 2.5.1. Previously, following
[the
procedure](https://libretime.org/docs/admin-manual/install/migrate-from-airtime/ )
using the migrations provided in the Libretime 4.2.0 installer, without
the fixes in this PR, would either fail completely, or cause all of the
imported data to be completely deleted.
_migrations.py
If schema_version is not found in the table cc_prefs, it then checks for
system_version to have a value of '2.5.1' (in case this is an airtime
2.5.1 migration which will not have any schema_version in cc_pref). If
found, it prevents loading of the schema file, which is critical to
preserving the imported Airtime data.
0006_2_5_5
Removed a redundant addition of the image_path and description columns
to cc_show (done in earlier migration 003_2_5_2)
0015_2_5_17
Fixed a syntax error with adding the artwork column to cc_files
0023_3_0_0_alpha_9_1
Removed a redundant addition of the artwork column to cc_files (done in
earlier migration 0015_2_5_7)
### Documentation Changes
The [airtime migration
documentation](https://libretime.org/docs/admin-manual/install/migrate-from-airtime/ )
already suggests a procedure to be followed, it just didn't work because
of problems within these migrations. The procedure as documented should
now work for those coming from Airtime 2.5.1.
### Testing Notes
**What I did:**
I attempted to migrate an actual airtime 2.5.1 database from a
production system containing a large amount of shows, tracks, and users.
I observed that the migration completed without errors, and that the
expected system state was achieved within Libretime. Specifically, the
calendar, library, authentication, and other aspects are populated with
the data that was present in the migrated Airtime database, and
Libretime is able to function using this data.
**How you can replicate my testing:**
Install Libretime 4.2.0. Restore a sample postrgresql database backup
from an Airtime 2.5.1 server. Apply the database migration. Restart the
services. Login and view the library, calender, etc.
### **Links**
Closes : #3121
May also be related to, or even close (as a duplicate): #2563
2024-12-21 10:09:19 +00:00
libretime-bot
cf172d5c7c
chore(legacy): update locales
2024-12-09 02:37:27 +00:00
renovate[bot]
f1c9ebf6f2
chore(deps): update dependency drf-spectacular to >=0.22.1,<0.29 ( #3117 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[drf-spectacular](https://redirect.github.com/tfranzel/drf-spectacular )
| `>=0.22.1,<0.28` -> `>=0.22.1,<0.29` |
[](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>tfranzel/drf-spectacular (drf-spectacular)</summary>
###
[`v0.28.0`](https://redirect.github.com/tfranzel/drf-spectacular/blob/HEAD/CHANGELOG.rst#0280-2024-11-30 )
[Compare
Source](https://redirect.github.com/tfranzel/drf-spectacular/compare/0.27.2...0.28.0 )
- Fix lazy_reverse bug in views (`#​1339
<https://github.com/tfranzel/drf-spectacular/issues/1339 >`\_)
- Extend query params explosion of non-DRF serializer `#​1315
<https://github.com/tfranzel/drf-spectacular/issues/1315 >`\_
- consider pk_field on PrimaryKeyRelatedField when set `#​1335
<https://github.com/tfranzel/drf-spectacular/issues/1335 >`\_
- fix unused OAuth2 scopes override `#​1319
<https://github.com/tfranzel/drf-spectacular/issues/1319 >`\_
- bugfix @​extend_schema_field raw schema already in OAS3.1
- some minors (resolves `#​1147
<https://github.com/tfranzel/drf-spectacular/issues/1147 >`\_)
- fix OAS3.1 validator omission `#​1302
<https://github.com/tfranzel/drf-spectacular/issues/1302 >`\_
- guard against broken **dir** impl `#​1296
<https://github.com/tfranzel/drf-spectacular/issues/1296 >`\_
- Add Django 5.1 as classifier \[jelmert]
- No extra items in the oneOf list \[Vladimir]
- parametrize component registry identity `#​1288
<https://github.com/tfranzel/drf-spectacular/issues/1288 >`\_
- make operation_id action position configurable `#​1264
<https://github.com/tfranzel/drf-spectacular/issues/1264 >`\_
- Fix for incorrect `issubclass()` check. \[Mike Moore]
- Correct the documentation of how to import extension snippets \[Alan
Crosswell]
- Update OpenAPI docs links \[Nils Van Zuijlen]
- mitigate false positive in Django Debug Toolbar `#​1159
<https://github.com/tfranzel/drf-spectacular/issues/1159 >`\_
- Additional testcase \[Marti Raudsepp]
- Fix ChoiceField schema type with empty `choices=[]` \[Marti Raudsepp]
- handle examples with nested properties pagination \[François Rejeté]
- add choice field display method handling `#​1228
<https://github.com/tfranzel/drf-spectacular/issues/1228 >`\_
- Add support for stateless user authentication in SimpleJWT
(`#​1221
<https://github.com/tfranzel/drf-spectacular/issues/1221 >`\_) \[Willem
Meints]
- fix: set pydantic json mode to serialization \[Eric Butler]
- fix: extend_schema_field with dict param and oas 3.1 \[Eric Butler]
Breaking changes / important additions:
- Y-stream release due to the amount of small but important changes.
- Pydantic users might see a slightly different schema due to the change
in serialization method.
</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 these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicHl0aG9uIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-07 12:13:03 +00:00
dakriy
2985d8554a
feat(legacy): trused header sso auth ( #3095 )
...
### Description
Allows LibreTime to support Trusted Header SSO Authentication.
**This is a new feature**:
Yes
**I have updated the documentation to reflect these changes**:
Yes
### Testing Notes
**What I did:**
I spun up an Authelia/Traefik pair and configured them to protect
LibreTime according to Authelia's documentation, I then tested that you
could log in via the trusted headers, and tested that old methods of
authentication were not affected.
**How you can replicate my testing:**
Using the following `docker-compose.yml` file
```yml
services:
postgres:
image: postgres:15
networks:
- internal
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: ${POSTGRES_USER:-libretime}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-libretime} # Change me !
healthcheck:
test: pg_isready -U libretime
rabbitmq:
image: rabbitmq:3.13-alpine
networks:
- internal
environment:
RABBITMQ_DEFAULT_VHOST: ${RABBITMQ_DEFAULT_VHOST:-/libretime}
RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER:-libretime}
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_DEFAULT_PASS:-libretime} # Change me !
healthcheck:
test: nc -z 127.0.0.1 5672
playout:
image: ghcr.io/libretime/libretime-playout:${LIBRETIME_VERSION:-latest}
networks:
- internal
init: true
ulimits:
nofile: 1024
depends_on:
- rabbitmq
volumes:
- ${LIBRETIME_CONFIG_FILEPATH:-./config.yml}:/etc/libretime/config.yml:ro
- libretime_playout:/app
environment:
LIBRETIME_GENERAL_PUBLIC_URL: http://nginx:8080
liquidsoap:
image: ghcr.io/libretime/libretime-playout:${LIBRETIME_VERSION:-latest}
networks:
- internal
command: /usr/local/bin/libretime-liquidsoap
init: true
ulimits:
nofile: 1024
ports:
- 8001:8001
- 8002:8002
depends_on:
- rabbitmq
volumes:
- ${LIBRETIME_CONFIG_FILEPATH:-./config.yml}:/etc/libretime/config.yml:ro
- libretime_playout:/app
environment:
LIBRETIME_GENERAL_PUBLIC_URL: http://nginx:8080
analyzer:
image: ghcr.io/libretime/libretime-analyzer:${LIBRETIME_VERSION:-latest}
networks:
- internal
init: true
ulimits:
nofile: 1024
depends_on:
- rabbitmq
volumes:
- ${LIBRETIME_CONFIG_FILEPATH:-./config.yml}:/etc/libretime/config.yml:ro
- libretime_storage:/srv/libretime
environment:
LIBRETIME_GENERAL_PUBLIC_URL: http://nginx:8080
worker:
image: ghcr.io/libretime/libretime-worker:${LIBRETIME_VERSION:-latest}
networks:
- internal
init: true
ulimits:
nofile: 1024
depends_on:
- rabbitmq
volumes:
- ${LIBRETIME_CONFIG_FILEPATH:-./config.yml}:/etc/libretime/config.yml:ro
environment:
LIBRETIME_GENERAL_PUBLIC_URL: http://nginx:8080
api:
image: ghcr.io/libretime/libretime-api:${LIBRETIME_VERSION:-latest}
networks:
- internal
init: true
ulimits:
nofile: 1024
depends_on:
- postgres
- rabbitmq
volumes:
- ${LIBRETIME_CONFIG_FILEPATH:-./config.yml}:/etc/libretime/config.yml:ro
- libretime_storage:/srv/libretime
legacy:
image: ghcr.io/libretime/libretime-legacy:${LIBRETIME_VERSION:-latest}
networks:
- internal
init: true
ulimits:
nofile: 1024
depends_on:
- postgres
- rabbitmq
volumes:
- ${LIBRETIME_CONFIG_FILEPATH:-./config.yml}:/etc/libretime/config.yml:ro
- libretime_assets:/var/www/html
- libretime_storage:/srv/libretime
nginx:
image: nginx
networks:
- internal
- net
ports:
- 8080:8080
depends_on:
- legacy
volumes:
- libretime_assets:/var/www/html:ro
- libretime_storage:/srv/libretime:ro
- ${NGINX_CONFIG_FILEPATH:-./nginx.conf}:/etc/nginx/conf.d/default.conf:ro
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=libretime_net'
- 'traefik.http.routers.libretime.rule=Host(`libretime.example.com`)'
- 'traefik.http.routers.libretime.entrypoints=https'
- 'traefik.http.routers.libretime.tls=true'
- 'traefik.http.routers.libretime.tls.options=default'
- 'traefik.http.routers.libretime.middlewares=authelia@docker'
- 'traefik.http.services.libretime.loadbalancer.server.port=8080'
icecast:
image: ghcr.io/libretime/icecast:2.4.4
networks:
- internal
ports:
- 8000:8000
environment:
ICECAST_SOURCE_PASSWORD: ${ICECAST_SOURCE_PASSWORD:-hackme} # Change me !
ICECAST_ADMIN_PASSWORD: ${ICECAST_ADMIN_PASSWORD:-hackme} # Change me !
ICECAST_RELAY_PASSWORD: ${ICECAST_RELAY_PASSWORD:-hackme} # Change me !
traefik:
image: traefik:v2.11.12
container_name: traefik
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- net
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.api.rule=Host(`traefik.example.com`)'
- 'traefik.http.routers.api.entrypoints=https'
- 'traefik.http.routers.api.service=api@internal'
- 'traefik.http.routers.api.tls=true'
- 'traefik.http.routers.api.tls.options=default'
- 'traefik.http.routers.api.middlewares=authelia@docker'
ports:
- '80:80'
- '443:443'
command:
- '--api'
- '--providers.docker=true'
- '--providers.docker.exposedByDefault=false'
- '--entrypoints.http=true'
- '--entrypoints.http.address=:80'
- '--entrypoints.http.http.redirections.entrypoint.to=https'
- '--entrypoints.http.http.redirections.entrypoint.scheme=https'
- '--entrypoints.https=true'
- '--entrypoints.https.address=:443'
- '--log=true'
- '--log.level=DEBUG'
authelia:
image: authelia/authelia
container_name: authelia
networks:
- net
volumes:
- ./authelia:/config
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.authelia.rule=Host(`auth.example.com`)'
- 'traefik.http.routers.authelia.entrypoints=https'
- 'traefik.http.routers.authelia.tls=true'
- 'traefik.http.routers.authelia.tls.options=default'
- 'traefik.http.middlewares.authelia.forwardauth.address=http://authelia:9091/api/authz/forward-auth ' # yamllint disable-line rule:line-length
- 'traefik.http.middlewares.authelia.forwardauth.trustForwardHeader=true'
- 'traefik.http.middlewares.authelia.forwardauth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Name,Remote-Email' # yamllint disable-line rule:line-length
- 'traefik.http.services.authelia.loadbalancer.server.port=9091'
restart: unless-stopped
environment:
- TZ=America/Los_Angeles
volumes:
postgres_data: {}
libretime_storage: {}
libretime_assets: {}
libretime_playout: {}
networks:
internal:
net:
```
The following libretime dev config modification:
```yml
general:
public_url: https://libretime.example.com
auth: LibreTime_Auth_Adaptor_Header
header_auth:
group_map:
host: lt-host
program_manager: lt-pm
admin: lt-admin
superadmin: lt-superadmin
```
And the following authelia config file:
```yml
---
###############################################################
# Authelia configuration #
###############################################################
server:
address: 'tcp://:9091'
buffers:
read: 16384
write: 16384
log:
level: 'debug'
totp:
issuer: 'authelia.com'
identity_validation:
reset_password:
jwt_secret: 'a_very_important_secret'
authentication_backend:
file:
path: '/config/users_database.yml'
access_control:
default_policy: 'deny'
rules:
- domain: 'traefik.example.com'
policy: 'one_factor'
- domain: 'libretime.example.com'
policy: 'one_factor'
session:
secret: 'insecure_session_secret'
cookies:
- name: 'authelia_session'
domain: 'example.com' # Should match whatever your root protected domain is
authelia_url: 'https://auth.example.com '
expiration: '1 hour' # 1 hour
inactivity: '5 minutes' # 5 minutes
regulation:
max_retries: 3
find_time: '2 minutes'
ban_time: '5 minutes'
storage:
encryption_key: 'you_must_generate_a_random_string_of_more_than_twenty_chars_and_configure_this'
local:
path: '/config/db.sqlite3'
notifier:
filesystem:
filename: '/config/notification.txt'
...
```
And the following authelia users database:
```yml
---
###############################################################
# Users Database #
###############################################################
# This file can be used if you do not have an LDAP set up.
# List of users
users:
test:
disabled: false
displayname: "First Last"
password: "$argon2id$v=19$m=16,t=2,p=1$SWVVVzcySlRLUEFkWWh2eA$qPs1ZmzmDXR/9WckDzIN9Q"
email: test@example.com
groups:
- admins
- dev
- lt-admin
...
```
add the following entries to your `hosts` file:
```
127.0.0.1 traefik.example.com
127.0.0.1 auth.example.com
127.0.0.1 libretime.example.com
```
Then visit `libretime.example.com` in your browser, and login as the
user `test` with password of `password`. You should then be taken to the
LibreTime homepage, and when you click on login, you should be
automatically logged in.
### **Links**
https://www.authelia.com/integration/trusted-header-sso/introduction/
https://doc.traefik.io/traefik/middlewares/http/forwardauth/
---------
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2024-12-07 10:21:57 +00:00
Weblate (bot)
f709c5026d
chore(legacy): translations update from Hosted Weblate ( #3116 )
...
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: gfbdrgng <hnaofegnp@hldrive.com>
2024-12-07 10:12:20 +00:00
Kyle Robbertze
38a0bf98b2
fix: regenerate API schema
2024-12-07 10:06:24 +00:00
renovate[bot]
3be4bd7da1
chore(deps): update pre-commit hook adamchainz/django-upgrade to v1.22.2 ( #3119 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[adamchainz/django-upgrade](https://redirect.github.com/adamchainz/django-upgrade )
| repository | patch | `1.22.1` -> `1.22.2` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://redirect.github.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>adamchainz/django-upgrade (adamchainz/django-upgrade)</summary>
###
[`v1.22.2`](https://redirect.github.com/adamchainz/django-upgrade/blob/HEAD/CHANGELOG.rst#1222-2024-12-02 )
[Compare
Source](https://redirect.github.com/adamchainz/django-upgrade/compare/1.22.1...1.22.2 )
- Make these fixers work when `django.contrib.gis.db.models` is used to
import objects from `django.db.models`:
- `check_constraint_condition`
- `index_together`
`Issue #​513
<https://github.com/adamchainz/django-upgrade/issues/513 >`\__.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, 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 was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-04 10:22:41 +00:00
renovate[bot]
c0bb7df0ed
chore(deps): lock file maintenance (legacy/composer.json) ( #3118 )
...
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 is behind base branch, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicGhwIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-03 06:39:40 +00:00
renovate[bot]
d09bf04379
chore(deps): lock file maintenance (legacy/composer.json) ( #3115 )
...
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 is behind base branch, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicGhwIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 06:13:26 +00:00
dakriy
02a779b413
feat(analyzer): parse comment fields from mp3 files ( #3082 )
...
### Description
Upload comments from mp3 files into libretime `comments` and
`description` fields.
**This is a new feature**:
Yes
**I have updated the documentation to reflect these changes**:
No none required
### Testing Notes
**What I did:**
I uploaded tracks that contained comments into LibreTime and checked the
database to ensure that the `comments` and `description` fields were
correctly populated. I then went to the UI and confirmed that the
description field had the MP3 comment in it inside of the metadata
editor. I then uploaded some files that did not have comments to make
sure I did not break any existing functionality.
**How you can replicate my testing:**
Follow the steps in what I did
### **Links**
Fixes #526
---------
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2024-11-22 18:28:06 +00:00
Kyle Robbertze
ce257a1f35
fix: regenerate API schema
2024-11-22 18:21:03 +00:00
Weblate (bot)
1939b0aec0
chore(legacy): translations update from Hosted Weblate ( #3112 )
...
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-11-18 20:35:19 +00:00
Thomas Göttgens
2ac7e8a506
feat(api): enable writes to schedule table ( #3109 )
...
this fixes #3088
---------
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2024-11-18 16:10:54 +00:00
renovate[bot]
824f6d2f1b
chore(deps): update codecov/codecov-action action to v5 ( #3111 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[codecov/codecov-action](https://redirect.github.com/codecov/codecov-action )
| action | major | `v4` -> `v5` |
---
### Release Notes
<details>
<summary>codecov/codecov-action (codecov/codecov-action)</summary>
###
[`v5`](https://redirect.github.com/codecov/codecov-action/compare/v4...v5 )
[Compare
Source](https://redirect.github.com/codecov/codecov-action/compare/v4...v5 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, 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 was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiY2kiLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-16 00:29:08 +00:00
Weblate (bot)
013d68e880
chore(legacy): translations update from Hosted Weblate ( #3110 )
...
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-11-14 00:00:22 +00:00
renovate[bot]
83b56f9cd0
chore(deps): update lycheeverse/lychee-action action to v2.1.0 ( #3108 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[lycheeverse/lychee-action](https://redirect.github.com/lycheeverse/lychee-action )
| action | minor | `v2.0.2` -> `v2.1.0` |
---
### Release Notes
<details>
<summary>lycheeverse/lychee-action (lycheeverse/lychee-action)</summary>
###
[`v2.1.0`](https://redirect.github.com/lycheeverse/lychee-action/releases/tag/v2.1.0 ):
Version 2.1.0
[Compare
Source](https://redirect.github.com/lycheeverse/lychee-action/compare/v2.0.2...v2.1.0 )
#### What's Changed
- Add missing argument `failIfEmpty` by
[@​LitoMore](https://redirect.github.com/LitoMore ) in
[https://github.com/lycheeverse/lychee-action/pull/261 ](https://redirect.github.com/lycheeverse/lychee-action/pull/261 )
- Fix bugs about the exit code by
[@​YDX-2147483647](https://redirect.github.com/YDX-2147483647 ) in
[https://github.com/lycheeverse/lychee-action/pull/262 ](https://redirect.github.com/lycheeverse/lychee-action/pull/262 )
- Bump lychee version to 0.17.0 by
[@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/263 ](https://redirect.github.com/lycheeverse/lychee-action/pull/263 )
#### New Contributors
- [@​LitoMore](https://redirect.github.com/LitoMore ) made their
first contribution in
[https://github.com/lycheeverse/lychee-action/pull/261 ](https://redirect.github.com/lycheeverse/lychee-action/pull/261 )
- [@​YDX-2147483647](https://redirect.github.com/YDX-2147483647 )
made their first contribution in
[https://github.com/lycheeverse/lychee-action/pull/262 ](https://redirect.github.com/lycheeverse/lychee-action/pull/262 )
**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v2...v2.1.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, 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 was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS43LjEiLCJ1cGRhdGVkSW5WZXIiOiIzOS43LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImNpIiwiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 18:08:43 +00:00
renovate[bot]
c4e10ed861
chore(deps): lock file maintenance (legacy/composer.json)
2024-10-29 09:42:02 +00:00
libretime-bot
8d80e70580
chore(legacy): update locales
2024-10-28 02:21:53 +00:00
Weblate (bot)
26db439d34
chore(legacy): translations update from Hosted Weblate ( #3105 )
...
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-10-26 17:03:52 +01:00
renovate[bot]
380c6d0944
chore(deps): update pre-commit hook asottile/pyupgrade to v3.19.0
2024-10-23 11:21:05 +00:00
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
libretime-bot
2870857abc
chore(legacy): update locales
2024-10-21 02:20:09 +00:00
Thomas Göttgens
0b221f4fff
fix(legacy): support Postgresql 12 syntax ( #3103 )
...
fixes #3102
2024-10-19 23:20:30 +01:00
renovate[bot]
188cd5d671
chore(deps): update dependency uvicorn to >=0.17.6,<0.33.0 ( #3096 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [uvicorn](https://redirect.github.com/encode/uvicorn )
([changelog](https://redirect.github.com/encode/uvicorn/blob/master/CHANGELOG.md ))
| `>=0.17.6,<0.32.0` -> `>=0.17.6,<0.33.0` |
[](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>encode/uvicorn (uvicorn)</summary>
###
[`v0.32.0`](https://redirect.github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0320-2024-10-15 )
[Compare
Source](https://redirect.github.com/encode/uvicorn/compare/0.31.1...0.32.0 )
##### Added
- Officially support Python 3.13
([#​2482](https://redirect.github.com/encode/uvicorn/issues/2482 ))
- Warn when `max_request_limit` is exceeded
([#​2430](https://redirect.github.com/encode/uvicorn/issues/2430 ))
</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 these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJweXRob24iXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 17:49:25 +01:00
Weblate (bot)
74da2ef0b4
chore(legacy): translations update from Hosted Weblate ( #3099 )
...
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>
2024-10-17 17:49:06 +01:00
renovate[bot]
08b85a44bc
chore(deps): lock file maintenance (legacy/composer.json)
2024-10-17 08:23:20 +00:00
renovate[bot]
2f0422b1ae
chore(deps): update lycheeverse/lychee-action action to v2.0.2
2024-10-16 00:51:33 +00:00
renovate[bot]
9ce88538d3
chore(deps): update pre-commit hook asottile/pyupgrade to v3.18.0
2024-10-15 22:03:30 +00: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
dakriy
5b5c68c628
feat(legacy): implement subset sum solution to show scheduling ( #3019 )
...
### Description
When running a radio station it is generally a good idea to reduce dead
air time. The current algorithm for adding tracks to a block/show can
leave a lot of dead air time at the end as it doesn't use a very good
algorithm. Adding tracks to a show until it is full while making it as
full as possible is a well known problem in computer science. It is the
[Subset Sum Problem](https://en.wikipedia.org/wiki/Subset_sum_problem ).
This PR implements a Randomized Greedy with Local Improvement (RGLI)
approximation solution for the Subset Sum Problem. The new algorithm is
only used when sort type is random and overflow is not enabled and there
is no limit on the number of tracks that can be used.
**This is a new feature**:
Improvement on an existing feature.
**I have not updated the documentation to reflect these changes**:
I did not update the documentation because the current scheduling
algorithm is not currently documented and its existing features have not
changed.
### Testing Notes
**What I did:**
I first attempted a fully polynomial time approximation scheme solution,
however it is really bad at finding good solutions for high density
values and can kinda slow the more tracks/time you have. So I instead
implemented an RGLI which is O(nlogn) and has been giving much better
results.
I implemented the solution in a separate project and tested it and timed
the values with a normal distribution of 500 songs with a mean of 3
minutes and a standard deviation of 1 minute. With a show size of 1 hour
the algorithm took around 10-15 ms to run. When adjusting the block size
and track size the algorithm still was pretty quick to run. Am going to
be testing on an instance with lots of tracks later, will update PR when
I have done that.
**How you can replicate my testing:**
_How can the reviewer validate this PR?_
### **Links**
Closes #3018
2024-10-13 15:31:08 +02:00
dakriy
16deaf08c6
feat(legacy): show filename and size on edit page and add filename datatable column ( #3083 )
...
### Description
Add File Name and Size to the metadata editor screen, and added a File
Name column to the tracks data table.
**This is a new feature**:
Yes
**I have updated the documentation to reflect these changes**:
No, just some simple UI additions so no documentation needed.
### Testing Notes
**What I did:**
I uploaded some tracks, clicked on edit, and saw that the filename and
size showed up at the top. I also went out to the tracks view and added
the File Name column and saw that the filename displayed properly.
**How you can replicate my testing:**
Do what I did
### **Links**
Fixes #3053
2024-10-13 08:45:54 +01:00
renovate[bot]
6d474c2733
chore(deps): update pre-commit hook adamchainz/django-upgrade to v1.22.1
2024-10-12 15:04:49 +00:00
renovate[bot]
2202618150
chore(deps): update lycheeverse/lychee-action action to v2 ( #3091 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[lycheeverse/lychee-action](https://redirect.github.com/lycheeverse/lychee-action )
| action | major | `v1.10.0` -> `v2.0.0` |
---
### Release Notes
<details>
<summary>lycheeverse/lychee-action (lycheeverse/lychee-action)</summary>
###
[`v2.0.0`](https://redirect.github.com/lycheeverse/lychee-action/releases/tag/v2.0.0 ):
Version 2.0.0
[Compare
Source](https://redirect.github.com/lycheeverse/lychee-action/compare/v1.10.0...v2.0.0 )
#### Breaking Changes
**Note:** This release improves the action's robustness by changing
default behaviors. Changes are only required if you want to opt out of
the new failure conditions. Most users won't need to modify their
existing configurations.
##### Fail pipeline on error by default
We've changed the default behavior: pipelines will now fail on broken
links automatically. This addresses user feedback that not failing on
broken links was unexpected (see [issue
#​71](https://redirect.github.com/lycheeverse/lychee-action/issues/71 )).
**What you need to do:**
- Update to version 2 of this action to apply this change.
- Users of the `lychee-action@master` branch don't need to make any
changes, as `fail: true` has been the default there for a while.
- If you prefer the old behavior, explicitly set `fail` to `false` when
updating:
```yaml
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
with:
fail: false # Don't fail action on broken links
```
##### Fail pipeline if no links were found
Similar to the above change, we now fail the pipeline if no links are
found during a run. This helps warn users about potential configuration
issues.
**What you need to do:**
- If you expect links to be found in your pipeline run, you don't need
to do anything.
- If you expect no links in your pipeline run, you can opt out like
this:
```yaml
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
with:
failIfEmpty: false # Don't fail action if no links were found
```
For a more detailed description of the technical aspects behind these
changes, please see the full changelog below.
#### What's Changed
- feat: change to use the full version tag with v-\* prefix by
[@​kemingy](https://redirect.github.com/kemingy ) in
[https://github.com/lycheeverse/lychee-action/pull/204 ](https://redirect.github.com/lycheeverse/lychee-action/pull/204 )
- Add `failIfEmpty` argument (fixes
[#​84](https://redirect.github.com/lycheeverse/lychee-action/issues/84 ))
by [@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/86 ](https://redirect.github.com/lycheeverse/lychee-action/pull/86 )
- Fail pipeline on error by default (fixes
[#​71](https://redirect.github.com/lycheeverse/lychee-action/issues/71 ))
by [@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/85 ](https://redirect.github.com/lycheeverse/lychee-action/pull/85 )
- Exit in case output is set in args and action input by
[@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/227 ](https://redirect.github.com/lycheeverse/lychee-action/pull/227 )
- v1 will automatically use latest version by
[@​jacobdalamb](https://redirect.github.com/jacobdalamb ) in
[https://github.com/lycheeverse/lychee-action/pull/228 ](https://redirect.github.com/lycheeverse/lychee-action/pull/228 )
- Remove unneeded text by
[@​jacobdalamb](https://redirect.github.com/jacobdalamb ) in
[https://github.com/lycheeverse/lychee-action/pull/229 ](https://redirect.github.com/lycheeverse/lychee-action/pull/229 )
- Clarify README.md defaults by
[@​paddyroddy](https://redirect.github.com/paddyroddy ) in
[https://github.com/lycheeverse/lychee-action/pull/230 ](https://redirect.github.com/lycheeverse/lychee-action/pull/230 )
- Adjust for new asset naming scheme by
[@​dscho](https://redirect.github.com/dscho ) in
[https://github.com/lycheeverse/lychee-action/pull/234 ](https://redirect.github.com/lycheeverse/lychee-action/pull/234 )
- Test various lychee versions by
[@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/235 ](https://redirect.github.com/lycheeverse/lychee-action/pull/235 )
- Better cleanup of old lychee assets by
[@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/237 ](https://redirect.github.com/lycheeverse/lychee-action/pull/237 )
- Bump peter-evans/create-issue-from-file from v4 to v5 by
[@​AndreiCherniaev](https://redirect.github.com/AndreiCherniaev )
in
[https://github.com/lycheeverse/lychee-action/pull/241 ](https://redirect.github.com/lycheeverse/lychee-action/pull/241 )
- Remove dots from table by
[@​AndreiCherniaev](https://redirect.github.com/AndreiCherniaev )
in
[https://github.com/lycheeverse/lychee-action/pull/242 ](https://redirect.github.com/lycheeverse/lychee-action/pull/242 )
- README: update actions/cache to v4 by
[@​sebastiaanspeck](https://redirect.github.com/sebastiaanspeck )
in
[https://github.com/lycheeverse/lychee-action/pull/243 ](https://redirect.github.com/lycheeverse/lychee-action/pull/243 )
- Set exit_code correctly as output by
[@​sebastiaanspeck](https://redirect.github.com/sebastiaanspeck )
in
[https://github.com/lycheeverse/lychee-action/pull/245 ](https://redirect.github.com/lycheeverse/lychee-action/pull/245 )
- action: fix failing CI by
[@​sebastiaanspeck](https://redirect.github.com/sebastiaanspeck )
in
[https://github.com/lycheeverse/lychee-action/pull/246 ](https://redirect.github.com/lycheeverse/lychee-action/pull/246 )
- Split up steps in action by
[@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/248 ](https://redirect.github.com/lycheeverse/lychee-action/pull/248 )
- Bump version to 0.16.x, respect new tag names by
[@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/249 ](https://redirect.github.com/lycheeverse/lychee-action/pull/249 )
- Test latest lychee version tag by
[@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/236 ](https://redirect.github.com/lycheeverse/lychee-action/pull/236 )
#### New Contributors
- [@​kemingy](https://redirect.github.com/kemingy ) made their
first contribution in
[https://github.com/lycheeverse/lychee-action/pull/204 ](https://redirect.github.com/lycheeverse/lychee-action/pull/204 )
- [@​paddyroddy](https://redirect.github.com/paddyroddy ) made
their first contribution in
[https://github.com/lycheeverse/lychee-action/pull/230 ](https://redirect.github.com/lycheeverse/lychee-action/pull/230 )
- [@​dscho](https://redirect.github.com/dscho ) made their first
contribution in
[https://github.com/lycheeverse/lychee-action/pull/234 ](https://redirect.github.com/lycheeverse/lychee-action/pull/234 )
- [@​AndreiCherniaev](https://redirect.github.com/AndreiCherniaev )
made their first contribution in
[https://github.com/lycheeverse/lychee-action/pull/241 ](https://redirect.github.com/lycheeverse/lychee-action/pull/241 )
- [@​sebastiaanspeck](https://redirect.github.com/sebastiaanspeck )
made their first contribution in
[https://github.com/lycheeverse/lychee-action/pull/243 ](https://redirect.github.com/lycheeverse/lychee-action/pull/243 )
**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.11.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, 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 was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMTQuMCIsInVwZGF0ZWRJblZlciI6IjM4LjExNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJjaSIsImRlcGVuZGVuY2llcyJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 10:17:10 +01:00
renovate[bot]
ba69de0a2b
chore(deps): update pre-commit hook psf/black-pre-commit-mirror to v24.10.0
2024-10-09 04:05:54 +00:00
dakriy
32cad0faa4
fix(analyzer): make ffmpeg filters less aggressive ( #3086 )
...
### Description
FFMPEG filters for silence detection are too aggressive.
**This is a new feature**:
No
**I have updated the documentation to reflect these changes**:
No
### Testing Notes
**What I did:**
Ran tests and made sure they passed
**How you can replicate my testing:**
Upload files that start out quiet or end quiet and see that the
cue-in/cue-out points don't cut off the track. Or just run tests as
there are files that do that
### **Links**
Closes : #2629
2024-10-07 20:55:18 +01:00
renovate[bot]
2643813fb7
chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v5
2024-10-07 03:56:39 +00:00
renovate[bot]
a37050df9e
chore(deps): update dependency uvicorn to >=0.17.6,<0.32.0 ( #3081 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [uvicorn](https://redirect.github.com/encode/uvicorn )
([changelog](https://redirect.github.com/encode/uvicorn/blob/master/CHANGELOG.md ))
| `>=0.17.6,<0.31.0` -> `>=0.17.6,<0.32.0` |
[](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>encode/uvicorn (uvicorn)</summary>
###
[`v0.31.0`](https://redirect.github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0310-2024-09-27 )
[Compare
Source](https://redirect.github.com/encode/uvicorn/compare/0.30.6...0.31.0 )
##### Added
Improve `ProxyHeadersMiddleware`
([#​2468](https://redirect.github.com/encode/uvicorn/issues/2468 ))
and
([#​2231](https://redirect.github.com/encode/uvicorn/issues/2231 )):
- Fix the host for requests from clients running on the proxy server
itself.
- Fallback to host that was already set for empty x-forwarded-for
headers.
- Also allow to specify IP Networks as trusted hosts. This greatly
simplifies deployments
on docker swarm/kubernetes, where the reverse proxy might have a dynamic
IP.
- This includes support for IPv6 Address/Networks.
</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 these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicHl0aG9uIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 16:32:04 +01:00
Kyle Robbertze
bac903f4e5
chore: update django-stubs version ( #3085 )
...
Upstream has fixed the issue.
Closes : #3064
2024-09-30 16:15:28 +01:00
Kyle Robbertze
81e8fa90ed
chore: fix linting ignore comments ( #3084 )
...
### Description
There is now a too-many-positional-arguments check
2024-09-30 16:08:23 +01:00
renovate[bot]
004b784d09
chore(deps): lock file maintenance (legacy/composer.json)
2024-09-17 09:26:00 +00:00
Weblate (bot)
1ae9a7b368
chore(legacy): translations update from Hosted Weblate ( #3077 )
...
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-09-11 21:37:19 +01:00
Weblate (bot)
905008d72c
chore(legacy): translations update from Hosted Weblate ( #3076 )
...
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-09-10 21:40:35 +01:00
libretime-bot
3b768644b2
chore(legacy): update locales
2024-09-09 02:14:15 +00:00
renovate[bot]
43f286c53d
chore(deps): update dependency friendsofphp/php-cs-fixer to <3.64.1 ( #3058 )
2024-09-07 21:14:32 +02:00
Jonas L.
a3865aa6ee
fix: add missing file for nb_NO locale ( #3075 )
...
### Description
Related to #3073
2024-09-07 21:13:52 +02:00
renovate[bot]
4d737319d8
chore(deps): update pre-commit hook adamchainz/django-upgrade to v1.21.0
2024-09-07 18:41:07 +00:00
Jonas L.
e614fbcf6c
feat: add Norwegian Bokmål locale ( #3073 )
...
### Description
Locale was requested on Weblate.
2024-09-06 14:43:40 +01:00
renovate[bot]
d929871060
chore(deps): lock file maintenance (legacy/composer.json)
2024-09-03 10:37:34 +00:00
cdr78621
e344154d42
docs: update SoundExchange costs ( #3070 )
...
updated the minimum SoundExchange royalties for
non-profits/non-commercial
### Description
_Short summary of what is the issue and the solution._
**This is a new feature**:
_Do the changes in this PR implement a new feature?_
**I have updated the documentation to reflect these changes**:
_Are there documentation changes required as a result of these changes?
See
https://github.com/libretime/libretime/wiki/Documentation-Requirements_
### Testing Notes
**What I did:**
_What did you do to validate this PR?_
**How you can replicate my testing:**
_How can the reviewer validate this PR?_
### **Links**
_Issues links or other related resources. Use the line Closes:
#bug_number to
link a bug in the issue tracker._
2024-08-29 08:57:12 +01:00
dakriy
8c26505622
feat(legacy): order by filename when lptime is null ( #3069 )
...
### Description
It is good to have a deterministic order when doing explicit file
sorting. This sorts by filename when last played time is null. I would
expect filename to be the next sort after last played time in case of a
tie, and was surprised to find it was not explicit. It should not break
any existing use cases.
**This is a new feature**:
Kind of?
**I have updated the documentation to reflect these changes**:
I did not update any documentation as this way seems like the logical
expected way to do the sort.
### Testing Notes
**What I did:**
I loaded up some tracks into a local libretime instance, let some of
them play, and tested that all the old sorts worked as before as well as
tracks getting sorted by filepath in case of a last played time
2024-08-24 07:47:25 +01:00
dakriy
c883d0f2d5
fix(legacy): fix filename criteria searching ( #3068 )
...
### Description
The filename criteria searched the full file path and as such does not
work as expected.
**This is a new feature**:
No
**I have updated the documentation to reflect these changes**:
No docs changes are required as this is fixing a bug to make things work
as expected and documented.
### Testing Notes
**What I did:**
I uploaded some files, and tested that the file name criteria worked as
expected.
**How you can replicate my testing:**
Spin up the stack, upload some files and make sure the filename criteria
works as expected.
2024-08-20 22:39:53 +01:00
renovate[bot]
f5355d6b61
chore(deps): lock file maintenance (legacy/composer.json) ( #3067 )
...
[](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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job
log](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicGhwIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-13 12:39:37 +01:00
renovate[bot]
fdad983b48
chore(deps): update dependency gunicorn to v23 ( #3066 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [gunicorn](https://togithub.com/benoitc/gunicorn )
([changelog](https://docs.gunicorn.org/en/stable/news.html )) |
`>=22.0.0,<22.1` -> `>=22.0.0,<23.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>benoitc/gunicorn (gunicorn)</summary>
###
[`v23.0.0`](https://togithub.com/benoitc/gunicorn/releases/tag/23.0.0 )
[Compare
Source](https://togithub.com/benoitc/gunicorn/compare/22.0.0...23.0.0 )
Gunicorn 23.0.0 has been released. This version fix the numerous
security vulnerabilities. You're invited to upgrade asap your own
installation.
# 23.0.0 - 2024-08-10
- minor docs fixes (:pr:`3217`, :pr:`3089`, :pr:`3167`)
- worker_class parameter accepts a class (:pr:`3079`)
- fix deadlock if request terminated during chunked parsing (:pr:`2688`)
- permit receiving Transfer-Encodings: compress, deflate, gzip
(:pr:`3261`)
- permit Transfer-Encoding headers specifying multiple encodings. note:
no parameters, still (:pr:`3261`)
- sdist generation now explicitly excludes sphinx build folder
(:pr:`3257`)
- decode bytes-typed status (as can be passed by gevent) as utf-8
instead of raising `TypeError` (:pr:`2336`)
- raise correct Exception when encounting invalid chunked requests
(:pr:`3258`)
- the SCRIPT_NAME and PATH_INFO headers, when received from allowed
forwarders, are no longer restricted for containing an underscore
(:pr:`3192`)
- include IPv6 loopback address `[::1]` in default for
:ref:`forwarded-allow-ips` and :ref:`proxy-allow-ips` (:pr:`3192`)
\*\* NOTE \*\*
- The SCRIPT_NAME change mitigates a regression that appeared first in
the 22.0.0 release
- Review your :ref:`forwarded-allow-ips` setting if you are still not
seeing the SCRIPT_NAME transmitted
- Review your :ref:`forwarder-headers` setting if you are missing
headers after upgrading from a version prior to 22.0.0
\*\* Breaking changes \*\*
- refuse requests where the uri field is empty (:pr:`3255`)
- refuse requests with invalid CR/LR/NUL in heade field values
(:pr:`3253`)
- remove temporary `--tolerate-dangerous-framing` switch from 22.0
(:pr:`3260`)
- If any of the breaking changes affect you, be aware that now refused
requests can post a security problem, especially so in setups involving
request pipe-lining and/or proxies.
</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 these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job
log](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicHl0aG9uIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 09:11:02 +01:00
renovate[bot]
4b5ab6a2ad
chore(deps): update pre-commit hook psf/black-pre-commit-mirror to v24.8.0 ( #3065 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[psf/black-pre-commit-mirror](https://togithub.com/psf/black-pre-commit-mirror )
| repository | minor | `24.4.2` -> `24.8.0` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>psf/black-pre-commit-mirror
(psf/black-pre-commit-mirror)</summary>
###
[`v24.8.0`](https://togithub.com/psf/black-pre-commit-mirror/compare/24.4.2...24.8.0 )
[Compare
Source](https://togithub.com/psf/black-pre-commit-mirror/compare/24.4.2...24.8.0 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job
log](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 16:29:11 +01:00
renovate[bot]
72692c4b77
chore(deps): update dependency django-filter to >=2.4.0,<24.4 ( #3060 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [django-filter](https://togithub.com/carltongibson/django-filter )
([changelog](https://togithub.com/carltongibson/django-filter/blob/main/CHANGES.rst ))
| `>=2.4.0,<24.3` -> `>=2.4.0,<24.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>carltongibson/django-filter (django-filter)</summary>
###
[`v24.3`](https://togithub.com/carltongibson/django-filter/blob/HEAD/CHANGES.rst#Version-243-2024-08-02 )
[Compare
Source](https://togithub.com/carltongibson/django-filter/compare/24.2...24.3 )
- Adds official support for Django 5.1.
- Allow using dictionaries for grouped choices on Django 5.0+.
Thanks to Sævar Öfjörð Magnússon.
- Adds `unknown_field_behavior` FilterSet option to allowing warning and
ignore behaviours for unknown field types during FilterSet generation.
Thanks to Loes.
</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 these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job
log](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJweXRob24iXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-04 12:43:07 +09:00
Kyle Robbertze
1f9a504996
ci: downgrade django-stubs to not install v5.x ( #3062 )
...
### Description
This is until upstream fixes
https://github.com/typeddjango/django-stubs/issues/2304
2024-08-04 12:00:56 +09:00
Kyle Robbertze
65d435d9e7
ci: fix broken link check ( #3061 )
...
### Description
Ubuntu no longer maintains the package list for bionic. Linked to from
old release notes
2024-08-04 11:47:37 +09:00
renovate[bot]
8136160125
chore(deps): update pre-commit hook asottile/pyupgrade to v3.17.0 ( #3059 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [asottile/pyupgrade](https://togithub.com/asottile/pyupgrade ) |
repository | minor | `v3.16.0` -> `v3.17.0` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>asottile/pyupgrade (asottile/pyupgrade)</summary>
###
[`v3.17.0`](https://togithub.com/asottile/pyupgrade/compare/v3.16.0...v3.17.0 )
[Compare
Source](https://togithub.com/asottile/pyupgrade/compare/v3.16.0...v3.17.0 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job
log](https://developer.mend.io/github/libretime/libretime ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 10:20:07 +09:00
renovate[bot]
9ee1783afd
chore(deps): update pre-commit hook adamchainz/django-upgrade to v1.20.0 ( #3057 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[adamchainz/django-upgrade](https://togithub.com/adamchainz/django-upgrade )
| repository | minor | `1.19.0` -> `1.20.0` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>adamchainz/django-upgrade (adamchainz/django-upgrade)</summary>
###
[`v1.20.0`](https://togithub.com/adamchainz/django-upgrade/blob/HEAD/CHANGELOG.rst#1200-2024-07-19 )
[Compare
Source](https://togithub.com/adamchainz/django-upgrade/compare/1.19.0...1.20.0 )
- Fix the `admin_register` fixer to avoid rewriting when there are
duplicate `ModelAdmin` classes in the file.
`Issue #​471
<https://github.com/adamchainz/django-upgrade/issues/471 >`\__.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-20 17:48:56 +01:00
Weblate (bot)
482f2215a0
chore(legacy): translations update from Hosted Weblate ( #3055 )
...
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-07-08 21:20:21 +01:00
Harry W
70735d4431
docs: use new docker compose command ( #3054 )
...
Improve the Docker install documentation, along with the `docker
compose` commands.
2024-07-06 10:48:30 +01:00
renovate[bot]
e0b1eba1bb
chore(deps): update amannn/action-semantic-pull-request action to v5.5.3
2024-06-30 21:04:32 +00:00
Thomas Göttgens
e095cb2a5f
fix: docker warnings "keywords casing do not match" ( #3048 )
...
### Description
docker wants the 'AS' in uppercase if the 'FROM' is also in uppercase
### Testing Notes
These warnings are eliminated with this patch
``` => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 5) 0.1s
=> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 21) 0.1s
=> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 51) 0.1s
=> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 62)
[...]
```
2024-06-29 20:26:44 +01:00
Weblate (bot)
dad3d74188
chore(legacy): translations update from Hosted Weblate ( #3046 )
...
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-06-28 19:23:03 +01:00
renovate[bot]
d97c4d427a
chore(deps): update pre-commit hook adamchainz/django-upgrade to v1.19.0 ( #3047 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[adamchainz/django-upgrade](https://togithub.com/adamchainz/django-upgrade )
| repository | minor | `1.18.0` -> `1.19.0` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>adamchainz/django-upgrade (adamchainz/django-upgrade)</summary>
###
[`v1.19.0`](https://togithub.com/adamchainz/django-upgrade/blob/HEAD/CHANGELOG.rst#1190-2024-06-27 )
[Compare
Source](https://togithub.com/adamchainz/django-upgrade/compare/1.18.0...1.19.0 )
- Add Django 4.2+ fixer to rewrite `index_together` declarations into
`indexes` declarations in model `Meta` classes.
This fixer can make changes that require migrations.
Add a `test for pending migrations
<https://adamj.eu/tech/2024/06/23/django-test-pending-migrations/ >`\__
to ensure that you do not miss these.
`PR #​464
<https://github.com/adamchainz/django-upgrade/pull/464 >`\__.
- Fix tracking of AST node parents.
This may have fixed some subtle bugs in these fixers:
- `admin_register`
- `assert_form_error`
- `default_app_config`
- `management_commands`
- `request_headers`
- `settings_database_postgresql`
- `settings_storages`
- `testcase_databases`
- `use_l10n`
- `utils_timezone`
If you see any new changes, or had them previously disabled, please
report an issue so we can extra tests to the test suite.
`PR #​465
<https://github.com/adamchainz/django-upgrade/pull/465 >`\__.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-28 13:59:31 +01:00
renovate[bot]
609b4e7a03
chore(deps): lock file maintenance (legacy/composer.json)
2024-06-25 09:45:08 +00:00
libretime-bot
e5aceef71a
chore(legacy): update locales
2024-06-24 02:01:54 +00:00
Jonas L
63572fdab9
docs: add missing v4.2.0 release note ( #3044 )
...
Forgot to prepare the release note for v4.2.0.
2024-06-22 22:58:15 +02:00
libretime-bot
60db15e8e5
chore(main): release 4.2.0 ( #3028 )
...
🤖 I have created a release *beep* *boop*
---
## [4.2.0](https://github.com/libretime/libretime/compare/4.1.0...4.2.0 )
(2024-06-22)
### Features
* **legacy:** add current date macro to string block criteria
([#3013 ](https://github.com/libretime/libretime/issues/3013 ))
([451652b
](451652bc40
))
* **legacy:** add filename block criteria
([#3015 ](https://github.com/libretime/libretime/issues/3015 ))
([4642b6c
](4642b6c08e
))
### Bug Fixes
* pin pip version to <24.1 to allow installing pytz (celery)
([#3043 ](https://github.com/libretime/libretime/issues/3043 ))
([646bc81
](646bc81724
))
* playlist allocates inaccurate time to smartblocks
([#3026 ](https://github.com/libretime/libretime/issues/3026 ))
([2b43e51
](2b43e51ed1
))
### Performance Improvements
* optimize the api image health check
([#3038 ](https://github.com/libretime/libretime/issues/3038 ))
([d99d6e1
](d99d6e1a68
))
* optimize the rabbitmq health check
([#3037 ](https://github.com/libretime/libretime/issues/3037 ))
([9684214
](9684214425
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
2024-06-22 18:16:49 +02:00
Cristian Oneț
9684214425
perf: optimize the rabbitmq health check ( #3037 )
...
### Description
Running `rabbitmq-diagnostics` every 30s is a resource intensive
operation wasting cpu cycles.
2024-06-22 18:10:55 +02:00
renovate[bot]
97b2f0e257
chore(deps): update dependency requests to >=2.32.2,<2.33 [security] ( #3032 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [requests](https://requests.readthedocs.io )
([source](https://togithub.com/psf/requests ),
[changelog](https://togithub.com/psf/requests/blob/master/HISTORY.md )) |
`>=2.31.0,<2.32` -> `>=2.32.2,<2.33` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
### GitHub Vulnerability Alerts
####
[CVE-2024-35195](https://togithub.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56 )
When making requests through a Requests `Session`, if the first request
is made with `verify=False` to disable cert verification, all subsequent
requests to the same origin will continue to ignore cert verification
regardless of changes to the value of `verify`. This behavior will
continue for the lifecycle of the connection in the connection pool.
### Remediation
Any of these options can be used to remediate the current issue, we
highly recommend upgrading as the preferred mitigation.
* Upgrade to `requests>=2.32.0`.
* For `requests<2.32.0`, avoid setting `verify=False` for the first
request to a host while using a Requests Session.
* For `requests<2.32.0`, call `close()` on `Session` objects to clear
existing connections if `verify=False` is used.
### Related Links
*
[https://github.com/psf/requests/pull/6655 ](https://togithub.com/psf/requests/pull/6655 )
---
### Release Notes
<details>
<summary>psf/requests (requests)</summary>
###
[`v2.32.2`](https://togithub.com/psf/requests/blob/HEAD/HISTORY.md#2322-2024-05-21 )
[Compare
Source](https://togithub.com/psf/requests/compare/v2.32.1...v2.32.2 )
**Deprecations**
- To provide a more stable migration for custom HTTPAdapters impacted
by the CVE changes in 2.32.0, we've renamed `_get_connection` to
a new public API, `get_connection_with_tls_context`. Existing custom
HTTPAdapters will need to migrate their code to use this new API.
`get_connection` is considered deprecated in all versions of
Requests>=2.32.0.
A minimal (2-line) example has been provided in the linked PR to ease
migration, but we strongly urge users to evaluate if their custom
adapter
is subject to the same issue described in CVE-2024-35195.
([#​6710](https://togithub.com/psf/requests/issues/6710 ))
###
[`v2.32.1`](https://togithub.com/psf/requests/blob/HEAD/HISTORY.md#2321-2024-05-20 )
[Compare
Source](https://togithub.com/psf/requests/compare/v2.32.0...v2.32.1 )
**Bugfixes**
- Add missing test certs to the sdist distributed on PyPI.
###
[`v2.32.0`](https://togithub.com/psf/requests/blob/HEAD/HISTORY.md#2320-2024-05-20 )
[Compare
Source](https://togithub.com/psf/requests/compare/v2.31.0...v2.32.0 )
**Security**
- Fixed an issue where setting `verify=False` on the first request from
a
Session will cause subsequent requests to the *same origin* to also
ignore
cert verification, regardless of the value of `verify`.
(https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56 )
**Improvements**
- `verify=True` now reuses a global SSLContext which should improve
request time variance between first and subsequent requests. It should
also minimize certificate load time on Windows systems when using a
Python
version built with OpenSSL 3.x.
([#​6667](https://togithub.com/psf/requests/issues/6667 ))
- Requests now supports optional use of character detection
(`chardet` or `charset_normalizer`) when repackaged or vendored.
This enables `pip` and other projects to minimize their vendoring
surface area. The `Response.text()` and `apparent_encoding` APIs
will default to `utf-8` if neither library is present.
([#​6702](https://togithub.com/psf/requests/issues/6702 ))
**Bugfixes**
- Fixed bug in length detection where emoji length was incorrectly
calculated in the request content-length.
([#​6589](https://togithub.com/psf/requests/issues/6589 ))
- Fixed deserialization bug in JSONDecodeError.
([#​6629](https://togithub.com/psf/requests/issues/6629 ))
- Fixed bug where an extra leading `/` (path separator) could lead
urllib3 to unnecessarily reparse the request URI.
([#​6644](https://togithub.com/psf/requests/issues/6644 ))
**Deprecations**
- Requests has officially added support for CPython 3.12
([#​6503](https://togithub.com/psf/requests/issues/6503 ))
- Requests has officially added support for PyPy 3.9 and 3.10
([#​6641](https://togithub.com/psf/requests/issues/6641 ))
- Requests has officially dropped support for CPython 3.7
([#​6642](https://togithub.com/psf/requests/issues/6642 ))
- Requests has officially dropped support for PyPy 3.7 and 3.8
([#​6641](https://togithub.com/psf/requests/issues/6641 ))
**Documentation**
- Various typo fixes and doc improvements.
**Packaging**
- Requests has started adopting some modern packaging practices.
The source files for the projects (formerly `requests`) is now located
in `src/requests` in the Requests sdist.
([#​6506](https://togithub.com/psf/requests/issues/6506 ))
- Starting in Requests 2.33.0, Requests will migrate to a PEP 517 build
system
using `hatchling`. This should not impact the average user, but
extremely old
versions of packaging utilities may have issues with the new packaging
format.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" (UTC), 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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJweXRob24iXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-22 17:47:09 +02:00
Jonas L
646bc81724
fix: pin pip version to <24.1 to allow installing pytz (celery) ( #3043 )
...
Related to https://github.com/libretime/libretime/issues/2983
2024-06-22 17:35:30 +02:00
Jonas L
4e0953d513
refactor: remove non existent asset file ( #3042 )
...
The file is non existent.
Added in c669d3cb47
Removed in ea2a6b3f68
2024-06-22 17:18:16 +02:00
Jonas L
c96f78df9f
fix: pin pip version to <21.4 to allow installing pytz (celery) ( #3041 )
...
Related to https://github.com/libretime/libretime/issues/2983
2024-06-22 16:33:23 +02:00
Jonas L
6958070eec
test: ensure the context cleanup is executed ( #3040 )
...
See
https://pylint.readthedocs.io/en/latest/user_guide/messages/warning/contextmanager-generator-missing-cleanup.html
2024-06-22 13:31:13 +02:00
Cristian Oneț
d99d6e1a68
perf: optimize the api image health check ( #3038 )
...
### Description
Having curl installed in the API container improves operations and the
efficiency of the health check. Launching python to do a single http
call is an overkill.
Co-authored-by: Jonas L <jooola@users.noreply.github.com>
2024-06-22 13:18:50 +02:00
dakriy
4642b6c08e
feat(legacy): add filename block criteria ( #3015 )
...
### Description
Adds filename block criteria because sometimes you just need the
filename and the ID3 tags won't do.
Closes #3014
2024-06-22 11:51:59 +02:00
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
renovate[bot]
f12392e276
chore(deps): update dependency django-cors-headers to >=3.14.0,<4.5 ( #3036 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[django-cors-headers](https://togithub.com/adamchainz/django-cors-headers )
([changelog](https://togithub.com/adamchainz/django-cors-headers/blob/main/CHANGELOG.rst ))
| `>=3.14.0,<4.4` -> `>=3.14.0,<4.5` |
[](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>adamchainz/django-cors-headers (django-cors-headers)</summary>
###
[`v4.4.0`](https://togithub.com/adamchainz/django-cors-headers/blob/HEAD/CHANGELOG.rst#440-2024-06-19 )
[Compare
Source](https://togithub.com/adamchainz/django-cors-headers/compare/4.3.1...4.4.0 )
- Support Django 5.1.
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJweXRob24iXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-22 11:45:37 +02:00
Jonas L
e5a8baafa8
chore: fix broken link check ( #3039 )
...
Only show organizations avatars.
2024-06-22 11:44:35 +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]
13a8e38beb
chore(deps): update docker/build-push-action action to v6
2024-06-19 14:52:05 +00:00
renovate[bot]
02cd85a845
chore(deps): update docker/bake-action action to v5
2024-06-19 14:51:31 +00: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]
f09bae6856
chore(deps): update pre-commit hook asottile/pyupgrade to v3.16.0
2024-06-10 01:03:36 +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
renovate[bot]
23c7411996
chore(deps): update dependency uvicorn to >=0.17.6,<0.31.0 ( #3022 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [uvicorn](https://togithub.com/encode/uvicorn )
([changelog](https://togithub.com/encode/uvicorn/blob/master/CHANGELOG.md ))
| `>=0.17.6,<0.30.0` -> `>=0.17.6,<0.31.0` |
[](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>encode/uvicorn (uvicorn)</summary>
###
[`v0.30.0`](https://togithub.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0300-2024-05-28 )
[Compare
Source](https://togithub.com/encode/uvicorn/compare/0.29.0...0.30.0 )
##### Added
- New multiprocess manager
([#​2183](https://togithub.com/encode/uvicorn/issues/2183 ))
- Allow `ConfigParser` or a `io.IO[Any]` on `log_config`
([#​1976](https://togithub.com/encode/uvicorn/issues/1976 ))
##### Fixed
- Suppress side-effects of signal propagation
([#​2317](https://togithub.com/encode/uvicorn/issues/2317 ))
- Send `content-length` header on 5xx
([#​2304](https://togithub.com/encode/uvicorn/issues/2304 ))
##### Deprecated
- Deprecate the `uvicorn.workers` module
([#​2302](https://togithub.com/encode/uvicorn/issues/2302 ))
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJweXRob24iXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-07 21:52:36 +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
Kyle Robbertze
6432efd791
docs: fix typo ( #3027 )
...
Minor typo that was being picked up by pre-commit
2024-06-05 16:54:12 +01:00
renovate[bot]
c3e30f1857
chore(deps): update pre-commit hook codespell-project/codespell to v2.3.0
2024-05-30 01:58:26 +00:00
renovate[bot]
9974b4631d
chore(deps): update pre-commit hook adamchainz/django-upgrade to v1.18.0
2024-05-30 01:57:22 +00:00
renovate[bot]
5d2ad43039
chore(deps): lock file maintenance (legacy/composer.json)
2024-05-14 11:11:50 +00:00
renovate[bot]
848612ae6f
chore(deps): update pre-commit hook adamchainz/django-upgrade to v1.17.0
2024-05-12 16:43:03 +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
libretime-bot
1a985a4b37
chore(main): release 4.1.0 ( #2893 )
...
🤖 I have created a release *beep* *boop*
---
## [4.1.0](https://github.com/libretime/libretime/compare/4.0.0...4.1.0 )
(2024-05-05)
### Features
* **api:** implement file deletion
([#2960 ](https://github.com/libretime/libretime/issues/2960 ))
([9757b1b
](9757b1b78c
))
* build schedule events exclusively in playout
([#2946 ](https://github.com/libretime/libretime/issues/2946 ))
([40b4fc7
](40b4fc7f66
))
* **legacy:** add aac/opus support to dashboard player
([#2881 ](https://github.com/libretime/libretime/issues/2881 ))
([95283ef
](95283efc1f
))
* **legacy:** disable public radio page and redirect to login
([#2903 ](https://github.com/libretime/libretime/issues/2903 ))
([170d095
](170d09545e
))
* **legacy:** trim overbooked shows after autoloading a playlist
([#2897 ](https://github.com/libretime/libretime/issues/2897 ))
([a95ce3d
](a95ce3d229
))
* **legacy:** visual cue point editor
([#2947 ](https://github.com/libretime/libretime/issues/2947 ))
([da02e74
](da02e74f21
))
* start celery worker programmatically
([#2988 ](https://github.com/libretime/libretime/issues/2988 ))
([9c548b3
](9c548b365e
))
### Bug Fixes
* **analyzer:** backslash non utf-8 data when probing replaygain
([#2931 ](https://github.com/libretime/libretime/issues/2931 ))
([29f73e0
](29f73e0dcb
)),
closes [#2910 ](https://github.com/libretime/libretime/issues/2910 )
* apply replay gain preferences on scheduled files
([#2945 ](https://github.com/libretime/libretime/issues/2945 ))
([35d0dec
](35d0dec4a8
))
* **deps:** update dependency friendsofphp/php-cs-fixer to <3.49.1
([#2899 ](https://github.com/libretime/libretime/issues/2899 ))
([3e05748
](3e05748d2d
))
* **deps:** update dependency friendsofphp/php-cs-fixer to <3.51.1
([#2963 ](https://github.com/libretime/libretime/issues/2963 ))
([22c303c
](22c303cfff
))
* **deps:** update dependency friendsofphp/php-cs-fixer to <3.53.1
([#2972 ](https://github.com/libretime/libretime/issues/2972 ))
([9192aaa
](9192aaa2bb
))
* **deps:** update dependency gunicorn to v22 (security)
([#2993 ](https://github.com/libretime/libretime/issues/2993 ))
([a2cf769
](a2cf7697a9
))
* incorrect docker compose version
([#2975 ](https://github.com/libretime/libretime/issues/2975 ))
([634e6e2
](634e6e236d
))
* **installer:** setup the worker entrypoint
([#2996 ](https://github.com/libretime/libretime/issues/2996 ))
([71b20ae
](71b20ae3c9
))
* **legacy:** allow deleting file with api token
([#2995 ](https://github.com/libretime/libretime/issues/2995 ))
([86da46e
](86da46ee3a
))
* **legacy:** allow updating track types code
([#2955 ](https://github.com/libretime/libretime/issues/2955 ))
([270aa08
](270aa08ae6
))
* **legacy:** avoid crash when lot of streams in configuration
([#2915 ](https://github.com/libretime/libretime/issues/2915 ))
([12dd477
](12dd477312
))
* **legacy:** ensure validation is performed on the track type form
([#2985 ](https://github.com/libretime/libretime/issues/2985 ))
([5ad69bf
](5ad69bf0b7
))
* **legacy:** fix hidden fields in edit file form
([#2932 ](https://github.com/libretime/libretime/issues/2932 ))
([f4b260f
](f4b260fdf7
))
* **legacy:** replay_gain_modifier should be a system preference
([#2943 ](https://github.com/libretime/libretime/issues/2943 ))
([37d1a76
](37d1a7685e
))
* remove obsolete docker compose version
([#2982 ](https://github.com/libretime/libretime/issues/2982 ))
([fb0584b
](fb0584b021
))
* trigger legacy tasks manager every 5m
([#2987 ](https://github.com/libretime/libretime/issues/2987 ))
([7040d0e
](7040d0e4bd
))
* **worker:** ensure celery beat is started
([#3007 ](https://github.com/libretime/libretime/issues/3007 ))
([bfde17e
](bfde17edf7
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
---------
Co-authored-by: jo <ljonas@riseup.net>
2024-05-05 23:45:39 +02:00
Jonas L
bfde17edf7
fix(worker): ensure celery beat is started ( #3007 )
...
The celery seem to ignore the first flag when `worker` is not part of
the `argv`.
2024-05-05 23:32:29 +02:00
Thomas Göttgens
9757b1b78c
feat(api): implement file deletion ( #2960 )
...
This implements the file delete to the Django API. Previously, the code was only manipulating the database while leaving the file in place.
Co-authored-by: jo <ljonas@riseup.net>
2024-05-05 22:44:30 +02: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
renovate[bot]
201e85e537
chore(deps): update dependency django-stubs to v5 ( #3006 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [django-stubs](https://togithub.com/typeddjango/django-stubs )
([changelog](https://togithub.com/typeddjango/django-stubs/releases )) |
`>=1.14.0,<5` -> `>=1.14.0,<6` |
[](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>typeddjango/django-stubs (django-stubs)</summary>
###
[`v5.0.0`](https://togithub.com/typeddjango/django-stubs/releases/tag/5.0.0 )
[Compare
Source](https://togithub.com/typeddjango/django-stubs/compare/4.2.7...5.0.0 )
#### Announcements
- `QuerySet` class no longer derives from `Collection`. If you run into
errors like `incompatible type "_QuerySet[User, User]"; expected
"Collection[User]"`, [please read this
announcement](https://togithub.com/typeddjango/django-stubs/discussions/2095 ).
#### Headline changes
- Remove incorrect `Collection` base class and `__contains__` method
from `QuerySet` by [@​fidoriel](https://togithub.com/fidoriel ) in
[https://github.com/typeddjango/django-stubs/pull/1925 ](https://togithub.com/typeddjango/django-stubs/pull/1925 )
- Pyright joins the workflow in an advisory capacity by
[@​jorenham](https://togithub.com/jorenham ) in
[https://github.com/typeddjango/django-stubs/pull/2019 ](https://togithub.com/typeddjango/django-stubs/pull/2019 )
- feat: Allow setting django_settings_module from env by
[@​armanckeser](https://togithub.com/armanckeser ) in
[https://github.com/typeddjango/django-stubs/pull/2021 ](https://togithub.com/typeddjango/django-stubs/pull/2021 )
- Add `ManyRelatedManager.through` attribute and generic type parameter
by [@​flaeppe](https://togithub.com/flaeppe ) in
[https://github.com/typeddjango/django-stubs/pull/2026 ](https://togithub.com/typeddjango/django-stubs/pull/2026 )
#### What's Changed
- Make `StrPromise` not inherit from `Sequence[str]` by
[@​intgr](https://togithub.com/intgr ) in
[https://github.com/typeddjango/django-stubs/pull/1841 ](https://togithub.com/typeddjango/django-stubs/pull/1841 )
- Update and prepare for Django 5.0 by
[@​intgr](https://togithub.com/intgr ) in
[https://github.com/typeddjango/django-stubs/pull/1859 ](https://togithub.com/typeddjango/django-stubs/pull/1859 )
- Ensure mypy plugin processes inherited many to many fields by
[@​flaeppe](https://togithub.com/flaeppe ) in
[https://github.com/typeddjango/django-stubs/pull/1864 ](https://togithub.com/typeddjango/django-stubs/pull/1864 )
- Include ModelBase subclasses in plugin base class hook condition by
[@​flaeppe](https://togithub.com/flaeppe ) in
[https://github.com/typeddjango/django-stubs/pull/1863 ](https://togithub.com/typeddjango/django-stubs/pull/1863 )
- \[5.0] Added many new a-prefixed asynchronous methods by
[@​bigfootjon](https://togithub.com/bigfootjon ) in
[https://github.com/typeddjango/django-stubs/pull/1741 ](https://togithub.com/typeddjango/django-stubs/pull/1741 )
- Remove section regarding custom queryset methods from README by
[@​flaeppe](https://togithub.com/flaeppe ) in
[https://github.com/typeddjango/django-stubs/pull/1865 ](https://togithub.com/typeddjango/django-stubs/pull/1865 )
- Fix type of `AppConfig.models_module` by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1866 ](https://togithub.com/typeddjango/django-stubs/pull/1866 )
- Allow `None` in settings `MIGRATION_MODULES` dict values by
[@​asottile](https://togithub.com/asottile ) in
[https://github.com/typeddjango/django-stubs/pull/1871 ](https://togithub.com/typeddjango/django-stubs/pull/1871 )
- Add type hints for `JSONField.from_db_value` by
[@​flaeppe](https://togithub.com/flaeppe ) in
[https://github.com/typeddjango/django-stubs/pull/1879 ](https://togithub.com/typeddjango/django-stubs/pull/1879 )
- Fix/pyright unknown by
[@​dephiros](https://togithub.com/dephiros ) in
[https://github.com/typeddjango/django-stubs/pull/1873 ](https://togithub.com/typeddjango/django-stubs/pull/1873 )
- Fix type hints of `converters` in `urls.resolvers` by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1892 ](https://togithub.com/typeddjango/django-stubs/pull/1892 )
- Update mypy to 1.8.0 by
[@​sobolevn](https://togithub.com/sobolevn ) in
[https://github.com/typeddjango/django-stubs/pull/1885 ](https://togithub.com/typeddjango/django-stubs/pull/1885 )
- Add `@type_check_only` to all Protocols and known stubs-only classes
by [@​intgr](https://togithub.com/intgr ) in
[https://github.com/typeddjango/django-stubs/pull/1894 ](https://togithub.com/typeddjango/django-stubs/pull/1894 )
- Fix types for UniqueConstraint instantiation by
[@​flaeppe](https://togithub.com/flaeppe ) in
[https://github.com/typeddjango/django-stubs/pull/1880 ](https://togithub.com/typeddjango/django-stubs/pull/1880 )
- Add `ModuleType` as a possible type to `URLResolver.urlconf_name` by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1891 ](https://togithub.com/typeddjango/django-stubs/pull/1891 )
- Fix type hint of `URLPattern.default_args` by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1895 ](https://togithub.com/typeddjango/django-stubs/pull/1895 )
- Update ruff and silence `PYI046` by
[@​sobolevn](https://togithub.com/sobolevn ) in
[https://github.com/typeddjango/django-stubs/pull/1907 ](https://togithub.com/typeddjango/django-stubs/pull/1907 )
- Use PEP 570 syntax by [@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1908 ](https://togithub.com/typeddjango/django-stubs/pull/1908 )
- Fix readme settings example by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1910 ](https://togithub.com/typeddjango/django-stubs/pull/1910 )
- Fix type hint of `EmailBackend.ssl_keyfile` and
`EmailBackend.ssl_certfile` by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1911 ](https://togithub.com/typeddjango/django-stubs/pull/1911 )
- Add type of `django.VERSION` by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1916 ](https://togithub.com/typeddjango/django-stubs/pull/1916 )
- Added `CommandParser` to `commands.__init__` by
[@​jamesbraza](https://togithub.com/jamesbraza ) in
[https://github.com/typeddjango/django-stubs/pull/1927 ](https://togithub.com/typeddjango/django-stubs/pull/1927 )
- \[5.0] add `assume_scheme` to forms.URLField by
[@​asottile](https://togithub.com/asottile ) in
[https://github.com/typeddjango/django-stubs/pull/1929 ](https://togithub.com/typeddjango/django-stubs/pull/1929 )
- Fix return type of `BaseModelAdmin.formfield_for_dbfield` by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1934 ](https://togithub.com/typeddjango/django-stubs/pull/1934 )
- Revert `pre-commit==3.6.1` by
[@​sobolevn](https://togithub.com/sobolevn ) in
[https://github.com/typeddjango/django-stubs/pull/1936 ](https://togithub.com/typeddjango/django-stubs/pull/1936 )
- Fix type hint of `Response.set_cookie.max_age` by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1941 ](https://togithub.com/typeddjango/django-stubs/pull/1941 )
- 5.0: Add ChoicesType by [@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1942 ](https://togithub.com/typeddjango/django-stubs/pull/1942 )
- Add through_defaults for RelatedManager methods by
[@​mfosterw](https://togithub.com/mfosterw ) in
[https://github.com/typeddjango/django-stubs/pull/1943 ](https://togithub.com/typeddjango/django-stubs/pull/1943 )
- Update type hints of `core.signing` by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1945 ](https://togithub.com/typeddjango/django-stubs/pull/1945 )
- \[5.0] Update `core.validators` by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1947 ](https://togithub.com/typeddjango/django-stubs/pull/1947 )
- \[5.0] Update `core.paginator` by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1946 ](https://togithub.com/typeddjango/django-stubs/pull/1946 )
- Generic `forms.ModelChoiceField` by
[@​UnknownPlatypus](https://togithub.com/UnknownPlatypus ) in
[https://github.com/typeddjango/django-stubs/pull/1889 ](https://togithub.com/typeddjango/django-stubs/pull/1889 )
- Support processing of other relations and fields when one is broken by
[@​flaeppe](https://togithub.com/flaeppe ) in
[https://github.com/typeddjango/django-stubs/pull/1877 ](https://togithub.com/typeddjango/django-stubs/pull/1877 )
- Allowing `set` in `model_to_dict`'s `exclude` by
[@​jamesbraza](https://togithub.com/jamesbraza ) in
[https://github.com/typeddjango/django-stubs/pull/1952 ](https://togithub.com/typeddjango/django-stubs/pull/1952 )
- \[5.0] Add django.db.models.GeneratedField by
[@​palfrey](https://togithub.com/palfrey ) in
[https://github.com/typeddjango/django-stubs/pull/1944 ](https://togithub.com/typeddjango/django-stubs/pull/1944 )
- Fix type hint of `BaseEngine.template_dirs` by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1954 ](https://togithub.com/typeddjango/django-stubs/pull/1954 )
- Update type hints of contrib.auth.hashers by
[@​yhay81](https://togithub.com/yhay81 ) in
[https://github.com/typeddjango/django-stubs/pull/1955 ](https://togithub.com/typeddjango/django-stubs/pull/1955 )
- deps: Upgrade pre-commit for newer versions of python by
[@​delfick](https://togithub.com/delfick ) in
[https://github.com/typeddjango/django-stubs/pull/1961 ](https://togithub.com/typeddjango/django-stubs/pull/1961 )
- 5.0: Add auth.middleware.auser by
[@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1966 ](https://togithub.com/typeddjango/django-stubs/pull/1966 )
- 5.0: Add ModelAdmin.show_facets by
[@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1967 ](https://togithub.com/typeddjango/django-stubs/pull/1967 )
- ruff: Fix config warnings by [@​q0w](https://togithub.com/q0w )
in
[https://github.com/typeddjango/django-stubs/pull/1964 ](https://togithub.com/typeddjango/django-stubs/pull/1964 )
- 5.0: Add BaseConstraint.violation_error_code by
[@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1969 ](https://togithub.com/typeddjango/django-stubs/pull/1969 )
- 5.0: Add Signal.asend and Signal.asend_robust by
[@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1965 ](https://togithub.com/typeddjango/django-stubs/pull/1965 )
- 5.0: Add QuerySet.(a)update_or_create new create_defaults arg by
[@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1970 ](https://togithub.com/typeddjango/django-stubs/pull/1970 )
- 5.0: Add AdminSite.get_log_entries by
[@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1963 ](https://togithub.com/typeddjango/django-stubs/pull/1963 )
- 5.0: Add gis ClosestPoint by [@​q0w](https://togithub.com/q0w )
in
[https://github.com/typeddjango/django-stubs/pull/1968 ](https://togithub.com/typeddjango/django-stubs/pull/1968 )
- 5.0: Rename save_existing arg instance to obj by
[@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1971 ](https://togithub.com/typeddjango/django-stubs/pull/1971 )
- 5.0: Remove admin.helpers.checkbox by
[@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1972 ](https://togithub.com/typeddjango/django-stubs/pull/1972 )
- 5.0: Change annotation_select_mask from set\[str] to list\[str] by
[@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1973 ](https://togithub.com/typeddjango/django-stubs/pull/1973 )
- fixup: Pass violation_error_code to init by
[@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1975 ](https://togithub.com/typeddjango/django-stubs/pull/1975 )
- Avoid returning None from get_field_related_model_cls by
[@​SingingTree](https://togithub.com/SingingTree ) in
[https://github.com/typeddjango/django-stubs/pull/1956 ](https://togithub.com/typeddjango/django-stubs/pull/1956 )
- 5.0: Pass positional args name and violation_error_message to
BaseConstraint by [@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1974 ](https://togithub.com/typeddjango/django-stubs/pull/1974 )
- 5.0: Remove pytz support by [@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1980 ](https://togithub.com/typeddjango/django-stubs/pull/1980 )
- 5.0: Remove global setting USE_L10N by
[@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1979 ](https://togithub.com/typeddjango/django-stubs/pull/1979 )
- 5.0: Remove OSMGeoAdmin, GeoModelAdmin by
[@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1981 ](https://togithub.com/typeddjango/django-stubs/pull/1981 )
- 5.0: Remove extra_tests arg for DiscoverRunner.build_suite/run_tests
by [@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1978 ](https://togithub.com/typeddjango/django-stubs/pull/1978 )
- 5.0: Remove django.utils baseconv and datetime_safe modules by
[@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1977 ](https://togithub.com/typeddjango/django-stubs/pull/1977 )
- 5.0: Add request arg to ModelAdmin.lookup_allowed by
[@​q0w](https://togithub.com/q0w ) in
[https://github.com/typeddjango/django-stubs/pull/1976 ](https://togithub.com/typeddjango/django-stubs/pull/1976 )
- Add URL converter protocol type by
[@​adamchainz](https://togithub.com/adamchainz ) in
[https://github.com/typeddjango/django-stubs/pull/1984 ](https://togithub.com/typeddjango/django-stubs/pull/1984 )
- Fix type annotation for RegisterLookupMixin.class_lookups by
[@​avoronov-box](https://togithub.com/avoronov-box ) in
[https://github.com/typeddjango/django-stubs/pull/1962 ](https://togithub.com/typeddjango/django-stubs/pull/1962 )
- Update django to 5.0.3 by
[@​sobolevn](https://togithub.com/sobolevn ) in
[https://github.com/typeddjango/django-stubs/pull/1990 ](https://togithub.com/typeddjango/django-stubs/pull/1990 )
- Remove some deprecated Django 3.x APIs by
[@​sobolevn](https://togithub.com/sobolevn ) in
[https://github.com/typeddjango/django-stubs/pull/1991 ](https://togithub.com/typeddjango/django-stubs/pull/1991 )
- Fix BaseModelAdmin.view_on_site annotation by
[@​cuu508](https://togithub.com/cuu508 ) in
[https://github.com/typeddjango/django-stubs/pull/1993 ](https://togithub.com/typeddjango/django-stubs/pull/1993 )
- Allow immutable `extra_context` on `TemplateView`s by
[@​samueljsb](https://togithub.com/samueljsb ) in
[https://github.com/typeddjango/django-stubs/pull/1994 ](https://togithub.com/typeddjango/django-stubs/pull/1994 )
- Add BoundField.**html**() by
[@​pelme](https://togithub.com/pelme ) in
[https://github.com/typeddjango/django-stubs/pull/1999 ](https://togithub.com/typeddjango/django-stubs/pull/1999 )
- Allow timedelta type for session.set_expiry() argument by
[@​mlazar-endear](https://togithub.com/mlazar-endear ) in
[https://github.com/typeddjango/django-stubs/pull/2001 ](https://togithub.com/typeddjango/django-stubs/pull/2001 )
- Bump `pytest-mypy-plugins` to 3.1.1 by
[@​sobolevn](https://togithub.com/sobolevn ) in
[https://github.com/typeddjango/django-stubs/pull/2003 ](https://togithub.com/typeddjango/django-stubs/pull/2003 )
- Update mypy, add a bit more metadata by
[@​sobolevn](https://togithub.com/sobolevn ) in
[https://github.com/typeddjango/django-stubs/pull/1997 ](https://togithub.com/typeddjango/django-stubs/pull/1997 )
- 5.0: Update `django.contrib.auth` by
[@​ngnpope](https://togithub.com/ngnpope ) in
[https://github.com/typeddjango/django-stubs/pull/2009 ](https://togithub.com/typeddjango/django-stubs/pull/2009 )
- 5.0: Update `django.conf` by
[@​ngnpope](https://togithub.com/ngnpope ) in
[https://github.com/typeddjango/django-stubs/pull/2008 ](https://togithub.com/typeddjango/django-stubs/pull/2008 )
- 5.0: Update `django.views` by
[@​ngnpope](https://togithub.com/ngnpope ) in
[https://github.com/typeddjango/django-stubs/pull/2007 ](https://togithub.com/typeddjango/django-stubs/pull/2007 )
- 5.0: Update `django.test` by
[@​ngnpope](https://togithub.com/ngnpope ) in
[https://github.com/typeddjango/django-stubs/pull/2005 ](https://togithub.com/typeddjango/django-stubs/pull/2005 )
- 5.0: Update `django.utils` by
[@​ngnpope](https://togithub.com/ngnpope ) in
[https://github.com/typeddjango/django-stubs/pull/2006 ](https://togithub.com/typeddjango/django-stubs/pull/2006 )
- Specify d.c.serializers.base.DeserializedObject.object type by
[@​j00bar](https://togithub.com/j00bar ) in
[https://github.com/typeddjango/django-stubs/pull/2010 ](https://togithub.com/typeddjango/django-stubs/pull/2010 )
- Clean the cache on each run of `stubtest` by
[@​sobolevn](https://togithub.com/sobolevn ) in
[https://github.com/typeddjango/django-stubs/pull/2015 ](https://togithub.com/typeddjango/django-stubs/pull/2015 )
- Keep abstract Django models internally in the plugin by
[@​flaeppe](https://togithub.com/flaeppe ) in
[https://github.com/typeddjango/django-stubs/pull/2017 ](https://togithub.com/typeddjango/django-stubs/pull/2017 )
- Add GitHub actions release workflow by
[@​flaeppe](https://togithub.com/flaeppe ) in
[https://github.com/typeddjango/django-stubs/pull/1950 ](https://togithub.com/typeddjango/django-stubs/pull/1950 )
- Adding missing `Q` methods: `check()`, `flatten()` by
[@​Alexerson](https://togithub.com/Alexerson ) in
[https://github.com/typeddjango/django-stubs/pull/1899 ](https://togithub.com/typeddjango/django-stubs/pull/1899 )
- Improve types in `utils.termcolors` by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1901 ](https://togithub.com/typeddjango/django-stubs/pull/1901 )
- Set the calculated metaclass when creating type info in the plugin by
[@​flaeppe](https://togithub.com/flaeppe ) in
[https://github.com/typeddjango/django-stubs/pull/2025 ](https://togithub.com/typeddjango/django-stubs/pull/2025 )
- Do not annotate PRs with pyright by
[@​sobolevn](https://togithub.com/sobolevn ) in
[https://github.com/typeddjango/django-stubs/pull/2023 ](https://togithub.com/typeddjango/django-stubs/pull/2023 )
- Use `PRI_MYPY` in `get_additional_deps` hook by
[@​sobolevn](https://togithub.com/sobolevn ) in
[https://github.com/typeddjango/django-stubs/pull/2024 ](https://togithub.com/typeddjango/django-stubs/pull/2024 )
- Update `_default_manager` and `_base_manager` to be `Manager` by
[@​flaeppe](https://togithub.com/flaeppe ) in
[https://github.com/typeddjango/django-stubs/pull/2022 ](https://togithub.com/typeddjango/django-stubs/pull/2022 )
- Determine the type of queryset methods on unions by
[@​delfick](https://togithub.com/delfick ) in
[https://github.com/typeddjango/django-stubs/pull/2027 ](https://togithub.com/typeddjango/django-stubs/pull/2027 )
- Add first stub for get_model_admin by
[@​nebiyuelias1](https://togithub.com/nebiyuelias1 ) in
[https://github.com/typeddjango/django-stubs/pull/2029 ](https://togithub.com/typeddjango/django-stubs/pull/2029 )
- 5.0: Update `django.contrib.admin` by
[@​ngnpope](https://togithub.com/ngnpope ) in
[https://github.com/typeddjango/django-stubs/pull/2004 ](https://togithub.com/typeddjango/django-stubs/pull/2004 )
- \[5.0] Update `core.files` by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1949 ](https://togithub.com/typeddjango/django-stubs/pull/1949 )
- \[5.0] Update `core.cache.backends`, add `RedisCache` and related
classes by [@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/1948 ](https://togithub.com/typeddjango/django-stubs/pull/1948 )
- Fix `AsyncClient.defaults` attribute typing by
[@​flaeppe](https://togithub.com/flaeppe ) in
[https://github.com/typeddjango/django-stubs/pull/1878 ](https://togithub.com/typeddjango/django-stubs/pull/1878 )
- Relax type for `fields` argument of `Model.refresh_from_db()` by
[@​mthuurne](https://togithub.com/mthuurne ) in
[https://github.com/typeddjango/django-stubs/pull/2035 ](https://togithub.com/typeddjango/django-stubs/pull/2035 )
- \[5.0] Add missing stubs for geos by
[@​nebiyuelias1](https://togithub.com/nebiyuelias1 ) in
[https://github.com/typeddjango/django-stubs/pull/2034 ](https://togithub.com/typeddjango/django-stubs/pull/2034 )
- Make `AdminSite.get_model_admin` generic by
[@​Viicos](https://togithub.com/Viicos ) in
[https://github.com/typeddjango/django-stubs/pull/2038 ](https://togithub.com/typeddjango/django-stubs/pull/2038 )
- \[5.0] Add `db_default=` parameter to models `Field` classes by
[@​Skorpyon](https://togithub.com/Skorpyon ) in
[https://github.com/typeddjango/django-stubs/pull/1876 ](https://togithub.com/typeddjango/django-stubs/pull/1876 )
- Remove `class Meta` from `Model` and `Form` class stubs by
[@​jorenham](https://togithub.com/jorenham ) in
[https://github.com/typeddjango/django-stubs/pull/2000 ](https://togithub.com/typeddjango/django-stubs/pull/2000 )
- Add datetime.timedelta as valid type for
HttpRequest.get_signed_cookie() max_age argument. by
[@​pelme](https://togithub.com/pelme ) in
[https://github.com/typeddjango/django-stubs/pull/2045 ](https://togithub.com/typeddjango/django-stubs/pull/2045 )
- CI: Update Django 4.2 version used for test suite by
[@​intgr](https://togithub.com/intgr ) in
[https://github.com/typeddjango/django-stubs/pull/2049 ](https://togithub.com/typeddjango/django-stubs/pull/2049 )
- Refine return type for `ManyToOneRel.get_accessor_name()` by
[@​mthuurne](https://togithub.com/mthuurne ) in
[https://github.com/typeddjango/django-stubs/pull/2052 ](https://togithub.com/typeddjango/django-stubs/pull/2052 )
- Add `DeferredAttribute.__get__()` by
[@​mthuurne](https://togithub.com/mthuurne ) in
[https://github.com/typeddjango/django-stubs/pull/2050 ](https://togithub.com/typeddjango/django-stubs/pull/2050 )
- Add missing methods and superclass to `FieldFile` by
[@​mthuurne](https://togithub.com/mthuurne ) in
[https://github.com/typeddjango/django-stubs/pull/2051 ](https://togithub.com/typeddjango/django-stubs/pull/2051 )
- Add `db_comment=` parameter to Postgres and GIS model fields by
[@​saJaeHyukc](https://togithub.com/saJaeHyukc ) in
[https://github.com/typeddjango/django-stubs/pull/2054 ](https://togithub.com/typeddjango/django-stubs/pull/2054 )
- Correct type for `db.models.sql.query.Query.join()` argument by
[@​mthuurne](https://togithub.com/mthuurne ) in
[https://github.com/typeddjango/django-stubs/pull/2055 ](https://togithub.com/typeddjango/django-stubs/pull/2055 )
- 5.0: Update `django.db.backends.oracle.base` by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2057 ](https://togithub.com/typeddjango/django-stubs/pull/2057 )
- 5.0: Update `django.test.client` by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2059 ](https://togithub.com/typeddjango/django-stubs/pull/2059 )
- 5.0: Update `django.test.html` by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2060 ](https://togithub.com/typeddjango/django-stubs/pull/2060 )
- 5.0: Update `django.test.runner` by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2061 ](https://togithub.com/typeddjango/django-stubs/pull/2061 )
- 5.0: Update `django.template`, `django.templatetags` by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2063 ](https://togithub.com/typeddjango/django-stubs/pull/2063 )
- 5.0: Update `django.test.testcases` by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2062 ](https://togithub.com/typeddjango/django-stubs/pull/2062 )
- 5.0: Update `django.http` by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2064 ](https://togithub.com/typeddjango/django-stubs/pull/2064 )
- 5.0: Update `django.core.management` by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2067 ](https://togithub.com/typeddjango/django-stubs/pull/2067 )
- 5.0: Update `django.core.handlers` by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2066 ](https://togithub.com/typeddjango/django-stubs/pull/2066 )
- 5.0: Update `django.contrib.sessions.serializers`,
`django.core.serializers` by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2068 ](https://togithub.com/typeddjango/django-stubs/pull/2068 )
- Update django app related types by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2071 ](https://togithub.com/typeddjango/django-stubs/pull/2071 )
- Add a `returncode` attribute to `CommandError` by
[@​flaeppe](https://togithub.com/flaeppe ) in
[https://github.com/typeddjango/django-stubs/pull/2072 ](https://togithub.com/typeddjango/django-stubs/pull/2072 )
- Disable mypy `ignore_missing_imports` option by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2058 ](https://togithub.com/typeddjango/django-stubs/pull/2058 )
- fix typing for URL validator.**call** by
[@​asottile](https://togithub.com/asottile ) in
[https://github.com/typeddjango/django-stubs/pull/2074 ](https://togithub.com/typeddjango/django-stubs/pull/2074 )
- Use field generic types for descriptors by
[@​md384](https://togithub.com/md384 ) in
[https://github.com/typeddjango/django-stubs/pull/2048 ](https://togithub.com/typeddjango/django-stubs/pull/2048 )
- 5.0: Update `django.core.servers.basehttp` by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2070 ](https://togithub.com/typeddjango/django-stubs/pull/2070 )
- Update `django.template.base.Template.render()` argument type by
[@​Majsvaffla](https://togithub.com/Majsvaffla ) in
[https://github.com/typeddjango/django-stubs/pull/1160 ](https://togithub.com/typeddjango/django-stubs/pull/1160 )
- 5.0: Add `django.utils.choices` by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2075 ](https://togithub.com/typeddjango/django-stubs/pull/2075 )
- 5.0: Update `django.contrib.sitemaps`, `django.contrib.staticfiles` by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2076 ](https://togithub.com/typeddjango/django-stubs/pull/2076 )
- Update pyright report options (`reportMissingTypeArgument`,
`reportPrivateUsage`) by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2077 ](https://togithub.com/typeddjango/django-stubs/pull/2077 )
- 5.0: Update `django.contrib.postgres` by
[@​sudosubin](https://togithub.com/sudosubin ) in
[https://github.com/typeddjango/django-stubs/pull/2078 ](https://togithub.com/typeddjango/django-stubs/pull/2078 )
- Add `path` signature for async views by
[@​jlost](https://togithub.com/jlost ) in
[https://github.com/typeddjango/django-stubs/pull/2085 ](https://togithub.com/typeddjango/django-stubs/pull/2085 )
- Remove incorrect `Reversible` base class from `QuerySet` by
[@​intgr](https://togithub.com/intgr ) in
[https://github.com/typeddjango/django-stubs/pull/2094 ](https://togithub.com/typeddjango/django-stubs/pull/2094 )
- Version 5.0.0 release (django-stubs, django-stubs-ext) by
[@​flaeppe](https://togithub.com/flaeppe ) in
[https://github.com/typeddjango/django-stubs/pull/2087 ](https://togithub.com/typeddjango/django-stubs/pull/2087 )
#### New Contributors
- [@​Viicos](https://togithub.com/Viicos ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/1866 ](https://togithub.com/typeddjango/django-stubs/pull/1866 )
- [@​dephiros](https://togithub.com/dephiros ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/1873 ](https://togithub.com/typeddjango/django-stubs/pull/1873 )
- [@​jamesbraza](https://togithub.com/jamesbraza ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/1927 ](https://togithub.com/typeddjango/django-stubs/pull/1927 )
- [@​mfosterw](https://togithub.com/mfosterw ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/1943 ](https://togithub.com/typeddjango/django-stubs/pull/1943 )
- [@​palfrey](https://togithub.com/palfrey ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/1944 ](https://togithub.com/typeddjango/django-stubs/pull/1944 )
- [@​yhay81](https://togithub.com/yhay81 ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/1955 ](https://togithub.com/typeddjango/django-stubs/pull/1955 )
- [@​delfick](https://togithub.com/delfick ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/1961 ](https://togithub.com/typeddjango/django-stubs/pull/1961 )
- [@​SingingTree](https://togithub.com/SingingTree ) made their
first contribution in
[https://github.com/typeddjango/django-stubs/pull/1956 ](https://togithub.com/typeddjango/django-stubs/pull/1956 )
- [@​avoronov-box](https://togithub.com/avoronov-box ) made their
first contribution in
[https://github.com/typeddjango/django-stubs/pull/1962 ](https://togithub.com/typeddjango/django-stubs/pull/1962 )
- [@​cuu508](https://togithub.com/cuu508 ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/1993 ](https://togithub.com/typeddjango/django-stubs/pull/1993 )
- [@​samueljsb](https://togithub.com/samueljsb ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/1994 ](https://togithub.com/typeddjango/django-stubs/pull/1994 )
- [@​pelme](https://togithub.com/pelme ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/1999 ](https://togithub.com/typeddjango/django-stubs/pull/1999 )
- [@​mlazar-endear](https://togithub.com/mlazar-endear ) made their
first contribution in
[https://github.com/typeddjango/django-stubs/pull/2001 ](https://togithub.com/typeddjango/django-stubs/pull/2001 )
- [@​j00bar](https://togithub.com/j00bar ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/2010 ](https://togithub.com/typeddjango/django-stubs/pull/2010 )
- [@​jorenham](https://togithub.com/jorenham ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/2019 ](https://togithub.com/typeddjango/django-stubs/pull/2019 )
- [@​fidoriel](https://togithub.com/fidoriel ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/1925 ](https://togithub.com/typeddjango/django-stubs/pull/1925 )
- [@​armanckeser](https://togithub.com/armanckeser ) made their
first contribution in
[https://github.com/typeddjango/django-stubs/pull/2021 ](https://togithub.com/typeddjango/django-stubs/pull/2021 )
- [@​nebiyuelias1](https://togithub.com/nebiyuelias1 ) made their
first contribution in
[https://github.com/typeddjango/django-stubs/pull/2029 ](https://togithub.com/typeddjango/django-stubs/pull/2029 )
- [@​Skorpyon](https://togithub.com/Skorpyon ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/1876 ](https://togithub.com/typeddjango/django-stubs/pull/1876 )
- [@​saJaeHyukc](https://togithub.com/saJaeHyukc ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/2054 ](https://togithub.com/typeddjango/django-stubs/pull/2054 )
- [@​sudosubin](https://togithub.com/sudosubin ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/2057 ](https://togithub.com/typeddjango/django-stubs/pull/2057 )
- [@​md384](https://togithub.com/md384 ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/2048 ](https://togithub.com/typeddjango/django-stubs/pull/2048 )
- [@​Majsvaffla](https://togithub.com/Majsvaffla ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/1160 ](https://togithub.com/typeddjango/django-stubs/pull/1160 )
- [@​jlost](https://togithub.com/jlost ) made their first
contribution in
[https://github.com/typeddjango/django-stubs/pull/2085 ](https://togithub.com/typeddjango/django-stubs/pull/2085 )
**Full Changelog**:
https://github.com/typeddjango/django-stubs/compare/4.2.7...5.0.0
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJweXRob24iXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-05 21:21:20 +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]
c02502ad9d
chore(deps): update pre-commit hook psf/black-pre-commit-mirror to v24.4.2
2024-04-27 10:51:08 +00:00
renovate[bot]
c5a9c75946
chore(deps): update lycheeverse/lychee-action action to v1.10.0
2024-04-27 07:25:29 +00:00
renovate[bot]
50e5767963
chore(deps): update amannn/action-semantic-pull-request action to v5.5.2
2024-04-26 00:50:54 +00: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
Thomas Göttgens
71b20ae3c9
fix(installer): setup the worker entrypoint ( #2996 )
...
Worker service fails after upgrade.
Related to #2988
2024-04-18 14:27:20 +02:00
renovate[bot]
a2cf7697a9
fix(deps): update dependency gunicorn to v22 (security) ( #2993 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [gunicorn](https://gunicorn.org )
([source](https://togithub.com/benoitc/gunicorn ),
[changelog](https://docs.gunicorn.org/en/stable/news.html )) |
`>=20.1.0,<21.3` -> `>=22.0.0,<22.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/ )
|
### GitHub Vulnerability Alerts
#### [CVE-2024-1135](https://nvd.nist.gov/vuln/detail/CVE-2024-1135 )
Gunicorn fails to properly validate Transfer-Encoding headers, leading
to HTTP Request Smuggling (HRS) vulnerabilities. By crafting requests
with conflicting Transfer-Encoding headers, attackers can bypass
security restrictions and access restricted endpoints. This issue is due
to Gunicorn's handling of Transfer-Encoding headers, where it
incorrectly processes requests with multiple, conflicting
Transfer-Encoding headers, treating them as chunked regardless of the
final encoding specified. This vulnerability has been shown to allow
access to endpoints restricted by gunicorn. This issue has been
addressed in version 22.0.0.
To be affected users must have a network path which does not filter out
invalid requests. These users are advised to block access to restricted
endpoints via a firewall or other mechanism if they are unable to
update.
---
### Release Notes
<details>
<summary>benoitc/gunicorn (gunicorn)</summary>
###
[`v22.0.0`](https://togithub.com/benoitc/gunicorn/releases/tag/22.0.0 ):
Gunicorn 22.0 has been released
[Compare
Source](https://togithub.com/benoitc/gunicorn/compare/21.2.0...22.0.0 )
**Gunicorn 22.0.0 has been released.** This version fix the numerous
security vulnerabilities. You're invited to upgrade asap your own
installation.
Changes:
22.0.0 - 2024-04-17
===================
- use `utime` to notify workers liveness
- migrate setup to pyproject.toml
- fix numerous security vulnerabilities in HTTP parser (closing some
request smuggling vectors)
- parsing additional requests is no longer attempted past unsupported
request framing
- on HTTP versions < 1.1 support for chunked transfer is refused (only
used in exploits)
- requests conflicting configured or passed SCRIPT_NAME now produce a
verbose error
- Trailer fields are no longer inspected for headers indicating secure
scheme
- support Python 3.12
** Breaking changes **
- minimum version is Python 3.7
- the limitations on valid characters in the HTTP method have been
bounded to Internet Standards
- requests specifying unsupported transfer coding (order) are refused by
default (rare)
- HTTP methods are no longer casefolded by default (IANA method registry
contains none affected)
- HTTP methods containing the number sign (#) are no longer accepted by
default (rare)
- HTTP versions < 1.0 or >= 2.0 are no longer accepted by default (rare,
only HTTP/1.1 is supported)
- HTTP versions consisting of multiple digits or containing a
prefix/suffix are no longer accepted
- HTTP header field names Gunicorn cannot safely map to variables are
silently dropped, as in other software
- HTTP headers with empty field name are refused by default (no
legitimate use cases, used in exploits)
- requests with both Transfer-Encoding and Content-Length are refused by
default (such a message might indicate an attempt to perform request
smuggling)
- empty transfer codings are no longer permitted (reportedly seen with
really old & broken proxies)
** SECURITY **
- fix CVE-2024-1135
1. Documentation is available there:
https://docs.gunicorn.org/en/stable/news.html
2. Packages: https://pypi.org/project/gunicorn/
###
[`v21.2.0`](https://togithub.com/benoitc/gunicorn/releases/tag/21.2.0 ):
Gunicorn 21.2.0 has been released
[Compare
Source](https://togithub.com/benoitc/gunicorn/compare/21.1.0...21.2.0 )
**Gunicorn 21.2.0 has been released.** This version fix the issue
introduced in the threaded worker.
Changes:
21.2.0 - 2023-07-19
===================
fix thread worker: revert change considering connection as idle .
*** NOTE ***
This is fixing the bad file description error.
1. Documentation is available there:
https://docs.gunicorn.org/en/stable/news.html
2. Packages: https://pypi.org/project/gunicorn/
###
[`v21.1.0`](https://togithub.com/benoitc/gunicorn/releases/tag/21.1.0 ):
Gunicorn 21.1.0 has been released
[Compare
Source](https://togithub.com/benoitc/gunicorn/compare/21.0.1...21.1.0 )
gunicorn 21.1.0 has been released. This version fix the issue introduced
in the threaded worker.
# 21.1.0 - 2023-07-18
- fix thread worker: fix socket removal from the queuet checkout 21.x
###
[`v21.0.1`](https://togithub.com/benoitc/gunicorn/releases/tag/21.0.1 ):
Gunicorn 21 has been released
[Compare
Source](https://togithub.com/benoitc/gunicorn/compare/21.0.0...21.0.1 )
Gunicorn 21 is out with miscellaneous changes. Enjoy!
We made this release major to start our new release cycle. More info
will be provided on our discussion forum.
##### 21.0.1 - 2023-07-17
fix documentation build
##### 21.0.0 - 2023-07-17
support python 3.11
fix gevent and eventlet workers
fix threads support (gththread): improve performance and unblock
requests
SSL: noaw use SSLContext object
HTTP parser: miscellaneous fixes
remove unecessary setuid calls
fix testing
improve logging
miscellaneous fixes to core engine
**Full Changelog**:
https://github.com/benoitc/gunicorn/compare/21.0.0...21.0.1
###
[`v21.0.0`](https://togithub.com/benoitc/gunicorn/compare/20.1.0...21.0.0 )
[Compare
Source](https://togithub.com/benoitc/gunicorn/compare/20.1.0...21.0.0 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" (UTC), 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJweXRob24iXX0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-04-17 08:43:11 +02: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
renovate[bot]
7575b68472
chore(deps): update pre-commit hook psf/black-pre-commit-mirror to v24.4.0
2024-04-15 01:38:50 +00:00
Jonas L
9c548b365e
feat: start celery worker programmatically ( #2988 )
...
### Description
Allow us to be more flexible with the option passed the celery worker,
for example, to change the logging level.
2024-04-13 21:03:57 +02:00
Jonas L
7040d0e4bd
fix: trigger legacy tasks manager every 5m ( #2987 )
...
### Description
This ensures that when the LibreTime interface is not used for a long
time, we still have the task manager run essential tasks for the
schedule.
Related to #2670
2024-04-13 19:12:45 +02:00
renovate[bot]
bcaa77ff3c
chore(deps): update dependency djangorestframework to >=3.14.0,<3.16 ( #2969 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [djangorestframework](https://www.django-rest-framework.org/ )
([source](https://togithub.com/encode/django-rest-framework ),
[changelog](https://www.django-rest-framework.org/community/release-notes/ ))
| `>=3.14.0,<3.15` -> `>=3.14.0,<3.16` |
[](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>encode/django-rest-framework (djangorestframework)</summary>
###
[`v3.15.1`](https://togithub.com/encode/django-rest-framework/compare/3.15.0...3.15.1 )
[Compare
Source](https://togithub.com/encode/django-rest-framework/compare/3.15.0...3.15.1 )
###
[`v3.15.0`](https://togithub.com/encode/django-rest-framework/compare/3.14.0...3.15.0 )
[Compare
Source](https://togithub.com/encode/django-rest-framework/compare/3.14.0...3.15.0 )
</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 these
updates 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>
2024-04-13 16:13:32 +02: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
Jonas L
f1c7dd89f1
docs: prevent reverse proxy from constraining the upload limits ( #2984 )
...
### Description
The upload limits settings are configured in the libretime nginx config,
but must also be part of the reverse proxy.
2024-04-13 15:12:07 +02:00
Jonas L
fb0584b021
fix: remove obsolete docker compose version ( #2982 )
...
### Description
```
WARN[0000] /home/jo/code/github.com/libretime/libretime/docker-compose.yml: `version` is obsolete
WARN[0000] /home/jo/code/github.com/libretime/libretime/docker-compose.override.yml: `version` is obsolete
```
2024-04-13 14:37:04 +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]
0296446b70
chore(deps): update dependency pydantic to >=2.5.0,<2.8 ( #2981 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pydantic](https://togithub.com/pydantic/pydantic )
([changelog](https://docs.pydantic.dev/latest/changelog/ )) |
`>=2.5.0,<2.7` -> `>=2.5.0,<2.8` |
[](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>pydantic/pydantic (pydantic)</summary>
###
[`v2.7.0`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v270-2024-04-11 )
[Compare
Source](https://togithub.com/pydantic/pydantic/compare/v2.6.4...v2.7.0 )
[GitHub
release](https://togithub.com/pydantic/pydantic/releases/tag/v2.7.0 )
The code released in v2.7.0 is practically identical to that of
v2.7.0b1.
##### What's Changed
##### Packaging
- Reorganize `pyproject.toml` sections by
[@​Viicos](https://togithub.com/Viicos ) in
[#​8899](https://togithub.com/pydantic/pydantic/pull/8899 )
- Bump `pydantic-core` to `v2.18.1` by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​9211](https://togithub.com/pydantic/pydantic/pull/9211 )
- Adopt `jiter` `v0.2.0` by
[@​samuelcolvin](https://togithub.com/samuelcolvin ) in
[pydantic/pydantic-core#1250 ](https://togithub.com/pydantic/pydantic-core/pull/1250 )
##### New Features
- Extract attribute docstrings from `FieldInfo.description` by
[@​Viicos](https://togithub.com/Viicos ) in
[#​6563](https://togithub.com/pydantic/pydantic/pull/6563 )
- Add a `with_config` decorator to comply with typing spec by
[@​Viicos](https://togithub.com/Viicos ) in
[#​8611](https://togithub.com/pydantic/pydantic/pull/8611 )
- Allow an optional separator splitting the value and unit of the result
of `ByteSize.human_readable` by
[@​jks15satoshi](https://togithub.com/jks15satoshi ) in
[#​8706](https://togithub.com/pydantic/pydantic/pull/8706 )
- Add generic `Secret` base type by
[@​conradogarciaberrotaran](https://togithub.com/conradogarciaberrotaran )
in [#​8519](https://togithub.com/pydantic/pydantic/pull/8519 )
- Make use of `Sphinx` inventories for cross references in docs by
[@​Viicos](https://togithub.com/Viicos ) in
[#​8682](https://togithub.com/pydantic/pydantic/pull/8682 )
- Add environment variable to disable plugins by
[@​geospackle](https://togithub.com/geospackle ) in
[#​8767](https://togithub.com/pydantic/pydantic/pull/8767 )
- Add support for `deprecated` fields by
[@​Viicos](https://togithub.com/Viicos ) in
[#​8237](https://togithub.com/pydantic/pydantic/pull/8237 )
- Allow `field_serializer('*')` by
[@​ornariece](https://togithub.com/ornariece ) in
[#​9001](https://togithub.com/pydantic/pydantic/pull/9001 )
- Handle a case when `model_config` is defined as a model property by
[@​alexeyt101](https://togithub.com/alexeyt101 ) in
[#​9004](https://togithub.com/pydantic/pydantic/pull/9004 )
- Update `create_model()` to support `typing.Annotated` as input by
[@​wannieman98](https://togithub.com/wannieman98 ) in
[#​8947](https://togithub.com/pydantic/pydantic/pull/8947 )
- Add `ClickhouseDsn` support by
[@​solidguy7](https://togithub.com/solidguy7 ) in
[#​9062](https://togithub.com/pydantic/pydantic/pull/9062 )
- Add support for `re.Pattern[str]` to `pattern` field by
[@​jag-k](https://togithub.com/jag-k ) in
[#​9053](https://togithub.com/pydantic/pydantic/pull/9053 )
- Support for `serialize_as_any` runtime setting by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8830](https://togithub.com/pydantic/pydantic/pull/8830 )
- Add support for `typing.Self` by
[@​Youssefares](https://togithub.com/Youssefares ) in
[#​9023](https://togithub.com/pydantic/pydantic/pull/9023 )
- Ability to pass `context` to serialization by
[@​ornariece](https://togithub.com/ornariece ) in
[#​8965](https://togithub.com/pydantic/pydantic/pull/8965 )
- Add feedback widget to docs with flarelytics integration by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​9129](https://togithub.com/pydantic/pydantic/pull/9129 )
- Support for parsing partial JSON strings in Python by
[@​samuelcolvin](https://togithub.com/samuelcolvin ) in
[pydantic/jiter#66 ](https://togithub.com/pydantic/jiter/pull/66 )
**Finalized in v2.7.0, rather than v2.7.0b1:**
- Add support for field level number to str coercion option by
[@​NeevCohen](https://togithub.com/NeevCohen ) in
[#​9137](https://togithub.com/pydantic/pydantic/pull/9137 )
- Update `warnings` parameter for serialization utilities to allow
raising a warning by
[@​Lance-Drane](https://togithub.com/Lance-Drane ) in
[#​9166](https://togithub.com/pydantic/pydantic/pull/9166 )
##### Changes
- Correct docs, logic for `model_construct` behavior with `extra` by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8807](https://togithub.com/pydantic/pydantic/pull/8807 )
- Improve error message for improper `RootModel` subclasses by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8857](https://togithub.com/pydantic/pydantic/pull/8857 )
- Use `PEP570` syntax by [@​Viicos](https://togithub.com/Viicos )
in [#​8940](https://togithub.com/pydantic/pydantic/pull/8940 )
- Add `enum` and `type` to the JSON schema for single item literals by
[@​dmontagu](https://togithub.com/dmontagu ) in
[#​8944](https://togithub.com/pydantic/pydantic/pull/8944 )
- Deprecate `update_json_schema` internal function by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​9125](https://togithub.com/pydantic/pydantic/pull/9125 )
- Serialize duration to hour minute second, instead of just seconds by
[@​kakilangit](https://togithub.com/kakilangit ) in
[pydantic/speedate#50 ](https://togithub.com/pydantic/speedate/pull/50 )
- Trimming str before parsing to int and float by
[@​hungtsetse](https://togithub.com/hungtsetse ) in
[pydantic/pydantic-core#1203 ](https://togithub.com/pydantic/pydantic-core/pull/1203 )
##### Performance
- `enum` validator improvements by
[@​samuelcolvin](https://togithub.com/samuelcolvin ) in
[#​9045](https://togithub.com/pydantic/pydantic/pull/9045 )
- Move `enum` validation and serialization to Rust by
[@​samuelcolvin](https://togithub.com/samuelcolvin ) in
[#​9064](https://togithub.com/pydantic/pydantic/pull/9064 )
- Improve schema generation for nested dataclasses by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​9114](https://togithub.com/pydantic/pydantic/pull/9114 )
- Fast path for ASCII python string creation in JSON by
[@​samuelcolvin](https://togithub.com/samuelcolvin ) in in
[pydantic/jiter#72 ](https://togithub.com/pydantic/jiter/pull/72 )
- SIMD integer and string JSON parsing on `aarch64`(**Note:** SIMD on
x86 will be implemented in a future release) by
[@​samuelcolvin](https://togithub.com/samuelcolvin ) in in
[pydantic/jiter#65 ](https://togithub.com/pydantic/jiter/pull/65 )
- Support JSON `Cow<str>` from `jiter` by
[@​davidhewitt](https://togithub.com/davidhewitt ) in
[pydantic/pydantic-core#1231 ](https://togithub.com/pydantic/pydantic-core/pull/1231 )
- MAJOR performance improvement: update to PyO3 0.21 final by
[@​davidhewitt](https://togithub.com/davidhewitt ) in
[pydantic/pydantic-core#1248 ](https://togithub.com/pydantic/pydantic-core/pull/1248 )
- cache Python strings by
[@​samuelcolvin](https://togithub.com/samuelcolvin ) in
[pydantic/pydantic-core#1240 ](https://togithub.com/pydantic/pydantic-core/pull/1240 )
##### Fixes
- Fix strict parsing for some `Sequence`s by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8614](https://togithub.com/pydantic/pydantic/pull/8614 )
- Add a check on the existence of `__qualname__` by
[@​anci3ntr0ck](https://togithub.com/anci3ntr0ck ) in
[#​8642](https://togithub.com/pydantic/pydantic/pull/8642 )
- Handle `__pydantic_extra__` annotation being a string or inherited by
[@​alexmojaki](https://togithub.com/alexmojaki ) in
[#​8659](https://togithub.com/pydantic/pydantic/pull/8659 )
- Fix json validation for `NameEmail` by
[@​Holi0317](https://togithub.com/Holi0317 ) in
[#​8650](https://togithub.com/pydantic/pydantic/pull/8650 )
- Fix type-safety of attribute access in `BaseModel` by
[@​bluenote10](https://togithub.com/bluenote10 ) in
[#​8651](https://togithub.com/pydantic/pydantic/pull/8651 )
- Fix bug with `mypy` plugin and `no_strict_optional = True` by
[@​dmontagu](https://togithub.com/dmontagu ) in
[#​8666](https://togithub.com/pydantic/pydantic/pull/8666 )
- Fix `ByteSize` error `type` change by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8681](https://togithub.com/pydantic/pydantic/pull/8681 )
- Fix inheriting annotations in dataclasses by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8679](https://togithub.com/pydantic/pydantic/pull/8679 )
- Fix regression in core schema generation for indirect definition
references by [@​dmontagu](https://togithub.com/dmontagu ) in
[#​8702](https://togithub.com/pydantic/pydantic/pull/8702 )
- Fix unsupported types bug with plain validator by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8710](https://togithub.com/pydantic/pydantic/pull/8710 )
- Reverting problematic fix from 2.6 release, fixing schema building bug
by [@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8718](https://togithub.com/pydantic/pydantic/pull/8718 )
- fixes `__pydantic_config__` ignored for TypeDict by
[@​13sin](https://togithub.com/13sin ) in
[#​8734](https://togithub.com/pydantic/pydantic/pull/8734 )
- Fix test failures with `pytest v8.0.0` due to `pytest.warns()`
starting to work inside `pytest.raises()` by
[@​mgorny](https://togithub.com/mgorny ) in
[#​8678](https://togithub.com/pydantic/pydantic/pull/8678 )
- Use `is_valid_field` from 1.x for `mypy` plugin by
[@​DanielNoord](https://togithub.com/DanielNoord ) in
[#​8738](https://togithub.com/pydantic/pydantic/pull/8738 )
- Better-support `mypy` strict equality flag by
[@​dmontagu](https://togithub.com/dmontagu ) in
[#​8799](https://togithub.com/pydantic/pydantic/pull/8799 )
- model_json_schema export with Annotated types misses 'required'
parameters by [@​LouisGobert](https://togithub.com/LouisGobert ) in
[#​8793](https://togithub.com/pydantic/pydantic/pull/8793 )
- Fix default inclusion in `FieldInfo.__repr_args__` by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8801](https://togithub.com/pydantic/pydantic/pull/8801 )
- Fix resolution of forward refs in dataclass base classes that are not
present in the subclass module namespace by
[@​matsjoyce-refeyn](https://togithub.com/matsjoyce-refeyn ) in
[#​8751](https://togithub.com/pydantic/pydantic/pull/8751 )
- Fix `BaseModel` type annotations to be resolvable by
`typing.get_type_hints` by
[@​devmonkey22](https://togithub.com/devmonkey22 ) in
[#​7680](https://togithub.com/pydantic/pydantic/pull/7680 )
- Fix: allow empty string aliases with `AliasGenerator` by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8810](https://togithub.com/pydantic/pydantic/pull/8810 )
- Fix test along with `date` -> `datetime` timezone assumption fix by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8823](https://togithub.com/pydantic/pydantic/pull/8823 )
- Fix deprecation warning with usage of `ast.Str` by
[@​Viicos](https://togithub.com/Viicos ) in
[#​8837](https://togithub.com/pydantic/pydantic/pull/8837 )
- Add missing `deprecated` decorators by
[@​Viicos](https://togithub.com/Viicos ) in
[#​8877](https://togithub.com/pydantic/pydantic/pull/8877 )
- Fix serialization of `NameEmail` if name includes an email address by
[@​NeevCohen](https://togithub.com/NeevCohen ) in
[#​8860](https://togithub.com/pydantic/pydantic/pull/8860 )
- Add information about class in error message of schema generation by
[@​Czaki](https://togithub.com/Czaki ) in
[#​8917](https://togithub.com/pydantic/pydantic/pull/8917 )
- Make `TypeAdapter`'s typing compatible with special forms by
[@​adriangb](https://togithub.com/adriangb ) in
[#​8923](https://togithub.com/pydantic/pydantic/pull/8923 )
- Fix issue with config behavior being baked into the ref schema for
`enum`s by [@​dmontagu](https://togithub.com/dmontagu ) in
[#​8920](https://togithub.com/pydantic/pydantic/pull/8920 )
- More helpful error re wrong `model_json_schema` usage by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8928](https://togithub.com/pydantic/pydantic/pull/8928 )
- Fix nested discriminated union schema gen, pt 2 by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8932](https://togithub.com/pydantic/pydantic/pull/8932 )
- Fix schema build for nested dataclasses / TypedDicts with
discriminators by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8950](https://togithub.com/pydantic/pydantic/pull/8950 )
- Remove unnecessary logic for definitions schema gen with discriminated
unions by [@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8951](https://togithub.com/pydantic/pydantic/pull/8951 )
- Fix handling of optionals in `mypy` plugin by
[@​dmontagu](https://togithub.com/dmontagu ) in
[#​9008](https://togithub.com/pydantic/pydantic/pull/9008 )
- Fix `PlainSerializer` usage with std type constructor by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​9031](https://togithub.com/pydantic/pydantic/pull/9031 )
- Remove unnecessary warning for config in plugin by
[@​dmontagu](https://togithub.com/dmontagu ) in
[#​9039](https://togithub.com/pydantic/pydantic/pull/9039 )
- Fix default value serializing by
[@​NeevCohen](https://togithub.com/NeevCohen ) in
[#​9066](https://togithub.com/pydantic/pydantic/pull/9066 )
- Fix extra fields check in `Model.__getattr__()` by
[@​NeevCohen](https://togithub.com/NeevCohen ) in
[#​9082](https://togithub.com/pydantic/pydantic/pull/9082 )
- Fix `ClassVar` forward ref inherited from parent class by
[@​alexmojaki](https://togithub.com/alexmojaki ) in
[#​9097](https://togithub.com/pydantic/pydantic/pull/9097 )
- fix sequence like validator with strict `True` by
[@​andresliszt](https://togithub.com/andresliszt ) in
[#​8977](https://togithub.com/pydantic/pydantic/pull/8977 )
- Improve warning message when a field name shadows a field in a parent
model by [@​chan-vince](https://togithub.com/chan-vince ) in
[#​9105](https://togithub.com/pydantic/pydantic/pull/9105 )
- Do not warn about shadowed fields if they are not redefined in a child
class by [@​chan-vince](https://togithub.com/chan-vince ) in
[#​9111](https://togithub.com/pydantic/pydantic/pull/9111 )
- Fix discriminated union bug with unsubstituted type var by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​9124](https://togithub.com/pydantic/pydantic/pull/9124 )
- Support serialization of `deque` when passed to `Sequence[blah blah
blah]` by [@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​9128](https://togithub.com/pydantic/pydantic/pull/9128 )
- Init private attributes from super-types in `model_post_init` by
[@​Viicos](https://togithub.com/Viicos ) in
[#​9134](https://togithub.com/pydantic/pydantic/pull/9134 )
- fix `model_construct` with `validation_alias` by
[@​ornariece](https://togithub.com/ornariece ) in
[#​9144](https://togithub.com/pydantic/pydantic/pull/9144 )
- Ensure json-schema generator handles `Literal` `null` types by
[@​bruno-f-cruz](https://togithub.com/bruno-f-cruz ) in
[#​9135](https://togithub.com/pydantic/pydantic/pull/9135 )
- **Fixed in v2.7.0**: Fix allow extra generic by
[@​dmontagu](https://togithub.com/dmontagu ) in
[#​9193](https://togithub.com/pydantic/pydantic/pull/9193 )
##### New Contributors
- [@​hungtsetse](https://togithub.com/hungtsetse ) made their first
contribution in
[#​8546](https://togithub.com/pydantic/pydantic/pull/8546 )
- [@​StrawHatDrag0n](https://togithub.com/StrawHatDrag0n ) made
their first contribution in
[#​8583](https://togithub.com/pydantic/pydantic/pull/8583 )
- [@​anci3ntr0ck](https://togithub.com/anci3ntr0ck ) made their
first contribution in
[#​8642](https://togithub.com/pydantic/pydantic/pull/8642 )
- [@​Holi0317](https://togithub.com/Holi0317 ) made their first
contribution in
[#​8650](https://togithub.com/pydantic/pydantic/pull/8650 )
- [@​bluenote10](https://togithub.com/bluenote10 ) made their first
contribution in
[#​8651](https://togithub.com/pydantic/pydantic/pull/8651 )
- [@​ADSteele916](https://togithub.com/ADSteele916 ) made their
first contribution in
[#​8703](https://togithub.com/pydantic/pydantic/pull/8703 )
- [@​musicinmybrain](https://togithub.com/musicinmybrain ) made
their first contribution in
[#​8731](https://togithub.com/pydantic/pydantic/pull/8731 )
- [@​jks15satoshi](https://togithub.com/jks15satoshi ) made their
first contribution in
[#​8706](https://togithub.com/pydantic/pydantic/pull/8706 )
- [@​13sin](https://togithub.com/13sin ) made their first
contribution in
[#​8734](https://togithub.com/pydantic/pydantic/pull/8734 )
- [@​DanielNoord](https://togithub.com/DanielNoord ) made their
first contribution in
[#​8738](https://togithub.com/pydantic/pydantic/pull/8738 )
-
[@​conradogarciaberrotaran](https://togithub.com/conradogarciaberrotaran )
made their first contribution in
[#​8519](https://togithub.com/pydantic/pydantic/pull/8519 )
- [@​chris-griffin](https://togithub.com/chris-griffin ) made their
first contribution in
[#​8775](https://togithub.com/pydantic/pydantic/pull/8775 )
- [@​LouisGobert](https://togithub.com/LouisGobert ) made their
first contribution in
[#​8793](https://togithub.com/pydantic/pydantic/pull/8793 )
- [@​matsjoyce-refeyn](https://togithub.com/matsjoyce-refeyn ) made
their first contribution in
[#​8751](https://togithub.com/pydantic/pydantic/pull/8751 )
- [@​devmonkey22](https://togithub.com/devmonkey22 ) made their
first contribution in
[#​7680](https://togithub.com/pydantic/pydantic/pull/7680 )
- [@​adamency](https://togithub.com/adamency ) made their first
contribution in
[#​8847](https://togithub.com/pydantic/pydantic/pull/8847 )
- [@​MamfTheKramf](https://togithub.com/MamfTheKramf ) made their
first contribution in
[#​8851](https://togithub.com/pydantic/pydantic/pull/8851 )
- [@​ornariece](https://togithub.com/ornariece ) made their first
contribution in
[#​9001](https://togithub.com/pydantic/pydantic/pull/9001 )
- [@​alexeyt101](https://togithub.com/alexeyt101 ) made their first
contribution in
[#​9004](https://togithub.com/pydantic/pydantic/pull/9004 )
- [@​wannieman98](https://togithub.com/wannieman98 ) made their
first contribution in
[#​8947](https://togithub.com/pydantic/pydantic/pull/8947 )
- [@​solidguy7](https://togithub.com/solidguy7 ) made their first
contribution in
[#​9062](https://togithub.com/pydantic/pydantic/pull/9062 )
- [@​kloczek](https://togithub.com/kloczek ) made their first
contribution in
[#​9047](https://togithub.com/pydantic/pydantic/pull/9047 )
- [@​jag-k](https://togithub.com/jag-k ) made their first
contribution in
[#​9053](https://togithub.com/pydantic/pydantic/pull/9053 )
- [@​priya-gitTest](https://togithub.com/priya-gitTest ) made their
first contribution in
[#​9088](https://togithub.com/pydantic/pydantic/pull/9088 )
- [@​Youssefares](https://togithub.com/Youssefares ) made their
first contribution in
[#​9023](https://togithub.com/pydantic/pydantic/pull/9023 )
- [@​chan-vince](https://togithub.com/chan-vince ) made their first
contribution in
[#​9105](https://togithub.com/pydantic/pydantic/pull/9105 )
- [@​bruno-f-cruz](https://togithub.com/bruno-f-cruz ) made their
first contribution in
[#​9135](https://togithub.com/pydantic/pydantic/pull/9135 )
- [@​Lance-Drane](https://togithub.com/Lance-Drane ) made their
first contribution in
[#​9166](https://togithub.com/pydantic/pydantic/pull/9166 )
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-04-13 14:29:58 +02:00
renovate[bot]
66436a7b9e
chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v4.6.0
2024-04-08 03:37:17 +00:00
renovate[bot]
a5949ee155
chore(deps): update dependency django-filter to >=2.4.0,<24.3 ( #2978 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [django-filter](https://togithub.com/carltongibson/django-filter )
([changelog](https://togithub.com/carltongibson/django-filter/blob/main/CHANGES.rst ))
| `>=2.4.0,<24.2` -> `>=2.4.0,<24.3` |
[](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>carltongibson/django-filter (django-filter)</summary>
###
[`v24.2`](https://togithub.com/carltongibson/django-filter/blob/HEAD/CHANGES.rst#Version-242-2024-03-27 )
[Compare
Source](https://togithub.com/carltongibson/django-filter/compare/24.1...24.2 )
- Fixed a regression in v23.4 where callable choices were incorrectly
evaluated
at filter instantiation, on Django versions prior to 5.0.
Thanks to Craig de Stigter for the report and reproduce.
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-06 18:48:14 +02:00
renovate[bot]
d31d4fc5bf
chore(deps): update dependency uvicorn to >=0.17.6,<0.30.0 ( #2974 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [uvicorn](https://togithub.com/encode/uvicorn )
([changelog](https://togithub.com/encode/uvicorn/blob/master/CHANGELOG.md ))
| `>=0.17.6,<0.29.0` -> `>=0.17.6,<0.30.0` |
[](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>encode/uvicorn (uvicorn)</summary>
###
[`v0.29.0`](https://togithub.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0290---2024-03-19 )
[Compare
Source](https://togithub.com/encode/uvicorn/compare/0.28.1...0.29.0 )
##### Added
- Cooperative signal handling
([#​1600](https://togithub.com/encode/uvicorn/issues/1600 ))
19/03/24
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-06 18:48:02 +02:00
renovate[bot]
78f4fcfec8
chore(deps): update dependency pytest-cov to v5 ( #2976 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pytest-cov](https://togithub.com/pytest-dev/pytest-cov )
([changelog](https://pytest-cov.readthedocs.io/en/latest/changelog.html ))
| `>=4.0.0,<5` -> `>=4.0.0,<6` |
[](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>pytest-dev/pytest-cov (pytest-cov)</summary>
###
[`v5.0.0`](https://togithub.com/pytest-dev/pytest-cov/blob/HEAD/CHANGELOG.rst#500-2024-03-24 )
[Compare
Source](https://togithub.com/pytest-dev/pytest-cov/compare/v4.1.0...v5.0.0 )
- Removed support for xdist rsync (now deprecated).
Contributed by Matthias Reichenbach in `#​623
<https://github.com/pytest-dev/pytest-cov/pull/623 >`\_.
- Switched docs theme to Furo.
- Various legacy Python cleanup and CI improvements.
Contributed by Christian Clauss and Hugo van Kemenade in
`#​630 <https://github.com/pytest-dev/pytest-cov/pull/630 >`*,
`#​631 <https://github.com/pytest-dev/pytest-cov/pull/631 >`*,
`#​632 <https://github.com/pytest-dev/pytest-cov/pull/632 >`\_ and
`#​633 <https://github.com/pytest-dev/pytest-cov/pull/633 >`\_.
- Added a `pyproject.toml` example in the docs.
Contributed by Dawn James in `#​626
<https://github.com/pytest-dev/pytest-cov/pull/626 >`\_.
- Modernized project's pre-commit hooks to use ruff. Initial POC
contributed by
Christian Clauss in `#​584
<https://github.com/pytest-dev/pytest-cov/pull/584 >`\_.
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-06 18:47:53 +02:00
renovate[bot]
f6092e84d7
chore(deps): lock file maintenance (legacy/composer.json)
2024-03-27 15:29:40 +00:00
Keoni Mahelona
634e6e236d
fix: incorrect docker compose version ( #2975 )
...
### Description
There is no docker compose file version 3.9, see
https://docs.docker.com/compose/compose-file/compose-versioning/ . The
`init` command is used in the compose file and I wonder if we can set
this to 3.7. When I followed the docs here
https://libretime.org/docs/admin-manual/install/install-using-docker/ , I
was unable to get the docker compose to work because of a version issue.
So I upgraded docker (on Ubuntu focal) but realised that 3.9 isn't even
mentioned on the Docker website. 3.8 is, which I tried to use but it
failed. 3.7 worked for me.
**I have updated the documentation to reflect these changes**:
Docs are not affected.
### Testing Notes
**What I did:**
I was following the
[docs](https://libretime.org/docs/admin-manual/install/install-using-docker/ )
but then rand into a docker compose file version error. I'm using docker
engine version 26,
```
Client: Docker Engine - Community
Version: 26.0.0
API version: 1.45
Go version: go1.21.8
Git commit: 2ae903e
Built: Wed Mar 20 15:17:51 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 26.0.0
API version: 1.45 (minimum version 1.24)
Go version: go1.21.8
Git commit: 8b79278
Built: Wed Mar 20 15:17:51 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.28
GitCommit: ae07eda36dd25f8a1b98dfbf587313b99c0190bb
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Ubuntu Version
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
```
which is very recent. When I checked the docker compose version
[page](https://docs.docker.com/compose/compose-file/compose-versioning/ ),
it doesn't even list 3.9 as a version, only 3.8. For whatever reason 3.8
did not work for me, but 3.7 does.
**How you can replicate my testing:**
Follow the docs,
https://libretime.org/docs/admin-manual/install/install-using-docker/ .
If docker compose fails to run, and says
```
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
```
then change the version to 3.7.
### **Links**
N/A
2024-03-26 10:29:16 +01:00
renovate[bot]
c286774e99
chore(deps): update pre-commit hook asottile/pyupgrade to v3.15.2
2024-03-25 21:13:53 +00:00
renovate[bot]
e8e88f7d46
chore(deps): lock file maintenance (legacy/composer.json)
2024-03-19 19:32:13 +00:00
renovate[bot]
f44445ae21
chore(deps): update pre-commit hook psf/black-pre-commit-mirror to v24.3.0
2024-03-18 15:27:43 +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]
18a0eec000
chore(deps): update dependency django-filter to v24 ( #2966 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [django-filter](https://togithub.com/carltongibson/django-filter )
([changelog](https://togithub.com/carltongibson/django-filter/blob/main/CHANGES.rst ))
| `>=2.4.0,<23.6` -> `>=2.4.0,<24.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>carltongibson/django-filter (django-filter)</summary>
###
[`v24.1`](https://togithub.com/carltongibson/django-filter/blob/HEAD/CHANGES.rst#Version-241-2024-03-08 )
[Compare
Source](https://togithub.com/carltongibson/django-filter/compare/23.5...24.1 )
- Updated supported Python and Django versions, and resolved upcoming
Django
deprecations.
Required versions are now at least Python 3.8 and Django 4.2.
Thanks to Michael Manganiello.
- Allowed passing a FilterSet class to the filterset_factory().
Thanks to Birger Schacht.
- Set empty default value of filterset data to MultiValueDict.
Thanks to Shlomo Gordon.
- Preserve list values passed to the data dict in CSV widgets.
Thanks to Bryan Brancotte.
- Updates French and Ukrainian localisations.
Thanks to Weblate.
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-10 11:46:52 +01:00
renovate[bot]
8ddd601b35
chore(deps): update dependency uvicorn to >=0.17.6,<0.29.0 ( #2967 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [uvicorn](https://togithub.com/encode/uvicorn )
([changelog](https://togithub.com/encode/uvicorn/blob/master/CHANGELOG.md ))
| `>=0.17.6,<0.28.0` -> `>=0.17.6,<0.29.0` |
[](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>encode/uvicorn (uvicorn)</summary>
###
[`v0.28.0`](https://togithub.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0280---2024-03-09 )
[Compare
Source](https://togithub.com/encode/uvicorn/compare/0.27.1...0.28.0 )
##### Added
- Raise `ClientDisconnected` on `send()` when client disconnected
([#​2220](https://togithub.com/encode/uvicorn/issues/2220 ))
12/02/24
##### Fixed
- Except `AttributeError` on `sys.stdin.fileno()` for Windows IIS10
([#​1947](https://togithub.com/encode/uvicorn/issues/1947 ))
29/02/24
- Use `X-Forwarded-Proto` for WebSockets scheme when the proxy provides
it ([#​2258](https://togithub.com/encode/uvicorn/issues/2258 ))
01/03/24
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-10 11:46:05 +01:00
renovate[bot]
d92168ac19
chore(deps): update softprops/action-gh-release action to v2
2024-03-10 06:20:07 +00:00
Jonas L
cc28293150
chore: reenable vale rule after fix ( #2965 )
...
Fixes #2957
2024-03-02 14:15:50 +01:00
renovate[bot]
200dffef44
chore(deps): update dependency python-dateutil to >=2.8.1,<2.10 ( #2964 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [python-dateutil](https://togithub.com/dateutil/dateutil ) |
`>=2.8.1,<2.9` -> `>=2.8.1,<2.10` |
[](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>dateutil/dateutil (python-dateutil)</summary>
###
[`v2.9.0.post0`](https://togithub.com/dateutil/dateutil/releases/tag/2.9.0.post0 )
[Compare
Source](https://togithub.com/dateutil/dateutil/compare/2.9.0...2.9.0.post0 )
### Version 2.9.0.post0 (2024-03-01)
#### Bugfixes
- Pinned `setuptools_scm` to `<8`, which should make the generated
`_version.py` file compatible with all supported versions of Python.
###
[`v2.9.0`](https://togithub.com/dateutil/dateutil/releases/tag/2.9.0 )
[Compare
Source](https://togithub.com/dateutil/dateutil/compare/2.8.2...2.9.0 )
### Version 2.9.0 (2024-02-29)
#### Data updates
- Updated tzdata version to 2024a. (gh pr
[#​1342](https://togithub.com/dateutil/dateutil/issues/1342 ))
#### Features
- Made all `dateutil` submodules lazily imported using [PEP
562](https://www.python.org/dev/peps/pep-0562/ ). On Python 3.7+, things
like `import dateutil; dateutil.tz.gettz("America/New_York")` will now
work without explicitly importing `dateutil.tz`, with the import
occurring behind the scenes on first use. The old behavior remains on
Python 3.6 and earlier. Fixed by Orson Adams. (gh issue
[#​771](https://togithub.com/dateutil/dateutil/issues/771 ), gh pr
[#​1007](https://togithub.com/dateutil/dateutil/issues/1007 ))
#### Bugfixes
- Removed a call to `datetime.utcfromtimestamp`, which is deprecated as
of Python 3.12. Reported by Hugo van Kemenade (gh pr
[#​1284](https://togithub.com/dateutil/dateutil/issues/1284 )),
fixed by Thomas Grainger (gh pr
[#​1285](https://togithub.com/dateutil/dateutil/issues/1285 )).
#### Documentation changes
- Added note into docs and tests where relativedelta would return last
day of the month only if the same day on a different month resolves to a
date that doesn't exist. Reported by
[@​hawkEye-01](https://togithub.com/hawkEye-01 ) (gh issue
[#​1167](https://togithub.com/dateutil/dateutil/issues/1167 )).
Fixed by [@​Mifrill](https://togithub.com/Mifrill ) (gh pr
[#​1168](https://togithub.com/dateutil/dateutil/issues/1168 ))
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-02 14:12:37 +01:00
Thomas Göttgens
feca75b28b
docs: get libfdk-aac from non-free source for debian 11 ( #2954 )
...
Co-authored-by: Jonas L <jooola@users.noreply.github.com>
2024-02-29 22:08:51 +01: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]
9ef153fc6b
chore(deps): update rabbitmq docker tag to v3.13 ( #2962 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| rabbitmq | minor | `3.12-alpine` -> `3.13-alpine` |
---
### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-25 05:39:10 +00: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
renovate[bot]
8deebb3f85
chore(deps): update pre-commit hook asottile/pyupgrade to v3.15.1 ( #2958 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [asottile/pyupgrade](https://togithub.com/asottile/pyupgrade ) |
repository | patch | `v3.15.0` -> `v3.15.1` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>asottile/pyupgrade (asottile/pyupgrade)</summary>
###
[`v3.15.1`](https://togithub.com/asottile/pyupgrade/compare/v3.15.0...v3.15.1 )
[Compare
Source](https://togithub.com/asottile/pyupgrade/compare/v3.15.0...v3.15.1 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-20 10:37:26 +00:00
Kyle Robbertze
bace9ed917
ci: disable overly-sensitive vale rule
2024-02-19 08:27:23 +00:00
Kyle Robbertze
4584b52121
docs: fix broken link
2024-02-19 08:27:23 +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
renovate[bot]
0e6e9ff7ff
chore(deps): update pre-commit hook psf/black-pre-commit-mirror to v24.2.0
2024-02-14 16:39:07 +00:00
renovate[bot]
64401150b1
chore(deps): update pre-commit hook adamchainz/django-upgrade to v1.16.0
2024-02-13 12:26:23 +00: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
renovate[bot]
117bc79809
chore(deps): update pre-commit/action action to v3.0.1 ( #2948 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [pre-commit/action](https://togithub.com/pre-commit/action ) | action |
patch | `v3.0.0` -> `v3.0.1` |
---
### Release Notes
<details>
<summary>pre-commit/action (pre-commit/action)</summary>
###
[`v3.0.1`](https://togithub.com/pre-commit/action/releases/tag/v3.0.1 ):
pre-commit/action@v3.0.1
[Compare
Source](https://togithub.com/pre-commit/action/compare/v3.0.0...v3.0.1 )
##### Misc
- Update actions/cache to v4
- [#​190](https://togithub.com/pre-commit/action/issues/190 ) PR by
[@​SukiCZ](https://togithub.com/SukiCZ ).
- [#​189](https://togithub.com/pre-commit/action/issues/189 ) issue
by [@​bakerkj](https://togithub.com/bakerkj ).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-09 23:37:02 +00:00
Jonas L
35d0dec4a8
fix: apply replay gain preferences on scheduled files ( #2945 )
...
### Description
The replay gain preferences are applied in the legacy code, but the
playout code was missing this feature. The replay gain was not applied
when playout fetched the schedules.
37d1a7685e/legacy/application/models/Schedule.php (L881-L886)
2024-02-08 20:29:10 +01: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
renovate[bot]
f7405f18ed
chore(deps): update codecov/codecov-action action to v4
2024-02-05 03:32:06 +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
Jonas L
29f73e0dcb
fix(analyzer): backslash non utf-8 data when probing replaygain ( #2931 )
...
### Description
Fixes #2910
2024-02-02 20:44:15 +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
renovate[bot]
ed2f874633
chore(deps): update dependency black to v24 ( #2916 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [black](https://togithub.com/psf/black )
([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md )) |
`>=23.1.0,<24` -> `>=23.1.0,<25` |
[](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>psf/black (black)</summary>
###
[`v24.1.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2411 )
[Compare Source](https://togithub.com/psf/black/compare/24.1.0...24.1.1 )
Bugfix release to fix a bug that made Black unusable on certain file
systems with strict
limits on path length.
##### Preview style
- Consistently add trailing comma on typed parameters
([#​4164](https://togithub.com/psf/black/issues/4164 ))
##### Configuration
- Shorten the length of the name of the cache file to fix crashes on
file systems that
do not support long paths
([#​4176](https://togithub.com/psf/black/issues/4176 ))
###
[`v24.1.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2410 )
[Compare
Source](https://togithub.com/psf/black/compare/23.12.1...24.1.0 )
##### Highlights
This release introduces the new 2024 stable style
([#​4106](https://togithub.com/psf/black/issues/4106 )),
stabilizing the following
changes:
- Add parentheses around `if`-`else` expressions
([#​2278](https://togithub.com/psf/black/issues/2278 ))
- Dummy class and function implementations consisting only of `...` are
formatted more
compactly ([#​3796](https://togithub.com/psf/black/issues/3796 ))
- If an assignment statement is too long, we now prefer splitting on the
right-hand side
([#​3368](https://togithub.com/psf/black/issues/3368 ))
- Hex codes in Unicode escape sequences are now standardized to
lowercase ([#​2916](https://togithub.com/psf/black/issues/2916 ))
- Allow empty first lines at the beginning of most blocks
([#​3967](https://togithub.com/psf/black/issues/3967 ),
[#​4061](https://togithub.com/psf/black/issues/4061 ))
- Add parentheses around long type annotations
([#​3899](https://togithub.com/psf/black/issues/3899 ))
- Enforce newline after module docstrings
([#​3932](https://togithub.com/psf/black/issues/3932 ),
[#​4028](https://togithub.com/psf/black/issues/4028 ))
- Fix incorrect magic trailing comma handling in return types
([#​3916](https://togithub.com/psf/black/issues/3916 ))
- Remove blank lines before class docstrings
([#​3692](https://togithub.com/psf/black/issues/3692 ))
- Wrap multiple context managers in parentheses if combined in a single
`with` statement
([#​3489](https://togithub.com/psf/black/issues/3489 ))
- Fix bug in line length calculations for power operations
([#​3942](https://togithub.com/psf/black/issues/3942 ))
- Add trailing commas to collection literals even if there's a comment
after the last
entry ([#​3393](https://togithub.com/psf/black/issues/3393 ))
- When using `--skip-magic-trailing-comma` or `-C`, trailing commas are
stripped from
subscript expressions with more than 1 element
([#​3209](https://togithub.com/psf/black/issues/3209 ))
- Add extra blank lines in stubs in a few cases
([#​3564](https://togithub.com/psf/black/issues/3564 ),
[#​3862](https://togithub.com/psf/black/issues/3862 ))
- Accept raw strings as docstrings
([#​3947](https://togithub.com/psf/black/issues/3947 ))
- Split long lines in case blocks
([#​4024](https://togithub.com/psf/black/issues/4024 ))
- Stop removing spaces from walrus operators within subscripts
([#​3823](https://togithub.com/psf/black/issues/3823 ))
- Fix incorrect formatting of certain async statements
([#​3609](https://togithub.com/psf/black/issues/3609 ))
- Allow combining `# fmt: skip` with other comments
([#​3959](https://togithub.com/psf/black/issues/3959 ))
There are already a few improvements in the `--preview` style, which are
slated for the
2025 stable style. Try them out and
[share your feedback](https://togithub.com/psf/black/issues ). In the
past, the preview
style has included some features that we were not able to stabilize.
This year, we're
adding a separate `--unstable` style for features with known problems.
Now, the
`--preview` style only includes features that we actually expect to make
it into next
year's stable style.
##### Stable style
Several bug fixes were made in features that are moved to the stable
style in this
release:
- Fix comment handling when parenthesising conditional expressions
([#​4134](https://togithub.com/psf/black/issues/4134 ))
- Fix bug where spaces were not added around parenthesized walruses in
subscripts,
unlike other binary operators
([#​4109](https://togithub.com/psf/black/issues/4109 ))
- Remove empty lines before docstrings in async functions
([#​4132](https://togithub.com/psf/black/issues/4132 ))
- Address a missing case in the change to allow empty lines at the
beginning of all
blocks, except immediately before a docstring
([#​4130](https://togithub.com/psf/black/issues/4130 ))
- For stubs, fix logic to enforce empty line after nested classes with
bodies ([#​4141](https://togithub.com/psf/black/issues/4141 ))
##### Preview style
- Add `--unstable` style, covering preview features that have known
problems that would
block them from going into the stable style. Also add the
`--enable-unstable-feature`
flag; for example, use
`--enable-unstable-feature hug_parens_with_braces_and_square_brackets`
to apply this
preview feature throughout 2024, even if a later Black release
downgrades the feature
to unstable ([#​4096](https://togithub.com/psf/black/issues/4096 ))
- Format module docstrings the same as class and function docstrings
([#​4095](https://togithub.com/psf/black/issues/4095 ))
- Fix crash when using a walrus in a dictionary
([#​4155](https://togithub.com/psf/black/issues/4155 ))
- Fix unnecessary parentheses when wrapping long dicts
([#​4135](https://togithub.com/psf/black/issues/4135 ))
- Stop normalizing spaces before `# fmt: skip` comments
([#​4146](https://togithub.com/psf/black/issues/4146 ))
##### Configuration
- Print warning when configuration in `pyproject.toml` contains an
invalid key ([#​4165](https://togithub.com/psf/black/issues/4165 ))
- Fix symlink handling, properly ignoring symlinks that point outside of
root ([#​4161](https://togithub.com/psf/black/issues/4161 ))
- Fix cache mtime logic that resulted in false positive cache hits
([#​4128](https://togithub.com/psf/black/issues/4128 ))
- Remove the long-deprecated `--experimental-string-processing` flag.
This feature can
currently be enabled with `--preview --enable-unstable-feature
string_processing`.
([#​4096](https://togithub.com/psf/black/issues/4096 ))
##### Integrations
- Revert the change to run Black's pre-commit integration only on
specific git hooks
([#​3940](https://togithub.com/psf/black/issues/3940 )) for better
compatibility with older versions of pre-commit
([#​4137](https://togithub.com/psf/black/issues/4137 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 20:39:00 +01:00
renovate[bot]
7a3fffd45f
chore(deps): update pre-commit hook psf/black-pre-commit-mirror to v24 ( #2917 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[psf/black-pre-commit-mirror](https://togithub.com/psf/black-pre-commit-mirror )
| repository | major | `23.12.1` -> `24.1.1` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>psf/black-pre-commit-mirror
(psf/black-pre-commit-mirror)</summary>
###
[`v24.1.1`](https://togithub.com/psf/black-pre-commit-mirror/compare/24.1.0...24.1.1 )
[Compare
Source](https://togithub.com/psf/black-pre-commit-mirror/compare/24.1.0...24.1.1 )
###
[`v24.1.0`](https://togithub.com/psf/black-pre-commit-mirror/compare/23.12.1...24.1.0 )
[Compare
Source](https://togithub.com/psf/black-pre-commit-mirror/compare/23.12.1...24.1.0 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-02-02 20:24:25 +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
renovate[bot]
199831458f
chore(deps): update docker/metadata-action action to v5.5.1 ( #2928 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [docker/metadata-action](https://togithub.com/docker/metadata-action )
| action | minor | `v5.4.0` -> `v5.5.1` |
---
### Release Notes
<details>
<summary>docker/metadata-action (docker/metadata-action)</summary>
###
[`v5.5.1`](https://togithub.com/docker/metadata-action/releases/tag/v5.5.1 )
[Compare
Source](https://togithub.com/docker/metadata-action/compare/v5.5.0...v5.5.1 )
- Don't set `cwd://` prefix for local bake files by
[@​crazy-max](https://togithub.com/crazy-max ) in
[https://github.com/docker/metadata-action/pull/382 ](https://togithub.com/docker/metadata-action/pull/382 )
**Full Changelog**:
https://github.com/docker/metadata-action/compare/v5.5.0...v5.5.1
###
[`v5.5.0`](https://togithub.com/docker/metadata-action/releases/tag/v5.5.0 )
[Compare
Source](https://togithub.com/docker/metadata-action/compare/v5.4.0...v5.5.0 )
- Set `cwd://` prefix for bake files path by
[@​crazy-max](https://togithub.com/crazy-max ) in
[https://github.com/docker/metadata-action/pull/370 ](https://togithub.com/docker/metadata-action/pull/370 )
- Bump
[@​docker/actions-toolkit](https://togithub.com/docker/actions-toolkit )
from 0.16.0 to 0.16.1 in
[https://github.com/docker/metadata-action/pull/371 ](https://togithub.com/docker/metadata-action/pull/371 )
- Bump moment from 2.29.4 to 2.30.1 in
[https://github.com/docker/metadata-action/pull/373 ](https://togithub.com/docker/metadata-action/pull/373 )
- Bump moment-timezone from 0.5.43 to 0.5.44 in
[https://github.com/docker/metadata-action/pull/374 ](https://togithub.com/docker/metadata-action/pull/374 )
**Full Changelog**:
https://github.com/docker/metadata-action/compare/v5.4.0...v5.5.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kyle Robbertze <kyle@paddatrapper.com>
2024-02-01 16:23:04 +00:00
renovate[bot]
88a293370d
chore(deps): update dependency pytest to v8 ( #2921 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pytest](https://docs.pytest.org/en/latest/ )
([source](https://togithub.com/pytest-dev/pytest ),
[changelog](https://docs.pytest.org/en/stable/changelog.html )) |
`>=7.2.1,<8` -> `>=7.2.1,<9` |
[](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>pytest-dev/pytest (pytest)</summary>
###
[`v8.0.0`](https://togithub.com/pytest-dev/pytest/compare/7.4.4...8.0.0 )
[Compare
Source](https://togithub.com/pytest-dev/pytest/compare/7.4.4...8.0.0 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 17:34:11 +00:00
renovate[bot]
c2e6d15014
chore(deps): update dependency pydantic to >=2.5.0,<2.7 ( #2922 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pydantic](https://togithub.com/pydantic/pydantic )
([changelog](https://docs.pydantic.dev/latest/changelog/ )) |
`>=2.5.0,<2.6` -> `>=2.5.0,<2.7` |
[](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>pydantic/pydantic (pydantic)</summary>
###
[`v2.6.0`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v260-2024-01-23 )
[Compare
Source](https://togithub.com/pydantic/pydantic/compare/v2.5.3...v2.6.0 )
[GitHub
release](https://togithub.com/pydantic/pydantic/releases/tag/v2.6.0 )
The code released in v2.6.0 is practically identical to that of
v2.6.0b1.
##### What's Changed
##### Packaging
- Check for `email-validator` version >= 2.0 by
[@​commonism](https://togithub.com/commonism ) in
[#​6033](https://togithub.com/pydantic/pydantic/pull/6033 )
- Upgrade \`ruff\`\` target version to Python 3.8 by
[@​Elkiwa](https://togithub.com/Elkiwa ) in
[#​8341](https://togithub.com/pydantic/pydantic/pull/8341 )
- Update to `pydantic-extra-types==2.4.1` by
[@​yezz123](https://togithub.com/yezz123 ) in
[#​8478](https://togithub.com/pydantic/pydantic/pull/8478 )
- Update to `pyright==1.1.345` by
[@​Viicos](https://togithub.com/Viicos ) in
[#​8453](https://togithub.com/pydantic/pydantic/pull/8453 )
- Update pydantic-core from 2.14.6 to 2.16.1, significant changes from
these updates are described below, full changelog
[here](https://togithub.com/pydantic/pydantic-core/compare/v2.14.6...v2.16.1 )
##### New Features
- Add `NatsDsn` by [@​ekeew](https://togithub.com/ekeew ) in
[#​6874](https://togithub.com/pydantic/pydantic/pull/6874 )
- Add `ConfigDict.ser_json_inf_nan` by
[@​davidhewitt](https://togithub.com/davidhewitt ) in
[#​8159](https://togithub.com/pydantic/pydantic/pull/8159 )
- Add `types.OnErrorOmit` by
[@​adriangb](https://togithub.com/adriangb ) in
[#​8222](https://togithub.com/pydantic/pydantic/pull/8222 )
- Support `AliasGenerator` usage by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8282](https://togithub.com/pydantic/pydantic/pull/8282 )
- Add Pydantic People Page to docs by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8345](https://togithub.com/pydantic/pydantic/pull/8345 )
- Support `yyyy-MM-DD` datetime parsing by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8404](https://togithub.com/pydantic/pydantic/pull/8404 )
- Added bits conversions to the `ByteSize` class
[#​8415](https://togithub.com/pydantic/pydantic/issues/8415 ) by
[@​luca-matei](https://togithub.com/luca-matei ) in
[#​8507](https://togithub.com/pydantic/pydantic/pull/8507 )
- Enable json schema creation with type `ByteSize` by
[@​geospackle](https://togithub.com/geospackle ) in
[#​8537](https://togithub.com/pydantic/pydantic/pull/8537 )
- Add `eval_type_backport` to handle union operator and builtin generic
subscripting in older Pythons by
[@​alexmojaki](https://togithub.com/alexmojaki ) in
[#​8209](https://togithub.com/pydantic/pydantic/pull/8209 )
- Add support for `dataclass` fields `init` by
[@​dmontagu](https://togithub.com/dmontagu ) in
[#​8552](https://togithub.com/pydantic/pydantic/pull/8552 )
- Implement pickling for `ValidationError` by
[@​davidhewitt](https://togithub.com/davidhewitt ) in
[pydantic/pydantic-core#1119 ](https://togithub.com/pydantic/pydantic-core/pull/1119 )
- Add unified tuple validator that can handle "variadic" tuples via
PEP-646 by [@​dmontagu](https://togithub.com/dmontagu ) in
[pydantic/pydantic-core#865 ](https://togithub.com/pydantic/pydantic-core/pull/865 )
##### Changes
- Drop Python3.7 support by
[@​hramezani](https://togithub.com/hramezani ) in
[#​7188](https://togithub.com/pydantic/pydantic/pull/7188 )
- Drop Python 3.7, and PyPy 3.7 and 3.8 by
[@​davidhewitt](https://togithub.com/davidhewitt ) in
[pydantic/pydantic-core#1129 ](https://togithub.com/pydantic/pydantic-core/pull/1129 )
- Use positional-only `self` in `BaseModel` constructor, so no field
name can ever conflict with it by
[@​ariebovenberg](https://togithub.com/ariebovenberg ) in
[#​8072](https://togithub.com/pydantic/pydantic/pull/8072 )
- Make `@validate_call` return a function instead of a custom descriptor
- fixes binding issue with inheritance and adds `self/cls` argument to
validation errors by
[@​alexmojaki](https://togithub.com/alexmojaki ) in
[#​8268](https://togithub.com/pydantic/pydantic/pull/8268 )
- Exclude `BaseModel` docstring from JSON schema description by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8352](https://togithub.com/pydantic/pydantic/pull/8352 )
- Introducing `classproperty` decorator for `model_computed_fields` by
[@​Jocelyn-Gas](https://togithub.com/Jocelyn-Gas ) in
[#​8437](https://togithub.com/pydantic/pydantic/pull/8437 )
- Explicitly raise an error if field names clashes with types by
[@​Viicos](https://togithub.com/Viicos ) in
[#​8243](https://togithub.com/pydantic/pydantic/pull/8243 )
- Use stricter serializer for unions of simple types by
[@​alexdrydew](https://togithub.com/alexdrydew )
[pydantic/pydantic-core#1132 ](https://togithub.com/pydantic/pydantic-core/pull/1132 )
##### Performance
- Add Codspeed profiling Actions workflow by
[@​lambertsbennett](https://togithub.com/lambertsbennett ) in
[#​8054](https://togithub.com/pydantic/pydantic/pull/8054 )
- Improve `int` extraction by
[@​samuelcolvin](https://togithub.com/samuelcolvin ) in
[pydantic/pydantic-core#1155 ](https://togithub.com/pydantic/pydantic-core/pull/1155 )
- Improve performance of recursion guard by
[@​samuelcolvin](https://togithub.com/samuelcolvin ) in
[pydantic/pydantic-core#1156 ](https://togithub.com/pydantic/pydantic-core/pull/1156 )
- `dataclass` serialization speedups by
[@​samuelcolvin](https://togithub.com/samuelcolvin ) in
[pydantic/pydantic-core#1162 ](https://togithub.com/pydantic/pydantic-core/pull/1162 )
- Avoid `HashMap` creation when looking up small JSON objects in
`LazyIndexMaps` by
[@​samuelcolvin](https://togithub.com/samuelcolvin ) in
[pydantic/jiter#55 ](https://togithub.com/pydantic/jiter/pull/55 )
- use hashbrown to speedup python string caching by
[@​davidhewitt](https://togithub.com/davidhewitt ) in
[pydantic/jiter#51 ](https://togithub.com/pydantic/jiter/pull/51 )
- Replace `Peak` with more efficient `Peek` by
[@​davidhewitt](https://togithub.com/davidhewitt ) in
[pydantic/jiter#48 ](https://togithub.com/pydantic/jiter/pull/48 )
##### Fixes
- Move `getattr` warning in deprecated `BaseConfig` by
[@​tlambert03](https://togithub.com/tlambert03 ) in
[#​7183](https://togithub.com/pydantic/pydantic/pull/7183 )
- Only hash `model_fields`, not whole `__dict__` by
[@​alexmojaki](https://togithub.com/alexmojaki ) in
[#​7786](https://togithub.com/pydantic/pydantic/pull/7786 )
- Fix mishandling of unions while freezing types in the `mypy` plugin by
[@​dmontagu](https://togithub.com/dmontagu ) in
[#​7411](https://togithub.com/pydantic/pydantic/pull/7411 )
- Fix `mypy` error on untyped `ClassVar` by
[@​vincent-hachin-wmx](https://togithub.com/vincent-hachin-wmx ) in
[#​8138](https://togithub.com/pydantic/pydantic/pull/8138 )
- Only compare pydantic fields in `BaseModel.__eq__` instead of whole
`__dict__` by
[@​QuentinSoubeyranAqemia](https://togithub.com/QuentinSoubeyranAqemia )
in [#​7825](https://togithub.com/pydantic/pydantic/pull/7825 )
- Update `strict` docstring in `model_validate` method. by
[@​LukeTonin](https://togithub.com/LukeTonin ) in
[#​8223](https://togithub.com/pydantic/pydantic/pull/8223 )
- Fix overload position of `computed_field` by
[@​Viicos](https://togithub.com/Viicos ) in
[#​8227](https://togithub.com/pydantic/pydantic/pull/8227 )
- Fix custom type type casting used in multiple attributes by
[@​ianhfc](https://togithub.com/ianhfc ) in
[#​8066](https://togithub.com/pydantic/pydantic/pull/8066 )
- Fix issue not allowing `validate_call` decorator to be dynamically
assigned to a class method by
[@​jusexton](https://togithub.com/jusexton ) in
[#​8249](https://togithub.com/pydantic/pydantic/pull/8249 )
- Fix issue `unittest.mock` deprecation warnings by
[@​ibleedicare](https://togithub.com/ibleedicare ) in
[#​8262](https://togithub.com/pydantic/pydantic/pull/8262 )
- Added tests for the case `JsonValue` contains subclassed primitive
values by [@​jusexton](https://togithub.com/jusexton ) in
[#​8286](https://togithub.com/pydantic/pydantic/pull/8286 )
- Fix `mypy` error on free before validator (classmethod) by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8285](https://togithub.com/pydantic/pydantic/pull/8285 )
- Fix `to_snake` conversion by
[@​jevins09](https://togithub.com/jevins09 ) in
[#​8316](https://togithub.com/pydantic/pydantic/pull/8316 )
- Fix type annotation of `ModelMetaclass.__prepare__` by
[@​slanzmich](https://togithub.com/slanzmich ) in
[#​8305](https://togithub.com/pydantic/pydantic/pull/8305 )
- Disallow `config` specification when initializing a `TypeAdapter` when
the annotated type has config already by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8365](https://togithub.com/pydantic/pydantic/pull/8365 )
- Fix a naming issue with JSON schema for generics parametrized by
recursive type aliases by
[@​dmontagu](https://togithub.com/dmontagu ) in
[#​8389](https://togithub.com/pydantic/pydantic/pull/8389 )
- Fix type annotation in pydantic people script by
[@​shenxiangzhuang](https://togithub.com/shenxiangzhuang ) in
[#​8402](https://togithub.com/pydantic/pydantic/pull/8402 )
- Add support for field `alias` in `dataclass` signature by
[@​NeevCohen](https://togithub.com/NeevCohen ) in
[#​8387](https://togithub.com/pydantic/pydantic/pull/8387 )
- Fix bug with schema generation with `Field(...)` in a forward ref by
[@​dmontagu](https://togithub.com/dmontagu ) in
[#​8494](https://togithub.com/pydantic/pydantic/pull/8494 )
- Fix ordering of keys in `__dict__` with `model_construct` call by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8500](https://togithub.com/pydantic/pydantic/pull/8500 )
- Fix module `path_type` creation when globals does not contain
`__name__` by [@​hramezani](https://togithub.com/hramezani ) in
[#​8470](https://togithub.com/pydantic/pydantic/pull/8470 )
- Fix for namespace issue with dataclasses with `from __future__ import
annotations` by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8513](https://togithub.com/pydantic/pydantic/pull/8513 )
- Fix: make function validator types positional-only by
[@​pmmmwh](https://togithub.com/pmmmwh ) in
[#​8479](https://togithub.com/pydantic/pydantic/pull/8479 )
- Fix usage of `@deprecated` by
[@​Viicos](https://togithub.com/Viicos ) in
[#​8294](https://togithub.com/pydantic/pydantic/pull/8294 )
- Add more support for private attributes in `model_construct` call by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8525](https://togithub.com/pydantic/pydantic/pull/8525 )
- Use a stack for the types namespace by
[@​dmontagu](https://togithub.com/dmontagu ) in
[#​8378](https://togithub.com/pydantic/pydantic/pull/8378 )
- Fix schema-building bug with `TypeAliasType` for types with refs by
[@​dmontagu](https://togithub.com/dmontagu ) in
[#​8526](https://togithub.com/pydantic/pydantic/pull/8526 )
- Support `pydantic.Field(repr=False)` in dataclasses by
[@​tigeryy2](https://togithub.com/tigeryy2 ) in
[#​8511](https://togithub.com/pydantic/pydantic/pull/8511 )
- Override `dataclass_transform` behavior for `RootModel` by
[@​Viicos](https://togithub.com/Viicos ) in
[#​8163](https://togithub.com/pydantic/pydantic/pull/8163 )
- Refactor signature generation for simplicity by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[#​8572](https://togithub.com/pydantic/pydantic/pull/8572 )
- Fix ordering bug of PlainValidator annotation by
[@​Anvil](https://togithub.com/Anvil ) in
[#​8567](https://togithub.com/pydantic/pydantic/pull/8567 )
- Fix `exclude_none` for json serialization of `computed_field`s by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[pydantic/pydantic-core#1098 ](https://togithub.com/pydantic/pydantic-core/pull/1098 )
- Support yyyy-MM-DD string for datetimes by
[@​sydney-runkle](https://togithub.com/sydney-runkle ) in
[pydantic/pydantic-core#1124 ](https://togithub.com/pydantic/pydantic-core/pull/1124 )
- Tweak ordering of definitions in generated schemas by
[@​StrawHatDrag0n](https://togithub.com/StrawHatDrag0n ) in
[#​8583](https://togithub.com/pydantic/pydantic/pull/8583 )
##### New Contributors
##### `pydantic`
- [@​ekeew](https://togithub.com/ekeew ) made their first
contribution in
[#​6874](https://togithub.com/pydantic/pydantic/pull/6874 )
- [@​lambertsbennett](https://togithub.com/lambertsbennett ) made
their first contribution in
[#​8054](https://togithub.com/pydantic/pydantic/pull/8054 )
- [@​vincent-hachin-wmx](https://togithub.com/vincent-hachin-wmx )
made their first contribution in
[#​8138](https://togithub.com/pydantic/pydantic/pull/8138 )
-
[@​QuentinSoubeyranAqemia](https://togithub.com/QuentinSoubeyranAqemia )
made their first contribution in
[#​7825](https://togithub.com/pydantic/pydantic/pull/7825 )
- [@​ariebovenberg](https://togithub.com/ariebovenberg ) made their
first contribution in
[#​8072](https://togithub.com/pydantic/pydantic/pull/8072 )
- [@​LukeTonin](https://togithub.com/LukeTonin ) made their first
contribution in
[#​8223](https://togithub.com/pydantic/pydantic/pull/8223 )
- [@​denisart](https://togithub.com/denisart ) made their first
contribution in
[#​8231](https://togithub.com/pydantic/pydantic/pull/8231 )
- [@​ianhfc](https://togithub.com/ianhfc ) made their first
contribution in
[#​8066](https://togithub.com/pydantic/pydantic/pull/8066 )
- [@​eonu](https://togithub.com/eonu ) made their first
contribution in
[#​8255](https://togithub.com/pydantic/pydantic/pull/8255 )
- [@​amandahla](https://togithub.com/amandahla ) made their first
contribution in
[#​8263](https://togithub.com/pydantic/pydantic/pull/8263 )
- [@​ibleedicare](https://togithub.com/ibleedicare ) made their
first contribution in
[#​8262](https://togithub.com/pydantic/pydantic/pull/8262 )
- [@​jevins09](https://togithub.com/jevins09 ) made their first
contribution in
[#​8316](https://togithub.com/pydantic/pydantic/pull/8316 )
- [@​cuu508](https://togithub.com/cuu508 ) made their first
contribution in
[#​8322](https://togithub.com/pydantic/pydantic/pull/8322 )
- [@​slanzmich](https://togithub.com/slanzmich ) made their first
contribution in
[#​8305](https://togithub.com/pydantic/pydantic/pull/8305 )
- [@​jensenbox](https://togithub.com/jensenbox ) made their first
contribution in
[#​8331](https://togithub.com/pydantic/pydantic/pull/8331 )
- [@​szepeviktor](https://togithub.com/szepeviktor ) made their
first contribution in
[#​8356](https://togithub.com/pydantic/pydantic/pull/8356 )
- [@​Elkiwa](https://togithub.com/Elkiwa ) made their first
contribution in
[#​8341](https://togithub.com/pydantic/pydantic/pull/8341 )
- [@​parhamfh](https://togithub.com/parhamfh ) made their first
contribution in
[#​8395](https://togithub.com/pydantic/pydantic/pull/8395 )
- [@​shenxiangzhuang](https://togithub.com/shenxiangzhuang ) made
their first contribution in
[#​8402](https://togithub.com/pydantic/pydantic/pull/8402 )
- [@​NeevCohen](https://togithub.com/NeevCohen ) made their first
contribution in
[#​8387](https://togithub.com/pydantic/pydantic/pull/8387 )
- [@​zby](https://togithub.com/zby ) made their first contribution
in [#​8497](https://togithub.com/pydantic/pydantic/pull/8497 )
- [@​patelnets](https://togithub.com/patelnets ) made their first
contribution in
[#​8491](https://togithub.com/pydantic/pydantic/pull/8491 )
- [@​edwardwli](https://togithub.com/edwardwli ) made their first
contribution in
[#​8503](https://togithub.com/pydantic/pydantic/pull/8503 )
- [@​luca-matei](https://togithub.com/luca-matei ) made their first
contribution in
[#​8507](https://togithub.com/pydantic/pydantic/pull/8507 )
- [@​Jocelyn-Gas](https://togithub.com/Jocelyn-Gas ) made their
first contribution in
[#​8437](https://togithub.com/pydantic/pydantic/pull/8437 )
- [@​bL34cHig0](https://togithub.com/bL34cHig0 ) made their first
contribution in
[#​8501](https://togithub.com/pydantic/pydantic/pull/8501 )
- [@​tigeryy2](https://togithub.com/tigeryy2 ) made their first
contribution in
[#​8511](https://togithub.com/pydantic/pydantic/pull/8511 )
- [@​geospackle](https://togithub.com/geospackle ) made their first
contribution in
[#​8537](https://togithub.com/pydantic/pydantic/pull/8537 )
- [@​Anvil](https://togithub.com/Anvil ) made their first
contribution in
[#​8567](https://togithub.com/pydantic/pydantic/pull/8567 )
- [@​hungtsetse](https://togithub.com/hungtsetse ) made their first
contribution in
[#​8546](https://togithub.com/pydantic/pydantic/pull/8546 )
- [@​StrawHatDrag0n](https://togithub.com/StrawHatDrag0n ) made
their first contribution in
[#​8583](https://togithub.com/pydantic/pydantic/pull/8583 )
##### `pydantic-core`
- [@​mariuswinger](https://togithub.com/mariuswinger ) made their
first contribution in
[pydantic/pydantic-core#1087 ](https://togithub.com/pydantic/pydantic-core/pull/1087 )
- [@​adamchainz](https://togithub.com/adamchainz ) made their first
contribution in
[pydantic/pydantic-core#1090 ](https://togithub.com/pydantic/pydantic-core/pull/1090 )
- [@​akx](https://togithub.com/akx ) made their first contribution
in
[pydantic/pydantic-core#1123 ](https://togithub.com/pydantic/pydantic-core/pull/1123 )
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 17:25:55 +00: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
renovate[bot]
f6d7be9b1c
chore(deps): update lycheeverse/lychee-action action to v1.9.3 ( #2920 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[lycheeverse/lychee-action](https://togithub.com/lycheeverse/lychee-action )
| action | patch | `v1.9.1` -> `v1.9.3` |
---
### Release Notes
<details>
<summary>lycheeverse/lychee-action (lycheeverse/lychee-action)</summary>
###
[`v1.9.3`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.9.3 ):
Version 1.9.3
[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.9.2...v1.9.3 )
#### What's Changed
- Bugfix: Pass custom `token` as input argument to action by
[@​mre](https://togithub.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/222 ](https://togithub.com/lycheeverse/lychee-action/pull/222 )
Previously, the name of the token was incorrect, leading to no token
being used if the user specified `with: [token: ...]`.
Thanks to [@​tobon4](https://togithub.com/tobon4 ) for pointing
this out.
**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.9.3
###
[`v1.9.2`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.9.2 ):
Version 1.9.2
[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.9.1...v1.9.2 )
#### What's Changed
- Bump actions/cache from 3 to 4 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/lycheeverse/lychee-action/pull/221 ](https://togithub.com/lycheeverse/lychee-action/pull/221 )
- Bump peter-evans/create-issue-from-file from 4 to 5 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/lycheeverse/lychee-action/pull/223 ](https://togithub.com/lycheeverse/lychee-action/pull/223 )
- Bump to lychee 0.14.2 in
eeb9cb63fe
**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.9.2
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 17:22:44 +00:00
renovate[bot]
0c89350c2f
chore(deps): update peter-evans/dockerhub-description action to v4 ( #2918 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[peter-evans/dockerhub-description](https://togithub.com/peter-evans/dockerhub-description )
| action | major | `v3` -> `v4` |
---
### Release Notes
<details>
<summary>peter-evans/dockerhub-description
(peter-evans/dockerhub-description)</summary>
###
[`v4`](https://togithub.com/peter-evans/dockerhub-description/compare/v3...v4 )
[Compare
Source](https://togithub.com/peter-evans/dockerhub-description/compare/v3...v4 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 17:22:28 +00:00
Kyle Robbertze
3d13f41bbd
ci: pin docker/metadata-action to working version ( #2924 )
...
Pin docker/metadata-action to 5.4 until
https://github.com/docker/metadata-action/issues/381 is fixed
2024-01-30 17:15:15 +00:00
renovate[bot]
dab6c486b8
chore(deps): update dependency uvicorn to >=0.17.6,<0.28.0 ( #2913 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [uvicorn](https://togithub.com/encode/uvicorn )
([changelog](https://togithub.com/encode/uvicorn/blob/master/CHANGELOG.md ))
| `>=0.17.6,<0.27.0` -> `>=0.17.6,<0.28.0` |
[](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>encode/uvicorn (uvicorn)</summary>
###
[`v0.27.0`](https://togithub.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0270---2024-01-20 )
[Compare
Source](https://togithub.com/encode/uvicorn/compare/0.26.0...0.27.0 )
##### Added
- Raise `ClientDisconnect(IOError)` on `send()` when client disconnected
([#​2218](https://togithub.com/encode/uvicorn/issues/2218 ))
19/01/24
- Bump ASGI WebSocket spec version to 2.4
([#​2221](https://togithub.com/encode/uvicorn/issues/2221 ))
20/01/24
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 21:57:06 +01:00
Thomas Göttgens
b14469722e
docs(playout): close warning box properly ( #2911 )
2024-01-20 17:06:35 +00:00
Kyle Robbertze
54ec07d2bd
docs: fix broken link to install guide ( #2908 )
...
### Description
Follow up to #2904
2024-01-19 17:12:30 +00:00
renovate[bot]
0b5d63c547
chore(deps): update actions/cache action to v4 ( #2906 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [actions/cache](https://togithub.com/actions/cache ) | action | major |
`v3` -> `v4` |
---
### Release Notes
<details>
<summary>actions/cache (actions/cache)</summary>
### [`v4`](https://togithub.com/actions/cache/compare/v3...v4 )
[Compare Source](https://togithub.com/actions/cache/compare/v3...v4 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 17:05:01 +00:00
Thomas Göttgens
b6c3ece7d9
docs(playout): add a tutorial to enable AAC in liquidsoap ( #2904 )
...
Documentation update regarding #2184
---------
Co-authored-by: Thomas Göttgens <tgoettgens@mail.com>
2024-01-19 16:58:22 +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]
2a91320bb5
chore(deps): update dependency uvicorn to >=0.17.6,<0.27.0 ( #2901 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [uvicorn](https://togithub.com/encode/uvicorn )
([changelog](https://togithub.com/encode/uvicorn/blob/master/CHANGELOG.md ))
| `>=0.17.6,<0.26.0` -> `>=0.17.6,<0.27.0` |
[](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>encode/uvicorn (uvicorn)</summary>
###
[`v0.26.0`](https://togithub.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#0260---2024-01-16 )
[Compare
Source](https://togithub.com/encode/uvicorn/compare/0.25.0...0.26.0 )
##### Changed
- Update `--root-path` to include the root path prefix in the full ASGI
`path` as per the ASGI spec
([#​2213](https://togithub.com/encode/uvicorn/issues/2213 ))
16/01/24
- Use `__future__.annotations` on some internal modules
([#​2199](https://togithub.com/encode/uvicorn/issues/2199 ))
16/01/24
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 19:19:27 +01: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
Jonas L
f6d57d5f2d
chore: introduce the stable-4.x branch ( #2888 )
...
### Description
Related to https://github.com/libretime/libretime/issues/2887
2024-01-13 12:50:51 +01:00
renovate[bot]
4c40fab58e
chore(deps): update dependency lxml to >=4.5.0,<6.0.0 (main) ( #2878 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [lxml](https://lxml.de/ ) ([source](https://togithub.com/lxml/lxml ),
[changelog](https://git.launchpad.net/lxml/plain/CHANGES.txt )) |
`>=4.5.0,<5.1.0` -> `>=4.5.0,<6.0.0` |
[](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>lxml/lxml (lxml)</summary>
###
[`v5.1.0`](https://togithub.com/lxml/lxml/blob/HEAD/CHANGES.txt#510-2024-01-05 )
[Compare
Source](https://togithub.com/lxml/lxml/compare/lxml-5.0.1...lxml-5.1.0 )
\==================
## Features added
- Parsing ASCII strings is slightly faster.
## Bugs fixed
- [GH#349](https://togithub.com/GH/lxml/issues/349 ): The HTML
`Cleaner()` interpreted an accidentally provided string parameter
for the `host_whitelist` as list of characters and silently failed to
reject any hosts.
Passing a non-collection is now rejected.
## Other changes
- Support for Python 2.7 and Python versions < 3.6 was removed.
- The wheel build was migrated to use `cibuildwheel`.
Patch by Primož Godec.
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 21:04:49 +01:00
renovate[bot]
02e258500b
chore(deps): update lycheeverse/lychee-action action to v1.9.1
2024-01-11 06:01:32 +00:00
renovate[bot]
ee33c0c56a
chore(deps): lock file maintenance (legacy/composer.json)
2024-01-09 09:35:34 +00:00