fix(plugin): production readiness + Gitea update server #81

Merged
jmiller merged 2 commits from fix/production-readiness into main 2026-05-16 13:54:42 +00:00

2 Commits

Author SHA1 Message Date
Jonathan Miller 5caf97afdc fix(manifest): add Gitea update server URL to updateservers block
Points to updates.xml on the main branch of the Gitea repository
so Joomla can check for new versions automatically.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-16 08:53:01 -05:00
Jonathan Miller 08b8dc3b06 fix(plugin): harden installation script and resolve production issues
Fixes hardcoded category/component IDs, missing language key,
unqualified exception catches, and removes legacy plugin directory.

- Query Uncategorised category ID dynamically instead of assuming ID 2
- Remove fragile component_id fallback (fail gracefully with log)
- Use installing admin's user ID for article ownership
- Add missing PLG_SYSTEM_MOKOJOOMTOS_ERROR_LOADING_MENU_ITEMS key
- Qualify all Exception catches with backslash for namespace safety
- Standardize help text URL across all locale files
- Remove obsolete src/plugins/ legacy directory

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-16 08:53:00 -05:00