| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| lessheadcms.zip | 2026-11-25 | 1.4 MB | |
| README.md | 2026-11-25 | 4.1 kB | |
| v0.6.0 - Translations with one click, named unique groups, English _ German web CMS templates source code.tar.gz | 2026-11-25 | 1.3 MB | |
| v0.6.0 - Translations with one click, named unique groups, English _ German web CMS templates source code.zip | 2026-11-25 | 1.4 MB | |
| Totals: 4 Items | 4.0 MB | 0 | |
Highlights
Create translation ({translations})
Mark the "original of" self-reference of a class with {translations} and editors get a
"Create translation ▸" button plus a language bar (DE · EN) in the form.
Page "n" --> "0..1" Page : translation of {translations} {cascade} {unique}
- Detected purely by structure (self-reference
"0..1", one enum field in the same{unique}group) – never by names like "language". Clear schema errors if the structure does not fit. - Deep copy in one transaction: the record and all parts of its compositions on every level
(e.g. Page → blocks → tiles), same order. Media are linked, not copied;
media_meta(e.g. captions) is copied for translation. - Links follow the language: references to classes with
{translations}are redirected to the target-language version if it exists. - Drafts: the new version and all copied parts start as drafts.
- A summary shows copied parts, redirected links and anything not yet translated.
- API:
GET /api/{entity}/{id}/translations,POST /api/{entity}/{id}/translate.
Publish / unpublish all parts
Every composition section in the form has "Publish all" and "Unpublish all" – recursive
over nested parts, with a confirmation showing the count. Parts with a workflow are skipped.
API: POST /api/{whole}/{id}/parts/{name}/visibility (with dry_run).
Named unique groups ({unique: name})
A class can now have any number of uniqueness rules besides the unnamed {unique} group:
+ slug: string {unique: slug_per_site}
+ language: Language {unique} {unique: slug_per_site}
Website *-- "n" Page : belongs to {unique: slug_per_site}
- A field or relation can be in several groups.
- One
UNIQUEconstraint per group;409names the group and the field labels. - "Check changes" blocks with a list of rows if existing data violates a new group.
- Diagram editor: "Unique" section per field/relation; test data generator and translations respect all groups.
_schema.unique_groups.
/parts with expand=2
GET /api/{whole}/{id}/parts/{name}?expand=2 returns each part with its own compositions – e.g. a
page with its blocks and the tiles inside a tile block in one request.
Web CMS templates in English and German
templates/web-cms.pumlis now fully English (classes, fields, enums, labels, comments).- New
templates/web-cms_de.puml– the German version, structurally identical (enforced by a test). - Both document a "Multiple websites" variant as a ready-to-enable comment block, including a named group "slug per website".
Translatable section headings
Abstract classes used as section headings (e.g. "Block") can be translated under Localization → Translations – also as a display override in the default language ("Blöcke").
Fixed
- Schema backup rotation: backups created across a second boundary, or more than 9 within one second, were sorted incorrectly – rotation could delete the newest backup instead of the oldest. Sorting is now by time and numeric counter; list, rotation and restore use the same order.
- Singular forms in translation and publish messages ("1 part … is").
Breaking changes
/partskeys: if several compositions on the same whole share a label, all of them now get the part table as suffix (belongs_to_navigation,belongs_to_page); the bare label returns404. Only affects schemas with duplicate composition labels on one whole.web-cms.pumluses English names. Existing installations based on the old German template are not affected (the active schema stays); new projects can useweb-cms_de.puml.
Upgrading
- No migration needed for existing schemas – "Check changes" should report no changes.
- Upload PHP files (
src/,vendor/composer/,index.php) before any.pumlusing{translations}or{unique: name}. - Upload the new asset bundles first, then delete the old ones (see deployment notes).