gotosocial/web/source
tobi ec4d4d0115 [feature] Allow exposing allows, implement /api/v1/domain_blocks and /api/v1/domain_allows (#4169)
- adds config flags `instance-expose-allowlist` and `instance-expose-allowlist-web` to allow instance admins to expose their allowlist via the web + api.
- renames `instance-expose-suspended` and `instance-expose-suspended-web` to  `instance-expose-blocklist` and `instance-expose-blocklist-web`.
- deprecates the `suspended` filter on `/api/v1/instance/peers` endpoint and adds `blocked` and `allowed` filters
- adds the `flat` query param to `/api/v1/instance/peers` to allow forcing return of a flat list of domains
- implements `/api/v1/instance/domain_blocks` and `/api/v1/instance/domain_allows` endpoints with or without auth depending on config
- rejigs the instance about page to include a general section on domain permissions, with block and allow subsections (and appropriate links)

Closes https://codeberg.org/superseriousbusiness/gotosocial/issues/3847
Closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4150

Prerequisite to https://codeberg.org/superseriousbusiness/gotosocial/issues/3711

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4169
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-05-20 11:47:40 +02:00
..
css [feature] Allow exposing allows, implement /api/v1/domain_blocks and /api/v1/domain_allows (#4169) 2025-05-20 11:47:40 +02:00
frontend [feature] Update attachment format, receive + send focalPoint prop + use it on the frontend (#4052) 2025-04-26 15:03:05 +02:00
frontend_prerender [feature] Update attachment format, receive + send focalPoint prop + use it on the frontend (#4052) 2025-04-26 15:03:05 +02:00
nollamas [chore] more NoLLaMas proof-of-work tweaking (#4096) 2025-05-03 16:45:25 +00:00
nollamasworker [chore] more NoLLaMas proof-of-work tweaking (#4096) 2025-05-03 16:45:25 +00:00
settings [bugfix] Fixes to tablist, fileinput, checkbox (#4139) 2025-05-06 08:06:52 +00:00
.browserslistrc [chore] Bundler restructure (#880) 2022-10-03 16:46:38 +02:00
.eslintignore [chore] more NoLLaMas proof-of-work tweaking (#4096) 2025-05-03 16:45:25 +00:00
.eslintrc.js [chore] Convert some settings / admin panel JS to TypeScript (#2247) 2023-10-05 16:06:19 +02:00
.gitignore [chore] Convert some settings / admin panel JS to TypeScript (#2247) 2023-10-05 16:06:19 +02:00
.license-header.js update license headers (#1612) 2023-03-12 17:49:06 +00:00
index.js [feature] proof of work scraper deterrence (#4043) 2025-04-28 20:12:27 +00:00
package.json [chore/frontend] Update skulk, caniuse (#4044) 2025-04-23 17:44:25 +02:00
tsconfig.json [feature/frontend] Add debug sections to settings panel (#2950) 2024-06-03 11:20:53 +02:00
yarn.lock [chore/frontend] Update skulk, caniuse (#4044) 2025-04-23 17:44:25 +02:00