Commit Graph

18 Commits

Author SHA1 Message Date
jo b2fc3a5ecf feat(playout): allow harbor ssl configuration 2023-04-24 14:58:34 +01:00
Jonas L 7962c0adf6
feat(api): add cors headers middleware (#2479) 2023-03-23 14:40:30 +00:00
Jonas L d800c5e280
feat: use secret_key config field instead of api_key (#2444)
Fixes #2426
2023-03-22 09:14:11 +00:00
jo c7c8207df3 test(shared): fix linting errors 2023-03-14 11:23:14 +00:00
jo a32d9d25f1 fix(shared): return type confusion 2023-03-04 17:06:16 +02:00
jo 861698987c refactor: don't use f-string on logging statements
The strings are now be formatted if the logging level is enabled.
2023-02-26 19:09:51 +02:00
jo c6940db289 feat: replace loguru with logging 2023-02-26 19:09:51 +02:00
jo bd76971312 style: format code using black 2023-02-01 11:17:49 +01:00
jo 29a02e6797 refactor: improve backports imports 2022-12-07 15:59:52 +02:00
jo 0e1dfaa9ff refactor: upgrade code to Python 3.8 2022-10-11 09:28:52 +02:00
Jonas L 9b3207b8a4
feat: move timezone preference to config file (#2096)
BREAKING CHANGE: The timezone preference moved to the configuration
file.
2022-09-14 12:48:08 +02:00
jo ef091d10cb fix(shared): load env from oneOf union schema 2022-09-12 12:54:06 +02:00
jo d9920a1196 feat(shared): create stream config models 2022-09-06 13:21:54 +02:00
Jonas L 1147853c63
feat(shared): pass config data via init (#2042) 2022-08-12 15:12:39 +02:00
Jonas L 6df1087abc
fix(shared): remove unused field from rabbitmq config (#2012) 2022-08-01 12:03:03 +02:00
jo bcd877266f feat(shared): load env config using jsonschema
The env loader is now capable of loading lists of objects, union types
or list of union types from the env variables.
They are some limitations: for example it doesn't support unions of
different shapes `list | dict` or `str | dict`.
2022-07-31 21:43:34 +02:00
jo 6c449e3019 fix(shared): validator value type can be wrong 2022-07-31 21:43:34 +02:00
Jonas L e75426bc4c
refactor(shared): explode config into multiple files (#1987) 2022-07-25 21:30:15 +02:00