Version 3.0.5

November 28, 2024

Fixed

  • Fix when deleting a Craft User that owned a review, would also delete that review.
  • Fix an error when approving a submission. (thanks @iainsaxon).

Version 3.0.4

October 9, 2024

Fixed

  • Add the ability to filter submissions for specific sites on the Recent Submissions dashboard widget.

Version 3.0.3

September 7, 2024

Fixed

  • Fix an issue where draft Matrix blocks (entries) were being used for submissions.

Version 3.0.2

August 9, 2024

Fixed

  • Fix email messages translations.

Version 3.0.1

July 21, 2024

Added

  • Add editor name to submission dashboard widget items.
  • Add error handling when trying to set a non-pending submission to pending.
  • Add the “Overview” subnav item to the Workflow menu.
  • Add Craft Teams support for permissions.

Changed

  • Update non-English translations.
  • Update English translations.
  • “Overview” has been changed to “Submissions”.

Fixed

  • Fix an error when comparing reviews with no data.
  • Fix submission edit breadcrumb.
  • Fix submission edit save button alignment.
  • Fix permissions check for viewing submissions.
  • Fix viewing a submission when the element was deleted.
  • Fix a PHP 8.3 error.
  • Fix summary number alignments.

Version 3.0.0

May 18, 2024

Changed

  • Now requires PHP 8.2.0+.
  • Now requires Craft 5.0.0+.

Version 2.0.13

November 28, 2024

Fixed

  • Fix when deleting a Craft User that owned a review, would also delete that review.
  • Fix an error when approving a submission. (thanks @iainsaxon).

Version 2.0.12

October 9, 2024

Fixed

  • Add the ability to filter submissions for specific sites on the Recent Submissions dashboard widget.

Version 2.0.11

July 21, 2024

Added

  • Add editor name to submission dashboard widget items.

Changed

  • Update non-English translations.
  • Update English translations.

Fixed

  • Fix an error when comparing reviews with no data.

Version 2.0.10

May 18, 2024

Changed

  • Update non-English translations.
  • Update English translations.

Fixed

  • Fix an error when trying to resolve an entry from front-end submissions.

Version 2.0.9

March 4, 2024

Fixed

  • Fix an incorrect URL for draft submissions in email notifications.
  • Fix performance issues with review memoization due to performance issues for large installs.
  • Fix settings dropdown showing for reviews when editing a submission.

Version 2.0.8

January 30, 2024

Fixed

  • Fix dashboard widget icon.
  • Fix an error when saving submissions in the control panel for multi-sites.
  • Fix an error when showing submission notes in the element index.
  • Fix an error when determining the last review for a submission.
  • Fix "Element query executed before Craft is fully initialized" warning.
  • Fix submissions pane showing for non-draft, published entries when it should only show for drafts.

Version 2.0.7

December 8, 2023

Added

  • Add read-only state for submission detail pages for editors to view submission detail.
  • Add output for reviews when comparing and their owner or submission can’t be found.
  • Add several translations. (thanks @watarutmnh).

Changed

  • The Workflow control panel menu item now will only show if the user has “Overview” permission.

Fixed

  • Fix comparing reviews not working on specific multi-site setups.
  • Fix an error when trying to determine whether a review’s element is a draft.

Version 2.0.6

October 25, 2023

Added

  • Add support for editor + reviewer dual role.

Fixed

  • Fix an error when comparing reviews.
  • Fix required notes not being enforced.
  • Fix special characters in submission notes not working correctly.

Version 2.0.5

April 28, 2023

Added

  • Add type checks for sanitize/unsanitize notes.
  • Add handling for migrating to Reviews on invalid review data (coming from old installs and submission data).

Fixed

  • Fix Emoji support for notes in Craft 4.4+.

Version 2.0.4

February 11, 2023

Changed

  • Update front-end controller to use workflow/elements/save-entry.
  • Only admins are now allowed to access Workflow settings.

Fixed

  • Fix an error with sending published author notification emails.
  • Fix special characters in submission notes not working correctly.
  • Fix front-end submissions not working for Ajax.
  • Fix site-based submission email notification.
  • Fix an error when trying to approve/publish submissions made from the front-end.

