Changelog

1.7.6 2022-10-25

Fixed

  • Fix special characters in submission notes not working correctly.

1.7.5 2022-09-23

Changed

  • Submission notes are now sanitized when containing HTML.

1.7.4 2022-07-01

Fixed

  • Fix behaviour of “Approve only” for publishers, to not publish a draft, instead only save it.
  • Fix reviewer groups not saving correctly.

1.7.3 2022-05-23

Fixed

  • Fix an error with reviewer user groups stored in the deprecated format (pre 1.7.0).
  • Fix required fields validation error leading to "Entry draft not found" when saving draft for review.
  • Fix an error when creating a new submission on an existing entry, when required field validation fails.
  • Fix reviewer notes not populating email notifications.
  • Fix reviewer submissions triggering multiple times when containing Preparse fields.
  • Fix entering in reviewer notes updating the entry draft notes.
  • Fix an error overriding the action for controllers, when other plugins rely on Controller::beforeAction().
  • Fix an error when trying to fetch the next reviewer group.
  • Fix front-end entry form creating multiple submissions.

1.7.2 2022-03-24

Fixed

  • Fix an error when trying to submit for review on a non-multi-site install.

1.7.1 2022-03-18

Added

  • Add deprecation notices for old settings, if you are using a configuration file. These will need to be updated before Craft 4.

Fixed

  • Fix backward compatibility handling of settings not working correctly.
  • Fix an error when trying to submit for review on a non-multi-site install.
  • Fix settings for Reviewers not being populated correctly in settings.

Deprecated

  • editorNotifications has been updated to be multi-site compatible. Refer to docs if you are using a configuration file.
  • editorNotificationsOptions has been updated to be multi-site compatible. Refer to docs if you are using a configuration file.
  • reviewerNotifications has been updated to be multi-site compatible. Refer to docs if you are using a configuration file.
  • reviewerApprovalNotifications has been updated to be multi-site compatible. Refer to docs if you are using a configuration file.
  • publisherNotifications has been updated to be multi-site compatible. Refer to docs if you are using a configuration file.

1.7.0 2022-03-17

Added

  • Add multi-site support for plugin settings for editor/reviewer/publisher groups.
  • Add EVENT_PREPARE_EDITOR_EMAIL, EVENT_PREPARE_REVIEWER_EMAIL, and EVENT_PREPARE_PUBLISHER_EMAIL events.
  • Add submission param to EVENT_BEFORE_SEND_ email events.

Changed

  • Allow mail param in EVENT_BEFORE_SEND_ events to be modified by events.
  • Change EVENT_BEFORE_SEND_ email events to be cancelable.

1.6.6 2021-11-26

Fixed

  • Fix submissions being created multiple times, if an entry contained a Preparse field.

1.6.5 2021-11-06

Fixed

  • Fix editor/publisher notes not being kept after a failed validation attempt.
  • Fix required fields not validating when submitting for review.

1.6.4 2021-10-01

Fixed

  • Fix all date text not showing date and time (just date).
  • Fix missing translation for 'Notes about your submission' text.

1.6.3 2021-09-24

Changed

  • Update dashboard widget formatting.
  • Update status colours to Craft standard.
  • Set publisherId and dateApproved when setting the status to approved in the element status index.

Fixed

  • Fix all date text not using locale-aware formatting.
  • Fix notes placeholder text not being fully translatable.
  • Fix rejected submissions' status not working with user border accessibility options.
  • Fix when a user is both editor and publisher, not showing the approval widget for other editors submissions.

1.6.2 2021-08-29

Fixed

  • Fix editors (who have access to the Workflow index) being allowed to approve their own submissions.

1.6.1 2021-07-30

Fixed

  • Fixed Craft 3.7+ compatibility.

1.6.0 2021-07-16

Changed

  • Now requires Craft 3.7+.

Fixed

  • Fixed Craft 3.7+ compatibility.

1.5.9 2021-01-24

Added

  • Add reviewerApprovalNotifications plugin setting to control sending email notifications to each the editor upon each reviewer’s approval.

Fixed

  • Fix reviewer emails not setting the correct “Review” model.

1.5.8 2021-01-16

