Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Fix update check (change link to open download in NEW window to prevent repeated checks)
TomTester
New
A little pet peeve...
Whenever I check for updates and more than one is found, I invariably make
the 'mistake' of clicking the download link.
Since that link does not default to a NEW window (target="_new"), the add-on
download will start in the current window (tab) and replaces the results of the
update check, requiring ANOTHER update check to see which add-ons have
been changed when I hit the back button.
How about changing those 'download' links to NEW windows.
TT
0
This discussion has been closed.
Comments
Of course, you can always manually override.
Check for updates -> List Add-ons -> Run through the updates -> Store the update results within an array either within the conf/settings.php as a large serialized array or within it's own file with update paths included.
So the next time a user goes back to the update page, instead of re-running the update it pulls from the cache first, if the user is convinced that the cache is outdated they could just simply force an update to rebuild the cache.
Obviously this would need to be done via a new add-on, heavy tweaking of the templates or a core change.
However, doing it via cookies might be a bad idea as that's bound to create problems from browser to browser and god knows what else. And is why I suggested the server-side caching, that way you could more accurately just over-ride the script in progress and pop the results from a cache rather than depending on the client. A cookie setting though might be best used to simply say "yeah, skip to the cache" though...