Commit Graph

17609 Commits

Author SHA1 Message Date
jo ba0897a023 fix(shared): fix missing port in public_url 2022-02-25 11:42:28 +02:00
jo f24996e144 chore(analyzer): remove unused dependency 2022-02-25 11:42:28 +02:00
Jonas L 6dcea43f7a
chore: ignore closed ref notifer on releases notes (#1635) 2022-02-24 17:34:57 +02:00
dependabot[bot] bb648d0b0a
chore: bump @types/node from 17.0.19 to 17.0.21 in /website (#1634)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.19 to 17.0.21.
- [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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-24 11:37:52 +02:00
jo 228585d434 docs: update configuration schema 2022-02-23 13:18:05 +02:00
jo f088cc2873 feat(legacy): clean config parsing and add defaults
BREAKING CHANGE: The configuration schema has changed:
- The `rabbitmq.*` configuration fields now have defaults.
- The `current_backend.storage_backend` configuration field
  now defaults to the only valid value `file`.
- The `general.cache_ahead_hours` configuration field now defaults to 1.
2022-02-23 13:18:05 +02:00
jo 4d868fac00 feat: remove unused web_server_user config entry
- remove InstallStorageDirectory function

BREAKING CHANGE: The configuration schema has changed:
- The `general.web_server_user` configuration field is
not used anymore.
2022-02-23 13:18:05 +02:00
jo 3f6438383f docs: update releases notes
- remove duplicate deprecations and upgrade procedures
- add emijeeezz
2022-02-23 10:01:15 +02:00
jo 9ebd2c85ef docs: import releases notes 2022-02-23 10:01:15 +02:00
Jonas L c6b96181ef
chore: add docker-compose dev stack (#1627) 2022-02-23 09:50:32 +02:00
jo 31cf8361be feat(shared): return log level and filepath 2022-02-22 17:33:48 +02:00
jo 045fdc8d96 feat(shared): create time functions 2022-02-22 17:33:48 +02:00
jo 9d7d0ee6ca feat(shared): create general config model 2022-02-22 17:33:48 +02:00
jo d9852940d6 refactor(shared): dict merging using pydantic deep_update 2022-02-22 17:33:48 +02:00
jo 27c2221a68 feat(shared): load config from str filepath 2022-02-22 17:33:48 +02:00
dependabot[bot] a9449d6418 chore: bump @types/node from 17.0.18 to 17.0.19 in /website
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.18 to 17.0.19.
- [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-22 11:03:32 +01:00
Kyle Robbertze a7e9549643 docs: fix deploy to LibreTime website 2022-02-21 10:00:22 +01:00
Jonas L 3ec85d7821
docs: update structure and create links between pages (#1611)
* docs: rework files structure

* rewrite documentation entrypoint

* update category files and use yml

* add manuals entry page

* update admin-manual titles and page order

* create releases sections

* move ssl configuration to reverse proxy

* docs: update website vars and links

* update release note codeblock syntax key

* resurect troubleshooting guide

* Update freeipa custom auth documentation

* add notice about the state of the documentation

* update the backup documentation

* tmp: allow to deploy the website for preview

* Don't use require.resolve for plugins

* Update the main page link dest

* update development environment title

* rewrite the install/upgrade/migrate as guides

* update website docs sections links

* Fix urls

* move release note to documentation

* move home links to vars files

* tmp: update deploy url

* add react to tsconfig to handle jsx linting

* fix: replace absolute url to relative path to files

* tmp: allow CI Website dpeloy on working branch

* Update release note title

* use default syntax highlighting theme

* update the troubleshooting guide

* Wording

* use CodeBlock components

* Better prose

* remove api_client config section

* fix prose errors

* update import prefix for vars file

* reroder docs manuals links

* use sentence capitalization for page titles

* Wording

* missing word

* Update note about syslog log file

* wording
2022-02-21 09:16:54 +02:00
Jonas L 5769821995
test(shared): config with required submodel (#1616) 2022-02-20 20:11:49 +00:00
jo 977b499d5e fix(analyzer): update docstring for organise_file 2022-02-20 22:11:00 +02:00
jo d4ffaf9a89 feat(analyzer): rework organise_file using pathlib
- use uuids instead of datetime
- massively using pathlib to manipulate paths
2022-02-20 22:03:59 +02:00
jo dac09869f3 test(analyzer): use pathlib for tmp paths 2022-02-20 22:03:59 +02:00
Jonas L 98cea4dcd2
feat(api): improve uwsgi systemd integration (#1614) 2022-02-19 09:03:25 +02:00
Jonas L f2f50b5929
chore: remove jekyll out-of-date codespell ignore (#1613) 2022-02-18 23:07:35 +02:00
jo 8ce6703b74 docs: update reverse-proxy example variables 2022-02-16 15:01:25 +02:00
jo 8113077fd9 chore: fix broken links 2022-02-16 15:01:25 +02:00
jo 7c354f52f4 test(analyzer): set test logging level to trace 2022-02-16 10:13:00 +02:00
jo 88dcd13fc8 feat(analyzer): rework analyze_metadata step
- Upgrade mutagen to 1.45.1
- Remove custom wave data extraction
- Add .wav and ogg without extension fixtures
- Move md5 sum and mime type in there own function
- Cleanup comments
- Let analyze_cuepoints handle cuein and cueout metadata
- Remove python magic mime guessing
2022-02-16 10:13:00 +02:00
Jonas L 0106b4c6cb
fix(analyzer): remove bad attributes in shutdown handler (#1605)
Fixes #1278
2022-02-15 16:40:01 +02:00
jo 29511cfd2d test(analyzer): fix inconsistent return statement 2022-02-15 16:39:04 +02:00
jo c6124b4012 chore(analyzer): move ffmpeg and utils modules to pipeline 2022-02-15 16:39:04 +02:00
dependabot[bot] 120f24b1a4 chore: bump @types/node from 17.0.17 to 17.0.18 in /website
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.17 to 17.0.18.
- [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-15 10:53:47 +01:00
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