Commit Graph

10 Commits

Author SHA1 Message Date
Jonas L 7962c0adf6
feat(api): add cors headers middleware (#2479) 2023-03-23 14:40:30 +00:00
jo b7214b5d46 feat: add sentry sdk 2023-03-14 14:59:45 +00:00
jo 72aa1c1dae fix(api): explicit FileImportStatusEnum in schema 2023-03-14 13:29:55 +01:00
jo 10613cb20a chore(api): fix schema enum names 2022-07-19 19:52:54 +02:00
Jonas L b9895d19e2
chore(api): move podcasts in dedicated app (#1899) 2022-06-21 14:40:21 +02:00
jo 0e4bc4cacd feat: replace php migration with django migration
- keep latest legacy version in initial migration file
- move propel schema to api legacy app
- remove legacy upgrade tool
2022-06-08 23:23:08 +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
Kyle Robbertze cbcd0abcae
chore(api): add API metadata (#1723) 2022-04-01 15:17:40 +02:00
Jonas L f5bb31e971
fix(api): static_url settings is required in dev mode (#1662) 2022-03-04 15:50:05 +02:00
jo 2dcc654b70 feat(api): load config using shared helpers
- add django settings module documentation
- use default for previously required fields

BREAKING CHANGE: The API command line interface require the
configuration file to be present. The default configuration file path is
`/etc/airtime/airtime.conf`
2022-03-02 22:03:56 +02:00