Commit Graph

17627 Commits

Author SHA1 Message Date
dependabot[bot] fd603a7aa8 chore: bump @docusaurus/core in /website
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-04 11:51:26 +01:00
Jonas L b94eb2e92f
docs: prevent user to clone wrong repo (#1657) 2022-03-03 11:38:02 +00:00
Jonas L 83eec6a878
ci: lowercase org name (#1656) 2022-03-03 13:07:16 +02:00
jo 2dcc654b70 feat(api): load config using shared helpers
- add django settings module documentation
- use default for previously required fields

BREAKING CHANGE: The API command line interface require the
configuration file to be present. The default configuration file path is
`/etc/airtime/airtime.conf`
2022-03-02 22:03:56 +02:00
jo 9af717ef7f feat(api): remove admin app and static files
- remove django admin app,
- disable static files for production deployment,
- keep the rest framework browsable api in dev mode.
2022-03-02 22:03:56 +02:00
jo 4da8d8c06b fix(api): model_bakery is a dev dependency 2022-03-02 22:03:56 +02:00
jo 000f09b095 feat(shared): do not exit on missing config file 2022-03-02 22:03:56 +02:00
Jonas L 35071ef834
chore: allow multiple exclude flag for packages.py (#1643) 2022-03-02 09:45:45 +02:00
Jonas L e371dccb77
chore: always build egg (#1654)
Prevent a possible mismatch between new setup.py and old requires.txt in previous egg build.
2022-03-01 14:40:34 +02:00
dependabot[bot] 9ff8491778 chore: bump typescript from 4.5.5 to 4.6.2 in /website
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.5 to 4.6.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.5...v4.6.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 10:39:48 +01:00
Jonas L d55e58e416
chore: auto generate requirements.txt (#1651)
- force LC_ALL for the sort command
2022-02-28 20:02:01 +02:00
dependabot[bot] cc0e764f47
chore: bump lycheeverse/lychee-action from 1.3.0 to 1.3.1 (#1646)
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](https://github.com/lycheeverse/lychee-action/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-type: direct:production
  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-28 11:20:02 +02:00
dependabot[bot] a058f80958
chore: bump actions/setup-node from 2 to 3 (#1647)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 11:17:50 +02:00
dependabot[bot] 6183ef5e6c
chore: bump prismjs from 1.26.0 to 1.27.0 in /website (#1641)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-26 08:37:00 +02:00
Jonas L f75bf52371
chore(legacy): clean locales without git (#1639) 2022-02-25 20:16:41 +02:00
Jonas L 2d451aa951
fix: change celery user in worker service file (#1638) 2022-02-25 15:53:32 +02:00
jo 9b6d657fd6 feat(worker): load config using shared helpers
BREAKING CHANGE: The worker `RMQ_CONFIG_FILE` environement variable has
been renamed to `LIBRETIME_CONFIG_FILEPATH`. In addition the systemd
working directory for the worker has changed from `/srv/airtime` to
`/var/lib/libretime/worker`.
2022-02-25 11:48:57 +02:00
jo d42615eb6a feat(api_client): load config using shared helpers 2022-02-25 11:42:28 +02:00
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