Download Latest Version LessHeadCMS-v0.2.0.zip (1.0 MB)
Home / v0.4.0
Name Modified Size InfoDownloads / Week
Parent folder
LessHeadCMS-v0.4.0.zip 2026-11-17 1.3 MB
README.md 2026-11-17 2.2 kB
v0.4.0 - Manual sorting, media metadata and follow-ups source code.tar.gz 2026-11-17 1.2 MB
v0.4.0 - Manual sorting, media metadata and follow-ups source code.zip 2026-11-17 1.3 MB
Totals: 4 Items   3.8 MB 0

LessHeadCMS 0.4.0

New

  • Field type sort: Arrange records by hand (↑/↓ arrows in the list view), optionally grouped with {by: …}, including trees and shared order across abstract classes. New endpoint POST /api/{entity}/{id}/move.
  • Metadata per media item: media(Class) with a <<media_meta>> class, e.g. for caption, photographer or link per image.
  • Follow-ups: Schedule a record to come back on a given date, with a note and assignees. Shown under "My tasks". Can be switched off.
  • Database location: data/ can be moved from the UI, including outside the webroot (DATA_DIR).
  • Diagram editor: Saving now changes only the affected lines. Comments, notes and formatting are kept.
  • Media preview in the list view (image, PDF, audio, video).
  • Backend title and environment via config.php (BACKEND_TITLE, ENVIRONMENT), with a DEV/STAGING label.
  • Package names are translatable.
  • Used {renamed_from} markers can be removed with one click after applying.
  • Sessions stay in sync across browser tabs.

Fixed

  • Login on hosts where session.save_path is locked.
  • PHP 8.5: The CMS also runs when the server reports deprecations (Pdo\Sqlite, curl_close(), schema check).
  • Missing rename suggestion for two relations with the same label. If you confirmed "removed + new" in that case, the FK values of that relation were lost.
  • Multi-line field notes were parsed incorrectly and only partly removed on delete.
  • Record history listed empty fields as changed.

Breaking changes

  • API: created_by, updated_by and uploaded_by now return only {id, name}, without username. Filtering by user matches the display name only.
  • Schema: Class names starting with lh_ or sqlite_, and a few internal names, are now reserved.
  • sort is now a reserved type name.

Upgrade notes

  • Minimum PHP version stays 7.4.
  • After uploading, run "Check changes" once. You only need to apply a migration when your diagram uses sort or media(Class).
  • nginx without Apache: Add media-src 'self'; frame-src 'self' to the CSP (see docs/deployment.md). Also change location = /config.php to location ^~ /config.php.
Source: README.md, updated 2026-11-17