Skip to content

Releases

Lou 0.4.1-main.20261204185010 (main)

Pre-release

Choose a tag to compare

@github-actions github-actions released this 04 Dec 18:50
a5b6b82

Pre-release build of main at a5b6b82. Installs get it only with 'update_channel' => 'main' in .env.php.

Lou 0.4.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 22:14
1c6c204

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...
Read more

Lou 0.3.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 23:43
0c7d630

What's Changed

  • Email reset and invite links only from the saved site address by @fodi in #1
  • Add search engine and sharing support by @fodi in #4
  • Add opt-in IndexNow pings on publish by @fodi in #5
  • Custom code in and before , and a Security page for the CSP by @fodi in #3
  • Move the design zip upload to a new Theme admin page by @fodi in #2
  • Theme library: keep uploaded themes, preview them on live content, switch through Review by @fodi in #8
  • Add sub-pages to the admin side menu by @fodi in #7
  • Let admins choose what a backup includes by @fodi in #6
  • Tidy the admin menu: Redirects under Settings, Builds folded into History by @fodi in #9
  • Move the site-wide two-step login switch to the Security page by @fodi in #10
  • Email settings page; Updates under Dashboard with a badge and a daily background check by @fodi in #11
  • Import and export redirects as CSV or Excel by @fodi in #12

New Contributors

  • @fodi made their first contribution in #1

Full Changelog: v0.2.1...v0.3.0

Lou 0.2.1

Choose a tag to compare

@github-actions github-actions released this 30 Nov 09:58
3be25e3