Removed

  • Removed Settings Workflow user permission.

Version 2.0.3

December 25, 2022

Added

  • Add fallback for getDraft() to getOwner().

Fixed

  • Fix an error when comparing a review on a completed and approved submission.
  • Fix an error when comparing reviews for a deleted element.
  • Fix an error when comparing content changes for some drafts.
  • Fix dashboard widget not linking to submission element detail pages.

Version 2.0.2

November 24, 2022

Added

  • Add Submission::getOwnerCpUrl() to easily refer to the owner entry or draft’s cpEditUrl in emails.
  • Add some error-handling checks to Review::getSubmission(), Review::getElement(), Review::getUser().
  • Add Submission::getDraft().

Changed

  • References to the owner entry for a submission now refer to the draft (if it still exists).

Fixed

  • Fix an issue where status couldn’t be updated when editing a submission in the control panel.

Version 2.0.1

November 23, 2022

Fixed

  • Fix submissions not being correctly multi-site aware in some instances.
  • Fix an error when sending reviewer notifications.
  • Fix PHP errors that could occur when executing GraphQL queries..

Version 2.0.0

November 7, 2022

Added

  • Add detail template for Submissions for stats and more detail on each review.
  • Add entry “diff” functionality to easily see what’s been added/changed/removed (if any) on each submission review.
  • Add “Published Author Notifications” notification.
  • Add emoji support for submission notes.
  • Add “status” column to submissions index.
  • Add GraphQL support for querying submissions.
  • Add missing English Translations.
  • Add resave console command for elements.
  • Add checks for registering events for performance.
  • Add archiveTableIfExists() to install migration.

Changed

  • Now requires PHP ^8.0.2.
  • Now requires Craft ^4.0.0.
  • Revamped Submissions and Reviews. Now captures information each time an action is performed on an entry for better review tracking. Refer to upgrade docs for a more thorough explanation.
  • Breaking Change Update email templates to handle reviews. Refer to upgrade docs.
  • Breaking Change Move email functions to own service. Refer to upgrade docs.
  • Revamped submission process for more reliably and simplified handling with Craft 4+ updates.
  • Switch Entry::class, Entry::EVENT_AFTER_SAVE to Elements::EVENT_AFTER_SAVE_ELEMENT to handle some edge-cases.
  • Changed default title of a submission to Submission for “{entry.title}” on {date}.
  • Rename base plugin methods.
  • Now requires Workflow 1.7.0 in order to update from Craft 3.

Fixed

  • Fix submissions made on published entry drafts and the “[Deleted Element]” because once applied the drafts are deleted
  • Fix numerous UI issues.
  • Fix widget for an editor on a published entry showing, before a draft has been created.
  • Fix being able to save a submitted draft when it should be locked.

Removed

  • Removed SubmissionsController as no longer needed.

Version 1.7.6

October 25, 2022

Fixed

  • Fix special characters in submission notes not working correctly.

Version 1.7.5

September 23, 2022

Changed

  • Submission notes are now sanitized when containing HTML.

Version 1.7.4

July 1, 2022

Fixed

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

Version 1.7.3

May 23, 2022

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.

Version 1.7.2

March 24, 2022

Fixed

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

Version 1.7.1

March 18, 2022

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.

Version 1.7.0

March 17, 2022

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.

Version 1.6.6

November 26, 2021

Fixed

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

Version 1.6.5

November 6, 2021

Fixed

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

Version 1.6.4

October 1, 2021

Fixed

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

Version 1.6.3

September 24, 2021

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.

Version 1.6.2

August 29, 2021

Fixed

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

Version 1.6.1

July 30, 2021

Fixed

  • Fixed Craft 3.7+ compatibility.

Version 1.6.0

July 16, 2021

Changed

  • Now requires Craft 3.7+.

Fixed

  • Fixed Craft 3.7+ compatibility.

Version 1.5.9

January 24, 2021

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.

Version 1.5.8

January 16, 2021

Fixed

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

Version 1.5.7

November 28, 2020

Added

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

Version 1.5.6

August 31, 2020

Fixed

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

Version 1.5.5

August 21, 2020

Fixed

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

Version 1.5.4

June 18, 2020

