feat: convert to package with webservices API + heartbeat fix #31

Merged
jmiller merged 13 commits from dev into main 2026-05-24 04:10:09 +00:00
Owner

Summary

  • Convert from standalone system plugin to Joomla package
  • Add com_mokowaas API-only component with health, cache, update controllers
  • Add plg_webservices_mokowaas for standard /api/v1/mokowaas/* routes
  • Fix heartbeat to only send for primary domain, not aliases
  • Package auto-enables both plugins on install

Test plan

  • Install package on Joomla 5
  • Verify system plugin still works
  • Test GET /api/index.php/v1/mokowaas/health with API token
  • Test POST /api/index.php/v1/mokowaas/cache
  • Verify aliases no longer create Grafana datasources
## Summary - Convert from standalone system plugin to Joomla package - Add com_mokowaas API-only component with health, cache, update controllers - Add plg_webservices_mokowaas for standard /api/v1/mokowaas/* routes - Fix heartbeat to only send for primary domain, not aliases - Package auto-enables both plugins on install ## Test plan - [ ] Install package on Joomla 5 - [ ] Verify system plugin still works - [ ] Test GET /api/index.php/v1/mokowaas/health with API token - [ ] Test POST /api/index.php/v1/mokowaas/cache - [ ] Verify aliases no longer create Grafana datasources
jmiller added 8 commits 2026-05-24 03:42:43 +00:00
chore: cascade main → dev [skip ci]
fix: updates.xml missing stable entry — add both stable and dev channels
Joomla: Repo Health / Access control (push) Successful in 1s
Joomla: Repo Health / Release configuration (push) Has been cancelled
Joomla: Repo Health / Scripts governance (push) Has been cancelled
Joomla: Repo Health / Repository health (push) Has been cancelled
9542c88ba4
The pre-release workflow overwrites updates.xml with only the dev entry,
removing the stable channel. Joomla updater on sites set to stable channel
cannot see any updates.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
chore: cascade main → dev [skip ci]
feat(package): convert to package with webservices API plugin
Joomla: Repo Health / Access control (push) Successful in 1s
Joomla: Update Server / Update updates.xml (push) Successful in 26s
Joomla: Repo Health / Release configuration (push) Has been cancelled
Joomla: Repo Health / Scripts governance (push) Has been cancelled
Joomla: Repo Health / Repository health (push) Has been cancelled
32236ad7ff
Restructure MokoWaaS from a standalone system plugin into a Joomla
package containing:

- plg_system_mokowaas — existing system plugin (moved to packages/)
- com_mokowaas — minimal API-only component with health, cache, and
  update controllers for Joomla Web Services API
- plg_webservices_mokowaas — registers /api/v1/mokowaas/* routes

Package script auto-enables both plugins on fresh install.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller added 1 commit 2026-05-24 03:44:06 +00:00
chore(version): bump to 02.03.00
Joomla: Repo Health / Access control (push) Successful in 1s
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 4s
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 3s
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Has been skipped
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Has been skipped
Joomla: Extension CI / PHPStan Analysis (pull_request) Has been skipped
Joomla: Repo Health / Access control (pull_request) Successful in 2s
Universal: PR Check / Changelog Updated (pull_request) Failing after 5s
Universal: PR Check / Validate PR (pull_request) Failing after 5s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Failing after 7s
Joomla: Update Server / Update updates.xml (push) Successful in 37s
Joomla: Repo Health / Release configuration (push) Failing after 3s
Joomla: Repo Health / Scripts governance (push) Successful in 3s
Joomla: Repo Health / Repository health (push) Failing after 4s
Joomla: Repo Health / Release configuration (pull_request) Has been cancelled
Joomla: Repo Health / Scripts governance (pull_request) Has been cancelled
Joomla: Repo Health / Repository health (pull_request) Has been cancelled
aef5ca43f6
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller added 1 commit 2026-05-24 03:44:46 +00:00
jmiller added 1 commit 2026-05-24 03:44:46 +00:00
jmiller added 1 commit 2026-05-24 03:48:45 +00:00
jmiller added 1 commit 2026-05-24 04:06:08 +00:00
jmiller merged commit 35ca1af6b8 into main 2026-05-24 04:10:09 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoWaaS#31