Commit Graph

290 Commits

Author SHA1 Message Date
jmiller bcdcd9534e chore: move .gitea/workflows/deploy-manual.yml to .mokogitea/deploy-manual.yml [skip ci] 2026-05-12 05:11:05 +00:00
jmiller 1e9cc2185e chore: remove .gitea/workflows/cleanup.yml (moved to .mokogitea/) [skip ci] 2026-05-12 05:11:05 +00:00
jmiller 46c50edc91 chore: move .gitea/workflows/cleanup.yml to .mokogitea/cleanup.yml [skip ci] 2026-05-12 05:11:04 +00:00
jmiller 81bdb43fbe chore: remove .gitea/workflows/ci-joomla.yml (moved to .mokogitea/) [skip ci] 2026-05-12 05:11:04 +00:00
jmiller e81e0fab18 chore: move .gitea/workflows/ci-joomla.yml to .mokogitea/ci-joomla.yml [skip ci] 2026-05-12 05:11:04 +00:00
jmiller 8e64ba47d5 chore: remove .gitea/workflows/cascade-dev.yml (moved to .mokogitea/) [skip ci] 2026-05-12 05:11:03 +00:00
jmiller 10a38db28f chore: move .gitea/workflows/cascade-dev.yml to .mokogitea/cascade-dev.yml [skip ci] 2026-05-12 05:11:03 +00:00
jmiller edaafce923 chore: remove .gitea/workflows/auto-release.yml (moved to .mokogitea/) [skip ci] 2026-05-12 05:11:02 +00:00
jmiller c0726a2969 chore: move .gitea/workflows/auto-release.yml to .mokogitea/auto-release.yml [skip ci] 2026-05-12 05:11:02 +00:00
jmiller 51d2fb5225 chore: remove .gitea/.mokostandards (moved to .mokogitea/) [skip ci] 2026-05-12 05:11:02 +00:00
jmiller f0fe2cdc09 chore: move .gitea/.mokostandards to .mokogitea/.mokostandards [skip ci] 2026-05-12 05:11:01 +00:00
jmiller 4b02fd4b0a chore: sync pr-branch-check.yml from Template-Joomla [skip ci] 2026-05-11 21:26:42 +00:00
jmiller 796a9b5eed chore: sync auto-release.yml from Template-Joomla [skip ci] 2026-05-11 21:20:22 +00:00
gitea-actions[bot] d77a449e36 chore: update updates.xml (development: 02.01.08-dev) [skip ci] 2026-05-11 16:54:59 +00:00
gitea-actions[bot] 64cecd0be4 chore(version): auto-bump patch 02.01.08 [skip ci] 2026-05-11 16:54:59 +00:00
Jonathan Miller 5312bb1f6b feat: add changelog auto-bump to auto-release, fix CHANGELOG history
Repo Health / Access control (push) Successful in 1s
Update Joomla Update Server XML Feed / Update updates.xml (push) Successful in 9s
Repo Health / Release configuration (push) Failing after 3s
Repo Health / Scripts governance (push) Successful in 3s
Repo Health / Repository health (push) Failing after 2s
Add changelog promotion step to auto-release workflow: renames
## [Unreleased] to ## [XX.YY.ZZ] --- YYYY-MM-DD and inserts a fresh
Unreleased section on stable release (ported from MokoGalleryCalendar).

