Whenever an editor performs a campaign action (e.g. save, send test email, send campaign), the CMS should log an audit event, and display this log back to the editor.
[x] Create a new model, NewsletterLogEntry, that is similar to Wagtail's PageLogEntry model. We likely don't need all its fields, but at a minimum, we should log the page, the user, the action, the revision, a timestamp, and a textual description of the action (the label field).
Whenever an editor performs a campaign action (e.g. save, send test email, send campaign), the CMS should log an audit event, and display this log back to the editor.
NewsletterLogEntry
, that is similar to Wagtail'sPageLogEntry
model. We likely don't need all its fields, but at a minimum, we should log the page, the user, the action, the revision, a timestamp, and a textual description of the action (thelabel
field).wagtail.models.BaseLogEntry
(review code; ask on Slack).The log entry actions should roughly map to campaign backend methods: