Commit Graph

771 Commits

Author SHA1 Message Date
Petitminion 17c4a92f77 lint
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2658>
2024-04-16 11:01:29 +00:00
Petitminion 6414302899 implement listening and favorite sync with listenbrainz
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2658>
2024-04-16 11:01:29 +00:00
Georg Krause 5ca8691feb test(api): Fix order of s3 backend initializartion
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2709>
2024-02-26 07:44:18 +00:00
wvffle 367ba84f13 fix(tests): replace serialize_upload with UploadSerializer
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2757>
2024-02-20 17:33:57 +00:00
petitminion 4364d82b0b Add cli command to prune non mbid content from db (#2083) 2024-02-06 11:52:29 +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
Philipp Wolfer 82fdc82f93 Subsonic: Fixed getArtistInfo2 view test
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2695>
2024-02-02 08:47:38 +00:00
Philipp Wolfer 136f24a917 Move Subsonic getArtistInfo2 serialization to serializer
Also fixed JSON serialization by not using lists for the single value fields.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2695>
2024-02-02 08:47:38 +00:00
Philipp Wolfer a5ee48818e Extend Subsonic XML renderer to allow explicit XML child tags
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2695>
2024-02-02 08:47:38 +00:00
Philipp Wolfer d227490f5b OpenSubsonic: report HTTP form POST extension as supported
Funkwhale already supports passing parameters as application/x-www-form-urlencoded

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2695>
2024-02-02 08:47:38 +00:00
Philipp Wolfer bf8f1e41b9 OpenSubsonic: MBID for artist results, added mediaType field
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2695>
2024-02-02 08:47:38 +00:00
Philipp Wolfer e169e8edb1 Subsonic: Fixed casing of "bitRate" attribute
This follows the Subsonic / OpenSubsonic API spec

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2695>
2024-02-02 08:47:38 +00:00
Philipp Wolfer 0fab0470c2 Subsonic: Actually implement getArtistInfo2 endpoint
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2695>
2024-02-02 08:47:38 +00:00
Philipp Wolfer 81401075aa Add OpenSubsonic support
Fixes #2270

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2695>
2024-02-02 08:47:38 +00:00
petitminion ae9fea0cf1 implement pylistenbrainz NOCHANGELOG 2024-01-30 11:32:14 +00:00
Georg Krause 33cd0f05a7 test(throttling): Explicitly enable throttling to make test more stable
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2670>
2024-01-03 10:02:08 +00: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 3db367f4bc feat(api): Add codeOfConduct to NodeInfo Endpoint
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2641>
2023-11-24 13:41:40 +00:00
Georg Krause a0ae9bbb70 feat(api): Add NodeInfo 2.1
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2604>
2023-11-23 11:47:03 +01:00
Georg Krause a05b44f27b feat(api): Add atom1.0 to node info services
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2604>
2023-11-23 11:46:27 +01:00
Ciarán Ainsworth f769c8ce68 fix(tests): fix broken test
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2607>
2023-11-19 14:16:42 +00:00
Petitminion 7bf1d95d8e add test
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2607>
2023-11-19 14:16:42 +00:00
Petitminion 363a4b5d35 resolves review
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2607>
2023-11-19 14:16:42 +00:00
Petitminion 179c53695e make setting dynamic
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2607>
2023-11-19 14:16:42 +00:00
Petitminion d3b27b4ba9 resolve test 2
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2607>
2023-11-19 14:16:42 +00:00
Petitminion 6dea3f3cf8 resolve test
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2607>
2023-11-19 14:16:42 +00:00
Petitminion df6f2d919d add common setting and lint
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2607>
2023-11-19 14:16:42 +00:00
Petitminion 2e3205a19d Only allow MusicBrainz tagged file on a pod (#2083)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2607>
2023-11-19 14:16:42 +00:00
Georg Krause 7ac6447308 Merge branch 'stable' into develop 2023-11-16 09:46:02 +00:00
Georg Krause 5eda0def09 test(s3): Verify the construction of audio file urls with custom s3 domain
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2577>
2023-10-27 17:58:03 +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
petitminion 4ad806b8e9 Cache radio queryset. New api endpoint for radio tracks : api/v2/radios/sessions/$sessionid/tracks?count=$count 2023-09-25 22:28:11 +00:00
Georg Krause b907f48f1c test: Remove test test that wont work
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2506>
2023-09-25 11:33:21 +00:00
Georg Krause 9ee75d0252 test: Use the right assert to validate empty file field
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
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 e78191c917 fix: Fetch nodeinfo endpoint address from .well-known/nodeinfo when checking instance availability
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2561>
2023-08-31 12:06:34 +00:00
codl 0e51f73298 failing test for #2199
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2551>
2023-08-23 17:13:56 +00:00
jo abadf6c9fb
style: format file with black==23.7.0 2023-07-25 19:04:32 +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