Commit Graph

21 Commits

Author SHA1 Message Date
Thomas Göttgens 9757b1b78c
feat(api): implement file deletion (#2960)
This implements the file delete to the Django API. Previously, the code was only manipulating the database while leaving the file in place.

Co-authored-by: jo <ljonas@riseup.net>
2024-05-05 22:44:30 +02:00
Jonas L 651bb9261c
chore(api): disable duplicate-code check (#2799)
* chore(api): disable duplicate-code check

* refactor: fix linting errors
2023-12-18 18:54:07 +01:00
Jonas L ef1de34111
fix(playout): missing live show events (#2087) 2022-09-06 14:09:04 +02:00
Jonas L e97b06496a
feat(api): don't use hyperlinked serializers (#1984) 2022-07-27 09:54:57 +02:00
Jonas L f08af1f3fa
feat(api): don't use trailing slashes (#1982) 2022-07-22 17:34:09 +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 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 4009e7eeb6 chore(api): use fully qualified model names 2022-06-27 19:02:12 +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
Jonas L b9895d19e2
chore(api): move podcasts in dedicated app (#1899) 2022-06-21 14:40:21 +02:00
jo eef789e4d1 chore(api): rename deprecated filter_fields to filterset_fields 2022-06-18 11:55:02 +02:00
jo f7bb6e7592 feat: move storage path setting to configuration file
- change default storage path to /srv/libretime
- remove music dirs table
- use /tmp for testing storage
- storage dir should always have a trailing slash
2022-06-08 23:23:08 +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