Commit Graph

80 Commits

Author SHA1 Message Date
Jonas L 5cb4b5e9e5
chore(legacy): move logrotate config in legacy/install (#1780) 2022-04-21 07:11:16 +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] 7734eea757
chore: bump composer/semver from 3.3.1 to 3.3.2 in /legacy (#1730)
Bumps [composer/semver](https://github.com/composer/semver) from 3.3.1 to 3.3.2.
- [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.1...3.3.2)

---
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-04-04 08:30:28 +00:00
Kyle Robbertze d698ace89f
chore: update code of conduct URLs (#1724)
* chore: update code of conduct URLs

* lowercase org name

Co-authored-by: Jonas L <jooola@users.noreply.github.com>
2022-04-01 13:02:13 +00:00
Jonas L bc6ec6489c
fix: add gettext for legacy locale generation (#1720) 2022-03-31 16:43:03 +02:00
Jonas L 331df277b4
docs: fix and update links (#1714) 2022-03-29 13:07:38 +02: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
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] 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
jo dc7560e1df feat(legacy): replace massivescale/celery-php with jooola/celery-php 2022-03-04 22:18:29 +02:00
Jonas L f75bf52371
chore(legacy): clean locales without git (#1639) 2022-02-25 20:16:41 +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
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
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 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 0ce1634c9d
feat(legacy): rename log filepath (#1551)
BREAKING CHANGE: moved legacy log file from '/var/log/airtime/zendphp.log' to '/var/log/libretime/legacy.log'
2022-01-31 11:27:53 +02:00
Jonas L 81fc0c9afc
fix(legacy): clean sql migrations files (#1545)
* fix(legacy): do not fail on fresh sql migration

* fix(legacy): sql only drop if exists

* fix(legacy): remove unused in db locales

These inserts are making migration fail
2022-01-31 09:19:53 +00:00
Jonas L 74c8d20284
fix(legacy): only render if img creation succeed (#1540)
Fixes #1489
2022-01-28 07:04:58 +02:00
jo 86948e7b93 fix(legacy): add more null check in api live info 2022-01-27 16:01:09 +02:00
jo ace167fe10 fix(legacy): do not catch too broad exceptions 2022-01-27 16:01:09 +02:00
jo 3f67d36909 fix(legacy): default values when array is null 2022-01-27 16:01:09 +02:00
Jonas L e740267ee4
chore(legacy): upgrade propel1 dependency (#1512) 2022-01-26 23:18:18 +02:00
jo fa7692071c feat(playout): load config using shared helpers
- backport >=py38 Literal type
- update configuration sample
- add missing config filepath to systemd service
- make config sections optional

BREAKING CHANGE: the playout config schema has been changed like the following:
- the top section 'pypo' was renamed to 'playout'
- the 'playout.ls_*' entries were renamed to 'playout.liquidsoap_*'
- the 'playout.*_dir' entries were removed
- the 'playout.api_client' entry was removed
- the 'playout.record_file_type' entry was renamed to 'playout.record_file_format'
- the 'playout.base_recorded_files' entry was removed
- the 'playout.poll_interval' entry was removed
- the 'playout.push_interval' entry was removed
- the 'playout.cue_style' entry was removed
2022-01-24 12:46:40 +02:00
Weblate (bot) 12968c02c5
chore: translated using weblate (Turkish) (#1531)
Currently translated at 41.7% (400 of 959 strings)

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

Co-authored-by: ToldYouThat <itoldyouthat@protonmail.com>
2022-01-24 07:07:18 +02:00
Jonas L 8569af9328
style(legacy): force semicolon on same line (#1534) 2022-01-23 20:15:55 +02:00
Weblate (bot) 76069006b5
chore: Translations update from Hosted Weblate (#1529)
* chore: translated using weblate (Turkish)

Currently translated at 41.7% (400 of 959 strings)

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

* chore: translated using weblate (Turkish)

Currently translated at 42.1% (404 of 959 strings)

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

Co-authored-by: ToldYouThat <itoldyouthat@protonmail.com>
2022-01-21 11:17:46 +02:00
dependabot[bot] 2de1ce6e0d
chore: bump php-amqplib/php-amqplib from 3.1.1 to 3.1.2 in /legacy (#1526)
Bumps [php-amqplib/php-amqplib](https://github.com/php-amqplib/php-amqplib) from 3.1.1 to 3.1.2.
- [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.1...v3.1.2)

---
updated-dependencies:
- dependency-name: php-amqplib/php-amqplib
  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-01-19 12:06:38 +02:00
Jonas L f42d67d41d
fix(legacy): api migration config variable name (#1522) 2022-01-18 09:36:40 +02:00
Kyle Robbertze 8b4260d74b fix(legacy): correct linting issues 2022-01-15 00:51:01 +01:00
Jonas L c2cd1c28b8
chore: rename master branch to main (#1508) 2022-01-13 16:03:31 +00:00
Jonas L fd580d689f
fix(legacy): validate id param in show image controller (#1510) 2022-01-13 07:10:32 +02:00
Jonas L 19986cf1b1
chore: exclude packages sections using tools/packages.py (#1499)
* feat: exclude packages sections using tools/packages.py

* chore: group apache deps packages in a section

This allow one to exlude the entire section and install nginx for example.
2022-01-10 08:23:37 +02:00
dependabot[bot] ba8b51af76
chore: bump composer/semver from 3.2.6 to 3.2.7 in /legacy (#1485)
Bumps [composer/semver](https://github.com/composer/semver) from 3.2.6 to 3.2.7.
- [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.6...3.2.7)

---
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-01-05 11:25:52 +02:00
jo ccb8a234b8 chore: fixes after libretime_worker rename 2022-01-04 09:18:58 +02:00
Weblate (bot) 415e22a306
chore: Translated using Weblate (Hungarian) (#1464)
Currently translated at 85.4% (819 of 959 strings)

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

Co-authored-by: f3rr31 <5920873@disroot.org>
2022-01-03 09:38:32 +02:00
dependabot[bot] 7de75936c2 chore: bump simplepie/simplepie from 1.5.7 to 1.5.8 in /legacy
Bumps [simplepie/simplepie](https://github.com/simplepie/simplepie) from 1.5.7 to 1.5.8.
- [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.7...1.5.8)

---
updated-dependencies:
- dependency-name: simplepie/simplepie
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-24 13:46:51 +01:00
dependabot[bot] 78523fd2eb
chore: bump simplepie/simplepie from 1.5.6 to 1.5.7 in /legacy (#1458)
Bumps [simplepie/simplepie](https://github.com/simplepie/simplepie) from 1.5.6 to 1.5.7.
- [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.6...1.5.7)

---
updated-dependencies:
- dependency-name: simplepie/simplepie
  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>
2021-12-20 11:35:19 +02:00
Weblate (bot) a86f303064
chore: translated using Weblate (Turkish) (#1456)
Currently translated at 41.1% (395 of 959 strings)

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

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
2021-12-13 11:35:10 +02:00
dependabot[bot] 9f0ed9edae
chore: bump php-amqplib/php-amqplib from 3.0.0 to 3.1.1 in /legacy (#1457)
Bumps [php-amqplib/php-amqplib](https://github.com/php-amqplib/php-amqplib) from 3.0.0 to 3.1.1.
- [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.0.0...v3.1.1)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 11:30:04 +02:00
Jonas L 4057c88cf0
feat: debian 11 support (#1292)
* Debian 11 Support

Run api ci test on bullseye as well

* Silan does not work for mp3 on bullseye

* Liquisoap does not fail with wma files on bullseye
2021-11-09 11:21:40 +02:00
Kyle Robbertze e56069b957 fix: remove rogue buster reference 2021-11-08 20:57:41 +01:00
Kyle Robbertze 7182390000
feat: add support for Ubuntu Focal 20.04 (#1168)
Co-authored-by: Valerio Bozzolan <gnu@linux.it>
2021-11-04 09:55:50 +02:00