GoToSocial/internal/api/util
tobi 183eaa5b29
[feature] Implement explicit domain allows + allowlist federation mode (#2200)
* love like winter! wohoah, wohoah

* domain allow side effects

* tests! logging! unallow!

* document federation modes

* linty linterson

* test

* further adventures in documentation

* finish up domain block documentation (i think)

* change wording a wee little bit

* docs, example

* consolidate shared domainPermission code

* call mode once

* fetch federation mode within domain blocked func

* read domain perm import in streaming manner

* don't use pointer to slice for domain perms

* don't bother copying blocks + allows before deleting

* admonish!

* change wording just a scooch

* update docs
2023-09-21 12:12:04 +02:00
..
errorhandling.go [chore] Update versions, fix lint errors (#1860) 2023-06-03 13:58:57 +02:00
mime.go [bugfix] Serve correct 'application/jrd+json' content type for webfinger requests (#1738) 2023-05-04 12:28:50 +02:00
negotiate.go [bugfix] Set Vary header correctly on cache-control (#1988) 2023-07-13 21:27:25 +02:00
negotiate_test.go [bugfix] Fix NegotiateFormat with multiple accept headers (#1797) 2023-05-16 15:08:45 +02:00
parsequery.go [feature] Implement explicit domain allows + allowlist federation mode (#2200) 2023-09-21 12:12:04 +02:00