Commit Graph

71 Commits

Author SHA1 Message Date
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