Commit Graph

48 Commits

Author SHA1 Message Date
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
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
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
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
Ciarán Ainsworth b126e09682
Fix broken nodeinfo test 2022-09-12 12:45:28 +02:00
Georg Krause 200670b7f4 Refactor NodeInfo Endpoint to use proper serializer 2022-09-10 16:49:40 +00: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 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 33d1f879cf Report UI (end-user) 2019-09-09 11:10:25 +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 c641b8f500
Linting 2018-09-28 16:48:26 +02:00
Eliot Berriot e49a460203 Audio federation 2018-09-22 12:29:30 +00:00
Eliot Berriot 799386c2b6
See #297: removed a lot of unused variables 2018-06-10 11:27:38 +02: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 62ca3bd736
Blacked the code 2018-06-09 15:36:16 +02:00
Eliot Berriot 6fc4275b68
See #152: use new user permissions on relevant viewsets 2018-05-18 18:48:46 +02:00
Eliot Berriot 13c5219d71
See #206: added API endpoint for managing settings 2018-05-17 23:39:34 +02:00
Eliot Berriot 1974c17e76
Fix #200: Instances can now indicate on the nodeinfo endpoint if they want to remain private 2018-05-16 22:24:05 +02:00
Eliot Berriot cdc8388118
See #192: renamed name to nodeName, and include anonymousCanListen value as well 2018-05-08 09:01:02 +02:00
Eliot Berriot 095b70db4b
See #192: use proper content type for nodeinfo endpoint 2018-05-07 23:29:07 +02:00
Eliot Berriot a679f48fcf
See #192: removed useless localPosts and localComments 2018-05-07 23:26:48 +02:00
Eliot Berriot 6ff8c2c8da
See #192: use nodeinfo/2.0 namespace to be future proof 2018-05-07 22:28:21 +02:00
Eliot Berriot b4ad7a4a71
See #192: replaced old stats endpoint with nodeinfo 2018-05-07 22:09:03 +02:00
Eliot Berriot d310628cb5
refactored tests, no have __init__ everywhere 2018-03-25 22:27:38 +02:00
Eliot Berriot d875f0d070
Fixed #82: Basic instance states are now available on /about 2018-02-27 22:38:55 +01:00
Eliot Berriot cdabb26989
Fix #30: added instance preferences for name and descriptions 2018-02-24 15:27:51 +01:00
Eliot Berriot 6152b3bb36
Added API endpoint for listing public instance settings 2018-02-17 21:31:32 +01:00