mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-04-18 12:30:23 +00:00
This modifies usernames of ActivityPub accounts to use the @example@example.tld format with an additional optional port component (e.g. @user@example.tld:42). This allows accounts from ActivityPub servers with more relaxed username requirements than those of Forgejo's to interact with Forgejo. Forgejo would also follow a "de facto" standard of ActivityPub implementations. By separating different information using @'s, we also gain future opportunities to store more information about ActivityPub accounts internally, so that we won't have to rely on e.g. the amount of dashes in a username as my migration currently does. Continuation of Aravinth's work: https://codeberg.org/forgejo/forgejo/pulls/4778 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9254 Reviewed-by: jerger <jerger@noreply.codeberg.org> Reviewed-by: Ellen Εμιλία Άννα Zscheile <fogti@noreply.codeberg.org> Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net> Co-committed-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net> |
||
|---|---|---|
| .. | ||
| binding.go | ||
| binding_test.go | ||
| email.go | ||
| email_test.go | ||
| glob_pattern_test.go | ||
| helpers.go | ||
| helpers_test.go | ||
| refname_test.go | ||
| regex_pattern_test.go | ||
| validatable.go | ||
| validatable_test.go | ||
| validurl_test.go | ||
| validurllist_test.go | ||