Remove the migration fieldset (MokoCassiopeia migration notes) from
template params and associated language strings. Update the template
description to remove migration callout and "formerly MokoCassiopeia"
reference.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove custom_head_start/custom_head_end template params and associated
code from index.php, error.php, and templateDetails.xml in favor of the
existing user.js and user.css asset loading (via Web Asset Manager).
Add dedicated component.css for the print/component view that replaces
template.css with print-optimized styles using theme variables. Component
view now loads custom light palette when configured and sends a
content_group=print_view identifier to Google Analytics.
Add user.css and user.js to .gitignore (client-repo only files).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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>
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>