nextcloud/tests/lib
Lukas Reschke 08e73d2c8f Add hidden config switch to disable code integrity checking
This adds a hidden config flag that allows somebody to disable the code integrity check. If `integrity.check.disabled` is set to `true` in the config file:

1. The integrity check functions will return always an empty result
2. The integrity check is not performed when installing apps
3. The integrity check is not performed when updating apps
4. The integrity check is not performed when updating the core

Furthermore this adds support for a list of channels that the code checker will run on. At the moment this is only stable because I didn't want to break any build scripts that we have. Once we have a proper CA setup and updated the build process to sign the releases we can add the RC, alpha, beta as well as daily releases. So everything except "git" basically.
2016-01-12 18:48:36 +01:00
..
app Use proper base class 2015-12-17 17:29:17 +01:00
appframework Fix unit tests 2016-01-11 20:29:48 +01:00
archive Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
backgroundjob Fix the test to expect the new behaviour 2015-12-18 15:05:32 +01:00
cache Removed deprecated private OC_User::createUser 2015-12-17 16:18:40 +01:00
command Add code integrity check 2015-12-01 11:55:20 +01:00
comments Add assertion to test 2015-12-10 09:29:24 +01:00
contacts Add the user's cloud id to the vCard 2015-12-02 09:14:41 +01:00
db Remove OC_DB::getConnection 2016-01-07 14:54:55 +01:00
encryption Adding more DB groups to test suits 2015-11-30 10:55:06 +01:00
files Merge pull request #21216 from owncloud/fopen-statcache 2015-12-28 10:21:26 +01:00
group Apply DB group annotation ... 2015-11-30 10:55:05 +01:00
hooks more type hints 2015-06-02 14:07:55 +02:00
http/client Move the helpful method to the TestCase class 2015-06-03 12:33:29 +02:00
integritycheck Add hidden config switch to disable code integrity checking 2016-01-12 18:48:36 +01:00
lock Remove all locks after ttl from the db 2015-12-09 14:53:24 +01:00
log Replace OC_Config in tests with IConfig calls 2015-12-02 23:14:52 +01:00
mail Run test only when idn is available 2015-10-16 11:02:10 +02:00
memcache Fallback to complete Memcached flush if getAllKeys fails 2015-09-05 20:02:49 +01:00
notification Make sure that object id can be a string 2015-11-23 14:18:15 +01:00
ocs Adding more DB groups to test suits 2015-11-30 10:55:06 +01:00
preview Adding more DB groups to test suits 2015-11-30 10:55:06 +01:00
public Test overriding channel 2015-05-15 22:37:14 +03:00
repair Remove OC_DB::getConnection 2016-01-07 14:54:55 +01:00
security Allow admins to add system wide root certificates 2016-01-12 12:50:59 +01:00
session Write to session in batch at the end of the request 2015-09-09 12:48:37 +02:00
share Removed deprecated function OC_User::deleteUser 2015-12-17 16:18:40 +01:00
share20 [Sharing 2.0] Some error cases report 404 instead of 403 2016-01-06 15:25:29 +01:00
systemtag Fixed system tags DAV and API and docs 2015-12-04 17:30:50 +01:00
template Add tests for correct path 2015-04-20 12:31:35 +02:00
traits Move dummy backend to Tests namespace 2015-09-22 11:01:11 +02:00
user Assign DB group for unit tests 2016-01-04 15:09:01 +01:00
util/user Move dummy backend to Tests namespace 2015-09-22 11:01:11 +02:00
activitymanager.php Add test coverage for Activity Event and Manager 2015-08-20 10:25:49 +02:00
allconfig.php Inject Config into SystemConfig 2015-12-18 11:53:41 +01:00
api.php Merge pull request #18184 from owncloud/ocs-merge-headers 2015-10-21 10:36:37 +02:00
app.php Remove OC_DB::getConnection 2016-01-07 14:54:55 +01:00
appconfig.php Apply DB group annotation ... 2015-11-30 10:55:05 +01:00
archive.php change tests back to check for logo-wide, make them pass again 2015-05-28 23:39:55 +02:00
autoloader.php Move lib/repair to lib/private/repair 2016-01-07 09:14:35 +01:00
avatarmanagertest.php DI in avatar code 2015-12-01 22:15:43 +01:00
avatartest.php Remove all cache avatars on avatar deletion 2016-01-07 20:51:18 +01:00
cache.php Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
capabilitiesmanager.php Use DI 2015-08-10 10:45:16 +02:00
configtests.php Use TempManager instead of tmpFolder 2015-12-18 11:19:53 +01:00
contactsmanager.php Mock interface 2014-12-08 13:18:00 +01:00
datetimeformatter.php Use a fixed timestamp so we dont switch days/years with the getTimestampAgo 2014-12-11 13:22:05 +01:00
db.php Remove OC_DB::insertid 2016-01-07 14:54:55 +01:00
dbschema.php getMediumStrengthGenerator is deprecated and does not do anything anymore 2016-01-11 20:06:30 +01:00
errorHandler.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
files.php Unit test OC_Files::setUploadLimit() 2015-07-20 15:03:09 +01:00
group.php Remove deprecated function OC_User::getManager 2015-12-17 16:18:34 +01:00
helper.php Merge pull request #21288 from owncloud/deprecated_helper_mimetypes 2015-12-18 15:23:05 +01:00
helperstorage.php Removed deprecated function OC_User::deleteUser 2015-12-17 16:18:40 +01:00
hookhelper.php Fire prehooks when uploading directly to storage 2015-05-13 17:47:04 +02:00
httphelper.php Add connection timeout to default POST options 2015-05-26 11:22:50 +02:00
image.php Fix max preview, some resizing and caching issues and force preview providers to resize their previews properly 2015-06-06 16:25:04 +02:00
installer.php Use TempManager instead of tmpFile 2015-12-18 11:25:33 +01:00
l10n.php Remove unused deprecated function 2016-01-11 16:41:46 +01:00
largefilehelper.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
largefilehelpergetfilesize.php Check if open_basedir is set 2014-12-11 00:09:55 +01:00
logger.php Remove passwords from logged exception stack traces 2015-09-24 20:01:30 +02:00
naturalsort.php Add PHPunit test for DefaultCollator 2015-02-24 23:51:08 +01:00
navigationmanagertest.php Add tests for the navigation manager (closure) behaviour 2015-03-16 16:46:17 +01:00
ocsclienttest.php Merge pull request #17222 from owncloud/issue-17101-send-oc-version-to-app-store 2015-06-29 15:07:00 +02:00
preview.php Adding more DB groups to test suits 2015-11-30 10:55:06 +01:00
repair.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
server.php Add 'OCP\Files\IMimeTypeDetector' to DI container 2016-01-07 13:20:43 +01:00
setup.php Run .htaccess updates in any case 2015-12-08 08:16:24 +01:00
streamwrappers.php Use TempManager instead of tmpFile 2015-12-18 11:25:33 +01:00
subadmin.php subadmin methods should not return any null user or group 2015-11-05 11:50:57 +01:00
tags.php Remove OC_DB::getConnection 2016-01-07 14:54:55 +01:00
template.php verify the path in the autoloader 2015-09-01 15:03:28 +02:00
tempmanager.php Unit test getting temp dir from config 2015-08-30 23:34:38 +01:00
testcase.php getLowStrengthGenerator does not do anything anymore 2016-01-11 19:59:15 +01:00
testmoveablemountpoint.php Keep shared locks in post hooks 2015-06-25 16:33:02 +02:00
updater.php Allow downgrades for our brave developers, that switch between branches 2016-01-07 14:18:33 +01:00
urlGenerator.php Add DB group to some files_external tests 2015-11-30 10:55:10 +01:00
user.php Removed deprecated function OC_User::deleteUser 2015-12-17 16:18:40 +01:00
util.php Remove generateRandomBytes from OC_Util 2016-01-10 22:07:33 +01:00
utilcheckserver.php Use OCP\Util::getVersion instead of the internal private implementation 2015-12-18 15:26:54 +01:00