-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.3] fine grain task notification mail #44604
Conversation
I added a new user to the Registered group, enabled receiving system notifications by mail, added the Registered group in the task settings for successful execution. Result: only the superadmin receives notifications by mail. The registered user's mail is silent. |
@Kostelano fixed |
This is fixed, yes. If the user is in two, three, etc. groups and these groups are added to the new task parameters, then notifications come 2, 3, etc. times, the same ones. I'm not sure if this is intended. Probably, the problem does not look serious considering that usually the recipient of the "task completion report" will be the superadmin or several of the most important users (who will be in 1 group), but it is still worth mentioning. If this is ok, let me know, I will send a successful test. |
good point |
I have tested this item ✅ successfully on 9ffe02a This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44604. |
plugins/system/tasknotification/src/Extension/TaskNotification.php
Outdated
Show resolved
Hide resolved
….php Co-authored-by: Quy Ton <quy@nomonkeybiz.com>
I have tested this item ✅ successfully on 2a3aa18 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44604. |
I have tested this item ✅ successfully on 2a3aa18 Works as described. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44604. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44604. |
Tested successfully |
I have tested this item ✅ successfully on 2a3aa18 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44604. |
Notifications have to be switched on in the task settings. Maybe you forgot? It's switched off by default for successful tasks. |
@exlemor did you switch on notification in case of task success ? |
I've allowed myself to solve the merge conflict which was caused by PR #44967 , |
Pull Request for Issue #39311 .
must be tested after/with #44587Summary of Changes
Fine grain the notification email of tasks
Testing Instructions
have a scheduled task.
Set the task notifications to on and choose usergroups (default is Super User)

run the task
Actual result BEFORE applying this Pull Request
All users with receive system emails turned on receive notifications about tasks
Expected result AFTER applying this Pull Request
Only the users with receive system emails turned on and belonging to the group configured for notification will receive the mail
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed