Changelog

What changed in each release, newest first.

Not released yet

Added

  • Lou has a logo. An L in a rounded blue tile is the admin's browser-tab icon and sits in the top bar next to a "lou" wordmark, on the sign-in screens and in the installer too.
  • Code samples and tables in rich text. Rich-text fields keep <code>, <pre>, <hr> and simple tables (<table>, <thead>, <tbody>, <tr>, <th>, <td>), so documentation and technical pages can show commands and option lists. Attributes are still stripped, apart from scope on <th>.

Changed

  • Email and Custom code fold their sections too. Email has a Sending card (badge: On or Not sending) and a Send a test email card. Custom code has cards for the head code, the end-of-page code (In use or Empty) and the security policy addresses (Strict, Report only or Off), with one Save button below.

0.4.0

New

  • Maintenance mode. A switch in the admin's top bar takes the site down for visitors for a while, until it is turned off or for a set time (it then comes back by itself, without cron on Apache and LiteSpeed). Visitors and search engines get a static page with status 503 and Retry-After, with a short, editable message in the site's design (templates/maintenance.php, texts maintenance.title and maintenance.text). No PHP runs for them. People signed in to the admin still see the live site through the site link in the top bar; previews, forms and the admin keep working. Apache and LiteSpeed need nothing extra; nginx and Caddy need a one-time snippet shown in the admin. Also php lou maintenance on|off [--minutes=N].
  • Unread form submissions. Submissions in the side menu shows how many are unread. Opening one marks it read, each can be marked read or unread from the list or its own page, and "Mark all as read" clears them (only the form the list is filtered to, when it is). The list can show unread only. Read state is shared by all editors and admins, like a team mailbox, and a submission shows who read it first. After updating, submissions already in the database count as read.
  • Dark mode for the admin. The admin, editor sidebar, Review, login, installer and the assistant consent screen have a dark version. It follows the device's light or dark setting, and each user can pick Light or Dark instead under Profile → Appearance. The choice is applied by the server, so pages don't flash light first. The site preview in the editor keeps the site's own colours.
  • Colour themes for the admin. Profile → Preferences has a colour theme: Blue (as before), Teal, Purple or Graphite. It changes buttons, links and the side menu, works with light and dark, and is only seen by that user. Every theme keeps text at WCAG AAA (7:1) in both light and dark.
  • Stronger contrast. All admin text now meets WCAG AAA (at least 7:1) in both light and dark, so grey hints, links and status colours are a little darker in light mode. A test keeps it that way.
  • Error pages in the site's design. Every live build writes 403, 404, 500 and 503 pages in each language, and .htaccess points ErrorDocument at them, so visitors no longer see the web server's bare "Forbidden" page. 404 stays the editable not-found page; the others use the site's templates/error.php (fields status, title, text, home) when it has one, otherwise a plain, neutral page. Wording comes from error.* strings, with English and Hungarian defaults. The PHP endpoints send the same pages when they fail.
  • Secret admin address. The admin's login page moves to /_app/<secret>. New installs get a random one, shown on the installer's last page. Settings → Security → Admin address makes a new one, takes one you type, or turns it off; 'admin_slug' in .env.php wins over it, and php lou admin-url prints or changes it. Every other address, admin.php included, shows the site's 404 page. AI assistants keep their MCP address and now sign in on oauth.php, which never shows the admin's address.
  • Admin address. Settings → Security can give the admin an address of its own, such as admin.example.com (a cPanel subdomain or alias on the same web folder). The admin then answers only there and is a plain 404 on the site address. Optionally, every admin request must carry a valid Cloudflare Access token, checked against the team's public keys, so Access can't be bypassed by sending requests straight to the server. Forms, previews, share links and the assistants' connection stay on the site address. Both can only be saved from a request that already meets them, and .env.php (admin_host, cloudflare_access) turns them off at once after a lock-out.
  • Login protection on Settings → Security. The failed-login limits (10 an hour per address, 20 per account) can be changed, the page shows failed logins of the last 24 hours and who is paused right now, with a button to lift the pauses. When an account reaches its limit its owner gets an email (can be turned off). The login and "forgot password" pages can ask for a security check: never, every time, or (the new default) only after 3 wrong attempts from an address or for an account.
  • Built-in spam check. A proof-of-work puzzle the browser solves in a fraction of a second, with nothing to click and no outside service (Captcha\ProofOfWork, captcha.js). It works with the strict admin and site security policies. Cloudflare Turnstile and Google reCAPTCHA v3 can be used instead, on the login too.
  • Spam protection page (Settings → Spam protection). Each form (contact, newsletter…) gets its own security check and per-visitor limit. Every form uses the built-in check by default (a form's 'captcha' => 'none' in site/config.php, or the admin page, turns it off). Forms need JavaScript to be sent once a check is on, and the Turnstile and reCAPTCHA keys can be entered in the admin. A new secret key is checked with the service before it is saved, and secrets go to var/secrets.json.
  • php lou protection show|unblock|login-captcha off|after|always, for when you are locked out.
  • Menu editor. Pages → Menu lists the menu with buttons to move items up and down, put an item under the one above it (a submenu) or take it out again, and remove pages from the menu or add them back. The menu labels of one language can be edited on the same page. The menu is saved to menu.json in your draft and goes live through Review like any other change. Extra keys a template uses on menu items are kept.
  • Header and footer texts in the editor. Templates can mark a Site details text with $v->editableGlobal('footer'). In the editor it gets a purple outline, and clicking it edits the shared text, which changes on every page. Undo works as for page edits.
  • Shared images. An object with a src in content/site/<lang>.json (for example "logo": {"src": "/assets/img/logo.png", "alt": "…"}) is a shared image. Templates print it with $v->globalImage('logo'), and $v->hasGlobal('logo') checks whether it is set. It can be replaced on the Site details page or by clicking it in the editor. A new file is used in every language, and the description is per language.
  • Settings → MCP. Turn the assistants' connection on for 1 hour, 4 hours, a day, a week or until turned off, and off again in one click, from the page or from the new MCP status in the admin's top bar. The page also switches the assistants' tools that change the draft (off = read-only) and the publish history, and which ways to connect are allowed: signing in, tokens, tokens in the address (?key=) and the plain HTTP fallback. Creating a token or app credentials while MCP is off offers to turn it on. php lou mcp status|on [--for=2h]|off does the same on the command line, and 'mcp' => false in .env.php keeps it off for good.

Changed

  • Folding settings sections. Security, MCP, Spam protection and General settings show each section as a card with its title, a status badge (such as On, Optional, Strict or Easy to guess) and a one-line summary; a click opens it. "Expand all" opens every section, a #link opens its section, and each browser remembers which sections were left open. They are native <details>, so they work without JavaScript.
  • One Admin address section. Security's "Secret login address" and "Admin address" are one section: the admin's current address with a copy button, the secret address, then (folded) an address of its own with Cloudflare Access. .env.php overrides and the lock-out checks work as before.
  • MCP is off by default. On a new site, mcp.php, oauth.php and /.well-known/oauth-* answer with the site's own 404 page until an admin turns MCP on, so nobody can tell an assistant bridge is there. Updated sites that already have assistants (a token, a signed-in app or app credentials) keep MCP on, so nothing an assistant relies on stops working; Settings → MCP says so and suggests a time limit. Turning it off deletes nothing: tokens and sign-ins work again once it is back on.
  • Form addresses without .php. Forms and newsletter sign-ups now post to /<endpoint folder>/submit, and the endpoint responses no longer send PHP's X-Powered-By header, so the public site doesn't show what it runs on. The endpoint folder's .htaccess rewrites the new address; the old submit.php address keeps working. On nginx, add the rewrite shown in docs/SPEC.md (section 7).
  • Login and form protection settings are server settings (protection in var/settings.json): site/config.php can't set them, and a form's choice on the admin page wins over its captcha and rate_limit in site/config.php. Forms may now also set their own rate_limit.
  • The admin folder's .htaccess policy now also allows the captcha services; admin.php keeps sending its strict policy on every page except a login or "forgot password" page that shows Turnstile or reCAPTCHA.
  • Editor sidebar. Undo, Redo and Review sit in a bar at the top of the editor panel that stays in view while it scrolls, together with the draft status. Page settings start collapsed like the other panels, and "Show it to someone" is now "Share".
  • Custom code is read-only for assistants. The bridge refuses to write or delete site/code.json (reading still works), and an older assistant draft that changes it is submitted without that change, so only admins can change code that runs on every live page.
  • License. Lou is MIT licensed; LICENSE ships in release zips. The bundled PHPMailer stays LGPL-2.1.

Fixed

  • On Apache, /.well-known/oauth-authorization-server (and the other discovery addresses) answered 403, because the rule that hides dot files also matched .well-known. Dot files stay hidden.

Upgrading

  • Existing installs keep /_app/admin.php (or /_lou/admin.php) until an admin turns the secret address on under Settings → Security. The Dashboard suggests it. Rebuild once after updating so the error pages and the new .htaccess rules are written.
  • MCP stays on after the update when the site already has assistants (see Changed). Check Settings → MCP and consider a time limit.
  • Sites with their own design can add templates/error.php and the error.* strings for themed 403, 500 and 503 pages; without them the plain pages are used.
  • Forms now use the built-in spam check unless they say otherwise, and a form with a check needs JavaScript to be sent. To keep a form without any check, set 'captcha' => 'none' for it in site/config.php or on Settings → Spam protection.
  • Forms post to /<endpoint folder>/submit after the rebuild. Apache and LiteSpeed need nothing; on nginx add the rewrite from docs/SPEC.md (section 7). Maintenance mode on nginx or Caddy needs the snippet shown on its admin page.

0.3.0

New

  • Theme page and theme library. Uploading a design zip moves from Updates to its own Admin → Theme page. Every uploaded theme is kept in var/themes/, together with the design in use before each upload or switch. Any stored theme can be previewed on today's live content at a secret link, and "Use this theme" switches to it through Review like any other change.
  • Custom code. Settings → Custom code takes HTML for just before </head> and just before </body> on every live page (analytics, tag managers, cookie banners, chat widgets). It is stored in site/code.json and goes through Review, History and backups. Previews, share links and the editor never get it.
  • Security page. Settings → Security sets the live site's Content Security Policy: strict, report-only or off. Live builds widen the policy with exactly the sources listed on the Custom code page. The site-wide "Require two-step login for everyone" switch moves here from Users.
  • Search engines and sharing. Layouts call <?= $v->head() ?> to print the title, meta description, canonical and hreflang links, robots rule, Open Graph and Twitter tags (on by default) and JSON-LD. There is a title pattern with per-page overrides, a share image fallback chain, "noindex": true per page, and build suggestions (title and description length, duplicates, alt text, broken internal links, large images) shown on Review. Layouts that still call $v->seoLinks() keep working.
  • IndexNow (opt-in). Settings → Search engines can ping IndexNow with new, changed and removed addresses after each live build, and send the whole sitemap once for a launch. A failed ping never fails a build. The same page has the sitemap address and links to submit it by hand.
  • Choose what a backup includes. Backups → Create backup has one checkbox per part: pages and texts, uploaded images, design, form submissions and subscribers, edit history (off by default) and stored themes. Restore lets you pick which parts to put back. The CLI takes --parts and --exclude.
  • Redirects import and export. Settings → Redirects exports the list as Excel (.xlsx) or CSV and imports a file in the same shape, with a preview of every change before anything is saved.
  • Daily update check. When an admin opens the admin and no check ran in the last 24 hours, Lou checks for a new version in the background. Dashboard and Updates show a badge when one is available. There is no cron, and nothing runs without a signed-in admin.

Changed

  • Admin menu with sub-pages. Sections open to list their sub-pages, and show them in a flyout on hover or keyboard focus (CSS only).
    • Dashboard: Home, Updates (Updates now only updates Lou itself)
    • Pages: All pages, Site details, Shared links
    • Users: All users, AI assistants
    • History: Changes, Undo a publish (the old Builds page, admins only)
    • Settings: General, Email, Search engines, Redirects, Custom code, Security
  • Email settings (sender, SMTP, test email) move from General to Settings → Email.
  • Shared preview links get their own page under Pages.
  • Settings pages use the full width; forms and text keep a readable line length.

Fixed

  • Password reset and invite emails are built only from the saved site address, never from the request's Host header. Without a saved site address nothing is emailed, and the error log says so.

Upgrading

  • Layouts should switch from $v->seoLinks() and a hand-written <title> to <?= $v->head() ?>. Old layouts still build, and the build checks point out what to change.
  • Update from Admin → Dashboard → Updates or with php lou update. Content, var/ and .env.php are kept.

0.2.1

First release from the current repository, signed with a new release key. Installs from earlier zips need the new src/Setup/release-key.pub before they accept updates.