Skip to content

Releases

GnozioCMS 0.1.343

Choose a tag to compare

@github-actions github-actions released this 24 Nov 22:18
7361288
  • A field, heading, paragraph or step can carry condition: {field, op, value} (is, not, filled, empty): it is shown only while that field's answer meets the test. The builder has "Show only when…" on each card, renames follow into conditions, and removing a field clears them. The server decides again from what was sent (FormConditions): hidden fields are not checked, kept or emailed.
  • A step field splits a form into steps with progress, Back and Next (form-logic.js, loaded only where needed). Next checks the step's required fields, a step hidden by its condition is skipped, and after a server error the step with it is opened. Without JavaScript every step is shown.
  • A rating field of 2 to 10 stars (default 5), shown as "4 / 5" on the Submissions screen and in emails. The Feedback template uses it.
  • Submissions can be archived and restored, one or several at a time, with Inbox and Archived views, a CSV export of the archive and an archived count on the Forms list.
  • A form's Settings offer the compact or stacked look (style). MCP save_form/get_form take and return style, condition, step and rating.
  • Tests: form-logic (unit, HTTP and JS, new), form-fields.

GnozioCMS 0.1.342

Choose a tag to compare

@github-actions github-actions released this 24 Nov 21:59
19b27aa
  • Settings, Shop settings, SEO and AI publishing lay out their fields as the Theme sections do: the label in a column on the left, the control on the right with its help under it, checkboxes under the controls, compact boxes (numbers short, lists at most 20rem, texts at most 32rem). On a phone the rows stack.
  • Settings: the storage limit and its unit are one row and Used now another; picture quality and the kinds of file allowed are small cards beside their label; Google Sign-In is a checkbox like the Theme's. The card headings lose the line under them, as on Theme.
  • Shop settings: General, Payments, Accounts, Emails and Marketing. The shipping zones, Product details sections and the email texts stay as they were (they are editors, not rows).
  • AI publishing: Instructions, every card of a schedule, and Settings (OpenAI, Limits). The prices stay a table.
  • SEO: its rows take the Theme's measures (also on Analytics, Omni, Redirects and the content type screen, which share them); a checkbox in a card with rows sits under the controls; Crawling, Identity and Verification are one column of cards. Search and Social keep their preview beside them.
  • One class does it for every screen: .set-rows in public/assets/css/app.css. No field names or saved values changed.

GnozioCMS 0.1.341

Choose a tag to compare

@github-actions github-actions released this 24 Nov 21:36
e096c39
  • A profile fills a custom type's own fields from its pages (types.<name>.fields: text, a part of it with match, a number, a link, a picture, a list, or a repeater's rows such as a book's buy links); tabs.skip leaves a tab whose facts went to the fields out of the text, and a field named date is the entry's date. rest_types fields take {to, rows} to bring an ACF repeater into a repeater field.
  • category_taxonomies sends a category and the categories under it to a taxonomy of its own (the category kept as a term, or dropped with root_to); the old addresses lead to the new terms, and posts and custom types are filed under them.
  • --fetch-external (or --fetch-external=host,host) brings pictures hosted on other sites into the library through SafeHttp; an address with no extension is kept as the kind of picture it is. Paths of other sites no longer get redirects.
  • src/Cli/check-redirects.php reads the old sitemap (or a saved one, or redirects.txt) and asks the new site for each old address one step at a time: 301 then 200, or the same address; chains, temporary redirects, other sites, wrong targets, 404s and loops are listed, and the whole result is written as CSV.
  • Tests: wordpress-import, wordpress-rest-types, redirect-check (new).

GnozioCMS 0.1.340

Choose a tag to compare

