feat: redirects screen

- golem15.seo.redirects list and form (UI-SPEC C8): chain rows marked,
  status, match, origin and chain filters, the navigation item lands here
- a field-less extension on the controller refuses a loop with
  redirects.loop on target, answers the chain notice and records history
- the status dropdown posts text, read through RedirectStatus
This commit is contained in:
2026-10-27 11:30:56 +01:00
parent 34a65b846e
commit 163b0aaf98
15 changed files with 677 additions and 24 deletions

View File

@@ -14,7 +14,7 @@ import (
)
// PermissionManage is the one SEO permission (D-15): the SEO tab, URL
// rules, settings and history.
// rules, redirects, the 404 log, robots.txt, settings and history.
const PermissionManage = "golem15.seo.manage"
// The admin controller IDs.
@@ -29,6 +29,7 @@ const (
func AdminControllers(app func() *backpack.App) []pact.AdminController {
return []pact.AdminController{
settingsAdminController{app: app},
redirectsAdminController{app: app},
rulesAdminController{app: app},
historyAdminController{app: app},
}