Commit Graph

17696 Commits

Author SHA1 Message Date
Kyle Robbertze 918006772e docs: adjust formatting 2022-03-18 11:08:02 +01:00
dependabot[bot] e3e27e813f
chore: bump composer/semver from 3.3.0 to 3.3.1 in /legacy (#1678)
Bumps [composer/semver](https://github.com/composer/semver) from 3.3.0 to 3.3.1.
- [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.3.0...3.3.1)

---
updated-dependencies:
- dependency-name: composer/semver
  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-03-17 12:10:31 +02:00
Jonas L dca1d54174
docs: unsure we restart service after upgrade (#1677) 2022-03-16 13:45:11 +00:00
Jonas L f51d2460ab
docs: clean cloned repo before upgrading (#1676) 2022-03-16 14:06:24 +02:00
dependabot[bot] 71b181bc32 chore: bump composer/semver from 3.2.9 to 3.3.0 in /legacy
Bumps [composer/semver](https://github.com/composer/semver) from 3.2.9 to 3.3.0.
- [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.9...3.3.0)

---
updated-dependencies:
- dependency-name: composer/semver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-15 11:02:44 +01:00
dependabot[bot] d77754d439 chore: bump @tsconfig/docusaurus from 1.0.4 to 1.0.5 in /website
Bumps [@tsconfig/docusaurus](https://github.com/tsconfig/bases/tree/HEAD/bases) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/tsconfig/bases/releases)
- [Commits](https://github.com/tsconfig/bases/commits/HEAD/bases)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 11:37:36 +01:00
dependabot[bot] 62039fb09c chore: bump php-amqplib/php-amqplib from 3.1.2 to 3.2.0 in /legacy
Bumps [php-amqplib/php-amqplib](https://github.com/php-amqplib/php-amqplib) from 3.1.2 to 3.2.0.
- [Release notes](https://github.com/php-amqplib/php-amqplib/releases)
- [Changelog](https://github.com/php-amqplib/php-amqplib/blob/master/CHANGELOG.md)
- [Commits](https://github.com/php-amqplib/php-amqplib/compare/v3.1.2...v3.2.0)

---
updated-dependencies:
- dependency-name: php-amqplib/php-amqplib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 11:37:27 +01:00
Weblate (bot) 8296d116d5
chore(legacy): translated using weblate (French) (#1671)
Currently translated at 99.3% (953 of 959 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/fr/

Co-authored-by: Maxime Leroy <lisacintosh@gmail.com>
2022-03-14 10:19:40 +00:00
Jonas L 69d8eae845
style(legacy): fix code format with php-cs-fixer (#1674) 2022-03-14 12:15:04 +02:00
dependabot[bot] e1dc69af9e
chore: bump actions/checkout from 2 to 3 (#1668)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-03-07 09:22:29 +00:00
dependabot[bot] 3d14989c5c
chore: bump lycheeverse/lychee-action from 1.3.1 to 1.3.2 (#1667)
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](https://github.com/lycheeverse/lychee-action/compare/v1.3.1...v1.3.2)

---
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-03-07 11:19:04 +02:00
dependabot[bot] 417c2fa4b9
chore: bump actions/setup-python from 2 to 3 (#1669)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  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-03-07 11:17:51 +02:00
jo b38596f56e fix(playout): remove stream_buffer_start in event dispatch
Related to 9fc4552cfe
2022-03-06 15:17:44 +02:00
jo e5d6216e1d feat(api): include id in file/webstream serializers 2022-03-06 15:17:44 +02:00
jo 81f38fc9c6 fix(api_client): comply to legacy schedule events
- remove 5 seconds to stream_buffer_start start event key,
- use explicit variables names,
- split schedule events into multiple functions
- stream_output_start ends at the end of the scheduled period (fix #1556).
2022-03-06 15:17:44 +02:00
jo f2b9bd6fed chore(playout): api_client schedule data log entry 2022-03-06 15:17:44 +02:00
jo 29c174b85e feat(worker): set celery timezone to UTC 2022-03-04 22:18:29 +02:00
jo dc7560e1df feat(legacy): replace massivescale/celery-php with jooola/celery-php 2022-03-04 22:18:29 +02:00
Jonas L f5bb31e971
fix(api): static_url settings is required in dev mode (#1662) 2022-03-04 15:50:05 +02:00
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