78 lines
6.2 KiB
Markdown
78 lines
6.2 KiB
Markdown
# 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.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.)
|
|
|
|
## 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.
|