Commit Graph

17814 Commits

Author SHA1 Message Date
Jonas L d098671f3b
feat: replace click envar with auto_envvar_prefix (#1829) 2022-05-05 09:41:32 +02:00
renovate[bot] 623655e3d0
chore(deps): update pre-commit hook asottile/pyupgrade to v2.32.1 (#1832)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-05 08:04:41 +02:00
Renovate Bot 816a264823 chore(deps): update dependency @docusaurus/module-type-aliases to v2.0.0-beta.19 2022-05-04 20:31:48 +00:00
Jonas L 515a975e51
feat(shared): remove unused abstract app (#1828) 2022-05-04 14:12:06 +02:00
Jonas L 3a2e910f12
feat(shared): compress logs with gz (#1827) 2022-05-04 13:56:20 +02:00
renovate[bot] 64d17832cf
chore(deps): update amannn/action-semantic-pull-request action to v4.5.0 (#1825)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 13:17:20 +02:00
Kyle Robbertze 696f7f957d
ci: add link to next version of the docs in preview comment (#1824) 2022-05-03 11:38:54 +02:00
Jonas L 751151a855
chore: replace ogg|mp3 with ogg,mp3 (#1822) 2022-04-29 17:21:33 +02:00
jo 3d7083f602 chore(api): format schema using prettier 2022-04-26 08:10:39 +02:00
jo bc5e92474e chore: change dev version format to <latest_tag>-dev+<current_sha> 2022-04-25 21:37:23 +02:00
jo 0a6ed33d96 chore: add bump python version tool 2022-04-25 21:37:23 +02:00
Jonas L 1b5ccd3f65
docs: update apache log filepath (#1811) 2022-04-25 19:56:19 +02:00
jo 981ba4fe33 fix(legacy): the ini config parser requires a .conf ext
- rename installer config filepath
2022-04-25 16:45:01 +02:00
jo 88e618e802 fix(legacy): bypass config validation during django migration 2022-04-25 16:45:01 +02:00
jo 241105f0a0 fix(legacy): load vendors during config init
Propel does not have the vendors loaded, even if they are loaded during 'preload.php'.
2022-04-25 16:45:01 +02:00
jo 751d430bcc feat: replace exploded base_* with public_url
Fixes #1574

BREAKING CHANGE: The `general` section in the config schema has changed: the `general.base_*`, `general.protocol` and `general.force_ssl` configuration fields have been replaced with a single `general.public_url` field. Be sure to use a valid url with the new configuration field.
2022-04-25 16:45:01 +02:00
Jonas L d020fbd983
chore: remove test workflow badge (#1808) 2022-04-25 16:34:15 +02:00
Kyle Robbertze 164cddca9f
ci: rename api-client repo (#1805) 2022-04-25 16:31:04 +02:00
renovate[bot] e820931b43
chore(deps): update pre-commit hook asottile/pyupgrade to v2.32.0 (#1806)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 16:26:18 +02:00
renovate[bot] cbdd1b4840
chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v4.2.0 (#1807)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 16:25:23 +02:00
Jonas L 41df76eed0
feat(api): replace uwsgi with gunicorn (#1785)
Related to #1719

BREAKING: The uwsgi packages and configuration files (`/etc/airtime/libretime-api.ini`) should be removed from the system.
2022-04-25 16:09:19 +02:00
Jonas L e320ce204e
ci: reduce usage (#1804)
* ci: move analyzer jobs in a dedicated workflow

* ci: move worker jobs in a dedicated workflow

* ci: move legacy jobs in a dedicated workflow

* ci: move shared jobs in a dedicated workflow

* ci: move api-client jobs to dedicated workflow

* ci: remove unused test job

* ci: move api jobs in a dedicated workflow

* ci: move playout ci jobs in a dedicated workflow

* ci: remove unused test job

* ci: move test-with-database in api workflow

* ci: run playout on api-client changes

* ci: rename tools workflow to dev-tools

* ci: rename generic tests workflow to project

* ci: rename lint-pr workflow to pr

* ci: update python tests concurrency

* ci: update python caching keys

* ci: update website/docs trigger condition

* ci: update legacy trigger condition

* ci: readd cancel in progress

* ci :update api cache key
2022-04-25 15:27:10 +02:00
Renovate Bot 7a15a61d01 chore(deps): update dependency kombu to v4.6.11 2022-04-25 13:19:10 +02:00
renovate[bot] 684951dcd3
chore(deps): update amannn/action-semantic-pull-request action to v4.4.0 (#1801)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 11:14:40 +00:00
Jonas L 62a7558ed1
chore: allow deps scope for commit messages (#1803) 2022-04-25 13:05:42 +02:00
Kyle Robbertze c460bb1f6b chore(deps): remove dependabot 2022-04-25 12:57:49 +02:00
Kyle Robbertze 634fea9a04 chore(deps): configure renovate 2022-04-25 12:57:49 +02:00
Renovate Bot 67fe22d266 chore(deps): add renovate.json 2022-04-25 12:57:49 +02:00
Jonas L 95a7411c0c
feat: improve apache configuration (#1784)
- merge php config in apache config
- remove deprecated php config
- remove old apache config
- use dedicated log files for libretime vhost
- change template variables format

BREAKING: The apache configuration file has been updated and renamed. You must remove the old configuration files `/etc/apache2/sites-available/airtime*` file from the system.

BREAKING: The php configuration file has been merged in the apache configuration. You need to remove the `/etc/php/*/apache2/conf.d/airtime.ini` file from the system.
2022-04-25 12:46:30 +02:00
Jonas L 7865683f53
ci: fix website preview cleanup branch (#1793) 2022-04-23 20:05:28 +02:00
dependabot[bot] ed0f09215b
chore: bump mermaid from 9.0.0 to 9.0.1 in /website (#1790)
Bumps [mermaid](https://github.com/knsv/mermaid) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/knsv/mermaid/releases)
- [Changelog](https://github.com/mermaid-js/mermaid/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/knsv/mermaid/compare/9.0.0...9.0.1)

---
updated-dependencies:
- dependency-name: mermaid
  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-04-22 09:41:11 +00:00
Jonas L 3710c23c43
chore: unzip package is used by composer (#1777) 2022-04-22 11:30:53 +02:00
dependabot[bot] 6a685720fc
chore: bump simplepie/simplepie from 1.5.8 to 1.6.0 in /legacy (#1789)
Bumps [simplepie/simplepie](https://github.com/simplepie/simplepie) from 1.5.8 to 1.6.0.
- [Release notes](https://github.com/simplepie/simplepie/releases)
- [Changelog](https://github.com/simplepie/simplepie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/simplepie/simplepie/compare/1.5.8...1.6.0)

---
updated-dependencies:
- dependency-name: simplepie/simplepie
  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-04-22 11:30:00 +02:00
Jonas L 940a1d05a9
docs: start troubleshooting with syslog over libretime logs (#1783) 2022-04-21 13:18:02 +02:00
Jonas L dc92661c49
chore(api): move uswgi config in api/install (#1781) 2022-04-21 07:14:35 +02:00
Jonas L 5cb4b5e9e5
chore(legacy): move logrotate config in legacy/install (#1780) 2022-04-21 07:11:16 +02:00
Jonas L d5ea71246f
chore: remove custom icecast install files (#1779) 2022-04-21 07:09:37 +02:00
Jonas L c904c46424
chore: remove unused lxc-boostrap file (#1778) 2022-04-20 22:26:05 +02:00
Jonas L 751a4a4440
docs: draft architecture design document (#1736)
Fix #1610
2022-04-20 13:27:34 +00:00
dependabot[bot] 8e289c142a
chore: bump @types/node from 17.0.24 to 17.0.25 in /website (#1775)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.24 to 17.0.25.
- [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-04-19 09:41:11 +00:00
dependabot[bot] 0bfae0b10e
chore: bump async from 2.6.3 to 2.6.4 in /website (#1773)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 09:17:04 +00:00
dependabot[bot] 148292933a
chore: bump amannn/action-semantic-pull-request from 4.2.0 to 4.3.0 (#1772)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 4.2.0 to 4.3.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.2.0...v4.3.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 09:11:15 +00:00
Jonas L 28fc8360a3
fix(api): prevent timing attacke on api key (#1771) 2022-04-17 18:55:18 +02:00
Weblate (bot) a090397989
chore(legacy): translated using weblate (French) (#1769)
Currently translated at 99.6% (956 of 959 strings)

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

Co-authored-by: Jonas L <ljonas@riseup.net>
2022-04-17 14:09:02 +00:00
Weblate (bot) 452277e8b6
chore(legacy): translations update from Weblate (#1766)
* chore(legacy): translated using weblate (French)

Currently translated at 99.6% (956 of 959 strings)

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

* chore(legacy): translated using weblate (French)

Currently translated at 100.0% (959 of 959 strings)

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

Co-authored-by: Jonas L <ljonas@riseup.net>
2022-04-14 12:55:46 +02:00
dependabot[bot] 1464626b53
chore: bump @types/node from 17.0.23 to 17.0.24 in /website (#1768)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.23 to 17.0.24.
- [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-04-14 11:46:27 +02:00
Jonas L 5de2ac180c
chore: center icon and explode joined paths (#1761) 2022-04-13 03:04:05 +02:00
Jonas L 8a8476755c
ci: do not cache website preview build (#1763) 2022-04-12 15:13:46 +00:00
Jonas L f183886224
ci: update workflow dispatch input description (#1762) 2022-04-12 15:01:35 +00:00
Jonas L 6e31dc0005
ci: setup command dispatcher (#1759) 2022-04-12 16:10:01 +02:00