Commit Graph

17 Commits

Author SHA1 Message Date
Thomas Göttgens 7992a9be2d
fix: intro/outro playlist unset was impossible (#3101)
this reinstates the boolean fields in the database from the original PR
to work around a foreign key contraint. THE UI remains unchanged
2024-10-21 18:34:39 +01:00
Thomas Göttgens 299be3c142
feat: use custom intro/outro playlists per show (#2941)
### Description

Having a global intro and outro playlist in settings is not very
flexible for special programming. This adds an override intro/outro
playlist per show. If it is not set, the global one is used. also it's
ignored if there's no autloading at all.

**I have updated the documentation to reflect these changes**:

Yes

### Testing Notes

**What I did:**
Schedule 2 shows, one without defining custom lists, one with defining
custom lists. one hour before the show starts it should be populated
correctly. If you define a global list it shojuld be replaced with the
per-show list.

---------

Co-authored-by: Thomas Göttgens <tgoettgens@mail.com>
2024-10-14 21:07:41 +01:00
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
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 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 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