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

Closed
jmiller wants to merge 130 commits from dev into main
Owner

Summary

  • Harden installation script: dynamic category/component ID resolution, proper exception qualification, admin user ownership for created articles
  • Add missing PLG_SYSTEM_MOKOJOOMTOS_ERROR_LOADING_MENU_ITEMS language key to all locale files
  • Standardize help text URL across all locale files (yoursite.com)
  • Remove obsolete src/plugins/ legacy directory
  • Add Gitea update server URL (updates.xml on main) to plugin manifest

Test plan

  • Clean install on Joomla 5.x � verify article, menu type, and menu item are created
  • Set site offline and visit /terms-of-service � verify content renders without template chrome
  • Check System > Update > Extensions � verify update server is detected
  • Trigger a database error in MenuslugField � verify translated error message appears
  • Install on a site where Uncategorised category has a non-default ID � verify article is still created

?? Generated with Claude Code

## Summary - Harden installation script: dynamic category/component ID resolution, proper exception qualification, admin user ownership for created articles - Add missing `PLG_SYSTEM_MOKOJOOMTOS_ERROR_LOADING_MENU_ITEMS` language key to all locale files - Standardize help text URL across all locale files (`yoursite.com`) - Remove obsolete `src/plugins/` legacy directory - Add Gitea update server URL (`updates.xml` on `main`) to plugin manifest ## Test plan - [ ] Clean install on Joomla 5.x � verify article, menu type, and menu item are created - [ ] Set site offline and visit `/terms-of-service` � verify content renders without template chrome - [ ] Check **System > Update > Extensions** � verify update server is detected - [ ] Trigger a database error in MenuslugField � verify translated error message appears - [ ] Install on a site where Uncategorised category has a non-default ID � verify article is still created ?? Generated with [Claude Code](https://claude.com/claude-code)
jmiller added 130 commits 2026-05-16 13:33:04 +00:00
chore: add update.xml from MokoStandards
Repo Health / Access control (push) Has been cancelled
Repo Health / Release configuration (push) Has been cancelled
Repo Health / Scripts governance (push) Has been cancelled
Repo Health / Repository health (push) Has been cancelled
0b034a430b
chore: update update.xml from MokoStandards
Repo Health / Access control (push) Has been cancelled
Repo Health / Release configuration (push) Has been cancelled
Repo Health / Scripts governance (push) Has been cancelled
Repo Health / Repository health (push) Has been cancelled
5902277561
chore: update update.xml from MokoStandards
Repo Health / Access control (push) Failing after 2s
Repo Health / Release configuration (push) Has been skipped
Repo Health / Scripts governance (push) Has been skipped
Repo Health / Repository health (push) Has been skipped
b5600260dd
chore: update updates.xml from MokoStandards
Repo Health / Access control (push) Failing after 2s
Repo Health / Release configuration (push) Has been skipped
Repo Health / Scripts governance (push) Has been skipped
Repo Health / Repository health (push) Has been skipped
43df32fccd
chore: sync workflows from latest MokoStandards-API templates + remove update.xml
Repo Health / Access control (push) Failing after 2s
Repo Health / Release configuration (push) Has been skipped
Repo Health / Scripts governance (push) Has been skipped
Repo Health / Repository health (push) Has been skipped
10eb84cf60
- runs-on: release (dedicated runner)
- PHP+Composer auto-install
- Direct API sync for updates.xml to main
- Stream-based tags
- Element from XML filename
- Removed stale update.xml

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
chore: add TODO.md from MokoStandards
Repo Health / Access control (push) Failing after 2s
Repo Health / Release configuration (push) Has been skipped
Repo Health / Scripts governance (push) Has been skipped
Repo Health / Repository health (push) Has been skipped
00ec710249
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>
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>
jmiller closed this pull request 2026-05-16 13:53:43 +00:00

Pull request closed

Please reopen this pull request to perform a merge.
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/MokoJoomTOS#80