@github-actions github-actions released this 24 Nov 07:51
729bd50
  • The admin menu has five groups, as on the Roles screen: Overview (Dashboard, Analytics), Content (Publishing calendar, the content types, Media, Taxonomies, History), Shop (Products, Looks, Orders, Customers, Subscriptions, Files, Coupons, Shop settings), Site (Theme, Menus, Forms, SEO, Redirects, Translations, AI publishing) and System (Content types, Users & Roles, Logs, Backups, Updates, System status, Settings). A group's heading shows only when its reader may open something in it, so an editor or a basic user no longer sees empty Manage or System headings.
  • The shop's products and looks need shop.manage (Admin, Shop manager), in the admin (list, new, edit, save, delete, bulk, import, export, history, search) and over MCP (the shop tools and the entry tools for those types). An editor can no longer change a price or the stock.
  • Theme has a permission of its own, theme.manage, so the look of the site can be given without Settings (email sending, Google sign-in). Settings includes it, so every role that had Settings keeps Theme. MCP's Theme settings tools use it too.
  • Backups' settings (schedule, passphrase, remote storage) are on Backups > Settings and the update source on Updates > Source, each under the screen's own permission. Saving Settings leaves them as they are; saving one of them writes only its own part. The old Settings addresses lead there.
  • Tests: settings-and-front (unit); sidebar, sidebar_brand, settings_nav, shop, custom_roles, backup_remote, backup_schedule, update_install, omni_update (HTTP).

GnozioCMS 0.1.339

Choose a tag to compare

