Commit graph

65 commits

Author SHA1 Message Date
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
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
cff619679b
chore: format files using isort (pre-commit) 2022-11-23 21:55:37 +01:00
Georg Krause
cfabb6fa3e Resolve "NodeInfo 2.0 endpoint returns incorrect type for field metadatalibrary" NOCHANGELOG 2022-11-15 09:33:11 +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
Georg Krause
c70549368d fix(spa manifest): Set correct mime type for endpoint 2022-10-18 18:24:19 +00:00
Georg Krause
c619387ac8 chore(instance): Adjust defaults for spa manifest endpoint serializer 2022-10-18 18:24:19 +00:00
Georg Krause
4e7a0d5734 fix(instance): Set default name to Funkwhale in SpaManifest 2022-10-18 18:24:19 +00:00
Georg Krause
7420729894 fix(openapi): Add Serializer for SpaManifest Endpoint 2022-10-18 18:24:19 +00:00
Georg Krause
301cea927a Align openapi specs to the actual API 2022-09-28 17:53:49 +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
Georg Krause
200670b7f4 Refactor NodeInfo Endpoint to use proper serializer 2022-09-10 16:49:40 +00:00
Georg Krause
5262b107ea Refactor SettingsView to allow openapi generation 2022-09-07 09:09:53 +00:00
JuniorJPDJ
67b970f3f8 Change PyMemoize to django-cache-memoize
This allows to support python 3.10
2022-02-05 21:43:20 +00:00
jovuit
f661e3a078 Reviewed comments on source strings on Weblate and modified source strings accordingly if needed
Replaced "email" with "e-mail address" when needed
2021-06-17 15:55:12 +00:00
Georg Krause
5d745fea6f Resolve "Remove Raven Sentry" 2021-04-25 15:13:17 +00:00
Andy Craze
36bbc5c0da Handle invalid JSON returned by nodeinfo endpoint
Fixes #1057
2020-08-12 23:27:59 +02:00
Agate
eb66d4e3d2 Expose public libraries and channels in standard API 2020-07-28 14:21:15 +02:00
Eliot Berriot
f146c0ae91
Include only local content in nodeinfo stats, added downloads count 2020-02-14 10:48:20 +01:00
Eliot Berriot
7850ca3e1c
Fix #923: Use same markdown widget for all content fields (rules, description, reports, notes, etc.) 2020-02-06 15:52:08 +01:00
Eliot Berriot
9ab3afa47f
Fixed broken urls in manifest.json 2020-01-09 16:12:17 +01:00
Ciarán Ainsworth
2302dc0581 Set up initial configuration for installing
Set up player config for mobile control
2020-01-08 12:16:41 +01:00
Ciarán Ainsworth
b422612edf Resolve "Remove the unused federation__music_needs_approval settings" 2019-12-26 15:54:42 +01:00
Eliot Berriot
002b3687a8 Advertise list of known nodes on /api/v1/federation/domains and in nodeinfo if stats sharing is enabled 2019-12-26 11:28:12 +01:00
Eliot Berriot
175d701247
Fix #982: Removed "nodeinfo disabled" setting, as nodeinfo is required for the UI to work 2019-12-11 11:09:04 +01:00
Eliot Berriot
01223afa80 Resolve "Add optional donation/contribution link in-app" 2019-09-23 11:30:25 +02:00
Eliot Berriot
dc731532b9
Expose default upload quota in nodeinfo 2019-09-19 11:31:39 +02:00
Eliot Berriot
dce7a74f7e See #872: rules and contact email settings 2019-09-19 11:14:21 +02:00
Eliot Berriot
ff566b79dc See #872: banner setting 2019-09-17 11:03:32 +02:00
Eliot Berriot
5ca3055713
See #872: added a new terms of service setting 2019-09-16 11:34:17 +02:00
Eliot Berriot
01d2206001
Reduce number of cache calls by retrieving multiple preferences at once in nodeinfo 2019-09-16 11:32:38 +02:00
Eliot Berriot
33d1f879cf Report UI (end-user) 2019-09-09 11:10:25 +02:00
Eliot Berriot
b95710bb3a
Merge branch 'master' into develop 2019-07-05 16:04:39 +02:00
Eliot Berriot
7897c8ac7f
Fix #879: Admins can now add custom CSS from their pod settings 2019-07-03 11:23:45 +02:00
Eliot Berriot
53b826c81a
Fix #877: Ensure API urls answer with and without a trailing slash 2019-07-02 14:31:47 +02:00
Eliot Berriot
581e890ad9
See #853: advertise allow-list configuration in nodeinfo 2019-06-21 15:57:04 +02:00
Eliot Berriot
119df01335
Fix #808: Advertise the list of supported upload extensions in the Nodeinfo endpoint 2019-05-02 13:15:33 +02:00
Eliot Berriot
4c13d47387 Resolve "Implement a Oauth provider in Funkwhale" 2019-03-25 17:02:51 +01:00
Eliot Berriot
253f026dc0 System actor 2019-01-30 11:54:43 +01:00
Eliot Berriot
0b66737181
Include user activity stats in nodeinfo endpoints 2019-01-21 10:16:50 +01:00
Eliot Berriot
e8c81d734f
Fixed wrong value for anonymousCanListen in nodeInfo 2019-01-21 09:52:41 +01:00
Eliot Berriot
95e087b342
Removed raven on front-end 2018-12-20 11:07:30 +01:00
Eliot Berriot
e49a460203 Audio federation 2018-09-22 12:29:30 +00:00
Eliot Berriot
9bea804f14
See #297: sorted imports 2018-06-10 10:55:16 +02:00
Eliot Berriot
9427f8b56e
See #297: removed unused imports 2018-06-10 10:39:47 +02:00
Eliot Berriot
639882bd34
See #297: removed unused variables 2018-06-09 17:41:59 +02:00