Commit Graph

86 Commits

Author SHA1 Message Date
Jonas L 35476f9d6d
feat(api): move /api-auth to /api/browser (#2094) 2022-09-06 21:30:43 +02:00
Jonas L ef1de34111
fix(playout): missing live show events (#2087) 2022-09-06 14:09:04 +02:00
jo 12d2d4b15a feat(api): add /info and /stream/* endpoints 2022-09-06 13:21:54 +02:00
jo 5bf62dd9cb feat(legacy): read stream config from file
- We don't delete the stream preferences from the database to prevent data loss. This will be handled in a future release.
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
jo 2a74649882 feat(api): remove set passwords command 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 7082c9693d
test(api): conftest at top level for global fixture access (#2038) 2022-08-10 12:36:56 +02:00
jo 406d42323a feat: move stream stats status to pref table 2022-08-07 08:50:06 +02:00
jo 2b533d4724 feat: move stream liquisoap status to pref table 2022-08-07 08:50:06 +02:00
Jonas L 6c59ff588b
feat: move off_air_meta stream setting to pref table (#2023) 2022-08-06 19:18:40 +02:00
Jonas L e97b06496a
feat(api): don't use hyperlinked serializers (#1984) 2022-07-27 09:54:57 +02:00
Jonas L 57d1f3a953
fix(api): update set_icecast_passwords StreamSetting fields (#2001) 2022-07-26 23:24:13 +02:00
Jonas L 951dc68394
feat(api): cast StreamSetting raw_value to value (#1991) 2022-07-26 14:16:34 +02:00
Jonas L 04c0b11901
test(api): create api_client pytest fixture (#1990) 2022-07-25 21:21:21 +02:00
Jonas L f08af1f3fa
feat(api): don't use trailing slashes (#1982) 2022-07-22 17:34:09 +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
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 a8cb62586e feat: remove unused cc_country table 2022-07-12 11:33:22 +02:00
jo de21e3175a fix: use track_type_id in smartblock criteria
Missing migration step from db976881f0

Fixes #1957
2022-07-12 11:32:26 +02:00
jo f39c079296 feat: set default locale to en_US 2022-07-08 13:11:32 +02:00
jo 3442376b08 chore: clean default data.sql 2022-07-08 13:11:32 +02:00
Jonas L d323657047
fix: prevent data loose on track_types_id migration (#1949) 2022-07-07 23:35:27 +02:00
jo db976881f0 fix: use constrained foreign key for files track_type 2022-07-07 21:07:41 +02:00
Jonas L 703a8e5856
chore: remove cloud storage remainings (#1934) 2022-07-04 22:09:14 +02:00
Jonas L 2ce1053bbc
chore(api): rename library model visibility field (#1933) 2022-07-01 19:13:31 +02:00
jo f2e947f05f chore(api): rename file model fields
- Removed checksum field
- Removed ftype field
- Removed silan_check field
2022-06-29 13:51:07 +02:00
jo 05ca410453 feat(api): rename track type to library
Related to #1922

- rename library model fields
2022-06-29 13:51:07 +02:00
jo 7503618599 test(api): fix lint errors 2022-06-29 06:04:31 +02:00
jo 0a1406bf48 chore(api): fix import-outside-toplevel lint error 2022-06-29 06:04:31 +02:00
jo 70a31338f7 feat(api): create bulk_import command
- filter by allowed_extensions
2022-06-28 19:05:14 +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
jo 86b7a34263 chore(api): fix linting errors 2022-06-26 16:13:47 +02:00
Jonas L 04fbcc5f36
feat(api): rename podcasts models fields (#1910) 2022-06-22 16:42:09 +02:00
Jonas L 9c042c881a
feat: remove unused cc_perms table (#1909) 2022-06-22 16:32:39 +02:00
Jonas L a7c45fb0e1
fix(api): cascade when dropping table (#1908)
This is supposed to work without it, but this is to be safe.
2022-06-22 16:08:05 +02:00
Jonas L 4837a1885d
feat: remove unused cc_sess table (#1907) 2022-06-22 15:15:31 +02:00
jo ec8c18097d chore(api): fix some linting errors 2022-06-22 13:37:17 +02:00
jo 1e83a91b5e chore(api): use named argument for on_delete 2022-06-22 13:37:17 +02:00