feat: add admin views for federation configuration, hosts and users (#11115)

Fixes #9282

Adds a new admin panel category for federation related administration.

Includes views for:
- Instance Federation Configuration
- List of Federation Hosts
- (Per-Instance) List of Federated Users

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11115
Reviewed-by: elle <0xllx0@noreply.codeberg.org>
Reviewed-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Florian Pallas <mail@fpallas.com>
Co-committed-by: Florian Pallas <mail@fpallas.com>
This commit is contained in:
Florian Pallas
2026-04-09 19:38:33 +02:00
committed by Gusted
parent 65044ca765
commit 4e6a782a89
21 changed files with 973 additions and 12 deletions
+31
View File
@@ -144,6 +144,37 @@
"keys.ssh.link": "SSH keys",
"keys.gpg.link": "GPG keys",
"keys.verify.token.hint": "The token is only valid for 1 minute. <a href=\"%[1]s\">Get a new one if it expired</a>.",
"admin.federation.federation": "Federation",
"admin.federation.hosts": "Hosts",
"admin.federation.hosts.title": "Federation hosts",
"admin.federation.hosts.manage_panel": "Manage federation hosts",
"admin.federation.hosts.details_panel": "Federation host details",
"admin.federation.hosts.show_details": "Show host details",
"admin.federation.host.id": "ID",
"admin.federation.host.fqdn": "FQDN",
"admin.federation.host.schema": "Schema",
"admin.federation.host.port": "Port",
"admin.federation.host.software_name": "Software",
"admin.federation.host.created": "Created",
"admin.federation.host.updated": "Updated",
"admin.federation.host.latest_activity": "Latest activity",
"admin.federation.users": "Users",
"admin.federation.users.title": "Federated users",
"admin.federation.users.manage_panel": "Manage federated users",
"admin.federation.users.show_local_user": "Show local user details",
"admin.federation.user.id": "ID",
"admin.federation.user.user_id": "Local user ID",
"admin.federation.user.external_id": "External user ID",
"admin.federation.user.inbox_path": "Inbox path",
"admin.config.federation": "Federation configuration",
"admin.config.federation.enabled": "Enabled",
"admin.config.federation.share_user_statistics": "Share user statistics with other hosts",
"admin.config.federation.max_size": "Max allowed response size",
"admin.config.federation.signature_enforced": "Require HTTP signatures",
"admin.config.federation.signature_algorithms": "Signature algorithms",
"admin.config.federation.digest_algorithm": "Signature digest algorithm",
"admin.config.federation.get_headers": "Signed GET headers",
"admin.config.federation.post_headers": "Signed POST headers",
"admin.config.moderation_config": "Moderation configuration",
"admin.moderation.moderation_reports": "Moderation reports",
"admin.moderation.reports": "Reports",