Commit Graph

17553 Commits

Author SHA1 Message Date
Jonas L 48dea6e5d5
feat: enhance libretime shared (#1491)
* feat: allow custom delimiter in BaseConfig

* feat: add default config filepath constant
2022-01-06 16:25:43 +02:00
Jonas L 3a615cafa0
feat: create libretime_shared package (#1349)
* feat: create libretime_shared package

- We don't use pydantic.BaseSettings because of some
  incompatble loading behavior.

* fix: whitelist pydantic in pylintrc

* docs: update to new BaseConfig behavior

* docs: change confusing config filepath
2022-01-06 15:40:52 +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
Jonas L 5b1e61a13e
chore: enhance python.mk (#1474)
* chore: run pylint with multiple cpu

* chore: use .venv as dev venv dir
2022-01-04 13:09:19 +02:00
jo 4a7f2290f1 ci: pin action-semantic-pull-request version 2022-01-04 08:26:27 +01:00
jo aa4be97312 chore: move liquidsoap logrotate in install dir 2022-01-04 09:18:58 +02:00
jo b6795432b6 chore: fix linting in libretime_playout 2022-01-04 09:18:58 +02:00
jo ccb8a234b8 chore: fixes after libretime_worker rename 2022-01-04 09:18:58 +02:00
jo 39c6acdd8a chore: rename airtime-celery to libretime_worker 2022-01-04 09:18:58 +02:00
jo a3ad6cecc4 chore: fixes after libretime_playout rename 2022-01-04 09:18:58 +02:00
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