gotosocial/example
Daenney e397272fe8
[feature] Discover webfinger through host-meta (#1588)
* [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
2023-03-08 12:57:41 +00:00
..
apparmor [docs] Add AppArmor profile for Debian and Ubuntu installations (#1183) 2022-11-30 23:09:26 +01:00
docker-compose [docs] Clarify that reverse proxy setups need trusted-proxies (#1127) 2022-11-23 16:10:56 +01:00
config.yaml [feature] Discover webfinger through host-meta (#1588) 2023-03-08 12:57:41 +00:00
gotosocial.service [docs] Remove filesystem logging directives from example systemd unit config (#1206) 2022-12-05 11:10:13 +01:00