jo
2afb766b41
chore: outdated python packages versions
2022-09-12 10:48:43 +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
jo
c244cc812d
fix(api): install gunicorn from pip for bionic
...
Fixes #2077
2022-09-01 19:17:33 +02:00
jo
cfcfcc82e4
chore: revert pin setuptools to <64.0.0 for build backend
...
This reverts commit 2bde574487
.
2022-08-25 09:51:36 +02:00
Jonas L
1147853c63
feat(shared): pass config data via init ( #2042 )
2022-08-12 15:12:39 +02:00
jo
2bde574487
chore: pin setuptools to <64.0.0 for build backend
2022-08-11 22:16:00 +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
8a1fffe496
chore(api): add pytest-django settings module config ( #2006 )
2022-07-27 18:11:50 +02:00
jo
22868ce158
chore: remove chdir in setup.py files
2022-07-27 15:35:57 +02:00
jo
b93e1e5570
chore: install local python deps in editable mode
2022-07-27 15:35:57 +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
2b973b2695
chore(api): don't scan tests files with bandit ( #1989 )
2022-07-25 21:20:45 +02:00
Jonas L
6dfd4dd086
test(api): always print logs while testing ( #1988 )
2022-07-25 21:20:18 +02:00
Jonas L
77f5c9951e
chore: improve setuptools find_packages ( #1985 )
2022-07-25 21:19:41 +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
7c613d9176
test(api): ignore mypy missing imports
2022-07-18 00:04:54 +02:00
jo
81e1de4fbd
chore(api): disable fixme warnings
2022-07-18 00:04:54 +02:00
jo
80218f33eb
chore: rewrite extract-requirements to python
...
Using python ast to guess requirements in the setup.py file.
2022-07-17 21:25:37 +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
jo
c7c5bad46c
chore(api): widen dependencies ranges
...
- https://packages.debian.org/bullseye-backports/python3-django
- https://packages.debian.org/bullseye/python3-django-filters
- https://packages.debian.org/bullseye/python3-djangorestframework
- https://packages.debian.org/bullseye/python3-psycopg2
2022-07-07 12:37:33 +02:00
jo
6c82e37fac
chore(api): remove deprecated coreapi dependency
...
https://www.django-rest-framework.org/community/3.10-announcement/#openapi-schema-generation
2022-07-07 12:37:33 +02:00
jo
6d7510afee
chore(api): remove markdown package
2022-07-07 12:37:33 +02:00
jo
7c26020c80
feat(api): use uvicorn as asgi server with gunicorn
2022-07-07 10:51:07 +02:00
jo
1cb03c35d2
feat(api): listen on unix socket with gunicorn
2022-07-07 10:51:07 +02:00
jo
2f205544c2
feat: use dedicated 'libretime' user
...
BREAKING CHANGE: The default `www-data` user has been replaced by a dedicated `libretime` user to run the services. Be sure to change the ownership of the libretime files.
2022-07-07 10:51:07 +02:00