mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-22 18:22:11 +00:00
e397272fe8
* [feature] Discover webfinger through host-meta This implements a fallback for discovering the webfinger endpoint in case the /.well-known/webfinger endpoint wasn't properly redirected. Some instances do this because the recommendation used to be to use host-meta for the webfinger redirect in the before times. Closes #1558. * [bug] Ensure we only ever update cache on success * [chore] Move finger tests to their own place This adds a test suite for transport and moves the finger cache tests into there instead of abusing the search test suite. * [chore] cleanup the test a bit more We don't really need a separate function for the oddly located webfinger response as we check the full URL string anyway * Address review comments * [chore] update config example * [chore] access DB only through state in controller |
||
---|---|---|
.. | ||
context.go | ||
context_test.go | ||
controller.go | ||
deliver.go | ||
dereference.go | ||
derefinstance.go | ||
derefmedia.go | ||
finger.go | ||
finger_test.go | ||
signing.go | ||
transport.go | ||
transport_test.go |