mirror of
1
Fork 0
gotosocial/internal/config
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
..
gen [feature] Use Read/Write lock for config (#1969) 2023-07-10 12:56:14 +01:00
testdata [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
config.go [feature] Implement explicit domain allows + allowlist federation mode (#2200) 2023-09-21 12:12:04 +02:00
config_test.go [feature] support configuring database caches (#1246) 2022-12-11 13:03:15 +00:00
const.go [feature] Implement explicit domain allows + allowlist federation mode (#2200) 2023-09-21 12:12:04 +02:00
defaults.go [feature] Implement explicit domain allows + allowlist federation mode (#2200) 2023-09-21 12:12:04 +02:00
flags.go [feature] Implement explicit domain allows + allowlist federation mode (#2200) 2023-09-21 12:12:04 +02:00
global.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
helpers.gen.go [feature] Implement explicit domain allows + allowlist federation mode (#2200) 2023-09-21 12:12:04 +02:00
state.go [feature] Use Read/Write lock for config (#1969) 2023-07-10 12:56:14 +01:00
util.go [feature] enable + document explicit IP dialer allowing/denying (#1950) 2023-07-07 16:17:39 +02:00
validate.go [feature] Implement explicit domain allows + allowlist federation mode (#2200) 2023-09-21 12:12:04 +02:00
validate_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00