nextcloud/tests/lib
Lukas Reschke a05b8b7953
Harden cookies more appropriate
This adds the __Host- prefix to the same-site cookies. This is a small but yet nice security hardening.

See https://googlechrome.github.io/samples/cookie-prefixes/ for the implications.

Fixes https://github.com/nextcloud/server/issues/1412

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-23 12:53:44 +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 push public user data to the lookup server 2016-11-21 11:29:59 +01:00
AppFramework Harden cookies more appropriate 2016-11-23 12:53:44 +01:00
Archive Remove unneeded checks if it runs on a Windows machine 2016-07-08 15:55:17 +02:00
Authentication add test 2016-11-16 15:24:33 +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 Move the validation into one place only 2016-11-21 09:23:37 +01:00
Group Fix getMock MetaDataTest 2016-09-07 20:42:37 +02:00
Hooks Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
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
Lockdown Add test for setting up fake fs 2016-11-16 15:24:32 +01:00
Log Renamed test classes for file logging tests. 2016-07-22 14:47:50 +02:00
Mail Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
Memcache Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
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 Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
Preview Dispatch event on preview request 2016-11-10 14:28:09 +01:00
PublicNamespace Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
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 Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
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 Act on effective system tag canAssign permission 2016-05-20 17:56:02 +02:00
Template Fix getMock Template 2016-09-07 20:42:38 +02:00
Traits Fix phpunit Trait warning 2016-07-08 19:36:17 +02:00
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 Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
APITest.php FIx lib/ a-d 2016-05-19 09:27:21 +02:00
AllConfigTest.php Revert "Downstream 2016-06-08" 2016-06-09 17:41:57 +02:00
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 Fix unit tests 2016-05-20 16:35:07 +02:00
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 FIx lib/ a-d 2016-05-19 09:27:21 +02:00
ContactsManagerTest.php FIx lib/ a-d 2016-05-19 09:27:21 +02:00
DateTimeFormatterTest.php Fix more tests 2016-10-28 22:16:28 +02:00
ErrorHandlerTest.php FIx lib/ a-d 2016-05-19 09:27:21 +02:00
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 Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
ImageTest.php Remove unneeded checks if it runs on a Windows machine 2016-07-08 15:55:17 +02:00
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 Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
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 Fix lib/ 2016-05-19 09:38:52 +02:00
NavigationManagerTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
PreviewTest.php Fix failing preview unit tests (#26039) 2016-09-12 16:46:39 +02:00
RepairStepTest.php Fix lib/ 2016-05-19 09:38:52 +02:00
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 Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
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 Fix lib/ 2016-05-19 09:38:52 +02:00
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 Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
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 Fix failing tests after db split 2016-07-13 09:26:19 +02:00
UtilCheckServerTest.php Remove unneeded checks if it runs on a Windows machine 2016-07-08 15:55:17 +02:00
UtilTest.php Add system config htaccess.IgnoreFrontController for prettyURLs w/o mod_env 2016-11-16 22:28:49 +01:00