Merge develop into feature/ci-release-flow
This commit is contained in:
commit
ee29c41363
18 files changed
+977
-30
No files matched your search
@@ -63,15 +63,32 @@ Files live on a Laravel filesystem disk (`manager.media.disk`); each row remembe
|
||||
`app(IriksIT\Manager\Support\MediaUsage::class)->register(fn () => $texts)`. Posts and Pages do.
|
||||
- No SVG: it can carry scripts.
|
||||
|
||||
## Posts module
|
||||
|
||||
Posts written in Markdown, with drafts, scheduling, categories and tags.
|
||||
|
||||
- Routes under `/manager`: `posts` (list, `create`, `{id}/edit`, `{id}/preview`, update, `{id}/online`,
|
||||
delete) and `labels` (categories and tags: make, rename, merge, remove). Rights: `posts.view`, `write`,
|
||||
`publish`, `delete`, `labels`.
|
||||
- Who may not publish only saves drafts, and cannot change or delete a post that is live or scheduled.
|
||||
- A post is a draft (`published_at` null), scheduled (in the future) or published. For your public pages:
|
||||
`IriksIT\Manager\Models\Post::published()`, `toCard()` and `IriksIT\Manager\Support\Markdown::toHtml()`
|
||||
(raw HTML is escaped, external links open in a new window). The package has no public post routes: the
|
||||
host decides what a visitor sees.
|
||||
- Categories offered in the form: `manager.posts.categories`, the ones in use, the ones made by hand and
|
||||
whatever your site adds with
|
||||
`app(IriksIT\Manager\Modules\Posts\PostLabels::class)->suggestCategories(fn () => $titles)`.
|
||||
- Covers and bodies count as use of a media file.
|
||||
|
||||
## State of this version
|
||||
|
||||
Done: module registry and switches, permissions per module, users (accounts, groups, command) and
|
||||
media (library and public file route), 30+ tests (`composer test`).
|
||||
Done: module registry and switches, permissions per module, users (accounts, groups, command), media
|
||||
(library and public file route) and posts (with categories and tags), 59 tests (`composer test`).
|
||||
|
||||
The answers of every action are JSON, in the shape the screens of bouwbedrijf.iriks-it.nl got as
|
||||
Inertia props. The screens themselves are not in the package yet: the frontend is an open decision
|
||||
(`AGENTS.md`). Posts, pages and reviews are still skeletons (a list), and so are login, profile, the
|
||||
audit log and revisions: they are not part of users and media.
|
||||
(`AGENTS.md`). Pages and reviews are still skeletons (a list), and login, profile, the audit log and revisions are not
|
||||
ported yet.
|
||||
|
||||
## Development cycle
|
||||
|
||||
|
||||
Reference in new issue
Block a user