Support

Admin Tools

#14898 Update Joomla email

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Thursday, 07 February 2013 02:05 CST

neo314

Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.8
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Admin Tools version: Latest

Description of my issue:

I am experiencing the same problem with the Joomla update email that we experienced earlier with Admin Tools. Even though the plugin is published and the admin email is set, it still sends the notice to all the super admins.

I'm guessing it is a similar bug that wasn't caught.

nicholas
Akeeba Staff
Manager

It is the same issue. It will be fixed in the next Admin Tools release.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

neo314

Can you offer up the fix so I can adjust my current installations. Additionally, I was going to look at the code today or tomorrow about adding an additional option to set a limit on the frequency. If I limit the email address to just my super user, I still get one every time someone logs into the back end.

It would be nice to be able to set a limit option of: "Every Login", "Once A Week", "Once A Month"

or "Every Login", "Every 5 Days", "Every 10 Days", "Every 15 Days", "Every 20 Days", "Every 30 Days"

Then check at login when the last notice was sent and compare it to the current time and the option.

It would also be nice to be able to Cron the notice and not have it send by BE logins at all.

Obviously, the same recommendation would apply to all the update notice plugins.

nicholas
Akeeba Staff
Manager

Can you offer up the fix so I can adjust my current installations. Additionally, I was going to look at the code today or tomorrow about adding an additional option to set a limit on the frequency. If I limit the email address to just my super user, I still get one every time someone logs into the back end.

If you feel adventurous you can install the latest dev release.

It would be nice to be able to set a limit option of: "Every Login", "Once A Week", "Once A Month"

or "Every Login", "Every 5 Days", "Every 10 Days", "Every 15 Days", "Every 20 Days", "Every 30 Days"

It would also be nice to be able to Cron the notice and not have it send by BE logins at all.

You have it all wrong. It's not send you are logging in to the back-end. There's a system plugin which is triggered by any traffic (front- or back-end). That's what sends the notifications. So the "next login" option makes no sense.