@github-actions github-actions released this 23 Nov 22:06
6d8180f
  • Two unused polyfills (mbstring, php80) are gone from vendor/ and no longer loaded on every request; public/index.php no longer loads Nette's SmartObject by hand (the autoload has it). The ctype polyfill stays: ctype is not a required extension and Twig, Yaml and Nette call it.
  • The starter's media is 1.5 MB instead of 6.0 MB: a picture nobody used and a second copy of the proposal DOCX are gone, a photo saved as PNG is a JPEG, the largest photos are at most 1,440 px wide, and the DOCX has no embedded fonts. Every release package is 4.5 MB smaller.
  • The finished plans (shop, MCP, MCP shop, AI publishing, typography tab, places and routes v2) moved to docs/plans/; every reference points there.
  • ROADMAP.md: "Where we are" brought up to this version.
  • Audit tasks B2, B5 and B6 are done. B3 (the skill's snapshot made by the build), B7 and B8 are left, with the reasons in the tasks file.

GnozioCMS 0.1.338

Choose a tag to compare

@github-actions github-actions released this 23 Nov 21:53
237e30d
  • The WordPress and WooCommerce importers fetch through SafeHttp: no private or local addresses unless --allow-local (or the box in Shop > Import) says so, and no redirects to them.
  • Logs are kept for a set time (activity 180 days, emails 90, gateway calls 180; retention: in settings.yaml), MCP clients unused for 7 days are removed, and an MCP refresh token used twice ends the connection.
  • Analytics keeps at most 1,200 rows a day per address.
  • Google sign-in in the admin finds a linked account by its Google id first and refuses an email linked to another Google account.
  • installer.php shows a one-time setup code on its last screen; the first-administrator form asks for it.
  • Admin pages run the due backup, scheduled entries and AI schedules after the page is sent (PHP-FPM, LiteSpeed).
  • Saving a draft that stays a draft, and the shop's order, customer, coupon and subscription screens, no longer empty the page cache.
  • Form submissions are listed by opening only the files of the page shown.
  • Audit tasks S18, S21, S22, S23, S24, S25, S26, P9, P10 and P11 are done.
  • Tests: importer-http, log-retention (new), mcp, analytics, login-controller, first-admin, forms (unit); installer and page_cache (HTTP).

GnozioCMS 0.1.337

Choose a tag to compare

@github-actions github-actions released this 23 Nov 21:21
2602bc4
  • A product is looked up through the content index and only its own file is read; the whole catalogue is loaded for listings only (5,000 products: about 1 ms instead of 400 ms).
  • Adding to the cart prices the product once; a product's stock rows are kept for the request; the account page reads the customer's orders once.
  • At most two picture sizes are made at once; a request over that gets the next smaller size that exists, or 503 with Retry-After.
  • Downloads can be sent by the web server (X-Accel-Redirect for nginx, X-Sendfile for Apache), set in Shop settings > Downloads.
  • The download key is read once per request; expired downloads are cleared by the shop's own requests only when cron has not run in 15 minutes, and on the checkout.
  • Downloads resume (Range requests) and count once per 10 minutes, so a download manager does not use up the limit.
  • Audit tasks P4, P5, P6, P7, P8 and S15 are done.
  • Tests: shop-catalogue, shop-downloads, image-variants (unit) and shop_downloads (HTTP).

GnozioCMS 0.1.336

Choose a tag to compare

@github-actions github-actions released this 23 Nov 21:07
52e71c6
  • SVG uploads are cleaned, not just screened: an uploaded SVG is now read as a drawing and written again with only what a drawing needs. Scripts, event attributes (onclick…), <foreignObject>, animations that set an event or a link, stylesheets that import something, and links to other addresses are removed, however they are written (entity-encoded javascript: included). Links within the drawing and raster pictures inlined in it are kept. A file with a DOCTYPE, or one that does not parse, is refused with a message saying to save it again as plain SVG. An SVG with a script used to be refused; it is now kept without the script.
  • System > Status › SVG uploads header: once a day the site asks itself for a small drawing to see that the web server sends uploaded SVG files with their Content-Security-Policy (Apache has it from public/uploads/.htaccess; nginx needs the uploads block in docs/security.md). A warning says what to add when it is missing.
  • Audit task S17 (W22) is done.
  • Tests: svg-sanitizer and system-status (unit), upload_limits (HTTP).

GnozioCMS 0.1.335

Choose a tag to compare

@github-actions github-actions released this 23 Nov 20:54
9149d63
  • Signed releases (audit S20): a release's release.json can carry an Ed25519 signature made with a key that stays on the maintainer's computer, never on GitHub. Sites check it against the public key in the code before they install, so someone who gets into the GitHub account or the release workflow cannot make sites install a package.
  • Nothing changes yet: the code lists no key, so releases install as before. Once a key is listed, a release that is unsigned, changed after signing or signed by another key is not offered; the Updates screen says it is waiting for its signature (or refused), and Omni's remote install follows the same rule. The install panel shows whether the package's signature was verified.
  • The one-file installer checks the same signature with the same keys.
  • scripts/sign-release.php: keygen makes the key, release signs the latest release after building it again from its tag and checking the package on GitHub is byte for byte the same, sign and verify work on a file. How to switch it on: docs/signed-releases.md.
  • The release workflow keeps a signed release.json when it runs again for the same package. System status lists PHP's sodium extension (it checks the signatures).
  • Tests: release-signature (unit), system-status.

GnozioCMS 0.1.334

Choose a tag to compare

@github-actions github-actions released this 23 Nov 20:39
ca82a69
  • Order status changes are all or nothing: an order's new status, the stock it holds or gives back and its coupon's use are now written in one transaction, so a failure half way can no longer leave a cancelled order still holding stock, or a coupon counted twice.
  • Held stock checked every hour: the shop's scheduled work compares each product's held stock with what the orders waiting for payment really hold, puts it right when it differs, and writes a warning in Activity. A product changed in the last five minutes is left for the next run, so an order being placed is never disturbed.
  • Subscriptions stuck in a renewal: a renewal that stopped half way (the server went down mid-charge) used to leave the subscription never charged again. After an hour it is now put back to its period and paused, with a warning in Activity and a note on its renewal order, so you can check in Viva whether the card was charged before resuming it. It is never charged twice on its own. Viva's recurring-charge API takes no idempotency key; each charge carries the renewal order's number, so a double charge can be traced.
  • Audit tasks S10a, S10b and S10c (W11) are done.
  • Tests: shop-checkout and shop-subscriptions (unit).