Jonas L
43221d9d7f
fix(api): move gunicorn worker config to python file ( #2854 )
...
### Description
Passing the --lifespan flag to gunicorn does not forward the option to
uvicorn.
2023-12-29 17:47:50 +01:00
Jonas L
0d2d1a2673
feat!: the `general.secret_key` configuration field is now required ( #2841 )
...
BREAKING CHANGE: The `general.secret_key` configuration field is now
required. Make sure to update your configuration file and add a secret
key.
Closes #2426
2023-12-27 18:15:47 +01:00
Jonas L
d80100a216
refactor(api): fix deprecation warnings ( #2839 )
...
Fix some deprecation warnings related to the pydantic upgrade.
2023-12-27 15:46:38 +01: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
jo
c2c0be1fbc
feat(api): add email configuration
2023-06-02 07:44:34 +01:00
Jonas L
001466f8fd
feat(legacy): move session store to database ( #2523 )
2023-05-30 22:25:50 +02:00
jo
a8e2ce7732
fix(api): upgrade django code (pre-commit)
2023-04-24 20:46:48 +01:00
Jonas L
7962c0adf6
feat(api): add cors headers middleware ( #2479 )
2023-03-23 14:40:30 +00:00
Jonas L
d800c5e280
feat: use secret_key config field instead of api_key ( #2444 )
...
Fixes #2426
2023-03-22 09:14:11 +00:00
Jonas L
c7381a4f80
fix(api): cast string value to int enum ( #2461 )
2023-03-15 21:19:04 +00:00
jo
b7214b5d46
feat: add sentry sdk
2023-03-14 14:59:45 +00:00
jo
a60d83311b
feat: add python packages version
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
38bff1d4df
test(api): fix linting errors
2023-03-14 11:23:14 +00:00
jo
861698987c
refactor: don't use f-string on logging statements
...
The strings are now be formatted if the logging level is enabled.
2023-02-26 19:09:51 +02:00
jo
87de25052a
cuepoints analyzer disabled by default
2023-02-15 10:13:32 +02:00
jo
f5e46c6f3d
feat: configure cue points analysis per track type
2023-02-15 10:13:32 +02:00
jo
f8f6fda794
chore: raise from specific exceptions
2023-02-03 07:36:58 +02:00
renovate[bot]
f585172850
chore(deps): update dependency django to v4 ( #2268 )
...
* chore(deps): update dependency django to v4
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2022-12-07 10:20:36 +01:00
Jonas L
cff98f2d23
feat(legacy): remove db allowed_cors_origins preference ( #2095 )
...
- Remove after deprecation in eb8e7b3415
2022-10-11 13:38:31 +02:00
jo
e54c8d22e1
feat: delete cc_pref stream preferences rows
...
- Delete the previously deprecated cc_pref stream preferences rows.
2022-10-11 11:32:51 +02:00
jo
8a6b5907be
feat: drop cc_stream_setting table
...
- Remove the previously deprecated cc_stream_setting table.
2022-10-11 11:32:51 +02:00
jo
3d124eba7e
fix(api): allow single digit version for legacy schema
2022-10-11 11:32:51 +02:00
jo
10a60d3673
chore: bump legacy schema version
2022-09-15 17:11:01 +02:00
jo
882f8e04c6
chore(api): rename legacy migration files
2022-09-15 17:11:01 +02:00
Jonas L
9b3207b8a4
feat: move timezone preference to config file ( #2096 )
...
BREAKING CHANGE: The timezone preference moved to the configuration
file.
2022-09-14 12:48:08 +02:00
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