Pre-release and auto-release workflows now push updates.xml to both
main and dev branches after any release. Joomla reads updates.xml from
main, so dev-only updates were invisible to the updater.
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Deletes stale .min.css/.min.js in project dirs (MokoMinifyHelper
regenerates them automatically on next page load)
- Removes unminified vendor FA CSS (vendors ship .min only)
- Removes deprecated files from previous versions
- Runs during postflight on both install and update
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Font Awesome is a vendor library — no unminified source needed.
Asset registry now points directly to .min.css files.
Index.php no longer conditionally switches FA files by dev mode.
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Library files don't need source versions — only .min.css is served.
Saves ~500KB from the release package.
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- MokoMinifyHelper now includes user.css, user.js, gtm.js, and all
custom theme files in its watch list
- When debug is off: auto-regenerates .min files if source is newer
- When debug is on: deletes .min files so source is served directly
- Removed manual .min asset switching from index.php — Joomla's Web
Asset Manager handles it automatically when .min files exist on disk
- Removed duplicate .min entries from joomla.asset.json
This means editable files (user.css, user.js, custom themes) get
auto-minified on the server after any edit — no build step needed.
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Joomla's Web Asset Manager auto-serves .min.css/.min.js when debug mode
is off — no need for separate registered assets. Duplicate entries were
preventing the auto-switching behavior.
Now: register source files only. Joomla finds .min versions automatically
when $debug = false in configuration.php.
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Makefile: new `minify` target using moko-platform/build/minify.js
- auto-release.yml: Step 7.5 minifies before ZIP packaging
- .gitignore: exclude *.min.css and *.min.js from git
- Minified files ship in release ZIPs but not in the repo
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
On push to main with CSS changes:
1. Syncs base CSS to Template-Client-WaaS
2. Checks each client repo's custom files for missing variables
3. Creates issue if any base variables are absent from client overrides
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
On push to main with CSS changes:
1. Syncs base CSS to Template-Client-WaaS
2. Checks each client repo's custom files for missing variables
3. Creates issue if any base variables are absent from client overrides
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Take main's versions for README.md (02.01.00) and updates.xml
(stable release entries). Dev's old 01.00.27-dev entry dropped —
will regenerate on next dev push via update-server workflow.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Gitea doesn't support POST /repos/{owner}/{repo}/merges. Rewrites the
cascade workflow to: compare branches, create a PR (main → dev), then
auto-merge if clean. On conflict the PR stays open for manual resolution.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds cascade-dev.yml that forward-merges main into dev after every push.
Uses Gitea API merge endpoint — no repo checkout needed. On conflict,
auto-creates a PR for manual resolution with duplicate prevention.
Adds cascade workflow to ntfy notifications.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Push anonymised visitor properties (login status, user group, page type)
to the dataLayer before GTM/GA4 loads. Sets GA4 user_properties for
persistent session-scoped dimensions. No PII is sent. Default enabled
when GTM or GA4 is active.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Changed from major bump to minor bump on PR merge to main.
Pre-releases still patch bump with rollover.
Versioning policy:
stable (merge to main): 03.00.01 → 03.01.00 (minor+1, reset patch)
pre-release (manual): 03.00.01 → 03.00.02 (patch+1, rollover at 99)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Release title now: "mokodpcalendarapi 02.00.00 (stable)" instead of
"v01 (latest: 02.00.00)". Deletes previous stable release before
creating new one (no accumulation).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
stable → deletes rc, beta, alpha, dev
rc → deletes beta, alpha, dev
beta → deletes alpha, dev
alpha → deletes dev
dev → nothing
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>