Test: Content-type source plugin architecture #73

Open
opened 2026-05-29 04:12:41 +00:00 by jmiller · 1 comment
Owner

Test: Pluggable Content Source Plugins

What changed

Refactored monolithic system plugin into separate content-type plugins:

  • plg_content_mokojoomcross — articles (onContentAfterSave)
  • plg_system_mokojoomcross_events — MokoJoomCalendar events
  • plg_system_mokojoomcross_gallery — MokoJoomGallery galleries/images
  • CrossPostDispatcher helper — shared dispatch logic

Steps to test

  1. Articles: Publish a Joomla article → verify cross-posting triggers normally
  2. State change: Unpublish then republish an article via list toggle → verify triggers
  3. System plugin: Verify it only handles page-load queue processing (no content events)
  4. Calendar (if installed): Publish a calendar event → verify cross-posting
  5. Gallery (if installed): Publish a gallery → verify cross-posting

Expected

  • Article cross-posting works identically to before the refactor
  • No duplicate posts
  • System plugin no longer subscribes to content events

Labels

type: testing, priority: critical

## Test: Pluggable Content Source Plugins ### What changed Refactored monolithic system plugin into separate content-type plugins: - `plg_content_mokojoomcross` — articles (onContentAfterSave) - `plg_system_mokojoomcross_events` — MokoJoomCalendar events - `plg_system_mokojoomcross_gallery` — MokoJoomGallery galleries/images - `CrossPostDispatcher` helper — shared dispatch logic ### Steps to test 1. **Articles**: Publish a Joomla article → verify cross-posting triggers normally 2. **State change**: Unpublish then republish an article via list toggle → verify triggers 3. **System plugin**: Verify it only handles page-load queue processing (no content events) 4. **Calendar** (if installed): Publish a calendar event → verify cross-posting 5. **Gallery** (if installed): Publish a gallery → verify cross-posting ### Expected - Article cross-posting works identically to before the refactor - No duplicate posts - System plugin no longer subscribes to content events ### Labels `type: testing`, `priority: critical`
Author
Owner

Branch created: feature/73-test-content-type-source-plugin-architec

git fetch origin
git checkout feature/73-test-content-type-source-plugin-architec
Branch created: [`feature/73-test-content-type-source-plugin-architec`](https://git.mokoconsulting.tech/MokoConsulting/MokoJoomCross/src/branch/feature/73-test-content-type-source-plugin-architec) ```bash git fetch origin git checkout feature/73-test-content-type-source-plugin-architec ```
Sign in to join this conversation.
Type Task
Status
Priority Critical
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomCross#73