Skip to content

Create pkg_proclaim package installer#1192

Merged
bcordis merged 4 commits intodevelopmentfrom
feat/pkg-proclaim
Mar 21, 2026
Merged

Create pkg_proclaim package installer#1192
bcordis merged 4 commits intodevelopmentfrom
feat/pkg-proclaim

Conversation

@bcordis
Copy link
Member

@bcordis bcordis commented Mar 21, 2026

Summary

  • pkg_proclaim.xml — Joomla package manifest installing library → plugin → component in order
  • doPackage() — builds all 3 zips and assembles pkg_proclaim-{version}.zip
  • proclaim.script.php — removed library/scripturelinks from install queue (handled by package)
  • Asset migration — scripture JS/CSS assets now use lib_cwmscripture.* names from library registry
  • System plugin registers library assets via addExtensionRegistryFile for all com_proclaim pages
  • Updated submodule pointers for both lib_cwmscripture and CWMScriptureLinks

Test plan

  • composer package produces build/pkg_proclaim-{version}.zip with 4 files
  • Admin Center scripture tab loads with translated strings
  • composer symlink creates correct dev links including scripturelinks plugin
  • Site scripture tooltip/switcher assets load correctly
  • Fresh install of pkg_proclaim.zip installs all 3 extensions

🤖 Generated with Claude Code

bcordis and others added 4 commits March 20, 2026 21:29
…rary

Package installer:
- Add pkg_proclaim.xml manifest (library → plugin → component install order)
- Add doPackage() to build script for assembling pkg_proclaim zip
- Add 'composer package' script
- Remove library/scripturelinks from proclaim.script.php install queue
- Remove installLibraries() method — handled by Joomla package installer

Asset migration to lib_cwmscripture:
- Remove duplicate scripture assets from com_proclaim joomla.asset.json
- Update all PHP useScript/useStyle calls to lib_cwmscripture.* names
- Register library assets via addExtensionRegistryFile in system plugin
- Fix CwmmessageModel import (was using library namespace for Proclaim helper)
- Fix cwmadmin/edit.php aria-label to use JBS_CMN key instead of com_content
- Add scripturelinks plugin symlink mapping in build script
- Update submodule pointers

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Includes plugin settings tab init fix and registerAndUseScript approach.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
These test files reference source files that now live in the library
submodule. Tests should be maintained in the library repo.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Library classes (lib_cwmscripture) are now in a submodule and must be
checked out for PHP tests and CodeQL analysis to work.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bcordis bcordis merged commit e9d899b into development Mar 21, 2026
6 checks passed
@bcordis bcordis deleted the feat/pkg-proclaim branch March 21, 2026 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant