feat: add actionlog plugin (user action logging) #27

Open
opened 2026-06-04 15:33:43 +00:00 by jmiller · 0 comments
Owner

Summary

Add plg_actionlog_mokobackup to log backup/restore actions to Joomla User Action Logs.

Logged Actions

  • Backup started (profile, origin: web/cli/api/scheduled)
  • Backup completed (size, duration, archive path)
  • Backup failed (error message)
  • Backup deleted
  • Backup restored
  • Profile created/updated/deleted
  • Backup downloaded

Implementation

  • New plugin: plg_actionlog_mokobackup
  • Namespace: Joomla\Plugin\Actionlog\MokoBackup
  • SubscriberInterface pattern
  • Listen to custom MokoBackup events + standard Joomla content events
  • Integrate with com_actionlogs (Joomla core)
  • Add language strings for each log message type
  • Add to pkg_mokobackup.xml package manifest
  • Auto-enable in script.php postflight
## Summary Add plg_actionlog_mokobackup to log backup/restore actions to Joomla User Action Logs. ## Logged Actions - Backup started (profile, origin: web/cli/api/scheduled) - Backup completed (size, duration, archive path) - Backup failed (error message) - Backup deleted - Backup restored - Profile created/updated/deleted - Backup downloaded ## Implementation - New plugin: plg_actionlog_mokobackup - Namespace: Joomla\Plugin\Actionlog\MokoBackup - SubscriberInterface pattern - Listen to custom MokoBackup events + standard Joomla content events - Integrate with com_actionlogs (Joomla core) - Add language strings for each log message type - Add to pkg_mokobackup.xml package manifest - Auto-enable in script.php postflight
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomBackup#27