Fixed

  • Fix email notifications for editor approvals.

Version 1.5.3

June 10, 2020

Fixed

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

Version 1.5.2

June 9, 2020

Fixed

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

Version 1.5.1

May 18, 2020

Fixed

  • Fix missing migration for review, introduced in 1.5.0.

Version 1.5.0

May 15, 2020

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.

Version 1.4.8

May 13, 2020

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.

Version 1.4.7

May 12, 2020

Fixed

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

Version 1.4.6

April 28, 2020

Fixed

  • Prevent access to settings when allowAdminChanges is false

Version 1.4.5

April 16, 2020

Fixed

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

Version 1.4.4

April 15, 2020

Changed

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

Version 1.4.3

April 3, 2020

Fixed

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

Version 1.4.2

February 15, 2020

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.

Version 1.4.1

January 31, 2020

Fixed

  • Fix multiple approvals firing for draft submissions.

Version 1.4.0

January 29, 2020

Added

  • Craft 3.4 compatibility.

Version 1.3.4

January 20, 2020

Fixed

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

Version 1.3.3

January 20, 2020

Fixed

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

Version 1.3.2

January 19, 2020

Fixed

  • Fix front-end submissions throwing errors.

Version 1.3.1

January 5, 2020

Added

  • Add submission notes and site to submission element index.

Version 1.3.0

January 5, 2020

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.

Version 1.2.3

August 16, 2019

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.

Version 1.2.2.1

August 15, 2019

Fixed

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

Version 1.2.2

August 6, 2019

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.

Version 1.2.1

July 13, 2019

Fixed

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

Version 1.2.0

July 11, 2019

Added

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

Version 1.1.12

June 28, 2019

Fixed

  • Fix incorrect element table attributes.

Version 1.1.11

June 27, 2019

Fixed

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

Version 1.1.10

June 18, 2019

Fixed

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

Version 1.1.9

March 23, 2019

Added

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

Fixed

  • Fix validation not triggering when saving drafts.

Version 1.1.8

March 13, 2019

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.

Version 1.1.7

March 10, 2019

Fixed

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

Version 1.1.6

March 6, 2019

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.

Version 1.1.5

March 1, 2019

Fixed

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

Version 1.1.4

February 28, 2019

Fixed

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

Version 1.1.3

February 27, 2019

Fixed

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

Version 1.1.2

February 27, 2019

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.

Version 1.1.1

February 26, 2019

Fixed

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

Version 1.1.0

February 25, 2019

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.

Version 1.0.3

November 10, 2018

Fixed

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

Version 1.0.2

July 24, 2018

Fixed

  • Fix Verbb logo reference (for real this time)

Version 1.0.1

July 24, 2018

Fixed

  • Fix elementType typo
  • Fix Verbb logo reference

Version 1.0.0

July 23, 2018
  • Craft 3 release

Version 0.9.6

November 4, 2017

Fixed

  • Minor fix for sidebar icon.

Version 0.9.5

October 17, 2017

Added

  • Verbb marketing (new plugin icon, readme, etc).

Version 0.9.4

October 15, 2016

Added

  • Added ability to enabled/disable email notifications for editors or publishers.
  • Added ability to select all, or individual publishers to be notified via email on submissions.

Fixed

  • Only individual editors receive approval/rejection email notifications - not each user in the editor group.

Version 0.9.3

September 24, 2016

Added

  • Added ability to set notes on an approval/rejection from a publisher.
  • Added submission rejection option integrating notes (as above).
  • Added new email message for when editors are notified on their submission.
  • Added ability for editors to revoke their submission.
  • Added widget for submissions.

Changed

  • Editors now receive emails when their submission is approved/rejected.
  • Improved entry widget to combine multiple submissions into a single pane.

Fixed

  • Fixed missing attributes for element type.
  • Fixed typo in element action.
  • Fixed status indicators on element index.

Version 0.9.2

July 8, 2016

Added

  • Added Draft overview screen - shows all available drafts site-wide.

Version 0.9.1

July 8, 2016

Fixed

  • Fixed approval link in email not including draft.
  • Fixed where a Draft entry was approved, its state was not set to public.

Version 0.9.0

June 26, 2016

Added

  • Initial release.