Skip to content
This repository was archived by the owner on Jun 4, 2026. It is now read-only.

Add option to reset last notification time#136

Merged
finnlewis merged 2 commits into
1.xfrom
feature/1.x/122-reset-notification-time
May 27, 2025
Merged

Add option to reset last notification time#136
finnlewis merged 2 commits into
1.xfrom
feature/1.x/122-reset-notification-time

Conversation

@stephen-cox

Copy link
Copy Markdown
Member

Fixes #122

What does this change?

Adds a debug option to reset last notification time. This helps with debugging sending email notifications.

image

How to test

Enable Review Date and Workflows Notifications modules. Create some content with associated service contacts. Set review date to some time in the past on the content. Run cron - email notifications should be sent. Click 'Reset last run time'. Run cron again - notification emails will be sent again.

@willguv

willguv commented May 20, 2025

Copy link
Copy Markdown
Member

@stephen-cox love this, will add to the docs when it's ready

@Adnan-cds Adnan-cds left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into this :) Looks good overall. I have added a minor suggestion.

@Adnan-cds Adnan-cds left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I am assuming the test failures are unrelated.

@ekes

ekes commented May 27, 2025

Copy link
Copy Markdown
Member

Thanks. I am assuming the test failures are unrelated.

Usual PHP8.4, and review js but not touched in this MR.

@finnlewis finnlewis merged commit 2cecb29 into 1.x May 27, 2025
14 of 17 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DX: Reset review notification time

5 participants