summaryrefslogtreecommitdiff
path: root/docs/admin/federation_modes.md
diff options
context:
space:
mode:
authorLibravatar tobi <tobi.smethurst@protonmail.com>2025-05-22 12:34:39 +0200
committerLibravatar kim <gruf@noreply.codeberg.org>2025-05-22 12:34:39 +0200
commit00e58c60cd59882199a7e378416a279de2b5212d (patch)
treec2846ea546174498ed5b4ad68ac9a0039749a9c2 /docs/admin/federation_modes.md
parent[chore] Upgrade to Go 1.24 (#4187) (diff)
downloadgotosocial-00e58c60cd59882199a7e378416a279de2b5212d.tar.xz
[feature] Add ListenBrainz functionality on the web view (#4184)
This pull request adds a very simple ad-hoc ListenBrainz widget to the frontend web view, with progressive enhancement (in all fail states it just falls back to rendering the field as normal). This necessitated adding the ListenBrainz API endpoint to the `connect-src` part of our Content-Security-Policy header. We might want to tweak this to only add that endpoint to `connect-src` for profiles, and then only for profiles that include a ListenBrainz field, but this would require significant dicking about with the middleware, and checks inside the app logic, such that it might not be worthwhile (after all, we control all the scripts right now anyway). Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4184 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
Diffstat (limited to 'docs/admin/federation_modes.md')
0 files changed, 0 insertions, 0 deletions