[5.4] Send Automated Update Notifications to all super users.#45685
[5.4] Send Automated Update Notifications to all super users.#45685muhme merged 2 commits intojoomla:5.4-devfrom
Conversation
That is not true as explained in the field description - see the emphasised text
I admit I hadnt looked at this before but I note that the task notification has this same option So I guess it doesnt make sense to remove the option from one place and keep it in the other |
|
PS this is a perfect example of why hiding field descriptions was such a bad idea |
|
I can remove it also from task notification. The other option is: Make a field where supers users can be selected. |
|
i agree the ux sucks. never spotted it before myself as I am the only Super User on my sites if a super user is removed it doesnt matter as the notification is only sent to super users I would suggest that using the email address in this field was always wrong and it should always have been usernames - you can change your email address - what happens then |
|
exactly - but also usernames can change. |
true - i forgot that |
|
Thank you @chmst for creating this PR 👍 From my point of view, and after discussions with others and with this PR we prefer not to maintain a separate list of users for Automated Update emails. We already have a user configuration to 'Receive System Emails'. To simplify things, we will use this existing setting and send Automated Update emails to all users who have 'Receive System Emails' enabled. I haven't heard any arguments for maintaining a separate list, and to me, Automated Update emails are clearly a type of system email. It seems the PR should be adjusted to use users with 'Receive System Emails' enabled, rather than using super users. |
|
The original pr that introduced this field clearly explained the use case for having rh ability to decide which super users get update notifications. Now we have two different places with potentially different settings for the same thing. If you force all super users to receive this notification you are changing the behaviour on existing sites which have restricted who will see the emails. |
|
the original pr and the explanation for this option
|
If we remove the input field with this PR we have only one option 'Receive System Emails'.
For this we have the 'Receive System Emails' Account Details option. If we change the Automated Updates emails to users only with 'Receive System Emails' enabled, this requirement is fullfilled. And it is working the same way as other system emails. Therefore it simplifies the UX. @brianteeman It feels to me as though we might be talking slightly at cross purposes. I'm not quite sure how else to help, so I’ll try to give an example and make things as clear as possible. Do you agree, or would you suggest a different approach?
|
|
@muhme you are completely ignoring the fact that for the last 10 years the joomla update notification has been configurable in addition to the receive system emails for the reason I have quoted above. Unless you reject the reason given then the same behaviour must be applied here. If you reject the reason given then the behaviour of the joomla update notification needs to be changed to match this proposed change to the automated update notification. I understand all your comments but you are changing a behaviour that has existed for 10 years. What is worse is that because there are now two different update notifications they are configured separately and behave differently. What this PR does do is to raise a new issue - why do we have two different update notifications that work in different ways with different configurations. Surely there should just be one now. |
There is no change needed to do that - that is exactly how the code works today - if it ignores the "receive system emails" then that is a bug |
No bug, it works like that, and for the Automated Updates that option had been added in order to be consistent with the same option in the Update Notification Task plugin for the non-automated updates. And the use case is valid in my opinion. You may have 20 superusers of which 15 shall receive all kinds of system notification mails, and of these 15 only 5 shall receive notifications related to updates. So for me this PR here is not the right way to go, but that's only my personal opinion. Another thing is if the UX of that field is really nice or if it couldn't be improved by using a multi-select field where you can select from the users which receive system emails. Or if it wouldn't be better to select users instead of email addresses. These are things which might be improved, but that's out of scope of this PR, I think. But if we decide to go the way of this PR, then I think we should do the same for the (non-automated) update notifications so both are the same. |
absolutely agree 100% |
|
My opinion: We can make a field "superUserSelect", this makes it easy for administrators to select only valid recipients. Then we can change other usage of notification in another PR which needs deprecations and install scripts. This is not in scope of this PR. |
|
i am happy if it works the same in both places however it is done |
|
Updated after I found user group configuration for scheduled task notification emails 44604. Thank you all for your comments. I tested the existing scheduled tasks update notification emails with different users and played with the existing 'Super User Emails' field and the 'User Groups to Notify' fields in Joomla 5.3.0 administrator backend > System > Scheduled Tasks > Update Notification. It is working for the 'update available' emails like the field descriptions is:
For me, the bad UX is not just the input field - it's the error-prone configuration, which is spread across different places, not standardised and different or misleading labelling.
My opinion:
|
@chmst You are right. I forgot about that. As long as not in beta phase we can remove it. So this PR here is indeed a valid option, and other UX fixes for that option for the non-automated update notifications can be done with future PRs, and then the option handled with this PR here could be added or handled with the same kind of fixes. We will discuss it in the maintainers team. I think @muhme has moved this PR to draft so people won't spend time for testing in the meantime, but I think as soon as we decided it will be moved back to ready for review (non draft). |
|
This PR was discussed in PD CMS Mainenance call. At the moment this PR should be merged as it is (removing the user email field) as Automated Updates is a new feature and the UX of this field is poor. The proposed improvements could then be implemented with new PRs. The PR can therefore now be tested. |
|
it is wrong that the two update notifications can be sent to two different sets of users. |
|
I have tested this item ✅ successfully on d5896c3 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45685. |
|
I have tested this item ✅ successfully on d5896c3 Tested successfully, Works as expected. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45685. |
|
I have tested this item ✅ successfully on d5896c3 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45685. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45685. |
@brianteeman I don't think they have to be equal as there are different use cases. Manual updates can only be started by a user with the necessary privileges, which automated updates don't require such user interaction. That could justify different recipients. |
|
we will have to agree to disagree then ;) |
Agreed :-) |
|
A big thank you to @chmst, all commentators and testers! |

Pull Request for Issue # .
Summary of Changes
At the moment, a comma separated list of e-mail addresses of super users, who get a notification of auto updates, must be entered in a text field. This could be a source for errors.
This PR removes the field completely, so all super users get an information of automated updates.
Testing Instructions
Quickicon "Automated Update" Or System - joomla - update - options
Actual result BEFORE applying this Pull Request
All super users whose e-mail adresses are in the list get an update notification for automated updates.
Expected result AFTER applying this Pull Request
All super users who are enabled for system e-mails get an update notification for automated updates.
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