Commit Graph

4 Commits (e60158c70b831c0c45aa147c3571d8a6a870e27c)

Author SHA1 Message Date
Anthony Wang e60158c70b
Make sure API responses always refer to username in original case
Copied from what I wrote on #19133 discussion: Handling username case is a very tricky issue and I've already encountered a Mastodon <-> Gitea federation bug due to Gitea considering Ta180m and ta180m to be the same user while Mastodon thinks they are two different users. I think the best way forward is for Gitea to only use the original case version of the username for federation so other AP software don't get confused.
3 years ago
Anthony Wang d7b81f551d
make fmt 3 years ago
Anthony Wang d91c61f8fa
Update TestWebFinger to check for ActivityPub IRI in aliases 3 years ago
KN4CK3R 3da9dafc60
Add Webfinger endpoint (#19462)
This adds the [Webfinger](https://webfinger.net/) endpoint for federation.

Supported schemes are `acct` and `mailto`. The profile and avatar url are returned as metadata.
3 years ago