From d2e27f17354d181f6352a1b90ae53a57da4763b1 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Thu, 14 May 2026 18:38:05 -0500 Subject: [PATCH 1/2] Removed footer position from component.php --- src/component.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/component.php b/src/component.php index 84fbcd8..b1b87e1 100644 --- a/src/component.php +++ b/src/component.php @@ -168,20 +168,6 @@ if ($logoFile !== '') { - -
- countModules('footer-menu', true)) : ?> - - - countModules('footer', true)) : ?> -
- -
- -
- -- 2.52.0 From 58960fd17d00f5a6e31b012d29a490e536fa8785 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Fri, 15 May 2026 20:08:25 -0500 Subject: [PATCH 2/2] docs: update CHANGELOG with complete unreleased changes Add missing entries for article metadata footer, auto-minification, media folder cleanup, FA vendor simplification, asset registry cleanup, CI additions, and workflow migration to .mokogitea/. Co-Authored-By: Claude Opus 4.6 (1M context) --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bbee9d1..2c454c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,21 +22,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added +- **Article metadata footer** — Renders Joomla custom fields (`jcfields`) as a styled metadata footer on article layouts, grouped by field group with responsive grid and BEM styling - **Smart Visitor Detection** — Pushes anonymised visitor properties (login status, user group, page type) to the dataLayer for Google Analytics / Tag Manager. Sets GA4 `user_properties` for persistent session-scoped dimensions. No PII is sent. Default enabled when GTM or GA4 is active. - **Auto-cascade workflow** — Forward-merges `main` → `dev` after every push; auto-creates a PR on conflict - **Component/print-view stylesheet** — Dedicated `component.css` replaces `template.css` in the component view with print-optimised styles using theme variables - **Print-view GA4 tracking** — Component view sends `content_group=print_view` to Google Analytics for tracking print/modal usage - **Custom light theme in component view** — Component view now loads `light.custom.css` when configured +- **Auto-minification** — `user.css`, `user.js`, and custom theme files are automatically minified on page load via `MokoMinifyHelper` +- **Media folder cleanup on install/update** — `script.php` now removes stale `.min` files, deprecated assets, and unminified vendor files during install or update - **Changelog auto-bump in auto-release** — `## [Unreleased]` is automatically promoted to the release version on stable release, with a fresh `## [Unreleased]` section inserted above +- **CI: PHPStan static analysis** — Added to CI pipeline +- **CI: Gitleaks secret scanning** — Added to CI pipeline +- **CI: CSS sync workflow** — Syncs CSS to template repo and checks client variable coverage ### Changed - **Custom head params replaced with user files** — Removed `custom_head_start` / `custom_head_end` template params in favour of `user.css` and `user.js` (loaded via Web Asset Manager) - **User override files added to .gitignore** — `user.css` and `user.js` are client-repo only; not committed to the template repo +- **Asset registry simplified** — Removed duplicate `.min` entries from `joomla.asset.json`; Joomla's Web Asset Manager auto-resolves `.min` variants when debug is off +- **Font Awesome vendor ships minified only** — Removed unminified FA7 Free CSS (saves ~21 kLOC); asset entries now point to `.min.css` directly +- **Workflows migrated to `.mokogitea/`** — All CI/CD workflows and issue templates moved from `.gitea/` to `.mokogitea/` directory with template sync ### Removed - **Migration tab** — Removed MokoCassiopeia migration fieldset and associated language strings from template params - **Migration description** — Removed migration callout and "formerly MokoCassiopeia" reference from template description - **Custom head fields** — Removed `custom_head_start` / `custom_head_end` fields and `Custom Code` fieldset from template configuration +- **Footer from component view** — Removed footer module positions from `component.php` (print/modal view) +- **Unminified vendor CSS** — Removed `all.css`, `brands.css`, `fontawesome.css`, `regular.css`, `solid.css` from FA7 Free (21k+ lines) ## [03.10.00] - 2026-04-18 -- 2.52.0