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
dependabot[bot]
3d20af5fae
Bump composer/semver from 3.2.5 to 3.2.6 in /legacy ( #1427 )
...
Bumps [composer/semver](https://github.com/composer/semver ) from 3.2.5 to 3.2.6.
- [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.5...3.2.6 )
---
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>
2021-10-26 13:18:54 +02:00
Weblate (bot)
c4692fe011
Translated using Weblate (Russian) ( #1422 )
...
Currently translated at 96.7% (928 of 959 strings)
Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/ru/
Co-authored-by: Artem <Localizer_in_Russian@protonmail.com>
2021-10-21 11:00:16 +02:00
dependabot[bot]
ccde6039e7
Bump php-amqplib/php-amqplib from 2.12.3 to 3.0.0 in /legacy ( #1418 )
...
* Bump php-amqplib/php-amqplib from 2.12.3 to 3.0.0 in /legacy
Bumps [php-amqplib/php-amqplib](https://github.com/php-amqplib/php-amqplib ) from 2.12.3 to 3.0.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/v2.12.3...v3.0.0 )
---
updated-dependencies:
- dependency-name: php-amqplib/php-amqplib
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Replace deprecated AMQPConnection with AMQPStreamConnection
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2021-10-17 21:55:12 +02:00
dependabot[bot]
8b5c6b0cfb
Bump phpunit/phpunit from 4.8.36 to 5.7.27 in /legacy ( #1419 )
...
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit ) from 4.8.36 to 5.7.27.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases )
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/5.7.27/ChangeLog-5.7.md )
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/4.8.36...5.7.27 )
---
updated-dependencies:
- dependency-name: phpunit/phpunit
dependency-type: direct:development
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>
2021-10-17 18:44:30 +02:00
Jonas L
5e8d8db6e9
Feature: Support php7.4 ( #1354 )
...
* Run CI tests against php 7.4
* Sort composer dependencies
* Remove unused Aws S3 php library
* Pin simplepie dependency to ^1.5
* Pin getid3 dependency to ^1.9
* Pin composer semver to ^3.2
* Pin php-amqplib to ^2.12
* Drop sentry logging support
* Update composer dependencies
* Move propel regenerate to Makefile
* Regenerate propel files with v1.7.0
* Pin propel orm to ^1.7
* Regenerate propel files with v1.7.2
* fix: generator_version in airtime-conf-production.php
* Replace propel/propel1 with jooola/propel1
* Regenerate propel files with v1.7.3-dev
* Fix php7.4 compatibility
Using php-cs-fixer:
'@PhpCsFixer' => true,
'concat_space' => ['spacing' => 'one'],
'ordered_class_elements' => false,
'yoda_style' => false,
'@PHP74Migration' => true,
'assign_null_coalescing_to_coalesce_equal' => false,
'ternary_to_null_coalescing' => false,
'heredoc_indentation' => false,
'@PHP74Migration:risky' => true,
'declare_strict_types' => false,
'void_return' => false,
'use_arrow_functions' => false,
* Fix pre-commit
2021-10-17 17:19:53 +02:00
Jonas L
ada4c72e87
Remove unused include locale/Makefile ( #1407 )
...
* Remove unused include locale/Makefile
This was generating a mess/loop with the git clean command.
* Clean/rebuild generated locales on install
2021-10-17 15:21:17 +02:00
Weblate (bot)
c613cb7d38
Translated using Weblate (German) ( #1416 )
...
Currently translated at 73.7% (707 of 959 strings)
Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/de/
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
2021-10-17 10:22:18 +02:00
Weblate (bot)
9247b9d941
Translations update from Weblate ( #1415 )
...
* Translated using Weblate (French)
Currently translated at 89.6% (860 of 959 strings)
Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/fr/
* Translated using Weblate (German (Austria))
Currently translated at 55.3% (531 of 959 strings)
Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/de_AT/
* Translated using Weblate (German)
Currently translated at 73.7% (707 of 959 strings)
Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/de/
* Translated using Weblate (German)
Currently translated at 73.7% (707 of 959 strings)
Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/de/
* Translated using Weblate (Greek)
Currently translated at 55.3% (531 of 959 strings)
Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/el/
* Translated using Weblate (English (United Kingdom))
Currently translated at 75.2% (722 of 959 strings)
Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/en_GB/
* Translated using Weblate (Italian)
Currently translated at 46.5% (446 of 959 strings)
Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/it/
* Translated using Weblate (Japanese)
Currently translated at 55.2% (530 of 959 strings)
Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/ja/
* Translated using Weblate (Dutch)
Currently translated at 60.4% (580 of 959 strings)
Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/nl/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 51.8% (497 of 959 strings)
Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/pt_BR/
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Kyle Robbertze <github@paddatrapper.com>
2021-10-17 10:11:46 +02:00
Jonas L
a7d06ad076
Fix double path separator in require_once ( #1408 )
2021-10-17 08:54:08 +02:00
Weblate (bot)
8b96489332
Translations update from Weblate ( #1405 )
...
* Translated using Weblate (French)
Currently translated at 89.6% (860 of 959 strings)
Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/fr/
* Translated using Weblate (French)
Currently translated at 89.6% (860 of 959 strings)
Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/fr/
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jonas L <lammler.jonas@riseup.net>
2021-10-17 08:52:27 +02:00
Jonas L
1efa0742c9
Clean and update locales ( #1402 )
...
* Remove untranslated languages
* Add country prefix to some locales
* Remove locale template file
* Prepare nl_NL and tr_TR locale for future use
* Sort locales list and put en_Us at the top
* Enhance locale Makefile
Add clean target for locales
Set locale all target to clean and build
Ensure we keep issue tracker on po updates
* Update locales headers
* Scan sources files and update locales
2021-10-17 00:20:03 +02:00
Jonas L
4335795c52
chore: Enhance release workflow ( #1400 )
...
* Rename package-release to release
* Move tarball creation in Makefile
* Enhance release workflow
* Add --ignore-platform-reqs to composer build
2021-10-15 14:59:59 +02:00
jo
f7494cab7d
Add locale Makefile and allow building mo files
2021-10-15 14:12:27 +02:00
jo
a070e4a4c3
Rename locale text domain to libretime
2021-10-15 14:12:27 +02:00
jo
a7e6cb4ed8
Remove 'pro' locales domain
2021-10-15 14:12:27 +02:00
jo
ea89fc631a
Rename po files to libretime
2021-10-15 14:12:27 +02:00
jo
81b0f22277
Improve legacy Makefile
2021-10-15 01:49:56 +02:00
jo
69d85c4236
Fix legacy services check names
2021-10-14 16:03:35 +02:00
jo
efba0a7d09
Format xml files
2021-10-12 11:29:31 +02:00
jo
83b7e4162e
Run pre-commit on legacy code
2021-10-12 11:17:57 +02:00
jo
fea11ac752
Fix seed_files.yml
2021-10-12 11:16:43 +02:00
jo
1a765d3d66
Reenable escape_implicit_backslashes
2021-10-12 11:09:56 +02:00
jo
f05c228f1d
Put regex rules between single quotes
2021-10-12 11:09:46 +02:00