feat: content-only reset with asset rebuild, task-driven settings, snapshot on save #98

Merged
jmiller merged 29 commits from dev into main 2026-05-31 02:44:58 +00:00

29 Commits

Author SHA1 Message Date
gitea-actions[bot] c756b0df30 chore: update development channel 02.26.15-dev [skip ci]
Branch Cleanup / Delete merged branch (pull_request) Has been skipped
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Successful in 22s
2026-05-31 02:44:54 +00:00
gitea-actions[bot] 0f89de2003 chore(version): auto-bump 02.26.15-dev [skip ci] 2026-05-31 02:44:52 +00:00
Jonathan Miller 83880ed740 fix: onContentAfterSave receives single event object in Joomla 6
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 2s
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 4s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 5s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 5s
Universal: Auto Version Bump / Version Bump (push) Failing after 4s
Universal: PR Check / Validate PR (pull_request) Successful in 5s
Update Server / Update Server (push) Successful in 12s
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Has been cancelled
Joomla: Extension CI / PHPStan Analysis (pull_request) Has been cancelled
Joomla: Extension CI / Build RC Pre-Release (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Generic: Repo Health / Release configuration (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 21:44:39 -05:00
Jonathan Miller 526fe33e10 Merge branch 'dev' of https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS into dev
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 3s
Universal: Auto Version Bump / Version Bump (push) Failing after 5s
Universal: Build & Release / Build & Release Pipeline (pull_request) Has been skipped
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Generic: Repo Health / Access control (pull_request) Successful in 2s
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 4s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 5s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 6s
Universal: PR Check / Validate PR (pull_request) Successful in 5s
Universal: Build & Release / Promote to RC (pull_request) Failing after 8s
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Has been cancelled
Joomla: Extension CI / PHPStan Analysis (pull_request) Has been cancelled
Joomla: Extension CI / Build RC Pre-Release (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Generic: Repo Health / Release configuration (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
2026-05-30 21:41:51 -05:00
Jonathan Miller 4063d08b11 chore: merge main into dev [skip ci] 2026-05-30 21:41:46 -05:00
gitea-actions[bot] ea482939c2 chore: update development channel 02.26.14-dev [skip ci] 2026-05-31 02:41:05 +00:00
gitea-actions[bot] df4548ba8b chore(version): auto-bump 02.26.14-dev [skip ci] 2026-05-31 02:41:03 +00:00
Jonathan Miller 9af7e6bc7c Merge branch 'dev' of https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS into dev
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 16s
Universal: Auto Version Bump / Version Bump (push) Failing after 18s
Update Server / Update Server (push) Successful in 23s
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
2026-05-30 21:40:32 -05:00
Jonathan Miller 1ea9406f1a fix: rebuild assets after content restore to fix ACL
After restoring content tables, deletes stale content-level assets
(articles, categories, modules, contacts, banners) and rebuilds:
- Category nested set tree
- Menu nested set tree
- Asset nested set tree
- Re-creates missing asset entries for articles with asset_id=0

Component and extension-level assets are never touched.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 21:40:28 -05:00
gitea-actions[bot] 588a17e22c chore: update development channel 02.26.13-dev [skip ci] 2026-05-31 02:38:24 +00:00
gitea-actions[bot] 9c269117c4 chore(version): auto-bump 02.26.13-dev [skip ci] 2026-05-31 02:38:21 +00:00
Jonathan Miller 1032074e5c refactor(demo): content-only snapshot — never touch system tables
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 2s
Universal: Auto Version Bump / Version Bump (push) Failing after 4s
Update Server / Update Server (push) Successful in 14s
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Hardcoded safe table list: content, categories, menus, modules, users,
tags, fields, contacts, banners. Never touches #__extensions, #__assets,
#__schemas, #__session, #__update_sites, or any system tables.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 21:38:08 -05:00
Jonathan Miller b0aa4e8763 Merge branch 'dev' of https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS into dev
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 21s
Universal: Auto Version Bump / Version Bump (push) Failing after 24s
Update Server / Update Server (push) Failing after 11s
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
2026-05-30 21:34:55 -05:00
Jonathan Miller 6f19f58033 fix: read all execution rule types and show task params in info card
Supports interval-minutes, interval-hours, interval-days, and
cron-expression rule types. Shows banner, media, countdown, and
baseline snapshot status in the plugin config info card.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 21:34:51 -05:00
gitea-actions[bot] f1c6fbd0b7 chore: update development channel 02.26.12-dev [skip ci] 2026-05-31 02:33:37 +00:00
gitea-actions[bot] fe5f74b640 chore(version): auto-bump 02.26.12-dev [skip ci] 2026-05-31 02:33:35 +00:00
Jonathan Miller 9f779b2dfa Merge branch 'dev' of https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS into dev
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
Universal: Auto Version Bump / Version Bump (push) Failing after 4s
Update Server / Update Server (push) Successful in 11s
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
2026-05-30 21:33:19 -05:00
Jonathan Miller 61286748db fix: parse next_execution as UTC — Joomla stores times without timezone suffix
DreamHost server timezone is America/Los_Angeles, so PHP was interpreting
the UTC datetime as Pacific time, causing the display to be hours off.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 21:33:03 -05:00
gitea-actions[bot] 5abfec2de2 chore: update development channel 02.26.11-dev [skip ci] 2026-05-31 02:31:27 +00:00
gitea-actions[bot] c307e97d57 chore(version): auto-bump 02.26.11-dev [skip ci] 2026-05-31 02:31:24 +00:00
Jonathan Miller 24c76cadbf fix: take snapshot immediately on task save, not on next scheduled run
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
Universal: Auto Version Bump / Version Bump (push) Failing after 4s
Update Server / Update Server (push) Successful in 14s
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Snapshot now triggers via onContentAfterSave when the task is saved
with take_snapshot_on_save=1, instead of waiting for the next execution.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 21:31:06 -05:00
Jonathan Miller e1db91ba84 Merge branch 'dev' of https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS into dev
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 13s
Universal: Auto Version Bump / Version Bump (push) Failing after 16s
Update Server / Update Server (push) Failing after 12s
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
2026-05-30 21:28:31 -05:00
Jonathan Miller beb52fde99 fix: add fieldset label to task form to prevent untranslated key
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 21:28:27 -05:00
gitea-actions[bot] 3a2655d5ef chore: update development channel 02.26.10-dev [skip ci] 2026-05-31 02:26:31 +00:00
gitea-actions[bot] f465b49f1f chore(version): auto-bump 02.26.10-dev [skip ci] 2026-05-31 02:26:30 +00:00
Jonathan Miller b3f4df89c5 Merge branch 'dev' of https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS into dev
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 2s
Universal: Auto Version Bump / Version Bump (push) Failing after 4s
Update Server / Update Server (push) Successful in 10s
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
2026-05-30 21:26:16 -05:00
Jonathan Miller a650036591 refactor(demo): move all demo settings into the scheduled task form
Demo mode is now controlled entirely through the Joomla Scheduled Task:
- Create a "MokoWaaS Demo Reset" task to enable demo mode
- Task form has: snapshot toggle, media toggle, banner settings
- System plugin reads banner config from the task params
- Plugin config shows task status card with link to manage it
- Removed demo_mode_enabled, schedule, and one-shot toggles from plugin

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 21:26:15 -05:00
jmiller 141265ba4e chore: sync updates.xml 02.27.00 from main [skip ci] 2026-05-31 02:18:38 +00:00
jmiller 56053746ba chore: sync updates.xml 02.27.00 from main [skip ci] 2026-05-31 02:18:16 +00:00