Commit Graph

743 Commits

Author SHA1 Message Date
Petitminion 591ef6adf3 return tracks instead of radiosessiontrack 2023-09-15 14:11:26 +02:00
Petitminion 31e856c258 onlyu pass count has params 2023-09-15 14:11:26 +02:00
Petitminion 06877d8bdf change url routing to /sessions/pk/tracks 2023-09-15 14:11:26 +02:00
Petitminion 064accf288 get instead of post 2023-09-15 14:11:26 +02:00
Petitminion 32daed3524 resolve code review 2 2023-09-15 14:11:25 +02:00
Petitminion 601144edf8 resolve various reviews 2023-09-15 14:10:57 +02:00
Petitminion 281993c903 lint 2023-09-15 14:10:57 +02:00
Petitminion 4f7e289d0a lint2 2023-09-15 14:10:57 +02:00
Petitminion 49b4db3a0d lint 2023-09-15 14:10:55 +02:00
Petitminion d52b74a55e do not loose track that stayed in the cache 2023-09-15 14:10:42 +02:00
Petitminion 421f6e1e40 lint 2023-09-15 14:10:22 +02:00
Petitminion 38d3eb4f21 cache 100 radiotracks into redis, return a list of radiotracks instead of a single one 2023-09-15 14:09:33 +02:00
petitminion f821dcbbc2 Create a testing environment in production for ListenBrainz recommendation engine (troi-recommendation-playground) 2023-09-12 16:09:34 +00:00
Georg Krause ec8dc8e09f Merge branch stable into develop 2023-09-01 14:24:58 +02:00
Georg Krause 49f4ab2d76 test: Make sure blocking of some management commands actually works 2023-06-12 09:36:52 +00:00
Georg Krause 3f5758aa7f feat(cli): Implicitly set staff flag if superuser flag is set 2023-06-12 09:36:52 +00:00
jo 94521d2b86 feat(api): replace pytz with zoneinfo
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2388>
2023-04-04 07:08:47 +00:00
jo 22c255700e
style: format code using black v23 2023-03-28 19:49:24 +02:00
jo 9bf0367372 feat(api): find version using importlib.metadata
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2332>
2023-01-31 06:57:32 +00:00
Ciarán Ainsworth 658b017c5e test(api): Add test for link rendering
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2312>
2022-12-29 17:35:09 +00:00
jo b359bb6498 fix: timeout on spa manifest requests
The previous behaviour had a loop of requests between the front
app and the api when querying the pwa manifest.

This reduce the coupling around the pwa manifest file between the api
and the front app, by uplicating the files so each "service" has a copy
of it, while keeping them in sync and having the front pwa manifest as
single source of truth.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2291>
2022-12-19 14:33:12 +01:00
Georg Krause ed72bfc884 test: Use the right serializer to generate expected outcome 2022-11-26 20:23:17 +00:00
Georg Krause 0602de6d81
Merge branch 'stable' into develop 2022-11-25 18:10:45 +01:00
jooola 4cc7c86f04 test(api): fix warnings by renaming fixtures 2022-11-24 20:18:35 +00:00
jo 054a9e54f5
docs: fix spelling errors (pre-commit) 2022-11-24 01:43:36 +01:00
jo 6d7dc2f1b5
chore: format files using prettier (pre-commit) 2022-11-23 23:46:34 +01:00
jo 8d9946d35a refactor: upgrade code to >=python3.7 (pre-commit)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2189>
2022-11-23 22:08:55 +00:00
jo cff619679b
chore: format files using isort (pre-commit) 2022-11-23 21:55:37 +01:00
jo 8f7ab9b3b3 chore: fix flake8 warnings
Tested-by: Marge <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2178>
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2178>
2022-11-23 07:32:43 +00:00
jo 0061e82ecd chore: clean files using pre-commit 2022-11-22 14:30:01 +00:00
Marcos Peña aa17f9679b Resolves reuse of invitation code 2022-11-21 18:50:08 +00:00
Georg Krause 6908f4bf74 Resolve "value too long for type character varying(255) during import_files" 2022-11-21 18:12:49 +00:00
petitminion 01fd1503c9 add playlists radio to search result page 2022-11-20 10:49:23 +00:00
Marcos Peña 5248a252ec Resolves 404 on skipped upload 2022-11-19 16:56:38 +00:00
Georg Krause 515b502364 Fix oauth to respond with unhashed token on creation 2022-11-15 18:03:43 +00:00
JuniorJPDJ 3c7d9b5ac8 perf(radio/pick): speedup radio track picking code NOCHANGELOG 2022-11-08 08:53:32 +00:00
Georg Krause 68cc6d9120 chore(oauth): Update Django OAuth Toolkit to version 2.2.0 2022-11-08 07:34:49 +00:00
Georg Krause 127a10f3d9 refactor(auth): Move check for verificated mail address to user class 2022-11-08 07:34:49 +00:00
JuniorJPDJ 64e7c68699 refactor(api): remove unnecessary or wrong `is` keyword usage 2022-11-07 13:28:52 +00:00
Petitminion 0cb3457378 New task checking if remote instance is reachable to avoid playback latence 2022-10-27 12:20:31 +00:00
Georg Krause de697ef851
fix(subsonic): Fix URL reversal for subsonic API 2022-10-19 13:02:37 +02:00
Georg Krause 72877e31ed
feat(api): Prepare API for version 2 2022-10-19 13:02:37 +02:00
Georg Krause 29bc005a51 chore(instance): remove unused import 2022-10-18 18:24:19 +00:00
Georg Krause 7f76b12119 fix(manifest): Don't add start_url and scope to manifest 2022-10-18 18:24:19 +00:00
Georg Krause 7ef652091c test(common): Fix test for SpaManifestView with Serializer 2022-10-18 18:24:19 +00:00
Georg Krause e8b7da9744
test(search): Adopt test do use same serializer as view 2022-10-13 12:00:19 +02:00
Georg Krause 7a81df8ec1 fix(openapi): Add proper serialization for TextPreviewView 2022-10-12 12:03:37 +00:00
Georg Krause 301cea927a Align openapi specs to the actual API 2022-09-28 17:53:49 +00:00
Ciarán Ainsworth b126e09682
Fix broken nodeinfo test 2022-09-12 12:45:28 +02:00
Marcos Peña 875a6ba2df Merge branch 'stable' into develop 2022-09-12 11:37:18 +02:00