feat(17-03): sitemap admin, permissions, lang and README

- definitions singleton controller (theme default, first or create) with a
  repeater on data: type dropdown (url plus registry types), reference
  dependsOn type through signpost.ReferenceOptions
- Settings page entries: Sitemap (link to the controller) and Sitemap
  settings (form), both behind golem15.sitemap.access_definitions
- en and pl phrasebooks with the PHP keys
- README with the PHP parity rules, tiers, hooks, commands and the Winter
  YAML adaptations
- TestSitemapAdminSmoke: singleton, PHP-keyed rows, 422 on a foreign
  reference, settings save, 403 without the permission
This commit is contained in:
2026-10-12 17:14:04 +02:00
parent 4a82240429
commit 7d937e3cf5
12 changed files with 904 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
# ===================================
# Form Behavior Config
# ===================================
# Record name
name: golem15.sitemap::lang.definition.title
# Model Form Field configuration
form: ~/plugins/golem15/sitemap/models/definition/fields.yaml
# Model Class name
modelClass: Golem15\Sitemap\Models\Definition
# Default redirect location
defaultRedirect: system/settings
# Update page
update:
redirect: golem15/sitemap/definitions
redirectClose: system/settings
messages:
update: golem15.sitemap::lang.definition.title
saved: backend::lang.messages.form.saved