gotosocial/internal
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
..
ap [feature] Federate pinned posts (aka featuredCollection) in and out (#1560) 2023-03-01 17:52:44 +00:00
api [feature] Discover webfinger through host-meta (#1588) 2023-03-08 12:57:41 +00:00
cache [feature] Discover webfinger through host-meta (#1588) 2023-03-08 12:57:41 +00:00
config [feature] Discover webfinger through host-meta (#1588) 2023-03-08 12:57:41 +00:00
db [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
email [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
federation [bugfix] internal server error on search not found (#1590) 2023-03-06 10:38:43 +01:00
gotosocial [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00
gtserror [bugfix] internal server error on search not found (#1590) 2023-03-06 10:38:43 +01:00
gtsmodel [feature] Advertise rich text formats, support content_type field (#1370) 2023-03-02 12:06:40 +01:00
httpclient [chore] Move request validation earlier in client (#1531) 2023-02-19 11:01:15 +00:00
id [chore] reformat GetAccount() functionality, support updating accounts based on last_fetch (#1411) 2023-02-03 20:03:05 +00:00
iotools [bugfix] Parse video metadata more accurately; allow Range in fileserver (#1342) 2023-01-16 16:19:17 +01:00
log [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
media [performance] cache media attachments (#1525) 2023-03-03 23:02:23 +00:00
messages [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
middleware [bug] Pass context in logging middleware (#1514) 2023-02-17 12:37:57 +01:00
netutil [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
oauth [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
oidc [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
processing [feature] Add support for profile fields (#1483) 2023-03-06 10:30:19 +01:00
regexes [feature] Federate reports to remote instance as Flag (if desired) (#1386) 2023-01-27 14:48:11 +01:00
router [feature] Allow loading TLS certs from disk (#1586) 2023-03-04 17:24:02 +00:00
state [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00
storage [chore/performance] simplify storage driver to use storage.Storage directly (#1576) 2023-03-01 10:44:54 +01:00
stream [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
text [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
timeline [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
trans [feature] Advertise rich text formats, support content_type field (#1370) 2023-03-02 12:06:40 +01:00
transport [feature] Discover webfinger through host-meta (#1588) 2023-03-08 12:57:41 +00:00
typeutils [bugfix] Federate status delete using just the URI (#1584) 2023-03-03 19:56:34 +00:00
uris [feature] Federate pinned posts (aka featuredCollection) in and out (#1560) 2023-03-01 17:52:44 +00:00
util [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
validate [feature] Add support for profile fields (#1483) 2023-03-06 10:30:19 +01:00
visibility [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00
web [feature] Federate pinned posts (aka featuredCollection) in and out (#1560) 2023-03-01 17:52:44 +00:00
workers [chore] move client/federator workerpools to Workers{} (#1575) 2023-03-01 18:26:53 +00:00