Moreover, I can not and will not add a feature which will make the update emails be sent over 24 hours apart for security reasons (the one click URL's secret key expires after 24 hours to prevent being intercepted and abused by hackers). Implementing such a feature would require that key to be active forever, compromising the security of your site. In fact, even 24 hours is too much but I had to strike a balance between convenience and security. If you do not intend on acting immediately upon the notification emails please turn off the plugin which sends them. If you intend to update your sites several days or weeks after a new version is released you don't need the convenience of one click updates. You just need to log in to the back-end of each site to see if it needs an update, whenever you have the time to deal with updates.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

neo314

Hi Nicholas,

Your response seems almost angry or offended. If so, that was certainly not my intention. I also think there is a bit of misunderstanding about my suggestion.

Getting an update notice is of value whether I do the update immediately or not. Most update will require me to check for compatability with other plugins, especially updates of the Joomla! core. The first I knoew of the update came from Akeeba, though, and I value that.

The update notice is also of value whether I have a one click login available or not (which I personally don't value, but I canunderstand if other people do value it). Just knowing that an update is available gets me to take a look start making sure that I can update without any compatability issue.

That said, this recommendation applies more to the Joomla! core update notice than the Akeeba notices since those updates I do immediately (no compatability issue).

I'm suggesting that once a notice is sent, the plugin can be prevented from sending another unless a certain amount of time has passed. The link can still be a good for only 24 hours link. If it takes longer than that to get to it, the link just won't be useful.

Having a time limit between notices will also ensure that if I found a compatability issue when an update was first available (such as maybe Virtuemart or JCE has issues with 2.5.9), and if I forget to take care of the update later, another reminder will be sent in a week or whatever I configure the plugin time limit to do. Getting a second message in a week, or a month would be a reminder to recheck the if the compatability issue still exists.

I agree with you about the security concern. Links don't need to be valid for more than 24 hours, and frankly, I would love an option to turn the link off. I just want a notice/reminder about the update. I don't really need an easier way to login to handle it.

I can disable the plugin, but I would prefer to be able to control it in this fashion. If it is going to send me multiple messages each day creating multiple 24 hour login links, I will have to disable it. If I could get it to tell me that there is an new update when it is available, and send me a reminder if the update has not been applied in a week, or a month, or whatever, that would be really valuable to me.

nicholas
Akeeba Staff
Manager

Your response seems almost angry or offended. If so, that was certainly not my intention. I also think there is a bit of misunderstanding about my suggestion.

Not really, I wasn't annoyed the least bit. I was just explaining why I am not going to implement the feature you requested. I could have stopped at "no", but I don't think that is appropriate. I prefer to explain why I'm not going to implement that feature and what are your alternatives.

The update notice is also of value whether I have a one click login available or not (which I personally don't value, but I canunderstand if other people do value it). Just knowing that an update is available gets me to take a look start making sure that I can update without any compatability issue.

That's exactly what I understood. You do not need AT's update notifications. They are designed as a tool to enable true one-click updates. You do not need a notification per site, you need a notification every time a new Joomla! version is released. One notification for all sites, not one notification per site.  This you can do by subscribing to Joomla!'s security newsletter, issued whenever a new release is out. Or follow Joomla! on Twitter. Or subscribe to Joomla!'s release announcement RSS feed. That's all I was saying.

I'm suggesting that once a notice is sent, the plugin can be prevented from sending another unless a certain amount of time has passed. The link can still be a good for only 24 hours link. If it takes longer than that to get to it, the link just won't be useful.

No. This is not the feature I want to implement and will cause more support requests. I prefer to keep the feature I have already implemented instead of transforming it to something which I don't like and know that will cause problems.

I also find it extremely unlikely that you can forget to update a site. You don't want to receive emails because you don't update on the spot but do tests to make sure that each site's extensions are compatible with the update. Why don't you keep, say, a spreadsheet with all of your files and mark which ones you have tested and which ones you have upgraded? Or maybe you can use a service like Watchful.li or a solution like JMonitoring to have, at a glance, the current Joomla! version of all of your sites. You don't want update notifications to be pushed to you. You want to pull update notifications at your own pace.

That said, I find your approach potentially disastrous. One of the key features of Admin Tools (when used together with Akeeba Backup) is the "Backup, then update Joomla!" feature. Workflow:

  • You receive an update notification
  • You click on the link
  • The link takes you to the back-end of your site, logs you in and presents you the Joomla! update page. You click on the "Backup then update Joomla!" button
  • Sit back and relax as Akeeba Backup takes a full backup of your site, then return to Admin Tools which updates Joomla!
  • Do your tests to make sure it's all working. If crap happened just go to Akeeba Backup, Manage Backups, check the latest backup (first on the list) and Restore. No harm done.

We already offer you an optimal workflow which doesn't cause grave issues with sites (even if it does, it includes the option to restore the site from a backup). If you don't want to use it it's your choice, but don't ask me to change this workflow. I won't. I believe that what you are asking for is a terribly bad idea from a security perspective. I understand why you're doing it but, frankly, I'd rather restore a site from a backup once every 2 years (when such incompatibility issues you fear arise) than risk my site getting hacked. That's also what I am trying to impose to my users. It's my duty as a developer of a security extension to point them to the right security direction. If you want to ignore my advice, feel free to do so. As I said, there are alternatives which will work for you like JMonitoring, Watchful.li, Manage My Joomla and Admincredible – and these are the ones I have heard of or reviewed.

I have laid on the table all the options I could think of and their security assesment. I can't tell you which one to choose (I'm not you and I don't run your business) but I sincerely hope that I have helped you making an informed decision.

Please don't take my words wrong. I am not angry or offended. I am just being blunt. That's me. I don't have very good people skills but I try to overcompensate with software skills and the advice/consultancy I give for free :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!