Commit Graph

1218 Commits

Author SHA1 Message Date
ppom c7e7014b5c wording fix 2023-03-03 23:40:09 +01: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
jo 6528039e95 fix(api): pylint crashes on redefined-builtin
See https://github.com/PyCQA/pylint/issues/8079

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2203>
2023-01-29 12:47:02 +00:00
Georg Krause e04a1b188d
Version bump and changelog for 1.3.0-rc3 2023-01-23 14:24:46 +01:00
Georg Krause 0729b52f3d
Version bump and changelog for 1.3.0-rc2 2023-01-23 10:41:22 +01:00
Philipp Wolfer e556a592b5 Fix API call for retrieving details of federated library
The implementation of RetrieveModelMixin.retrieve was incomplete.

Fixes #2046

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2335>
2023-01-23 07:36:22 +00:00
Philipp Wolfer 7da78afa43 maloja: fix submission of artist names
Payload must be submitted as JSON and artist must be an array

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2328>
2023-01-22 10:45:32 +00:00
Georg Krause 16a88210bc
Version bump and changelog for 1.3.0-rc1 2023-01-20 09:40:58 +01:00
Georg Krause 934e179d59 fix: Local instance is always reachable to itself
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2321>
2023-01-19 17:56:50 +00:00
jo 14b5e137bd
feat: prefer using the funkwhale-manage entrypoint
This replaces `poetry run python3 manage.py` with `venv/bin/funkwhale-manage`.

Command running `venv/bin/funkwhale-manage` assume the current working directory is `/srv/funkwhale` on common deployments.

In the funkwhale api docker image, the funwhale-manage command line
interface is available globally.
2023-01-16 02:11:07 +01:00
jo efbdc027ab
fix: use versioned python3 instead of python 2023-01-13 16:55:05 +01:00
Georg Krause 85e3984e3b fix: Can't purge failed files #1929
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2280>
2023-01-05 19:39:01 +01:00
Ciarán Ainsworth 101b1b6a23 fix(api): Add href to protected attributes
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2312>
2022-12-29 17:25:30 +00:00
Petitminion 03a5a83a3b Random and less listened radio filter out un-owned content on library section (#2007)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2285>
2022-12-19 17:13:29 +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
Petitminion 311ea7b3b7 fix RuntimeWarning: DateTimeField Domain.last_successful_contact 2022-12-16 17:02:22 +00:00
Georg Krause 180cd1cc48 fix: Add missing fields to Spa Manifest Serializer
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2256>
2022-12-15 23:43:43 +00:00
wvffle 57ca334887 Fix cookies not being set on new frontend deployment 2022-12-13 13:58:11 +00:00
jo 6f2ecf832c feat: create funkwhale-manage entrypoint
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2191>
2022-12-12 16:31:00 +01:00
Georg Krause b136273dd4 fix: Fix Serializer for inline channel artists 2022-11-26 20:23:17 +00:00
JuniorJPDJ 5c32cace64 fix(api): merge migrations after merging stable to develop 2022-11-25 20:03:37 +01:00
Georg Krause 0602de6d81
Merge branch 'stable' into develop 2022-11-25 18:10:45 +01:00
Georg Krause 817c8fbcaa
Version bump and changelog for 1.2.9 2022-11-25 17:59:23 +01:00
jo 054a9e54f5
docs: fix spelling errors (pre-commit) 2022-11-24 01:43:36 +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 4159bc1209 chore: format files using black (pre-commit) 2022-11-23 20:41:45 +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 ceab2252fb chore: Improve comments and remove useless try/catch 2022-11-15 18:03:43 +00:00
Georg Krause 515b502364 Fix oauth to respond with unhashed token on creation 2022-11-15 18:03:43 +00:00
Georg Krause cfabb6fa3e Resolve "NodeInfo 2.0 endpoint returns incorrect type for field `metadatalibrary`" NOCHANGELOG 2022-11-15 09:33:11 +00:00
petitminion c3431c6a63 resolve play all radio in search page NOCHANGELOG 2022-11-14 18:39:46 +00:00
JuniorJPDJ 3c7d9b5ac8 perf(radio/pick): speedup radio track picking code NOCHANGELOG 2022-11-08 08:53:32 +00:00
Philipp Wolfer 24f0ee319e listenbrainz: submit duration 2022-11-08 07:51:03 +00:00
Georg Krause b0c82ce09f fix(oauth): Fix too many arguments error by removing not used token 2022-11-08 07:34:49 +00:00
Georg Krause 2c6bb23715 fix: Adjust call for previous refactoring 2022-11-08 07:34:49 +00:00
Georg Krause b377f8f883 chore: Remove unused imports 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
RenovateBot 6a787e8479 Update dependency djangorestframework to v3.14.0 (develop) NOCHANGELOG 2022-11-06 19:29:38 +00:00
Philipp Wolfer 6a91ea91b2
Ensure SPA HTML files get loaded with UTF-8 encoding
Fixes issues with wrong encoding of the "Loading Funkwhale…" text in index.html
2022-10-29 10:57:13 +02:00
petitminion 78c3764cc6 Fix remote instance ping 2022-10-27 15:46:01 +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 76eec47071 feat(manifest): Use proper Renderer class for spa manifest 2022-10-18 18:24:19 +00: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