Fix CHANGELOG.md: remove orphaned duplicate [Unreleased] section,
fix nonsensical "MokoOnyx → MokoOnyx" bridge release description,
correct migration script description.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-11 11:54:44 -05:00
Jonathan Miller a1bbbe95f4 docs: update CHANGELOG with unreleased changes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-11 11:54:44 -05:00
Jonathan Miller 85b0649ff6 chore: remove migration tab and update template description
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>
2026-05-11 11:54:43 -05:00
gitea-actions[bot] f575224860 chore: update updates.xml (development: 02.01.07-dev) [skip ci] 2026-05-11 16:32:30 +00:00
gitea-actions[bot] 97e0b92d32 chore(version): auto-bump patch 02.01.07 [skip ci] 2026-05-11 16:32:29 +00:00
Jonathan Miller 06177dc3e1 feat: replace custom head params with user.js/user.css, add component.css print view
Repo Health / Access control (push) Successful in 1s
Repo Health / Scripts governance (push) Successful in 3s
Repo Health / Release configuration (push) Failing after 3s
Repo Health / Repository health (push) Failing after 3s
Update Joomla Update Server XML Feed / Update updates.xml (push) Successful in 10s
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>
2026-05-11 11:18:49 -05:00
jmiller 24c5ed687b chore: remove renovate.json [skip ci] 2026-05-10 19:57:25 +00:00
Jonathan Miller fe3a5efda4 fix: sync updates.xml to all branches after release
Repo Health / Access control (push) Successful in 0s
Repo Health / Release configuration (push) Failing after 3s
Repo Health / Scripts governance (push) Successful in 2s
Repo Health / Repository health (push) Failing after 2s
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>
2026-05-09 17:28:55 -05:00
gitea-actions[bot] b136d7f63c chore: update development channel 02.01.06 [skip ci] 2026-05-09 21:58:37 +00:00
gitea-actions[bot] 5ca85f220e chore(version): bump 02.01.05 → 02.01.06 [skip ci] 2026-05-09 21:58:35 +00:00
gitea-actions[bot] 42d8ba0585 chore: update updates.xml (development: 02.01.05-dev) [skip ci] 2026-05-09 21:55:17 +00:00
gitea-actions[bot] 09aafeedce chore(version): auto-bump patch 02.01.05 [skip ci] 2026-05-09 21:55:17 +00:00
Jonathan Miller ec98959024 feat: clean media folder on install/update
Update Joomla Update Server XML Feed / Update updates.xml (push) Successful in 8s
Repo Health / Access control (push) Successful in 1s
Repo Health / Release configuration (push) Failing after 2s
Repo Health / Scripts governance (push) Successful in 3s
Repo Health / Repository health (push) Failing after 3s
- 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>
2026-05-09 16:55:06 -05:00
gitea-actions[bot] b4cc43181c chore: update updates.xml (development: 02.01.04-dev) [skip ci] 2026-05-09 21:53:09 +00:00
gitea-actions[bot] 51efb3f243 chore(version): auto-bump patch 02.01.04 [skip ci] 2026-05-09 21:53:08 +00:00
Jonathan Miller 3d3f8f14ef chore: vendor FA assets point to .min.css only (source files removed)
Repo Health / Access control (push) Successful in 0s
Repo Health / Release configuration (push) Failing after 2s
Repo Health / Scripts governance (push) Successful in 3s
Repo Health / Repository health (push) Failing after 4s
Update Joomla Update Server XML Feed / Update updates.xml (push) Successful in 9s
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>
2026-05-09 16:51:59 -05:00
gitea-actions[bot] f62c22b1f0 chore: update updates.xml (development: 02.01.03-dev) [skip ci] 2026-05-09 21:50:50 +00:00
gitea-actions[bot] a95d35114c chore(version): auto-bump patch 02.01.03 [skip ci] 2026-05-09 21:50:49 +00:00
Jonathan Miller 847e44f265 chore: remove unminified Font Awesome CSS (vendor ships minified only)
Repo Health / Access control (push) Successful in 1s
Repo Health / Release configuration (push) Failing after 2s
Repo Health / Scripts governance (push) Successful in 3s
Repo Health / Repository health (push) Failing after 2s
Update Joomla Update Server XML Feed / Update updates.xml (push) Successful in 9s
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>
2026-05-09 16:50:10 -05:00
gitea-actions[bot] 5b8315b221 chore: update updates.xml (development: 02.01.02-dev) [skip ci] 2026-05-09 21:49:37 +00:00
gitea-actions[bot] 135e9e1a6e chore(version): auto-bump patch 02.01.02 [skip ci] 2026-05-09 21:49:37 +00:00
Jonathan Miller a634816813 feat: auto-minify user.css, user.js, and custom theme files on page load
Repo Health / Access control (push) Successful in 1s
Repo Health / Scripts governance (push) Successful in 3s
Repo Health / Release configuration (push) Failing after 3s
Repo Health / Repository health (push) Failing after 3s
Update Joomla Update Server XML Feed / Update updates.xml (push) Successful in 8s
- 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>
2026-05-09 16:49:10 -05:00
gitea-actions[bot] 03a7dcc503 chore: update updates.xml (development: 02.01.01-dev) [skip ci] 2026-05-09 21:45:05 +00:00
gitea-actions[bot] e023411f74 chore(version): auto-bump patch 02.01.01 [skip ci] 2026-05-09 21:45:03 +00:00
Jonathan Miller 264ff9d3da fix: remove duplicate .min asset entries from joomla.asset.json
Repo Health / Access control (push) Successful in 1s
Repo Health / Release configuration (push) Failing after 2s
Repo Health / Scripts governance (push) Successful in 2s
Repo Health / Repository health (push) Failing after 3s
Update Joomla Update Server XML Feed / Update updates.xml (push) Successful in 9s
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>
2026-05-09 16:44:21 -05:00
Jonathan Miller 95c42c91a5 feat: wire minification into CI/release pipeline
Repo Health / Access control (push) Successful in 1s
Repo Health / Release configuration (push) Failing after 2s
Repo Health / Scripts governance (push) Successful in 3s
Repo Health / Repository health (push) Failing after 2s
- 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>
2026-05-09 16:32:28 -05:00
Jonathan Miller bd77de4676 feat: add CSS sync workflow — syncs to template, checks client variable coverage
Repo Health / Access control (push) Successful in 1s
Repo Health / Release configuration (push) Failing after 2s
Repo Health / Scripts governance (push) Successful in 2s
Repo Health / Repository health (push) Failing after 3s
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>
2026-05-07 20:35:41 -05:00
Jonathan Miller 1dfde94611 ci: add PHPStan static analysis to CI pipeline [skip ci] 2026-05-07 20:35:41 -05:00
Moko Standards Bot f51472e571 ci: add Gitleaks secret scanning + Renovate dependency config [skip ci] 2026-05-07 20:35:41 -05:00
jmiller 62435b0bdc Merge pull request 'chore: cascade main → dev (42859ac) [skip ci]' (#14) from main into dev 2026-05-07 19:38:13 +00:00
Jonathan Miller 42859ac451 ci: cascade v2 — forward-merge main to all open branches [skip ci] 2026-05-07 14:35:39 -05:00
jmiller c32561379a Merge pull request 'chore: cascade main → dev (7a0e04a) [skip ci]' (#13) from main into dev 2026-05-05 20:51:59 +00:00
jmiller 7a0e04adc3 Merge pull request 'test: verify cascade workflow' (#12) from test/cascade-verify into main
Repo Health / Access control (push) Successful in 1s
Cascade Main → Dev / Merge main → dev (push) Successful in 3s
Repo Health / Release configuration (push) Failing after 3s
Repo Health / Scripts governance (push) Successful in 3s
Repo Health / Repository health (push) Failing after 3s
2026-05-05 20:51:51 +00:00
Jonathan Miller fcb73f920f docs: add cascade workflow to changelog
Repo Health / Access control (push) Successful in 1s
Joomla Extension CI / Lint & Validate (pull_request) Failing after 2s
Joomla Extension CI / Release Readiness Check (pull_request) Successful in 2s
Joomla Extension CI / Tests (PHP 8.2) (pull_request) Has been skipped
Joomla Extension CI / Tests (PHP 8.3) (pull_request) Has been skipped
Repo Health / Access control (pull_request) Successful in 1s
Repo Health / Release configuration (push) Failing after 3s
Repo Health / Scripts governance (push) Successful in 3s
Repo Health / Repository health (push) Failing after 3s
Repo Health / Release configuration (pull_request) Failing after 3s
Repo Health / Scripts governance (pull_request) Successful in 3s
Repo Health / Repository health (pull_request) Failing after 3s
PR Check / Validate PR (pull_request) Successful in 19s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-05 15:51:33 -05:00
Jonathan Miller b6be878cf7 chore: resolve cascade conflicts (main → dev) [skip ci]
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>
2026-05-05 15:48:52 -05:00