nextcloud/lib
Lukas Reschke 6a4c0cf237
Loop for newest version in appstore response
The current implementation when fetching apps from the appstore is to assume that the first element is the newest version, this is now always applicable and leads to the fact that for some apps (e.g. nextant) the newest version is not delivered. This can be easily tested by comparing the version of the downloaded Nextant version.

This change will loop over all releases delivered by the appstore and chooses the newest compatible one. While not the cleanest solution, it does its job.

Most of the code are actually unit tests. Whereas I have copied the whole original response from the appstore and also have performed the transformation. So that's why the diff looks so huge.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-24 14:29:57 +01:00
..
composer Update class map 2016-11-18 12:10:51 +01:00
l10n [tx-robot] updated from transifex 2016-11-22 01:06:54 +00:00
private Loop for newest version in appstore response 2016-11-24 14:29:57 +01:00
public Merge pull request #1972 from nextcloud/invalid-files-from-scanner 2016-11-22 12:55:54 +01:00
autoloader.php Add a magic wrapper from hell to allow phpunit4 to run the code again 2016-11-15 14:49:14 +01:00
base.php Harden cookies more appropriate 2016-11-23 12:53:44 +01:00