Commit Graph

237 Commits

Author SHA1 Message Date
Petitminion 9d37d69a1d Support playlist fetch, this ill break the frontend (need to update playlist.uuid for endpoint instead of playlist.id)
Done locally but will commit after discussion, we can also delete     lookup_field = "uuid" from playlistviewset
2025-04-26 16:58:53 +02:00
Petitminion c33550d3d4 Make library drop migration use playlist.library instead of user follow and resolve tests 2025-04-26 16:58:53 +02:00
Petitminion e8f30f6fbb Use playlists to privately share audio files (#2417) 2025-04-26 16:58:50 +02:00
petitminion cba1727b4e fix-import-metadata-schema NOCHANGELOG 2025-04-24 23:19:51 +00:00
jon r 90b853b722 Feat(API): changes to support new frontend
Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-18 10:37:48 +02:00
petitminion c7bd63d1c1 pipelines:check OpenApi schema generation match repo schema (#2388) 2025-03-25 17:21:23 +00:00
petitminion 6c6cb60a28 Fix schema generation to allow propre types in front (#2404) 2025-02-20 15:04:25 +00:00
petitminion 6a79f048cd fix: set FORCE to 1 in dev env NOCHANGELOG 2025-01-10 19:17:58 +00:00
petitminion 9804de3650 User follow with trackfavorite and listening activity (#1810 and #2075) 2024-12-06 14:17:21 +00:00
petitminion 3b5de1a32d Supporting multi-artist per tracks/albums (#1568) 2024-08-29 14:11:35 +00:00
Georg Krause 803b077f00 chore: Update django api
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2709>
2024-02-26 07:44:18 +00:00
Georg Krause 0fd0192b37 chore: Replace deprecated smart_text with smart_str
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2709>
2024-02-26 07:44:18 +00:00
Georg Krause ac6d136105 chore: Remove deprecated argument for signal
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2709>
2024-02-26 07:44:18 +00:00
Georg Krause 4e825527a5 chore: Replace deprecated django.contrib.postgres.forms.JSONField with django.forms.JSONField
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2709>
2024-02-26 07:44:18 +00:00
Georg Krause 46ee53c967 chore: Use django.utils.translations.gettext_lazy instead of deprecated ugettext_lazy
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2709>
2024-02-26 07:44:18 +00:00
Georg Krause d82eceecae chore: Align with flake8 6.1 rules
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2737>
2024-02-02 19:46:08 +01:00
Georg Krause 06d135875b chore(api): Update dj-rest-auth to 5.0.2 and django-allauth to 0.55.2
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2670>
2024-01-03 10:02:03 +00:00
Georg Krause 150a9f68a4 fix(api): Use correct data field for rate limiting identity field
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2653>
2023-11-28 18:09:56 +00:00
Georg Krause 69876867d5 fix(embed): Make sure embed has sane default image and correct link
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2650>
2023-11-28 12:16:22 +00:00
Georg Krause 9d23d10e23 Adopt Gitpod to architecture changes 2023-10-13 10:12:05 +00:00
alextprog ccec8288ef fix: Make Artist ordering by name case insensitive
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2431>
2023-10-10 13:02:13 +02:00
Georg Krause afbaa49bb3 fix: Make sure to set right target when none is given
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2506>
2023-09-25 11:33:21 +00:00
jooola b20b33b838 style: Simplify code
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2506>
2023-09-25 11:33:21 +00:00
Georg Krause cb4c27dce0 feat(api): Add inplace_to_s3 management command
This command allows to update Uploads that originally were imported
using --in_place but are moved to s3. This command does not copy any
file, it just makes sure the files are read from S3 after they have been
moved.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2506>
2023-09-25 11:33:21 +00:00
Georg Krause 59ecd8c6d4 fix(api): Fix misleading help texts for funkwhale-manage script
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2507>
2023-06-27 11:45:03 +00:00
Georg Krause a46c8e7f41 fix(api): Avoid the creation of users using djangos createsuperuser command 2023-06-12 09:36:52 +00:00
Georg Krause 6d7905f6a0
feat: allow the creation of random test notifications 2023-05-16 14:43:30 +02:00
jo 22c255700e
style: format code using black v23 2023-03-28 19:49:24 +02: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
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
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
Georg Krause 0602de6d81
Merge branch 'stable' into develop 2022-11-25 18:10:45 +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
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
Georg Krause 76eec47071 feat(manifest): Use proper Renderer class for spa manifest 2022-10-18 18:24:19 +00:00
Georg Krause b50191134a
fix(openapi): Make TextPreviewView extending GenericAPIView to allow spectacular to generate specs 2022-10-13 13:59:52 +02:00
Georg Krause 7a81df8ec1 fix(openapi): Add proper serialization for TextPreviewView 2022-10-12 12:03:37 +00:00
Georg Krause ff1a614861 Resolve "Refactor mutations endpoints" 2022-10-08 17:55:09 +00:00
wvffle c19b3d3545 Fix client API generation 2022-09-27 09:30:26 +00:00
wvffle c0b2c8d41e Fix black linting 2022-09-27 09:30:26 +00:00
wvffle 68face201b Rename operation ids 2022-09-27 09:30:26 +00:00
Marcos Peña 875a6ba2df Merge branch 'stable' into develop 2022-09-12 11:37:18 +02:00
wvffle 57693d85fc Allow anonymous access to gitpod 2022-09-06 09:26:36 +00:00