nextcloud/tests/lib
Lukas Reschke 7cb0df28e2
Prevent downgrade attacks for apps
We should verify the app versions when installing a new update, otherwise this could result in downgrade attacks when an attacker just copies the old signature.

Plus it prevents the case that in case of a bug in the appstore actually an older version gets installed.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-11 18:53:26 +01:00
..
Activity
App Add tests for installer method 2016-10-31 19:39:35 +01:00
AppFramework Identify Chromium as Chrome 2016-10-26 12:07:10 +02:00
Archive
Authentication Add missing tests and fix PHPDoc 2016-11-02 13:39:17 +01:00
BackgroundJob Fix getMock JobListTest 2016-09-13 09:09:52 +02:00
Cache Fix getMock FileCacheTest 2016-09-13 09:09:52 +02:00
Command Fix getMock Command/Intergrity 2016-09-07 20:42:37 +02:00
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 Adjust tests and DI for Share.php 2016-11-02 23:26:49 +01:00
Group Fix getMock MetaDataTest 2016-09-07 20:42:37 +02:00
Hooks
Http/Client Fix getMock Http Client 2016-09-07 20:42:37 +02:00
IntegrityCheck Make sure memory limit is > post size and upload filesize 2016-09-13 16:50:36 +02:00
L10N Fix more tests 2016-10-28 22:16:28 +02:00
Lock Fix getMock DBLockingProviderTest 2016-09-13 09:09:53 +02:00
Log
Mail
Memcache
Migration Fix getMock Migration 2016-09-07 20:42:38 +02:00
Notification Use a php class for the definitions to avoid loading problems 2016-11-09 08:52:07 +01:00
OCS
Preview Added genertor helper & tests 2016-11-03 14:00:33 +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 tests 2016-11-02 21:10:51 +01:00
Session
Settings Show a hint for system based cron user name 2016-11-03 10:38:00 +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 Fix getMock Template 2016-09-07 20:42:38 +02:00
Traits
Updater Use the same URL everywhere 2016-09-27 14:52:22 +02:00
User Add missing tests and fix PHPDoc 2016-11-02 13:39:17 +01:00
Util
APITest.php
AllConfigTest.php
AppConfigTest.php Make sure all tests use the TestCase method to overwrite services 2016-10-20 15:19:41 +02:00
AppTest.php Add update support 2016-10-31 17:17:47 +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 Make the capabilities manager more error proof 2016-08-15 20:37:19 +02:00
ConfigTest.php
ContactsManagerTest.php
DateTimeFormatterTest.php Fix more tests 2016-10-28 22:16:28 +02:00
ErrorHandlerTest.php
FileChunkingTest.php Fix getMock FileChunkingTest 2016-09-07 20:42:37 +02:00
FilesTest.php Make sure memory limit is > post size and upload filesize 2016-09-13 16:50:36 +02:00
HTTPHelperTest.php Fix getMock HTTPHelper 2016-09-07 20:42:37 +02:00
HelperStorageTest.php Fix getMock HelperStorageTest 2016-09-13 09:09:53 +02:00
HookHelper.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 Remove unneeded Windows logic 2016-09-01 10:47:57 +02:00
LargeFileHelperTest.php
LegacyHelperTest.php Simplify isSubDirectory check 2016-10-07 21:56:43 +02:00
LoggerTest.php add test 2016-08-22 16:56:00 +02:00
NaturalSortTest.php
NavigationManagerTest.php
PreviewTest.php Fix failing preview unit tests (#26039) 2016-09-12 16:46:39 +02:00
RepairStepTest.php
ServerTest.php Add update support 2016-10-31 17:17:47 +01:00
SetupTest.php Fix getMock SetupTest 2016-09-07 20:42:38 +02:00
StreamWrappersTest.php Fix tests 2016-10-31 17:17:45 +01:00
SubAdminTest.php
TagsTest.php Fix getMock TagTest 2016-09-13 09:09:53 +02:00
TempManagerTest.php Fix getMock TempManagerTest 2016-09-07 20:42:38 +02:00
TemplateFunctionsTest.php
TestCase.php Make sure the database is not replaced while we make a backup of the service 2016-11-08 16:32:41 +01:00
TestMoveableMountPoint.php
UpdaterTest.php Kill update simulation 2016-09-27 18:43:53 +02:00
UrlGeneratorTest.php Fix urlgenerator test 2016-11-03 14:00:33 +01:00
UserTest.php
UtilCheckServerTest.php
UtilTest.php Fix more tests 2016-10-28 22:16:28 +02:00