Fixed

  • Fix toggle arrow alignment for entry widgets.
  • Fix publisher receiving notifications incorrectly, when multiple reviewers are enabled.

1.5.7 2020-11-28

Added

  • Add lockDraftSubmissions plugin setting to control whether entries should be locked when submitted or not.

1.5.6 2020-08-31

Fixed

  • Fix user receiving an error when trying to edit a submitted entry.

1.5.5 2020-08-21

Fixed

  • Fix editors being able to continue editing their draft once submitted (through auto-save).

1.5.4 2020-06-18

Fixed

  • Fix email notifications for editor approvals.

1.5.3 2020-06-10

Fixed

  • Add more logging to email notifications.
  • Fix emails not sending unless Reviewer Notifications is checked.

1.5.2 2020-06-09

Fixed

  • Fix XSS vulnerability with permissions settings.
  • Fix error when reviewerUserGroups plugin settings is not an array.

1.5.1 2020-05-18

Fixed

  • Fix missing migration for review, introduced in 1.5.0.

1.5.0 2020-05-15

Added

  • Added multi-step review process. This introduces an optional middle step between editor submissions and publisher approvals. This can be used for multiple review steps, by various parties. Big thanks to @bencroker from @putyourlightson.

1.4.8 2020-05-13

Fixed

  • Fix multi-site entries and their approval overriding the status of other-site entries.
  • Approving new entries respects section default status settings.
  • Fix date attributes for submissions not being localised.

1.4.7 2020-05-12

Fixed

  • Fix incorrect response sent for some actions, causing send() errors.
  • Improve handling of enabledForSite when approving and publishing submissions.

1.4.6 2020-04-28

Fixed

  • Prevent access to settings when allowAdminChanges is false

1.4.5 2020-04-16

Fixed

  • Fix logging error Call to undefined method setFileLogging().

1.4.4 2020-04-15

Changed

  • File logging now checks if the overall Craft app uses file logging.
  • Log files now only include GET and POST additional variables.

1.4.3 2020-04-03

Fixed

  • Fix draft changes not being saved when notes validation fails.

1.4.2 2020-02-15

Fixed

  • Fix error when trying to submit on a single-type section.
  • Fix error in index screen for Craft 2 upgrades, where a site may not have been set.

1.4.1 2020-01-31

Fixed

  • Fix multiple approvals firing for draft submissions.

1.4.0 2020-01-29

Added

  • Craft 3.4 compatibility.

1.3.4 2020-01-20

Fixed

  • Fix editor/publisher notes enforcement.
  • Fix being unable to approve front-end submissions.
  • Fix being unable to approve submissions in some circumstances.

1.3.3 2020-01-20

Fixed

  • Fix error when trying to approve submissions with element actions.

1.3.2 2020-01-19

Fixed

  • Fix front-end submissions throwing errors.

1.3.1 2020-01-05

Added

  • Add submission notes and site to submission element index.

1.3.0 2020-01-05

Added

  • Add approve-only option for publishers.
  • Ensure publishers can't approve their own entries.

Changed

  • Remove Drafts - now that its handled in Craft core. Use the element index to look for draft entries.
  • Remove submissions controller and actions, refactoring to service. These shouldn't have been used (not documented), but this removes all workflow/submissions/* actions.
  • Refactor and cleanup workflow flow. Particularly for new, unsaved drafts, fixing a few issues.
  • Now requires Craft 3.3.0+.

Fixed

  • Fix some incorrect translations (thanks @Alxmerino and @watarutmnh).
  • Fix before-send notification events not working.
  • Disable auto-saving when entry has been submitted for review.
  • Fix/improve front-end submissions.

Security

  • Protect against potential XSS.

1.2.3 2019-08-16

Fixed

  • Fix incorrect redirect URL after workflow actions. (thanks @mattrothenberg).
  • Fix draft’s not showing correctly when no title has been set.
  • Fix lack of publishing when approving submission from Overview.

1.2.2.1 2019-08-15

Fixed

  • Fix issue for new Workflow installs having incorrect foreign key constraints.

1.2.2 2019-08-06

Changed

  • Now requires Craft 3.2.8+.

