Support reaching user@sub.domain.tld at user@domain.tld (#134)
authorJoel Beckmeyer <joel@beckmeyer.us>
Tue, 2 Aug 2022 13:54:22 +0000 (13:54 +0000)
committerfloatingghost <hannah@coffee-and-dreams.uk>
Tue, 2 Aug 2022 13:54:22 +0000 (13:54 +0000)
commite26388a01c91f9e3b1b9a0b77938b6f5b215ec63
tree1cac36caeb8e95f240c004b641c601ed136180de
parentc3eea8dc7d005ccc2384a5e6e744d8084aff3e0c
Support reaching user@sub.domain.tld at user@domain.tld (#134)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/134
Co-authored-by: Joel Beckmeyer <joel@beckmeyer.us>
Co-committed-by: Joel Beckmeyer <joel@beckmeyer.us>
20 files changed:
CHANGELOG.md
config/config.exs
config/test.exs
docs/docs/configuration/how_to_serve_another_domain_for_webfinger.md [new file with mode: 0644]
lib/pleroma/http.ex
lib/pleroma/web/activity_pub/activity_pub.ex
lib/pleroma/web/web_finger.ex
test/fixtures/tesla_mock/framatube.org_host_meta
test/fixtures/tesla_mock/status.alpicola.com_host_meta
test/fixtures/webfinger/masto-host-meta.xml [new file with mode: 0644]
test/fixtures/webfinger/masto-user.json [new file with mode: 0644]
test/fixtures/webfinger/masto-webfinger.json [new file with mode: 0644]
test/fixtures/webfinger/pleroma-host-meta.xml [new file with mode: 0644]
test/fixtures/webfinger/pleroma-user.json [new file with mode: 0644]
test/fixtures/webfinger/pleroma-webfinger.json [new file with mode: 0644]
test/pleroma/user_test.exs
test/pleroma/web/twitter_api/remote_follow_controller_test.exs
test/pleroma/web/web_finger/web_finger_controller_test.exs
test/pleroma/web/web_finger_test.exs
test/support/http_request_mock.ex