Commit Graph

17677 Commits

Author SHA1 Message Date
jo 07c0029d65 test(worker): add bandit linter check 2022-02-14 21:01:35 +02:00
jo a26f3824bb test(shared): add bandit linter check 2022-02-14 21:01:35 +02:00
jo c7332db8ed test(shared): add missing format lint check 2022-02-14 21:01:35 +02:00
jo 90e0bcb6f8 test(playout): add bandit linter check 2022-02-14 21:01:35 +02:00
jo 8a11a583ff test(api_client): add bandit linter check 2022-02-14 21:01:35 +02:00
jo 924b7f8f46 test(api): add bandit linter check 2022-02-14 21:01:35 +02:00
jo 892a2a5f78 chore: set default python target to install 2022-02-14 21:01:35 +02:00
jo 76e7bfbf6c docs: remove mention of self signed certificate 2022-02-14 12:44:17 +02:00
jo 8040d9a6c5 feat(analyzer): do verify ssl certs on requests
BREAKING CHANGE: Analyzer no longer ignore certificate verification when
performing a request. We recommand using Letsencrypt to get a certificat.
If you do rely on self signed certificat, please read the requests
documentation to provide a CA Bundle to verify the cert using
environement variables.
2022-02-14 12:44:17 +02:00
jo a73dacc6b5 chore(analyzer): add bandit linter to analyzer 2022-02-14 12:44:17 +02:00
jo 98cbbab4ad chore: add bandit and flake8 to python dev deps 2022-02-14 12:44:17 +02:00
Jonas L 42c2ecdf48
fix(shared): do not strip vhost slash (#1594) 2022-02-14 11:25:10 +02:00
dependabot[bot] 0bde024bda
chore: bump lycheeverse/lychee-action from 1.2.1 to 1.3.0 (#1597)
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](https://github.com/lycheeverse/lychee-action/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 11:24:42 +02:00
Jonas L c3d2a4dfab
feat: remove unused ubuntu ppa (#1591)
Fixes #1573
2022-02-11 15:34:32 +02:00
Jonas L d3c37ce162
chore: move and clean logo to website (#1590) 2022-02-11 12:20:45 +02:00
jo 94d3c5e496 docs: fix prose linting errors
- Properly enclose code between triple backticks
- Put paths and url between backticks
- Remove links <> enclosing
- Libretime styled name is LibreTime
- Put urls and paths betwen backticks
- Use sentence like capitalization for headings
- Put tools name between backticks
- Update links
2022-02-11 10:12:07 +01:00
jo 75e3760f2e ci: setup docs prose linting with vale
- only deploy if prose lint passes
- rework styles download
- add vale anotations matcher
- set MinAlertLevel to warning
- add website pages to the prose linter
- do not fail on docs linting
2022-02-11 10:12:07 +01:00
jo 2d644561bf docs: fix broken links 2022-02-10 08:40:38 +01:00
jo dae1420a5b ci: add link-checker workflow
- merge closed-references and link-checker
- add issue number to update
2022-02-10 08:40:38 +01:00
jo 328e36168d ci: only cancel same worklow 2022-02-10 08:40:38 +01:00
dependabot[bot] 864df4874b chore: bump @types/node from 17.0.16 to 17.0.17 in /website
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.16 to 17.0.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-10 08:24:52 +01:00
dependabot[bot] 89214966c2 chore: bump amannn/action-semantic-pull-request from 4.1.0 to 4.2.0
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 4.1.0 to 4.2.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/v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-10 08:21:23 +01:00
jo 17f3aab7cb ci: add dependabot check on website 2022-02-10 08:17:02 +01:00
jo 270fef3cbc ci: add website deploy workflow
Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01:00
jo 6d9e7a6765 docs: rework docs into the new website
- multipass docs moved to local-dev.md
- add documentation to website
- rework fogotten files
- disable fogotten files

Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01:00
jo 2fa10793ec docs: restructure and backup pictures
Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01:00
jo 9a88617e73 chore: delete jplayer zip file
Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01:00
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