This commit is contained in:
deploy-bot committed 2026-12-04 11:06:52 +00:00
commit a2a48d7ce2
148 files changed
+9946

No files matched your search

+112
View File
@@ -0,0 +1,112 @@
# Changelog
Every release has a section here, named after its version (for example `v0.1.0 - 2026-12-04`, as a second-level
heading). The release pull request to `production` is stopped by PR CI when its section is missing, and the text of
the section is the text of the release in Gitea.
## v0.6.0 - 2026-12-04
- Per account: the face of the manager (the whole one or the simple one) is stored on the account and wins over what its rights give; an administrator sets it
on the accounts screen, an account with `manager.switch` (or `manager.full`) sets it itself. The language (Dutch or English) is a choice in the profile
and applies on the server too, inside the manager only. New migration: `locale` and `tutorial` on the user settings.
- The tour: an administrator switches it on for an account (accounts screen); the account gets it at its next load, and finishing or skipping it is stored
(`PUT /manager/profile/tutorial`), so it does not come back until it is switched on again.
- The simple face, made usable: posts, pages, media and the lists of `manager.resources` are marked `simple` by default (so with `simple_view` on, a simple
account has something to work with), menu items and lists take a `hint` (a line of explanation), a field takes `advanced` (left out of the simple face)
and `help` (shown under the field). The simple face has a start page of big buttons with a line of explanation, and bigger type and calmer spacing everywhere.
- The tour: a playful walk through the manager with a mascot (a card beside what it points at, steps for exactly what this account sees, Back/Next, dots).
It can be stopped at any moment (the cross, Escape or the link) and that is remembered per account, whether it was finished or not; it comes back only when
an administrator switches it on again, and an account that has had it can start it again ("Show the tour", in the menu and the profile). The pictures are
`resources/mascot/<name>.webp|png` (or a folder of the site: `manager.mascot.path`); a picture that is missing is a paw. A module adds steps with `tutorial()`.
## v0.5.2 - 2026-12-04
- The mirror for Packagist gets a clean tree per release (no tests, `ui/`, `dev/`, `TOKENS.md`, `.gitea/` or agent files), with no history and no
branch, so `composer require` installs less and this repository can be private. `mirror_tags.sh`, with tests; `out/` is export-ignored too.
## v0.5.1 - 2026-12-04
- Packagist shows only the releases: the Release workflow pushes the tags to a mirror (`iriks-it/laravel-manager-packagist`) that has only a `production` branch with a note (no `composer.json`, so no version),
and Packagist reads that, so the `dev-…` versions of every branch are gone.
## v0.5.0 - 2026-12-04
- Names that can move: `route_name` for the route-name prefix, `tables` for a table of its own per short name (on top of `table_prefix`),
`IriksIT\Manager\Support\Names` to ask for either. The defaults are the names of every earlier version.
- `manager:import posts|pages|reviews` copies the rows of a table of the site into the package (read-only on the source, repeatable,
`--dry-run`, column mapping).
- Server texts are translatable: menu, permission labels and sections, theme names, audit summaries and the main messages go through `__()`,
and the package ships `resources/lang/nl.json`. A site's own `lang/<locale>.json` wins.
- Fix: the audit log and the bot counter strip the configured route-name prefix, not a fixed `manager.`.
- Menu: sections, icons and order, changeable from `manager.menu` (items and links of the site's own). The old item shape stays valid.
- Simple view (`simple_view`, off by default): permissions `manager.full` and `manager.switch`, a remembered choice per account (new migration
adds `view` to the user settings) and a switch in the menu.
- Pages with fields: definitions in `manager.pages.definitions` (types text, textarea, markdown, lines, media, url, number, date, toggle,
select), `Page::contentFor($slug)` for the public site, and screens to edit them and to make free pages (new migration: `meta_description`
and `content` on the pages table). The field definitions (`Support\Fields`) and the form component are shared with what comes next.
- Lists without code: `manager.resources` makes a menu item, list, form, validation and permissions (`<key>.view`, `<key>.manage`) from field
definitions, kept in a model of the site or in the new `manager_records` table (new module `resources`, on by default, nothing registered
without definitions).
- Screens of the site's own: `manager.extensions` loads JavaScript modules next to the manager; `window.IriksManager` offers `register`, `api`,
`Vue` and the shared components, and `resources/dist/vue.js` maps `import 'vue'` to the Vue of the screens. A browser that opens a manager
address without a route of the package gets the screens (an HTML request only).
- History: a new module `revisions` (on by default, `MANAGER_REVISIONS`) keeps the state of every saved post and page with who and what changed,
shows it on the screens and puts an earlier state back (`revisions.view`, `revisions.restore`; new table `manager_revisions`). More models can
join with `manager.revisions.types`.
- Editor: Markdown fields get a toolbar, photos from the media library and a server-rendered preview (`POST /manager/markdown`); the media
library gets a click-to-set focus point with a square preview. (No cropping or rotating: the file stays as uploaded.)
- Statistics: `<x-manager::pulse />` puts the counting script (`/pulse/pulse.js`, no cookies, honours Do Not Track) in the public pages of a site.
- Login checks: `manager.login.checks` (contract `LoginCheck`, base class `BaseLoginCheck`) adds fields and checks before and after the password;
Cloudflare Turnstile is built in (two env keys). No two-factor login in the package itself.
- Roles of the host: `manager.permissions` (`mode` groups/host/merge, `roles` map or a `resolver` implementing `PermissionResolver`) lets a site
with its own roles say what an account may do; groups stay the default.
- CI: nothing runs weekly any more, and Trivy no longer runs in the jobs (the runner disk filled up with its database). `composer audit` stays in every
pull request and every release; Trivy scans production from the homelab, every night and after every release. The nightly dependency round of the
homelab replaces the weekly *Dependency updates* workflow (and `update_dependencies.py`); its `renovate/*` pull requests may go to `production` and
become a patch release of their own (one a night at most, none while a release branch is open).
- `manager:doctor` has a `names` check: it warns when the site uses a route name or an address of the manager and says to set `route_name` or `path`.
## v0.4.0 - 2026-12-04
- Screens in the package: a small Vue app on the JSON routes, built and served by the package (a site needs no Node). Login, logout and
profile for an app that has none, a dashboard and menu, and screens for accounts, groups, media (with a picker for covers), posts,
categories and tags, the audit log with bans, and statistics. Pages and reviews show a read-only list. `MANAGER_UI=none` keeps only the
JSON routes. The default middleware is now `['web', 'manager.auth']` (a published config that still says `auth` keeps working).
- Themes: `dark` and `light`, your own as a JSON file (`php artisan manager:make-theme`) or in the config, chosen per account in the
profile (new table `manager_user_settings`; `MANAGER_THEME`, `MANAGER_USER_THEMES`). Every value is checked before it reaches a page.
- For AI agents: `php artisan manager:install` (no questions), `php artisan manager:doctor --json` (checks the setup, says how to fix
it, non-zero exit on failure), a step-by-step guide (`resources/ai/INTEGRATION.md`) and a Laravel Boost guideline. Modules report
their tables with `tables()`.
- PR CI: a job that type-checks and builds the screens and fails when the committed `resources/dist` is out of date.
## v0.3.0 - 2026-12-04
- The Packagist step submits the package itself when Packagist does not know it yet (the update call answered 404), instead
of failing until someone submits it by hand.
## v0.2.0 - 2026-12-04
- CI: the composer cache and three tries for the install in every job, so a hiccup of a download no longer breaks a run.
- Audit log (module `audit`, off by default): logins and failed logins, changes, opened pages and refusals, with the
address and the browser. Modules name their routes with the new `actions()` and `views()`.
- Address bans: by hand, for a group of addresses, or by itself after too many failed logins; optionally for the
whole app. `manager:unban` and `manager:audit-prune`.
- Statistics (module `statistics`, off by default): page views and time on a page without cookies or stored addresses, sources,
devices, programs, comparisons and CSV export. Which pages count is up to the site.
- Breaking for a module that implements `Contract\Module` without extending `BaseModule`: the contract gained
`actions()`, `views()` and `middleware()`.
- Weekly workflow *Dependency updates*: widens the version constraints in `composer.json` for a new release of a dependency, as a pull request to the open release branch.
- `dev/token-usage-hermes.py`: the same rows per model for work done by a Hermes agent; the token script also counts the advisor.
- `CLAUDE.md` and the rules shared with the other IriksIT repos in `AGENTS.md`.
## v0.1.0 - 2026-12-04
First version.
- The module registry, with a switch per part of the manager. A part that is off has no routes, tables, menu
item or permissions.
- Users: accounts, groups and permissions (a permission can need another), and `manager:create-user`.
- Media: the library on a Laravel disk and the public file route `/media-files/{id}/{name}/view`.
- Posts: drafts, scheduling, Markdown, categories and tags.
- MIT license; the development cycle with release branches, tags and Packagist, and CI with tests, `composer audit`
and Trivy.