nextcloud/tests/lib
Lukas Reschke f9e90e92d4 Encode HTML tags in JSON
While not encoding the HTML tags in the JSON response is perfectly fine since we set the proper mimetype as well as disable content sniffing a lot of automated code scanner do report this as security bug. Encoding them leads to less discussions and a lot of saved time.
2015-09-03 00:44:46 +02:00
..
app Merge pull request #17434 from owncloud/update-showappnameonappupdate 2015-08-20 11:50:01 +02:00
appframework Encode HTML tags in JSON 2015-09-03 00:44:46 +02:00
archive Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
backgroundjob handle non existing job classes in $jobList->getNext 2015-08-19 14:16:05 +02:00
cache Test for chunk cache garbage collection 2015-06-30 17:34:10 +02:00
command Allow configuring background job mode from the console 2015-03-02 20:51:40 +01:00
connector/sabre Explicitly specify status code 200 as response code 2015-08-25 18:07:40 +02:00
contacts Make class compatible 2014-12-09 12:25:22 +01:00
db Automatically prefix table names with *PREFIX* unless specified 2015-08-10 16:20:42 +02:00
encryption make system root of key storage configurable 2015-08-30 19:00:03 +02:00
files Merge pull request #18423 from owncloud/occ_encrypt_all 2015-08-28 20:44:55 +02:00
group Sort user groups by group name and hide the user count 2015-05-18 12:55:19 +02: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
lock log a warning while trying to acquire a db lock from within a transaction 2015-08-10 14:39:34 +02:00
mail Move the helpful method to the TestCase class 2015-06-03 12:33:29 +02:00
memcache Fix memcache factory unit tests 2015-07-16 03:53:18 +01:00
ocs Replace uniqid calls with $this->getUniqueID so tests pass again on windows 2014-12-03 12:10:55 +01:00
preview Only run some preview unit tets if imagemagick is available 2015-07-02 13:42:55 +02:00
public Test overriding channel 2015-05-15 22:37:14 +03:00
repair Remove unnecessary DB prefixes from existing query builder usages 2015-08-10 16:21:41 +02:00
security don't read certificates if ownCloud is not installed 2015-08-30 19:00:03 +02:00
session Handle failures gracefully, remove switch 2015-08-21 19:16:28 +02:00
share Remove unnecessary DB prefixes from existing query builder usages 2015-08-10 16:21:41 +02:00
template Add tests for correct path 2015-04-20 12:31:35 +02:00
traits add test mountprovider logic to a trait 2015-08-20 16:39:32 +02:00
user introduce names for user backends - IUserBackend 2014-12-19 10:17:17 +01:00
activitymanager.php Add test coverage for Activity Event and Manager 2015-08-20 10:25:49 +02:00
allconfig.php Workaround to fix the too early init dilemma 2014-12-08 22:33:36 +01:00
api.php Replace uniqid calls with $this->getUniqueID so tests pass again on windows 2014-12-03 12:10:55 +01:00
app.php Only do the description kung-fu on strings - fixes #17028 2015-07-01 13:15:13 +02:00
appconfig.php Fix unit test 2015-07-03 18:00:16 +02: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 verify the path in the autoloader 2015-09-01 15:03:28 +02:00
avatar.php Filter potential dangerous filenames for avatars 2015-04-28 16:57:23 +02: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
config.php Add a method to set/unset multiple config values in one call 2015-01-23 11:00: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 Use data provider instead of hand-crafted for loops 2015-04-18 15:19:33 +02:00
dbschema.php Remove remainings of mssql 2015-07-29 18:19:31 +02: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 Do not use uniqid in Group and User tests as it is not unique on windows 2014-11-06 17:36:35 +01:00
helper.php Move the helpful method to the TestCase class 2015-06-03 12:33:29 +02:00
helperstorage.php reduce OC_Preferences, OC_Config and \OCP\Config usage 2014-12-08 22:42:37 +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 Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
l10n.php Merge pull request #14399 from owncloud/ignore-empty-plurals 2015-03-26 20:15:33 +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 OC_Log 2015-07-03 18:00:16 +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 Only run some preview unit tets if imagemagick is available 2015-07-02 13:42:55 +02:00
repair.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
server.php Add a test for the interface 2015-08-28 12:08:54 +02:00
setup.php Check for PDO instead of removed function for PHP 7 compatibility 2015-07-30 12:32:22 +02:00
streamwrappers.php Replace originalStorage in tests with a proper teardown 2015-04-08 12:45:38 +02:00
tags.php remove IDb interface from core class usage 2015-02-25 22:21:24 +01:00
template.php verify the path in the autoloader 2015-09-01 15:03:28 +02:00
tempmanager.php Move the helpful method to the TestCase class 2015-06-03 12:33:29 +02:00
testcase.php allow moving common test logic into traits 2015-08-20 15:17:14 +02:00
testmoveablemountpoint.php Keep shared locks in post hooks 2015-06-25 16:33:02 +02:00
updater.php Do not rely on actual time in unit tests 2015-06-29 17:15:42 +02:00
urlgenerator.php Cache \OC\URLGenerator::imagePath 2015-03-17 12:35:47 +01:00
user.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
util.php Add mitigation against BREACH 2015-08-14 01:31:32 +02:00
utilcheckserver.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00