# 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.8.0 - 2026-12-04 - A site that had its own manager before the package keeps its own middleware aliases (`manager.auth`, `manager.shell`, `manager.locale`): the routes of the package use the middleware classes themselves, so the alias of the site is never taken over, and the alias is only offered when the site has none. - The settings screen has a "Try it" button per group that makes a connection (the IriksIT API: logs in; Turnstile: asks Cloudflare whether it knows the secret key). It tries what is saved, needs `settings.secrets`, and a site adds its own with `manager.settings.checks`. - Features of the site: `manager.features` declares switches (services, projects, reviews, requests, a contact form) that show up as toggles in a group of their own on the settings screen. One switch is followed by the manager (a `resources` entry with `'feature' => 'services'` disappears completely: menu, permissions, screens, routes) and by the public site (`Features::on()`, `Features::flags()`, the route middleware `manager.feature:services`, and `@feature('services') … @endfeature` in Blade). Off hides; the data stays and comes back when the switch goes on. - The requests module (`leads`, off by default; with a feature `leads` in `manager.features` that one switch turns it on and off): requests of visitors (callback requests, questions, quotes, a contact form) are screened into the folders inbox, other and spam (links, words of selling to a business, text in another language, a form that was open too short, a throwaway address, the same text twice, blocked senders; nothing is ever refused, every call is kept with its reasons), stored, mailed to an address of the settings screen, and handled on a screen of their own (waiting, handled, notes, outcome, call/WhatsApp/mail buttons; whoever manages also sees the folders and the reasons, moves requests and blocks senders). The forms stay the site's own and call `Support\Leads\Intake::take()`. `manager:leads-prune` removes old requests, old spam and expired blocks. New migration: `leads` and `lead_blocks`. - The public forms of the requests module: `POST /requests/{form}` (path and forms in `manager.leads.form`) takes a callback request, a question or a quote in with the fields each form requires (`contact` is one box for a phone number or a mail address), only the questions and moments the site offers, a honeypot, the signed moment of the form, Turnstile when its keys are set and a limit per address and for everyone together. A visitor always gets the normal thank-you, whatever the screening thinks. `GET /requests/token` gives the signed moment to a form built by script. Where a visit came from comes from the statistics module by itself. - The requests module gets a report for whoever manages it (the last 90 days: requests, ways in, pages, sources, subjects, how many became a job, how much the screening kept away), counting of taps on the phone number and the WhatsApp button (`POST /requests/tap`, a counter per day and page, nothing else; new migration `lead_taps`), and `manager:import leads|taps` for a site that had its own. - Richer fields for pages and `manager.resources`: `slug` (an address part, made of the field named in `from` when left empty), `list` (a list of short texts, one per line), `media_list` (a gallery from the media library), `repeater` (a list of items with fields of their own, for example questions and answers), and a `select` that takes its choices from the rows of a table of the site (`source` => model, label, value). With these a site can describe services, projects and reviews without code, on its own models and tables. - A site that already has tables for the same job (groups, pages, leads…) can keep them: point `manager.tables` at them and the migrations of the package skip a table that exists and only add a column it lacks (`groups.start`, `group_user.is_primary`, `pages.meta_description`, `pages.content`). The rows stay where they are. - `manager:doctor` checks the columns of the tables of every active module, so a table of the site that the package adopted and that lacks a column the package writes is reported (`columns`) instead of failing at the first save. `Support\Tables::COLUMNS` lists them, and a test keeps that list equal to what the migrations make. - The rights a site stored for its groups keep working after the package takes over: the names follow `.` and `.view`/`.manage`, and a stored `.manage` also lets the account see the list. Written down in the README ("A site with data and names of its own") and kept by a test. - Ready-made lists for `manager.resources`: `Support\Presets::services()`, `projects()`, `testimonials()`, `menu()` and `socials()` (a service with a page, photos, points and questions; a project with a town, year and photos; a review; a menu; social links). A site points `model` at its own table or keeps the records in the package, sets a `feature`, and overrides single fields. - A table of requests that a site already has can be adopted: a migration adds `subject` and `subject_id` to it and, when it has `service_id`, gives that id to `subject_id`. The revisions table of a site is not adopted (the package makes its own; the history of the site stays in its old table). - `Support\Presets::business()`: the page of business details (name, owner, phone, WhatsApp, address, registration numbers, opening hours, towns) for `manager.pages.definitions`, so every site enters them once and reads them with `Page::contentFor('business')`. - The updates module (`updates`, off by default, right `updates.view`): a screen with the releases of the CHANGELOG.md of the site, newest first, with or without a heading per kind of change. `manager.updates.changelog` points at another file and `limit` says how many releases show. No tables. - A contact message with a subject is a request too: the form `contact` (kind `message`, `POST /requests/contact`) requires name, mail address, subject and message, and a form may now list `subject` in `require`. `Support\Presets::experience()` is the list of work and projects for a CV (title, role, period, story, points, links, technology). - The sharing module (`sharing`, off by default, needs `posts`): connect the owner's LinkedIn account (OAuth with a session state and PKCE, tokens stored encrypted) and share a published post with the button "Share now" on its screen. Until the setting "Post for real" is on, a share is a dry run and nothing is sent. A site adds other networks with a class that implements `Contracts\Sharer`. Rights `sharing.view`, `sharing.publish` and `sharing.manage`; new migration: `social_connections` and `post_shares`. The two steps of a connection (route names `*.connect` and `*.callback`) are left alone by the screens, like downloads. - The simple face has words of its own: a field, a resource and a defined page take `'simple' => [...]` (`label` and `help` for a field, `label` and `singular` for a resource and its menu item, `title` for a page), shown to accounts in the simple face while the full face keeps the usual words. The presets (services, projects, reviews, menu, social links, business details) bring plain-language words for it. - Screens for the owner of a business: the module `numbers` (off by default, needs `statistics`, right `numbers.view`) shows how the site is doing in plain words: visitors against the period before, requests and what became of them, taps on the call and WhatsApp buttons, pages, how people found the site and the most read articles, over 7 days, 30 days or a year. - The module `costs` (off by default, right `costs.view`, new migration `work_costs`) shows what the work on the site cost, from the table of its `TOKENS.md`: tokens in euros per piece of work and per release, hours at an hourly rate, hosting and a discount. A row is priced once and kept: by an invokable class of the site (`manager.costs.pricer`), else by the IriksIT API (`Support\IriksStorage\Client::tokenCosts()`, the account of `manager.media.iriksit`, permission `ai.pricing`), else by the fixed `manager.costs.rates`. `manager:costs-price` prices what is new. - The simple start screen says what waits: a line under the button of the requests, the posts and the numbers (`Support\Tiles`), a badge with the new requests, a "Need help?" button (`manager.simple.help`) and a "View the site" button (`manager.simple.site_link`). ## v0.7.0 - 2026-12-04 - Per account a primary group (and any number of secondary ones): the primary group is the label of the account and sets its start screen; what the account may do stays the sum of all its groups. A group can name a start screen. New migration: `is_primary` on the group-user table and `start` on groups. - The settings screen (module `settings`, whole face only): switch parts of the manager and features of the site on or off and set the keys and addresses of integrations (the IriksIT API, Turnstile) from the manager, with the rights `settings.manage` and `settings.secrets`. Works at once (database plus one compiled file laid over the config, also with `config:cache`), optionally written into `.env` too (`manager.settings.write_env`). Sites add their own with `manager.settings.definitions`. New migration: `settings`. - More commands: `manager:settings` (list, get, set, reset, refresh; secrets are typed hidden), `manager:users`, `manager:user-password`, `manager:media-prune` (unused media, or files no row knows; nothing is deleted without `--delete`) and `manager:import media` (the rows of a site's own media table, with `--set` for a value every row gets). - `php artisan manager:media-move `: moves the files of the media library to another disk (for example to `iriksit`), keeping their addresses, with `--dry-run`, `--from`, `--limit`, `--verify` and `--delete-source`. Safe to run again. - The disk `iriksit`: media files at the IriksIT API (`MANAGER_MEDIA_DISK=iriksit`, `manager.media.iriksit`), with a table that remembers which path is which id (new migration `storage_files`) and `php artisan manager:storage-check` to try it. New requirement: `league/flysystem`. ## 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/.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/.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 (`.view`, `.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: `` 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.