Fixed

  • Fix issues with submitting and approving on latest Craft 3.2.x changes.
  • Fix error when approving a brand new entry submission.
  • Fix errors with drafts index.
  • Fix editor emails not sending when no Additional Options were checked.

1.2.1 2019-07-13

Fixed

  • Fix offload warning when submitting actions.
  • Fix integrity error for drafts when trying to submit an entry.

1.2.0 2019-07-11

Added

  • Add support for Craft 3.2.0+.
  • Fix incorrect element table attributes.

1.1.12 2019-06-28

Fixed

  • Fix incorrect element table attributes.

1.1.11 2019-06-27

Fixed

  • Don’t redirect from submissions unless we have to.
  • Add search attributes for submissions.
  • Fix submission propagation before saving.

1.1.10 2019-06-18

Fixed

  • Fix dashboard widget link for submission drafts.
  • Fix redirect error when trying to approve a submission. (thanks @brandonkelly)

1.1.9 2019-03-23

Added

  • Add override notice for settings fields, when using config file.

Fixed

  • Fix validation not triggering when saving drafts.

1.1.8 2019-03-13

Added

  • Add email events beforeSendEditorEmail and beforeSendPublisherEmail.
  • Add editor notification options for reply-to and cc-ing publisher's email.

Changed

  • Refactor settings into multiple pages.

1.1.7 2019-03-10

Fixed

  • Fix errors thrown when calling controller actions from site requests and not from POST submissions.

1.1.6 2019-03-06

Added

  • Allow non-admins to save plugin settings.
  • Add more permissions to pages in plugin.

Fixed

  • Add checks around the owner entry and whether it exists.
  • Add missing migration for ownerSiteId for Craft 2 > 3 upgrades.

1.1.5 2019-03-01

Fixed

  • Fix potential error on widget when submitted element is missing.
  • Fix redirects for submissions, particularly on the front-end.

1.1.4 2019-02-28

Fixed

  • Fix approved entries not being published correctly in some instances.

1.1.3 2019-02-27

Fixed

  • Fix editor/publisher links.
  • Fix errors that can occur when installing via cli.

1.1.2 2019-02-27

Added

  • Added editor/publisher submission notes required setting

Changed

  • Ensure editor/publisher URLs are only shown if the current user has permission.

Fixed

  • Ensure publishers in settings use User Group UID.

1.1.1 2019-02-26

Fixed

  • Fix error in Norwegian translation (thanks @phoob).
  • Fix query error when viewing drafts.

1.1.0 2019-02-25

Added

  • Added editor notes, to send along with a submission.
  • Submissions now listed on entry events, to improve submission workflow.
  • Submit brand-new entries for review (provided they pass validation).
  • Translation to norwegian. (thanks @phoob).
  • Add serialised data to submissions to prepare for entry comparison diffs.

Changed

  • Updated widget styles to be more compact for entry sidebars.
  • Update min requirement to Craft 3.1.x.
  • Updated plugin settings to use UIDs for Craft 3.1.x.
  • 'Submit for review' now saves entry content, then submits for review. No more clicking 'Save' then 'Submit'.
  • 'Submit for review' now validates entry content before submission.
  • Changed controller action from workflow/submissions/send to workflow/submissions/save-submission.
  • Changed controller action from workflow/submissions/revoke to workflow/submissions/revoke-submission.
  • Changed controller action from workflow/submissions/approve to workflow/submissions/approve-submission.
  • Changed controller action from workflow/submissions/reject to workflow/submissions/reject-submission.

Fixed

  • Fix draft submissions not being retained after approval.
  • Submissions now trigger entry validation, ensuring only 'valid' entries are submitted for review.
  • Fix dateApproved/dateRejected not showing their value.
  • Fix error when sorting by Editor or Publisher in CP.
  • Fix error when no sections are selected.
  • Fix not publishing a submission when approving.

1.0.3 2018-11-10

Fixed

  • Show the entry title on submissions index, rather than the Submission ID.

1.0.2 2018-07-24

Fixed

  • Fix Verbb logo reference (for real this time)

1.0.1 2018-07-24

Fixed

  • Fix elementType typo
  • Fix Verbb logo reference

1.0.0 2018-07-23

  • Craft 3 release