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
Jonas L
703a8e5856
chore: remove cloud storage remainings ( #1934 )
2022-07-04 22:09:14 +02:00
Jonas L
2ce1053bbc
chore(api): rename library model visibility field ( #1933 )
2022-07-01 19:13:31 +02:00
jo
07f6c0b0f2
test(api): ignore tests file coverage
2022-06-30 13:24:05 +02:00
jo
26a2c2dda0
chore: update python tests target
2022-06-30 13:24:05 +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
05ca410453
feat(api): rename track type to library
...
Related to #1922
- rename library model fields
2022-06-29 13:51:07 +02:00
jo
e5cb21c0e2
chore(api): add make schema-foreach-commit command
2022-06-29 13:51:07 +02:00
jo
d946497336
chore(api): update README
2022-06-29 06:04:31 +02:00
jo
0104799b59
ci(api): fail job on linting error
2022-06-29 06:04:31 +02:00
jo
ac66441278
test(api): disable too-many-arguments lint error
2022-06-29 06:04:31 +02:00
jo
7503618599
test(api): fix lint errors
2022-06-29 06:04:31 +02:00
jo
6cc20013ef
test(api): disable too-few-public-methods lint error
2022-06-29 06:04:31 +02:00
jo
0a1406bf48
chore(api): fix import-outside-toplevel lint error
2022-06-29 06:04:31 +02:00
jo
6ac52ead3e
test(api): allow f string format for logging
2022-06-29 06:04:31 +02:00
jo
70a31338f7
feat(api): create bulk_import command
...
- filter by allowed_extensions
2022-06-28 19:05:14 +02:00
jo
7e01591fae
style(api): reorder user models fields args
2022-06-27 19:02:12 +02:00
jo
a11cda0ae4
style(api): reorder preference model fields args
2022-06-27 19:02:12 +02:00
jo
654314cb1b
chore(api): rename country model fields
2022-06-27 19:02:12 +02:00
jo
e730959e9f
chore(api): rename editor role to host
2022-06-27 19:02:12 +02:00
jo
4009e7eeb6
chore(api): use fully qualified model names
2022-06-27 19:02:12 +02:00
jo
86b7a34263
chore(api): fix linting errors
2022-06-26 16:13:47 +02:00
Jonas L
04fbcc5f36
feat(api): rename podcasts models fields ( #1910 )
2022-06-22 16:42:09 +02:00
Jonas L
9c042c881a
feat: remove unused cc_perms table ( #1909 )
2022-06-22 16:32:39 +02:00
Jonas L
a7c45fb0e1
fix(api): cascade when dropping table ( #1908 )
...
This is supposed to work without it, but this is to be safe.
2022-06-22 16:08:05 +02:00
Jonas L
4837a1885d
feat: remove unused cc_sess table ( #1907 )
2022-06-22 15:15:31 +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
jo
7ff59e272c
chore(api): disable some linting rule
2022-06-22 13:37:17 +02:00
Jonas L
cbfd9e51fd
fix(api): update model fields in set_icecast_passwords ( #1903 )
2022-06-22 08:35:26 +02:00
Jonas L
dc426f0aa5
feat(api): rename user model fields ( #1902 )
2022-06-21 23:43:03 +02:00
jo
28c4989d44
chore(api): update StreamSetting model
2022-06-21 16:53:25 +02:00
jo
6bae0e2846
chore(api): update Preference model
2022-06-21 16:53:25 +02:00
Jonas L
b9895d19e2
chore(api): move podcasts in dedicated app ( #1899 )
2022-06-21 14:40:21 +02:00
jo
b10696265f
ci: check and dispatch api schema changes
...
- check if api schema is outdated
- do not cancel in progress workflow
Since this workflow commit to an external repo, it might squash multiple changes into a single commit.
- dispatch each schema update to client repo
- cache pip dependencies
2022-06-18 12:13:11 +02:00
jo
08bcaf459c
chore(api): add openapi schema
2022-06-18 12:13:11 +02:00
jo
71cfab79ef
feat: rename default stream mount point to main
...
This will not change the default mount point if you are upgrading.
BREAKING: The default stream mount point changed from `airtime_128` to `main`. Be sure to updates your clients accordingly.
2022-06-18 12:08:29 +02:00
jo
7457a29e7f
chore(api): pin django related packages
2022-06-18 11:55:02 +02:00
jo
9babb0c4f0
chore(api): pin/downgrade django-filter to ~=21.1.0
2022-06-18 11:55:02 +02:00
jo
14b716d366
chore(api): pin/upgrade django to ~=3.2.13
2022-06-18 11:55:02 +02:00
jo
eef789e4d1
chore(api): rename deprecated filter_fields to filterset_fields
2022-06-18 11:55:02 +02:00
Jonas L
7f926ab6a5
fix(api): allow updating default_icecast_password ( #1872 )
...
Correctly implement the Preference.objects.update_or_create function.
2022-06-12 07:52:54 +02:00
Jonas L
9d0c098684
test(api): use pytest to run api tests ( #1645 )
2022-06-09 16:26:47 +02:00
jo
3bca92413f
fix: drop unused sequences
...
Drop old campcaster sequences that aren't used anymore.
2022-06-08 23:23:08 +02:00
jo
df5ac70769
fix(api): missing build-essential to build psycopg2
2022-06-08 23:23:08 +02:00
jo
28b9343c77
fix(legacy): remove not null contraint when using default
...
This fixes the inital schema creation to match as if the old migrations
were always run.
The third_party_track_references.file_id field should not have a not
null constraint while have a default value to 0.
2022-06-08 23:23:08 +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
510e978952
feat: add systemd libretime.target
...
- add wanted by
- instantly start services in vagrant
2022-06-08 23:23:08 +02:00
jo
91f8a51a1e
feat(api): create set_icecast_passwords command
...
- allow to fetch icecast password from xml config
- set default stream password
2022-06-08 23:23:08 +02:00
jo
980f1acd0c
fix: correct cc_file.artwork column size
2022-06-08 23:23:08 +02:00