Add-on Install & Upgrade

Add-on Install & Upgrade 1.4.3

No permission to download
I've used this addon for awhile now but I've thought of something. If you're helping a site out (as an administrator or something) and you tell this addon to save your credentials, they could remove your administrator status before you remove your credentials. Would there be anyway to prevent this?
 
Hey Chris,
When running a newer version than the one that released in XF resources, it reports that there's a new version for the addon.
Running xenforo 1.3, I don't remember the issue before upgrading, but it may not be related.
 
When dealing with a version string such as 1.1.1 or 1.2.13 or 2.0a, 2014-03-22 or 1.3.4 Beta 10 it's not really possible to accurately calculate which string represents the newest version. So, all the logic does is see if the two version strings (the one in the RM and the one installed) are different. If they are different, it assumes that the RM has a new version.

So, nothing at all to do with 1.3 and is as designed. Best thing to do is "Skip this update" so it will ignore it until the number changes again.
 
When dealing with a version string such as 1.1.1 or 1.2.13 or 2.0a, 2014-03-22 or 1.3.4 Beta 10 it's not really possible to accurately calculate which string represents the newest version. So, all the logic does is see if the two version strings (the one in the RM and the one installed) are different. If they are different, it assumes that the RM has a new version.

So, nothing at all to do with 1.3 and is as designed. Best thing to do is "Skip this update" so it will ignore it until the number changes again.
Not really tested that, but I remember that version_compare deals with complex version compares.
 
It's predominantly for comparing PHP version strings, though, so it would likely fall over with some strings that don't follow the same convention.
 
mhm. When I click 'Check for updates' nothing happens. I tried in 3 different browsers so I doubt its a browser issue.
The directory is password protected. Is that an issue? I cant think of anything else.
 
Feature request: install from multiple xml files.

Reasoning: some server configs do not support automatic creation of new directories. I prefer to keep my servers security as tight as possible. Its not a bother to upload files. The main benefit lies in installing multiple addons without having to wait for the deferred process.
 
Only if the xml files are in the same directory.

Edit: if I upload the xml files to the install folder, then will the addon installer recognize this and upgrade all addons in one go?
 
What's your point?

The feature that you suggested exists.

It is your browser and/or OS that displays a window for you to browse your files. I can't do anything if that doesn't allow you to select multiple files across multiple folders.

There are no plans to introduce a more advanced uploader.
 
Any plans to support FTP-based uploading instead of relying on webserver permissions? It seems like it's opening up for security troubles by having stuff writable by the web user. While it's not a vulnerability in itself, it opens up the door wide when another one exists to let them in.
 
I tried to upgrade an addon by just using a xml file, and got this error:
Given file is no zip archive
 
Are you using Option 3?

DrSio6w.png
 
  • Like
Reactions: rdn
well just a suggestion + would help many users to keep there files clean..

when you normally uninstall an add one the files still remain on the server...

any way to have an option to delete the files and folders with it? or just files?

and maybe a scanner to scan all the files and compare them with currently installed add ones and if there are old left over files delete them...

also maybe a compatibility tool/feature, when wanting to install an add one insert link to resource or upload zip or import xml file and have it scanner against any compatibility issues that it may run into with your currently installed add-ones? and tips on making them compatible..

same with when upgrading to later versions of xenforo allow the scanner to run a check on all the add ones and detect any issues it may have when upgrading to a later version of xenforo and give tips and advise what to do about them such as uninstall or update first or remove those add ones...

i wouldn't mind donating for some of these features/improvements...
 
Last edited:
  • Like
Reactions: rdn
Back
Top Bottom