nextcloud-server/tests/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
..
Accounts fix unit tests 2016-11-21 11:29:58 +01:00
Activity Fix activity manager tests 2016-11-16 09:25:45 +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
Authentication add test 2016-11-16 15:24:33 +01:00
BackgroundJob
Cache
Command
Comments Merge pull request #1738 from nextcloud/comments-provide-displaynames-with-mentions 2016-10-26 14:02:49 +02:00
DB Add tests 2016-11-02 21:10:51 +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
Hooks
Http/Client
IntegrityCheck
L10N Fix more tests 2016-10-28 22:16:28 +02:00
Lock
Lockdown Add test for setting up fake fs 2016-11-16 15:24:32 +01:00
Log
Mail
Memcache
Migration
Notification Use a php class for the definitions to avoid loading problems 2016-11-09 08:52:07 +01:00
OCS
Preview Dispatch event on preview request 2016-11-10 14:28:09 +01:00
PublicNamespace
Repair introduce callForSeenUsers and countSeenUsers (#26361) 2016-10-28 08:44:05 +02:00
RichObjectStrings Add test and adjust PHP function arguments 2016-11-09 10:49:57 +01:00
Security Add a signer class for signing 2016-11-21 11:30:00 +01:00
Session
Settings update tests 2016-11-21 15:59:08 +01:00
Share Cleanup OC_Group usage a bit 2016-11-04 20:55:47 +01:00
Share20 add method to check if a share provider for a given type is loaded 2016-11-01 19:54:39 +01:00
SystemTag
Template
Traits
Updater
User Add missing tests and fix PHPDoc 2016-11-02 13:39:17 +01:00
Util
AllConfigTest.php
APITest.php
AppConfigTest.php Make sure all tests use the TestCase method to overwrite services 2016-10-20 15:19:41 +02:00
AppTest.php Adjust unit tests 2016-11-21 11:30:03 +01:00
AutoLoaderTest.php
AvatarManagerTest.php Add using casing check/fix for initMountPoints 2016-11-02 22:21:46 +01:00
AvatarTest.php avatar to appdata 2016-10-05 11:00:16 +02:00
CapabilitiesManagerTest.php
ConfigTest.php
ContactsManagerTest.php
DateTimeFormatterTest.php Fix more tests 2016-10-28 22:16:28 +02:00
ErrorHandlerTest.php
FileChunkingTest.php
FilesTest.php
HelperStorageTest.php
HookHelper.php
HTTPHelperTest.php
ImageTest.php
InfoXmlTest.php Add tests for commands in info.xml 2016-10-11 19:48:31 +02:00
InstallerTest.php Prevent downgrade attacks for apps 2016-11-11 18:53:26 +01:00
LargeFileHelperGetFileSizeTest.php
LargeFileHelperTest.php
LegacyHelperTest.php Simplify isSubDirectory check 2016-10-07 21:56:43 +02:00
LoggerTest.php
NaturalSortTest.php
NavigationManagerTest.php
PreviewTest.php
RepairStepTest.php
ServerTest.php Add update support 2016-10-31 17:17:47 +01:00
SetupTest.php
StreamWrappersTest.php Fix tests 2016-10-31 17:17:45 +01:00
SubAdminTest.php
TagsTest.php
TemplateFunctionsTest.php
TempManagerTest.php
TestCase.php Add a magic wrapper from hell to allow phpunit4 to run the code again 2016-11-15 14:49:14 +01:00
TestCasePhpUnit4.php Add a magic wrapper from hell to allow phpunit4 to run the code again 2016-11-15 14:49:14 +01:00
TestCasePhpUnit5.php Add a magic wrapper from hell to allow phpunit4 to run the code again 2016-11-15 14:49:14 +01:00
TestCasePhpUnitCompatibility.php Add a magic wrapper from hell to allow phpunit4 to run the code again 2016-11-15 14:49:14 +01:00
TestMoveableMountPoint.php
UpdaterTest.php
UrlGeneratorTest.php Fix urlgenerator test 2016-11-03 14:00:33 +01:00
UserTest.php
UtilCheckServerTest.php
UtilTest.php Add system config htaccess.IgnoreFrontController for prettyURLs w/o mod_env 2016-11-16 22:28:49 +01:00