feat(15-02): add Categories, Tags, and journal settings admin

Register the remaining YAML admin screens and the settings singleton
so a host can boot Posts, Categories, Tags, and Code journal. Posts
update and delete refuse other authors without access_other_posts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jakub Zych
2026-10-06 18:42:29 +02:00
parent dea0934950
commit afd0a2cafc
17 changed files with 388 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
name: golem15.journal::lang.journal.create_category
form: ~/plugins/golem15/journal/models/category/fields.yaml
modelClass: Golem15\Journal\Models\Category
defaultRedirect: golem15/journal/categories
create:
redirect: golem15/journal/categories/update/:id
redirectClose: golem15/journal/categories
update:
redirect: golem15/journal/categories
redirectClose: golem15/journal/categories
messages:
create: golem15.journal::lang.journal.create_category
update: backend::lang.messages.form.update
saved: backend::lang.messages.form.saved
deleteConfirm: golem15.journal::lang.category.delete_confirm
deleted: backend::lang.messages.form.deleted

View File

@@ -0,0 +1,19 @@
list: ~/plugins/golem15/journal/models/category/columns.yaml
modelClass: Golem15\Journal\Models\Category
title: golem15.journal::lang.category.label_plural
recordUrl: golem15/journal/categories/update/:id
noRecordsMessage: backend::lang.list.no_records
recordsPerPage: 20
showCheckboxes: true
showSetup: true
toolbar:
buttons: [create, delete]
search:
prompt: backend::lang.list.search_prompt
messages:
create: golem15.journal::lang.journal.create_category
empty: backend::lang.list.no_records
deleteConfirm: golem15.journal::lang.category.delete_confirm
deleted: backend::lang.messages.list.deleted