feat: auto-links screen, keyphrase feed and MCP tools

- SEO › Auto-links (golem15.seo.autolinks, after Pages): list by phrase
  with locale, origin and active filters, the disabled row state, the
  form with its refusals, history through a field-less extension
- toolbar Add focus keyphrases (from_keyphrases) and
  POST /autolinks/from-keyphrases
- GET/POST /autolinks, PUT /autolinks/{id}, DELETE /autolinks and the
  tools seo_list_autolinks, seo_create_autolink, seo_update_autolink,
  seo_delete_autolinks, seo_autolinks_from_keyphrases
- the settings tile description and the permission comment name
  auto-links and the site audit
This commit is contained in:
Jakub Zych
2026-11-04 16:30:56 +01:00
parent 6203aec2bc
commit ab4e83416d
19 changed files with 852 additions and 13 deletions

View File

@@ -64,6 +64,11 @@ func (p *Plugin) Routes(r pact.Router) error {
g.Post("/pages", apicontrollers.CreatePage(p.Service), api)
g.Put("/pages/{id}", apicontrollers.UpdatePage(p.Service), api)
g.Delete("/pages/{id}", apicontrollers.DeletePage(p.Service), api)
g.Get("/autolinks", apicontrollers.ListAutolinks(p.Service), api)
g.Post("/autolinks", apicontrollers.CreateAutolink(p.Service), api)
g.Put("/autolinks/{id}", apicontrollers.UpdateAutolink(p.Service), api)
g.Delete("/autolinks", apicontrollers.DeleteAutolinks(p.Service), api)
g.Post("/autolinks/from-keyphrases", apicontrollers.AutolinksFromKeyphrases(p.Service), api)
g.Get("/notfound", apicontrollers.ListNotFound(p.Service), api)
g.Post("/notfound/{id}/redirect", apicontrollers.RedirectNotFound(p.Service), api)
g.Post("/notfound/{id}/gone", apicontrollers.GoneNotFound(p.Service), api)