nextcloud/lib/private
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
..
Accounts fix unit tests 2016-11-21 11:29:58 +01:00
Activity Merge pull request #2165 from nextcloud/sharing-activities-update 2016-11-22 10:19:15 +01:00
App Loop for newest version in appstore response 2016-11-24 14:29:57 +01:00
AppFramework Harden cookies more appropriate 2016-11-23 12:53:44 +01:00
Archive Move to non-static version 2016-10-31 18:42:19 +01:00
Authentication use lower loglevel for token cleanup messages 2016-11-17 10:42:12 +01:00
BackgroundJob Update with robin 2016-07-21 18:13:58 +02:00
Cache Cap the number of queries we save in the query logger 2016-11-03 16:00:28 +01:00
Command Update with robin 2016-07-21 18:13:58 +02:00
Comments @since 9.2.0 to @since 11.0.0 2016-11-15 18:51:52 +01:00
Console add upgrade command before repair, handle NeedsUpgradeExcaption better 2016-10-24 17:52:49 +02:00
DB Allow aliasing columns when using the query builder 2016-11-17 18:48:35 +01:00
Diagnostics Cap the number of queries we save in the query logger 2016-11-03 16:00:28 +01:00
Encryption Fix shared storage namespace in DecryptAll class 2016-10-20 20:36:50 +02:00
Files Move the validation into one place only 2016-11-21 09:23:37 +01:00
Group Update with robin 2016-07-21 18:13:58 +02:00
Hooks Update with robin 2016-07-21 18:13:58 +02:00
Http/Client Update with robin 2016-07-21 18:13:58 +02:00
IntegrityCheck Make sure memory limit is > post size and upload filesize 2016-09-13 16:50:36 +02:00
L10N Simplify isSubDirectory check 2016-10-07 21:56:43 +02:00
legacy Update link to the docs to 11 2016-11-22 13:29:24 +01:00
Lock Update with robin 2016-07-21 18:13:58 +02:00
Lockdown phpdoc 2016-11-16 15:24:28 +01:00
Log log version number in each log line 2016-10-06 12:42:46 +02:00
Mail Fix others 2016-07-21 18:13:57 +02:00
Memcache Activate APCu on PHP 7 2016-09-01 12:30:05 +02:00
Migration Fix others 2016-07-21 18:13:57 +02:00
Notification @since 9.2.0 to @since 11.0.0 2016-11-15 18:51:52 +01:00
OCS Move OC\OCS\Person to OCSController 2016-11-16 19:21:00 +01:00
Preview Dispatch event on preview request 2016-11-10 14:28:09 +01:00
Repair Use callForSeenUsers for avatar migration 2016-10-28 08:44:05 +02:00
RichObjectStrings @since 9.2.0 to @since 11.0.0 2016-11-15 18:51:52 +01:00
Route Add system config htaccess.IgnoreFrontController for prettyURLs w/o mod_env 2016-11-16 22:28:49 +01:00
Search Fix others 2016-07-21 18:13:57 +02:00
Security Add a signer class for signing 2016-11-21 11:30:00 +01:00
Session Update with robin 2016-07-21 18:13:58 +02:00
Settings remove old logging section 2016-11-21 13:46:31 +01:00
Setup Added Exception catch in case of DB User exists 2016-10-31 16:32:22 +05:30
Share Remove adding sharedialogmailview 2016-11-04 07:41:35 +01:00
Share20 also work with group shares 2016-11-17 23:30:50 +01:00
SystemTag Fix others 2016-07-21 18:13:57 +02:00
Tagging Fix others 2016-07-21 18:13:57 +02:00
Template Merge pull request #1602 from nextcloud/ignore-mod-env 2016-11-18 21:42:56 +01:00
Updater Use the same URL everywhere 2016-09-27 14:52:22 +02:00
User fix warning with token login 2016-11-16 16:33:56 +01:00
AllConfig.php Use getvalue to fetch the value 2016-11-16 18:52:49 +01:00
AppConfig.php Update with robin 2016-07-21 18:13:58 +02:00
AppHelper.php Fix others 2016-07-21 18:13:57 +02:00
Avatar.php Add message to NotSquareException thrown from Avatar 2016-10-24 11:27:27 +02:00
AvatarManager.php avatar to appdata 2016-10-05 11:00:16 +02:00
CapabilitiesManager.php Make the capabilities manager more error proof 2016-08-15 20:37:19 +02:00
Config.php Update with robin 2016-07-21 18:13:58 +02:00
ContactsManager.php Fix others 2016-07-21 18:13:57 +02:00
DatabaseException.php Fix others 2016-07-21 18:13:57 +02:00
DatabaseSetupException.php Fix others 2016-07-21 18:13:57 +02:00
DateTimeFormatter.php Fix others 2016-07-21 18:13:57 +02:00
DateTimeZone.php Fix others 2016-07-21 18:13:57 +02:00
ForbiddenException.php Fix others 2016-07-21 18:13:57 +02:00
HintException.php Fix others 2016-07-21 18:13:57 +02:00
HTTPHelper.php Fix others 2016-07-21 18:13:57 +02:00
Installer.php Prevent downgrade attacks for apps 2016-11-11 18:53:26 +01:00
LargeFileHelper.php Merge pull request #1890 from nextcloud/downstream-25428 2016-10-25 14:44:27 +02:00
Log.php Default to empty string 2016-10-07 16:23:05 +02:00
NaturalSort.php Fix others 2016-07-21 18:13:57 +02:00
NaturalSort_DefaultCollator.php Fix others 2016-07-21 18:13:57 +02:00
NavigationManager.php Fix others 2016-07-21 18:13:57 +02:00
NeedsUpdateException.php Update with robin 2016-07-21 18:13:58 +02:00
NotSquareException.php Fix others 2016-07-21 18:13:57 +02:00
Preview.php New preview generator 2016-11-03 14:00:32 +01:00
PreviewManager.php Merge pull request #2076 from nextcloud/log_preview_access 2016-11-18 20:45:29 +01:00
PreviewNotAvailableException.php Opening the trashbin causes errors in log for files without preview 2016-09-09 13:53:06 +02:00
RedisFactory.php Update with robin 2016-07-21 18:13:58 +02:00
Repair.php Ignore failures of collation change in the pre update step 2016-10-19 00:15:01 +02:00
RepairException.php Fix others 2016-07-21 18:13:57 +02:00
Search.php Update with robin 2016-07-21 18:13:58 +02:00
Server.php Merge pull request #2076 from nextcloud/log_preview_access 2016-11-18 20:45:29 +01:00
ServerContainer.php Save the container with the app's namespace so we can resolve it 2016-08-22 14:25:43 +02:00
ServerNotAvailableException.php Fix others 2016-07-21 18:13:57 +02:00
ServiceUnavailableException.php Update with robin 2016-07-21 18:13:58 +02:00
Setup.php Introduce an event for first time login based on the last login time stamp 2016-11-14 14:50:10 +01:00
Streamer.php Fix others 2016-07-21 18:13:57 +02:00
SubAdmin.php Fix others 2016-07-21 18:13:57 +02:00
SystemConfig.php Fix others 2016-07-21 18:13:57 +02:00
TagManager.php Fix others 2016-07-21 18:13:57 +02:00
Tags.php Update with robin 2016-07-21 18:13:58 +02:00
TemplateLayout.php Introduce the UI for password confirmation 2016-11-18 11:57:16 +01:00
TempManager.php Update with robin 2016-07-21 18:13:58 +02:00
Updater.php update system address book if the user change the personal settings 2016-11-21 11:29:57 +01:00
URLGenerator.php Do not trigger appconfig queries when we are not yet installed 2016-11-21 13:13:53 +01:00