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]
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
libretime-bot
4795170feb
chore(main): release 4.0.0 ( #2834 )
...
🤖 I have created a release *beep* *boop*
---
## [4.0.0](https://github.com/libretime/libretime/compare/3.2.0...4.0.0 )
(2024-01-07)
### ⚠ BREAKING CHANGES
* The media file serving is now handled by Nginx instead of the API
service. The `storage.path` field is now used in the Nginx
configuration, so make sure to update the Nginx configuration file if
you change it.
* **installer:** The default listen port for the installer is now
`8080`. We recommend that you put a reverse proxy in front of LibreTime.
* **installer:** The `--update-nginx` flag was removed from the
installer. The nginx configuration deployed by the installer will now
always be overwritten. Make sure to move your customizations to a
reverse proxy configuration.
* The default system output (`stream.outputs.system[].kind`) changed
from `alsa` to `pulseaudio`. Make sure to update your configuration file
if you rely on the default system output.
* The `general.secret_key` configuration field is now required. Make
sure to update your configuration file and add a secret key.
### Features
* default system output is now `pulseaudio`
([#2842 ](https://github.com/libretime/libretime/issues/2842 ))
([083ee3f
](083ee3f1dd
)),
closes [#2542 ](https://github.com/libretime/libretime/issues/2542 )
* disable uvicorn worker lifespan
([#2845 ](https://github.com/libretime/libretime/issues/2845 ))
([8743c84
](8743c84d0f
))
* **installer:** add the `--storage-path` flag
([#2865 ](https://github.com/libretime/libretime/issues/2865 ))
([5b23852
](5b23852f8d
))
* **installer:** change default listen port to 8080
([#2852 ](https://github.com/libretime/libretime/issues/2852 ))
([f72b7f9
](f72b7f9c97
))
* **installer:** remove the `--update-nginx` flag
([#2851 ](https://github.com/libretime/libretime/issues/2851 ))
([35d7eac
](35d7eace13
))
* **playout:** configure device for alsa and pulseaudio system outputs
([#2654 ](https://github.com/libretime/libretime/issues/2654 ))
([06af18b
](06af18b84e
))
* rewrite cloud-init config
([#2853 ](https://github.com/libretime/libretime/issues/2853 ))
([8406d52
](8406d520d7
))
* run python in optimized mode
([#2874 ](https://github.com/libretime/libretime/issues/2874 ))
([3f7fc99
](3f7fc99b6b
))
* the `general.secret_key` configuration field is now required
([#2841 ](https://github.com/libretime/libretime/issues/2841 ))
([0d2d1a2
](0d2d1a2673
)),
closes [#2426 ](https://github.com/libretime/libretime/issues/2426 )
* use nginx to serve media files
([#2860 ](https://github.com/libretime/libretime/issues/2860 ))
([4603c17
](4603c1759f
))
### Bug Fixes
* add parent function name in setValue exception
([#2777 ](https://github.com/libretime/libretime/issues/2777 ))
([c764a5a
](c764a5a648
))
* **api:** ensure non ascii paths are handled by X-Accel-Redirect
([#2861 ](https://github.com/libretime/libretime/issues/2861 ))
([0ce63f3
](0ce63f3bf0
))
* **api:** enum schema description
([#2803 ](https://github.com/libretime/libretime/issues/2803 ))
([976b70e
](976b70ed32
))
* **api:** let nginx handle the media file content type
([#2862 ](https://github.com/libretime/libretime/issues/2862 ))
([72268ad
](72268ad9bb
))
* **api:** move gunicorn worker config to python file
([#2854 ](https://github.com/libretime/libretime/issues/2854 ))
([43221d9
](43221d9d7f
))
* **api:** paths with question marks chars are handled by
X-Accel-Redirect
([#2875 ](https://github.com/libretime/libretime/issues/2875 ))
([b2c1ceb
](b2c1ceb89f
))
* **deps:** update dependency friendsofphp/php-cs-fixer to <3.42.1
(main) ([#2765 ](https://github.com/libretime/libretime/issues/2765 ))
([8ae4dce
](8ae4dce9e7
))
* **deps:** update dependency friendsofphp/php-cs-fixer to <3.43.2
(main) ([#2848 ](https://github.com/libretime/libretime/issues/2848 ))
([62e5f4d
](62e5f4dfbb
))
* **deps:** update dependency friendsofphp/php-cs-fixer to <3.45.1
(main) ([#2855 ](https://github.com/libretime/libretime/issues/2855 ))
([6f84328
](6f84328380
))
* **deps:** update dependency friendsofphp/php-cs-fixer to <3.46.1
(main) ([#2868 ](https://github.com/libretime/libretime/issues/2868 ))
([4827dbc
](4827dbce71
))
* **legacy:** allow uploading opus files
([#2804 ](https://github.com/libretime/libretime/issues/2804 ))
([f252a16
](f252a16637
))
* **legacy:** declare previously undeclared variable
([#2793 ](https://github.com/libretime/libretime/issues/2793 ))
([e2cfbf4
](e2cfbf4c03
))
* **legacy:** ensure last played criteria works with never played files
([#2840 ](https://github.com/libretime/libretime/issues/2840 ))
([24ee383
](24ee3830c2
))
* **playout:** increase file download chunk size to 8192 bytes
([#2863 ](https://github.com/libretime/libretime/issues/2863 ))
([7ed1be1
](7ed1be1816
))
* **playout:** remove empty file when the download request failed
([#2864 ](https://github.com/libretime/libretime/issues/2864 ))
([2facbfa
](2facbfaff2
))
* **worker:** unbound variable when episode url returns HTTP 404
([#2844 ](https://github.com/libretime/libretime/issues/2844 ))
([3f39689
](3f396895e5
))
---
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-01-07 16:56:33 +01:00
Jonas L
e7a678e91f
build: replace custom release script with release-please ( #2817 )
...
* build: replace custom release script with release-please
* include package-name
2023-12-22 19:19:12 +01:00
Jonas L
26737abad2
chore: release 3.2.0 ( #2754 )
2023-10-16 21:26:59 +02:00
Jonas L
d071a53fdf
chore: widen dev deps version range ( #2755 )
2023-10-16 09:40:46 +01:00
renovate[bot]
c4bf174ff5
chore(deps): update dependency requests-mock to >=1.10.0,<1.12 ( #2583 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 09:38:04 +02:00
jo
08e2eec0a3
chore: release 3.1.0
2023-05-26 15:34:43 +02:00
renovate[bot]
52361c1b9b
chore(deps): update dependency types-requests to >=2.31.0,<2.32 (main) ( #2561 )
...
* chore(deps): update dependency types-requests to >=2.31.0,<2.32
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-05-25 15:12:42 +02:00
renovate[bot]
51a3add302
chore(deps): update dependency requests to >=2.31.0,<2.32 [security] ( #2558 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-24 18:23:55 +02:00
renovate[bot]
f11d493968
chore(deps): update dependency types-requests to >=2.25.1,<2.31 ( #2538 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 17:31:17 +02:00
renovate[bot]
4b12c5a5f1
chore(deps): update dependency requests to >=2.25.1,<2.31 ( #2535 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 21:30:39 +02:00
renovate[bot]
aa304cc77a
chore(deps): update dependency types-requests to >=2.25.1,<2.30 ( #2533 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-29 13:38:16 +02:00
renovate[bot]
c2c58cf250
chore(deps): update dependency requests to >=2.25.1,<2.30 ( #2528 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-26 19:09:59 +02:00
jo
0ec2c7fd54
test(api-client): allow linters failure
2023-03-22 12:13:59 +00:00
jo
6ab407a23a
feat(api-client): rewrite api-client v1 using abstract client
2023-03-22 12:13:59 +00:00
jo
98aaa4214a
feat(api-client): remove unused api v1 calls
2023-03-22 12:13:59 +00:00
jo
ad00272168
refactor(api-client): allow custom retry strategy
2023-03-22 12:13:59 +00:00
jo
a60d83311b
feat: add python packages version
2023-03-14 14:59:45 +00:00
jo
9384df7be2
Merge branch '3.0.x' into main
2023-02-26 20:16:38 +01:00
jo
861698987c
refactor: don't use f-string on logging statements
...
The strings are now be formatted if the logging level is enabled.
2023-02-26 19:09:51 +02:00
jo
c414068c16
test: re-enable pylint logging-fstring-interpolation
2023-02-26 19:09:51 +02:00
jo
c6940db289
feat: replace loguru with logging
2023-02-26 19:09:51 +02:00
jo
d35ee41bb9
chore: release 3.0.2
2023-02-21 13:37:04 +01:00
jo
3606bd2b2b
chore: add isort pre-commit hook
2023-02-03 12:38:58 +01:00
jo
284fd5c688
chore: set dev dependencies version ranges
2023-02-03 07:36:58 +02:00
jo
715144a92d
chore: move isort config to pyproject.toml
2023-01-16 08:42:23 +02:00
jo
14beb885a3
chore: split test and coverage tasks
2023-01-16 08:42:23 +02:00
jo
37ba9d0986
chore: release 3.0.1
2022-12-20 16:27:29 +01:00
jo
86ceac76d8
chore: release 3.0.1
2022-12-20 16:16:30 +01:00
jo
f394336efc
chore: move isort config to pyproject.toml
2022-12-07 15:59:52 +02:00
jo
5738edb49c
chore: split test and coverage tasks
2022-12-07 15:59:52 +02:00
jo
ea8131ec43
feat: drop Python 3.7 support
2022-10-10 23:49:10 +02:00
jo
d29d837d01
feat: drop Python 3.6 support
2022-10-10 20:11:33 +02:00
Jonas L
96ded62c32
chore: release 3.0.0 ( #2216 )
2022-10-10 17:51:15 +02:00
jo
04490676f6
chore: release 3.0.0-beta.2
2022-10-03 12:43:38 +02:00
jo
ddae3202cc
chore: release 3.0.0-beta.1
2022-09-23 13:41:14 +02:00
jo
bdc2e92454
chore: release 3.0.0-beta.0
2022-09-16 16:32:00 +02:00
jo
2afb766b41
chore: outdated python packages versions
2022-09-12 10:48:43 +02:00
jo
12d2d4b15a
feat(api): add /info and /stream/* endpoints
2022-09-06 13:21:54 +02:00
jo
cfcfcc82e4
chore: revert pin setuptools to <64.0.0 for build backend
...
This reverts commit 2bde574487
.
2022-08-25 09:51:36 +02:00
Jonas L
1147853c63
feat(shared): pass config data via init ( #2042 )
2022-08-12 15:12:39 +02:00
jo
2bde574487
chore: pin setuptools to <64.0.0 for build backend
2022-08-11 22:16:00 +02:00
jo
ccbf4fb020
chore(api-client): mark package as typed
2022-08-09 21:08:29 +02:00
jo
6a20a90255
chore(api-client): add missing python-dateutil types
2022-08-09 21:08:29 +02:00
Jonas L
b465629977
chore: disable pylint logging-fstring-interpolation format ( #2033 )
2022-08-09 20:30:44 +02:00
jo
5782e10250
refactorapi-client): fix linting errors
2022-08-09 20:27:02 +02:00
jo
313898137c
refactor(api-client): improve exception handling
2022-08-09 20:27:02 +02:00
jo
d1faa4bf3d
chore(api-client): cleanup comments
2022-08-09 20:27:02 +02:00
jo
cefcd8ac12
chore(api-client): remove unused v1 api endpoints
2022-08-09 20:27:02 +02:00