jo
c4cdb94fab
docs: rename documentation files
...
Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01:00
jo
8d8e55f236
docs: replace jekyll with docusaurus
...
- jsnon5 not handled by pre-commit
Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01:00
jo
9eab3b8d17
chore: update pre-commit to handle js/ts/css files
2022-02-10 08:17:02 +01:00
jo
6419435601
style: format code using black
2022-02-09 17:24:36 +02:00
jo
c56492357b
chore: remove unmaintained utils folder
...
Fixes #561
2022-02-09 17:24:36 +02:00
jo
89c845b269
chore: upgrade black pre-commit hook
2022-02-09 17:24:36 +02:00
Jonas L
ae5746d26d
style: fix php-cs-fixer linting ( #1575 )
2022-02-08 11:14:59 +02:00
dependabot[bot]
b43cb62a2e
chore: bump composer/semver from 3.2.7 to 3.2.9 in /legacy
...
Bumps [composer/semver](https://github.com/composer/semver ) from 3.2.7 to 3.2.9.
- [Release notes](https://github.com/composer/semver/releases )
- [Changelog](https://github.com/composer/semver/blob/main/CHANGELOG.md )
- [Commits](https://github.com/composer/semver/compare/3.2.7...3.2.9 )
---
updated-dependencies:
- dependency-name: composer/semver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 10:27:16 +01:00
dependabot[bot]
94ca1b3e41
chore: bump amannn/action-semantic-pull-request from 3.6.0 to 4.1.0
...
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request ) from 3.6.0 to 4.1.0.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases )
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/master/CHANGELOG.md )
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/v3.6.0...v4.1.0 )
---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 10:17:48 +01:00
Jonas L
c80f520d76
fix(legacy): update setup with new db config schema ( #1567 )
2022-02-05 09:48:36 +02:00
Jonas L
3245216869
feat(legacy): add db config defaults and allow custom port ( #1559 )
...
* feat(legacy): allow custom port for database connection
- fix heredoc for php72
* update test config db section
* update sample config db section
* update api db config
* use defaults for database config section
* update documentation
* more documentation for migration
2022-02-04 16:03:01 +02:00
Jonas L
71b3e6aa9d
docs: recommend current LTS or stable distro ( #1564 )
...
Fixes #1561
2022-02-04 15:58:07 +02:00
Jonas L
173ec6b334
fix(legacy): revert default storage path ( #1563 )
...
The installer hasn't been updated to create the default storage path.
2022-02-04 15:57:09 +02:00
Jonas L
729a7b99e0
feat(legacy): consolidate constants ( #1558 )
...
* remove unused file
* fix paths leading slash
* remove useless imports
* refactor(legacy): use constants everywhere
* fix path leading slash
* remove useless import
* consolidate legacy contants
* format code
* reuse LIBRETIME_CONFIG_DIR
* fix test config path
* remove ci legacy log dir creation
* some logs improvements
2022-02-04 12:00:41 +02:00
Jonas L
e106858fd8
feat: remove locale generation from installer ( #1560 )
...
Fixes #317
2022-02-04 09:16:00 +02:00
jo
9fc4552cfe
fix(playout): properly populate scheduled_now_webstream
...
If scheduled_now_webstream is an empty array, the webstream will automatically be stopped, so we need to make sure the scheduled_now_webstream is aways properly populated.
2022-02-02 17:13:52 +02:00
jo
803152cb85
fix(api_client): properly enclose events in media dict
2022-02-02 17:13:52 +02:00
jo
51499f251f
fix(api_client): use same date format as schedule key
...
The webstream end event are ignored by playout if they do not follow the right datetime format.
2022-02-02 15:15:24 +02:00
jo
51378e1e6f
fix(playout): only exclude ended file event
...
The webstream schedule logic seem to rely on already ended events to check if the stream running is the right one.
We should not exclude these webstream events from the schedule.
2022-02-02 15:15:24 +02:00
jo
348d2d81f0
fix(playout): proper logger format string
2022-02-02 15:15:24 +02:00
Jonas L
784b9fb225
feat(shared): add url/dsn property to config classes ( #1553 )
2022-02-02 09:04:48 +02:00
jo
80dfbd3179
fix(shared): set logger encoding and dont assume encoding
...
Older versions of python might have ascii as default, we
should not assume that the default encoding always is "utf-8"
when opening files.
2022-02-01 04:23:05 +02:00
dependabot[bot]
f6fe318278
chore: bump loguru from 0.5.3 to 0.6.0 in /shared
...
Bumps [loguru](https://github.com/Delgan/loguru ) from 0.5.3 to 0.6.0.
- [Release notes](https://github.com/Delgan/loguru/releases )
- [Changelog](https://github.com/Delgan/loguru/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/Delgan/loguru/compare/0.5.3...0.6.0 )
---
updated-dependencies:
- dependency-name: loguru
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-01 04:23:05 +02:00
Jonas L
0ce1634c9d
feat(legacy): rename log filepath ( #1551 )
...
BREAKING CHANGE: moved legacy log file from '/var/log/airtime/zendphp.log' to '/var/log/libretime/legacy.log'
2022-01-31 11:27:53 +02:00
Jonas L
81fc0c9afc
fix(legacy): clean sql migrations files ( #1545 )
...
* fix(legacy): do not fail on fresh sql migration
* fix(legacy): sql only drop if exists
* fix(legacy): remove unused in db locales
These inserts are making migration fail
2022-01-31 09:19:53 +00:00
jo
a15e1fead5
chore(shared): add dependabot dependencies check
2022-01-31 11:17:02 +02:00
jo
ca37322da4
chore: reorder dependabot entries
2022-01-31 11:17:02 +02:00
Jonas L
7ce6104806
chore: remove broken invite-contributors config ( #1541 )
...
Fixes #1323
2022-01-31 11:14:23 +02:00
Jonas L
ff2c733170
feat(playout): change liquidsoap working dir ( #1547 )
...
BREAKING CHANGE: When running liquidsoap as a systemd service, the working directory is now /var/lib/libretime/playout.
2022-01-31 11:13:49 +02:00
Kyle Robbertze
c266221165
fix(shared): pin loguru version
...
Pinned to 0.5.3 until https://github.com/Delgan/loguru/issues/581 is
fixed
2022-01-31 10:12:28 +01:00
Jonas L
cba905e367
refactor(analyzer): improve analyzer pipeline module ( #1542 )
...
* rename steps to pipeline module
* move pipeline entrypoint to pipeline module
* rename steps test module to pipeline
* fix paths after renames
* move step protocol to pipeline
* create pipeline status enum
* use Protocol from typing extensions
* Fix linting
2022-01-28 07:09:19 +02:00
Jonas L
74c8d20284
fix(legacy): only render if img creation succeed ( #1540 )
...
Fixes #1489
2022-01-28 07:04:58 +02:00
jo
86948e7b93
fix(legacy): add more null check in api live info
2022-01-27 16:01:09 +02:00
jo
ace167fe10
fix(legacy): do not catch too broad exceptions
2022-01-27 16:01:09 +02:00
jo
3f67d36909
fix(legacy): default values when array is null
2022-01-27 16:01:09 +02:00
jo
32cb67806a
chore: add pyupgrade pre-commit hook
...
- add --py3-plus flag to pyupgrade hook
- add --py36-plus flag to pyupgrade hook
2022-01-27 10:37:48 +02:00
jo
21aaf9bca1
chore: upgrade pre-commit hooks
2022-01-27 10:37:48 +02:00
Jonas L
e740267ee4
chore(legacy): upgrade propel1 dependency ( #1512 )
2022-01-26 23:18:18 +02:00
jo
7393db50e0
test: require lint to succeed for shared/ and tools/
2022-01-26 10:15:35 +02:00
jo
bed5436a6e
chore: split dev requirement from package install
2022-01-26 10:15:35 +02:00
jo
e862e9f280
test(tools): fix mypy linters
2022-01-26 10:15:35 +02:00
jo
9de82bb568
chore: make linters config consistent in pyproject.toml
...
- remove mypy config from makefile
2022-01-26 10:15:35 +02:00
jo
7988b7467b
test: allow to set python linters to fail per app
2022-01-26 10:15:35 +02:00
jo
b9502bc203
test(shared): fix linting
2022-01-26 10:15:35 +02:00
jo
1a1f0488d5
test(shared): ignore pylint warning
2022-01-26 10:15:35 +02:00
jo
0f8cb1a5ed
chore: set python build system in pyproject.toml
...
- fix local package install
- local packages requirement url format
2022-01-26 10:15:35 +02:00
jo
441028a1d2
chore: make setup.py file chdir consistent
2022-01-26 10:15:35 +02:00
Jonas L
1924919e18
fix(shared): type is required for default config submodel ( #1536 )
...
We cannot load submodels values from environment variables without having the submodel type annotations.
2022-01-24 15:24:16 +02:00
jo
d93fb44356
feat(analyzer): analyze cuepoint using ffmpeg
...
- store cue(in|out) as strings
- reraise when executable was not found
BREAKING CHANGE: The analyzer requires 'ffmpeg'. The 'silan' system dependency can be removed.
2022-01-24 12:54:31 +02:00
jo
ceab19271d
feat(analyzer): analyze replaygain using ffmpeg
...
- remove pycairo pip install
- fix py36 compatibility
- reraise when executable was not found
BREAKING CHANGE: The analyzer requires 'ffmpeg'. The 'rgain3' python package and it's system dependencies can be removed.
2022-01-24 12:54:31 +02:00