refactor: full database snapshot/restore, remove table selection #95

Merged
jmiller merged 8 commits from dev into main 2026-05-31 01:24:07 +00:00

8 Commits

Author SHA1 Message Date
Jonathan Miller 15820542a6 chore: merge main into 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 24s
2026-05-30 20:22:49 -05:00
Jonathan Miller e8783fb43a chore: merge dev (resolve version conflict) [skip ci] 2026-05-30 20:15:19 -05:00
Jonathan Miller 91cb2b2e12 refactor(demo): full database snapshot instead of selective tables
Replaced selective table snapshot with full mysqldump/restore. This
ensures the site returns to an exact known state without the risk of
breaking the installation by restoring stale #__extensions or #__assets.

Uses mysqldump CLI when available, falls back to PHP-based dump.
Removed SnapshotTables field and table selection config — the entire
database is now captured and restored as one unit.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 20:14:54 -05:00
gitea-actions[bot] 91a0e14850 chore: update development channel 02.26.04-dev [skip ci] 2026-05-31 01:02:32 +00:00
gitea-actions[bot] 1582d32330 chore(version): auto-bump 02.26.04-dev [skip ci] 2026-05-31 01:02:27 +00:00
Jonathan Miller 954fdb9e3e 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 6s
Update Server / Update Server (push) Successful in 28s
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 20:02:01 -05:00
Jonathan Miller e008c9d79d fix: table selections not saving, clear next-reset when demo off
- Remove extra [] from select name (caused nested array storage)
- Flatten nested arrays when reading back broken saved values
- NextResetField shows "Demo mode is off" when disabled
- Clear demo_next_reset param when demo mode is turned off

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 20:01:57 -05:00
jmiller fa51e516fd chore: sync updates.xml 02.27.00 from main [skip ci] 2026-05-31 00:54:46 +00:00