Commit Graph

18090 Commits

Author SHA1 Message Date
Jonas L f08af1f3fa
feat(api): don't use trailing slashes (#1982) 2022-07-22 17:34:09 +02:00
Jonas L 368350b269
feat(playout): use single clients instance (#1980)
- Use legacy_client across playout code to make the difference between the old and new clients.
- Setup clients during initialization, and pass clients down to the different apps.
2022-07-22 16:26:43 +02:00
Jonas L f03605a6ce
chore: enable pylint recursive linting (#1981) 2022-07-22 16:26:06 +02:00
jo 473e770e8a feat: rename AirtimeApiClient to ApiClient 2022-07-22 15:00:38 +02:00
jo 6f2724dad1 fix(api-client): get status_code from response 2022-07-22 15:00:38 +02:00
jo f60f878eed chore(api-client): add requests typings for mypy 2022-07-22 15:00:38 +02:00
jo 9ca2d8ad94 chore: don't reuse local packages wheels 2022-07-22 15:00:38 +02:00
jo 8cb9bd5f32 chore(playout): update api-client imports 2022-07-22 15:00:38 +02:00
jo 8369d55eb9 chore(api-client): restructure modules 2022-07-22 15:00:38 +02:00
jo 71b3f7f065 chore: remove schedule unused independent_event 2022-07-20 12:05:01 +02:00
jo 10613cb20a chore(api): fix schema enum names 2022-07-19 19:52:54 +02:00
jo 1f7c2fa0ab chore(api): document version endpoint 2022-07-19 19:52:54 +02:00
jo 0e3ede5a1a chore(api): route using urls
Allow to register function views in the same app instead of globaly.
2022-07-19 19:52:54 +02:00
jo 33e5e8ada3 chore(api): fix overbooked property type hint 2022-07-19 19:52:54 +02:00
Jonas L 7e2f2d60f0
chore(playout): restructure modules (#1971) 2022-07-18 15:11:47 +02:00
jo 57046e2a9d chore(api): rename schedule models fields 2022-07-18 00:04:54 +02:00
jo 8ceb1419a0 chore(api): rename show models fields 2022-07-18 00:04:54 +02:00
jo 4d037bb624 chore(api): rename smart_block models fields 2022-07-18 00:04:54 +02:00
jo 4bcc34212c chore(api): rename webstream models fields 2022-07-18 00:04:54 +02:00
jo 1c48f11af2 chore(api): rename playlist models fields 2022-07-18 00:04:54 +02:00
jo 7c613d9176 test(api): ignore mypy missing imports 2022-07-18 00:04:54 +02:00
jo 81e1de4fbd chore(api): disable fixme warnings 2022-07-18 00:04:54 +02:00
Jonas L c4bccf16f9
feat(installer): remove allow-restart flag (#1970)
Services management should be handled by the admin. You can use the following command `systemctl restart  libretime.target`
2022-07-17 23:58:51 +02:00
Jonas L 96af028daa
feat(playout): replace pytz with zoneinfo (#1969) 2022-07-17 22:59:49 +02:00
jo 8996d4beb4 chore(shared): update pydantic version range 2022-07-17 21:25:37 +02:00
jo 1a8da4c000 chore(shared): update pyyaml version range 2022-07-17 21:25:37 +02:00
jo bec5772f8b chore(playout): update defusedxml version range 2022-07-17 21:25:37 +02:00
jo f3af8e1163 chore(playout): remove explicit amqplib 2022-07-17 21:25:37 +02:00
jo 0e6d10ece0 chore(api-client): update dateutil version range 2022-07-17 21:25:37 +02:00
jo b2e8fcf36b chore(analyzer): update pika version range 2022-07-17 21:25:37 +02:00
jo 30c202786f chore: update requests version range 2022-07-17 21:25:37 +02:00
jo f256f9bd10 chore: update mutagen version range 2022-07-17 21:25:37 +02:00
jo 5729b116c0 chore(playout): pin kombu version to 4.6.11
This forces to use the same version as the worker.
Previously playout installed kombu>=5.2 and got instanlty
reverted back to 4.6.11 when the worker was installed.
2022-07-17 21:25:37 +02:00
jo 80218f33eb chore: rewrite extract-requirements to python
Using python ast to guess requirements in the setup.py file.
2022-07-17 21:25:37 +02:00
jo 28857fbf49 refactor(playout): remove date_interval_to_seconds function
Replace date_interval_to_seconds function with
either timedelta.total_seconds() or seconds_between().
2022-07-17 13:29:03 +02:00
jo db3f9bed82 chore(playout): remove module docstring 2022-07-17 13:29:03 +02:00
jo ad5dc6caf8 refactor(playout): log level setup 2022-07-17 13:29:03 +02:00
jo 8ef6784a39 refactor(playout): use pathlib to build the path 2022-07-17 13:29:03 +02:00
jo 2bc7d64cc4 feat(playout): use liquidsoap version functions
- remove "packaging" package
2022-07-17 13:29:03 +02:00
jo 58ad40f997 chore(playout): use 'entrypoint' generic module name 2022-07-17 13:29:03 +02:00
jo bd8b17a2cd chore(playout): remove unused liquidsoap.cfg 2022-07-17 11:02:36 +02:00
jo 86a9af1bc1 chore(playout): move liquidsoap package in a module 2022-07-17 11:02:36 +02:00
jo e71edbfef2 docs: fix missing release date 2022-07-15 14:03:58 +02:00
jo c91659077c docs: remove empty section in release note 2022-07-15 13:26:50 +02:00
jo 28cec5100a chore: release 3.0.0-alpha.13 2022-07-15 13:20:17 +02:00
jo de7703ffa0 docs: add missing allowed_cors_origins config 2022-07-15 13:20:17 +02:00
jo 484e66eb46 docs: reorder upgrade steps 2022-07-15 13:20:17 +02:00
Weblate (bot) 794e75e600
chore(legacy): translated using weblate (English (United Kingdom)) (#1962)
Currently translated at 77.4% (737 of 951 strings)

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

Co-authored-by: Kyle Robbertze <github@paddatrapper.com>
2022-07-14 11:23:56 +02:00
Jonas L 236d5e8621
docs: troubleshoot webserver services (#1961) 2022-07-14 07:36:52 +02:00
jo a8cb62586e feat: remove unused cc_country table 2022-07-12 11:33:22 +02:00