Commit Graph

35 Commits

Author SHA1 Message Date
jo 2afb766b41 chore: outdated python packages versions 2022-09-12 10:48:43 +02:00
jo 12d2d4b15a feat(api): add /info and /stream/* endpoints 2022-09-06 13:21:54 +02:00
jo cfcfcc82e4 chore: revert pin setuptools to <64.0.0 for build backend
This reverts commit 2bde574487.
2022-08-25 09:51:36 +02:00
Jonas L 1147853c63
feat(shared): pass config data via init (#2042) 2022-08-12 15:12:39 +02:00
jo 2bde574487 chore: pin setuptools to <64.0.0 for build backend 2022-08-11 22:16:00 +02:00
jo ccbf4fb020 chore(api-client): mark package as typed 2022-08-09 21:08:29 +02:00
jo 6a20a90255 chore(api-client): add missing python-dateutil types 2022-08-09 21:08:29 +02:00
Jonas L b465629977
chore: disable pylint logging-fstring-interpolation format (#2033) 2022-08-09 20:30:44 +02:00
jo 5782e10250 refactorapi-client): fix linting errors 2022-08-09 20:27:02 +02:00
jo 313898137c refactor(api-client): improve exception handling 2022-08-09 20:27:02 +02:00
jo d1faa4bf3d chore(api-client): cleanup comments 2022-08-09 20:27:02 +02:00
jo cefcd8ac12 chore(api-client): remove unused v1 api endpoints 2022-08-09 20:27:02 +02:00
jo e2e03dba4a fix(api-client): remove unused v1 methods 2022-08-09 20:27:02 +02:00
Jonas L 140cf4427b
test: enable logs when running pytest (#2008) 2022-07-31 11:23:27 +02:00
jo 7bf3a3f085 style: format python imports 2022-07-27 18:11:34 +02:00
jo 22868ce158 chore: remove chdir in setup.py files 2022-07-27 15:35:57 +02:00
jo b93e1e5570 chore: install local python deps in editable mode 2022-07-27 15:35:57 +02:00
Jonas L 6f0ab7d8f2
fix(api-client): fix base_url joining for client v2 (#1998) 2022-07-26 17:57:14 +02:00
jo d4110020c0 chore(api-client): config is only used by v1 2022-07-26 15:14:45 +02:00
jo cf9b08906b feat(api-client): rewrite api-client v2 2022-07-26 15:14:45 +02:00
Jonas L 77f5c9951e
chore: improve setuptools find_packages (#1985) 2022-07-25 21:19:41 +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 8369d55eb9 chore(api-client): restructure modules 2022-07-22 15:00:38 +02:00
jo 0e6d10ece0 chore(api-client): update dateutil 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 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 1faf5a724b chore: move api client get_schedule to playout 2022-06-24 17:56:24 +02:00
jo 3ce60d4881 chore: move api-client datetime utils to shared 2022-06-24 17:56:24 +02:00
jo aed6d2f294 feat: change config dir path to /etc/libretime
BREAKING: The configuration directory changed from `/etc/airtime` to
`/etc/libretime`. Please rename your configuration directory accordingly.
2022-06-08 23:23:08 +02:00
jo 604ff20239 feat: change config filename to config.yml
BREAKING: The configuration file name changed from `airtime.conf` to
`config.yml`. Please rename your configuration file accordingly.
2022-06-08 23:23:08 +02:00
jo e4439390fe feat: change config file format to yaml
- docs: add link to yaml.org

BREAKING: The `ini` configuration file format changed to `yml`. Please
rewrite your configuration file using the yaml format.
2022-06-08 23:23:08 +02:00
jo 751d430bcc feat: replace exploded base_* with public_url
Fixes #1574

BREAKING CHANGE: The `general` section in the config schema has changed: the `general.base_*`, `general.protocol` and `general.force_ssl` configuration fields have been replaced with a single `general.public_url` field. Be sure to use a valid url with the new configuration field.
2022-04-25 16:45:01 +02:00
Jonas L fef38fb131
chore: rename api_client to api-client (#1727) 2022-04-04 10:25:38 +02:00