Commit Graph

23 Commits

Author SHA1 Message Date
Jonas L c7381a4f80
fix(api): cast string value to int enum (#2461) 2023-03-15 21:19:04 +00:00
jo 38bff1d4df test(api): fix linting errors 2023-03-14 11:23:14 +00:00
jo 12d2d4b15a feat(api): add /info and /stream/* endpoints 2022-09-06 13:21:54 +02:00
jo 65d3552fc7 feat: remove cc_stream_setting models
- We don't drop the cc_stream_setting table from the database to prevent data loss. This will be handled in a future release.
2022-09-06 13:21:54 +02:00
Jonas L e97b06496a
feat(api): don't use hyperlinked serializers (#1984) 2022-07-27 09:54:57 +02:00
Jonas L 951dc68394
feat(api): cast StreamSetting raw_value to value (#1991) 2022-07-26 14:16:34 +02:00
Jonas L f08af1f3fa
feat(api): don't use trailing slashes (#1982) 2022-07-22 17:34:09 +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 a8cb62586e feat: remove unused cc_country table 2022-07-12 11:33:22 +02:00
jo 7503618599 test(api): fix lint errors 2022-06-29 06:04:31 +02:00
jo 7e01591fae style(api): reorder user models fields args 2022-06-27 19:02:12 +02:00
jo a11cda0ae4 style(api): reorder preference model fields args 2022-06-27 19:02:12 +02:00
jo 654314cb1b chore(api): rename country model fields 2022-06-27 19:02:12 +02:00
jo e730959e9f chore(api): rename editor role to host 2022-06-27 19:02:12 +02:00
jo 4009e7eeb6 chore(api): use fully qualified model names 2022-06-27 19:02:12 +02:00
Jonas L 4837a1885d
feat: remove unused cc_sess table (#1907) 2022-06-22 15:15:31 +02:00
jo 1e83a91b5e chore(api): use named argument for on_delete 2022-06-22 13:37:17 +02:00
Jonas L dc426f0aa5
feat(api): rename user model fields (#1902) 2022-06-21 23:43:03 +02:00
jo 28c4989d44 chore(api): update StreamSetting model 2022-06-21 16:53:25 +02:00
jo 6bae0e2846 chore(api): update Preference model 2022-06-21 16:53:25 +02:00
jo 0bbd46c33f refactor(api): fix pylint errors 2022-04-04 15:20:22 +02:00
Jonas L fce988aef1
feat(api): split api into multiple apps (#1626)
Fixes #1622

- split the api into 4 apps: core, history, schedule, storage
- exploded the settings into testing/prod
2022-04-04 14:38:50 +02:00