Commit Graph

17393 Commits

Author SHA1 Message Date
jo 318b36b6b2 chore: rename pypo dir to libretime_playout 2022-01-04 09:18:58 +02:00
jo 61a1abce0d chore: fixes after libretime_liquidsoap rename 2022-01-04 09:18:58 +02:00
jo 4be0210026 chore: rename liquidsoap dir to libretime_liquidsoap 2022-01-04 09:18:58 +02:00
jo c04287b7c4 chore: fixes after libretime_api_client rename 2022-01-04 09:18:58 +02:00
jo be09f74af6 chore: rename api_clients dir to libretime_api_client 2022-01-04 09:18:58 +02:00
jo e84137a8ee chore: fixes after libretime_api rename 2022-01-04 09:18:58 +02:00
jo 6de242db65 chore: rename libretimeapi dir to libretime_api 2022-01-04 09:18:58 +02:00
jo 02efadc3d0 chore: fixes after libretime_analyzer rename 2022-01-04 09:18:58 +02:00
jo 62476de478 chore: rename airtime_analyzer dir to libretime_analyzer 2022-01-04 09:18:58 +02:00
Jonas L bd43688757
ci: add semantic pull request linting (#1472)
* ci: add semantic pull request linting

* ci: add missing link to conventional commits
2022-01-04 09:15:08 +02:00
Jonas L 0b994c4e20
ci: add closed references notificier workflow (#1467)
This workflow will check for issue links in the code
that has been closed upstream and can be dealt with.
2022-01-04 08:51:03 +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
Jonas L e5ac78414e
chore(ci): let dependapot catch up with commit syle (#1468) 2022-01-03 08:02:06 +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
Kyle Robbertze 17daeebd25 fix: assume api client is installed
Until pip out-of-tree dependencies work with our setup and we can update
to newer versions of our dependencies, assume api client is installed
without explicitly adding it as a dependency. The install script
installs api_client anyway

Fixes: #1435
2021-12-03 00:59:40 +01:00
Kyle Robbertze 04ea316cab fix: add missing dependencies to celery module 2021-11-17 10:55:01 +01:00
Kyle Robbertze 360bcb0a9c chore: add semantic-release prefix to dependabot commits 2021-11-17 10:20:19 +01:00
Kyle Robbertze 959e001edd fix: revert removal of eval for shell commands
Fixes: #1434
2021-11-09 14:47:56 +01: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 452dd64970 fix: declare pypo.notify module
Fixes: #1428
2021-11-08 20:58:23 +01:00
Kyle Robbertze 022b1a2881 chore: resolve shell warnings 2021-11-08 20:57:41 +01:00
Kyle Robbertze 83e904d06d fix: correct vagrantfile function call 2021-11-08 20:57:41 +01:00
Kyle Robbertze 8200df1c40 ci: add missing focal database test run 2021-11-08 20:57:41 +01: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
Jonas L fc2f0ad842
Make vagrant file more configurable (#1424) 2021-10-21 17:16:24 +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
Kyle Robbertze 6ca1ca2aec
feat: run API tests in CI (#1421)
* feat: run API tests in CI

* fix: remove incorrect test for guest user viewing themself
2021-10-18 14:17:34 +02:00
Jonas L 7384dd7a2f
feature: Use setuptools entrypoints (#1409)
* Use console_scripts entrypoint for libretimeapi

* Use console_scripts entrypoint for playout
2021-10-18 09:44:39 +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
Jonas L 3dd43d183c
Update README.md (#1420)
* Update README.md

Update CI badge with Github Action badge.
Update Copyright date.
Update link to legacy files.

* Update README.md

Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>

Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2021-10-17 20:08:12 +02:00
dependabot[bot] d61fae8cfa
Bump rgain3 from 1.1.0 to 1.1.1 in /analyzer (#1411)
Bumps [rgain3](https://github.com/chaudum/rgain) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/chaudum/rgain/releases)
- [Changelog](https://github.com/chaudum/rgain3/blob/1.1.1/CHANGES.md)
- [Commits](https://github.com/chaudum/rgain/compare/1.1...1.1.1)

---
updated-dependencies:
- dependency-name: rgain3
  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-17 18:50:43 +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 7837cc2320
Add dependabot check for legacy composer (#1392) 2021-10-17 18:25:50 +02:00
Jonas L 10d073dcfb
chore: Remove dev_tools (#1384) 2021-10-17 17:29:52 +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 30b3470a06
Better format enforcing (#1391)
* Add shared python format-check target

* Add .format-check to api lint target

* Format api code with makefile format target

* Add .format-check to tools lint target

* Add .format-check to analyzer lint target

* Format analyzer code with makefile format target

* Add .format-check to celery lint target

* Add .format-check to api_client lint target

* Format api_client code with makefile format target

* Add .format-check to playout lint target

* Run CI linting in parallel

* Disable isort in pre-commit
2021-10-17 16:24:37 +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
jo 19c816f294 Update paths after playout move 2021-10-17 08:02:47 +00:00
jo ca12ca5c41 Move python_apps/pypo/ to playout/ 2021-10-17 08:02:47 +00:00
jo d97ecdfba7 Move python_apps/icecast2 to installer/icecast/ 2021-10-17 08:02:47 +00:00
jo 8fe0156d4f Update paths after api_client move 2021-10-17 08:02:47 +00:00
jo d06c898bcf Move python_apps/api_clients/ to api_client/ 2021-10-17 08:02:47 +00:00
jo cf36eec5f8 Update paths after wroker move 2021-10-17 08:02:47 +00:00