Commit Graph

39 Commits (1f42657bb9ea76353fbc02ee100cff5755b6384d)

Author SHA1 Message Date
Joas Schilling 181aab416a
Fix warnings about logException 5 years ago
Joas Schilling df47445c01
Fix unit tests 5 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Holger Hees e70249e089
Update SecurityMiddleware.php 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Roeland Jago Douma 37a4282c7a
Split up security middleware 7 years ago
Christoph Wurst 22ae682823
Make it possible to show admin settings for sub admins 7 years ago
Roeland Jago Douma 8c1e75e052
Do not use file as template parameter 7 years ago
Roeland Jago Douma 3ad7daeda5
Add tests 8 years ago
Morris Jobke cf35c4b03a
Provide translated error message for permission error 8 years ago
Roeland Jago Douma 7405dfb544
Update tests 8 years ago
Joas Schilling bf2be08c9f
Fix risky tests without assertions 8 years ago
Joas Schilling 870023365c
Fix "Undefined method setExpectedException()" 8 years ago
Morris Jobke 2a38605545
Properly log the full exception instead of only the message 8 years ago
Roeland Jago Douma 57050146f6
Move passwordconfirmation to its own midleware 8 years ago
Bjoern Schiessle 1bcbeb24bc
disable password confirmation with SSO 8 years ago
Morris Jobke ce0c45a4ea
Use proper DI for security middleware for app enabled check 8 years ago
Roeland Jago Douma f71dc7523f
Fix tests 9 years ago
Lukas Reschke 8149945a91
Make BruteForceProtection annotation more clever 9 years ago
Lukas Reschke a1ae5275f9
Move to dedicated MiddleWare 9 years ago
Lukas Reschke 66835476b5
Add support for ratelimiting via annotations 9 years ago
Bjoern Schiessle 0271ae3b46
add some unit tests 9 years ago
Joas Schilling b2d9c20aac
Fix unit tests 9 years ago
Christoph Wurst 0ebffa4a5f do not double encode the redirect url 9 years ago
Roeland Jago Douma e351ba56f1
Move browserSupportsCspV3 to CSPNonceManager 9 years ago
Lukas Reschke 9e6634814e
Add support for CSP nonces 9 years ago
Roeland Jago Douma 6dace7f6ad
Add tests 9 years ago
Roeland Jago Douma 5c718b13b8
We should properly check for 'true' instaed of the bool 10 years ago
Roeland Jago Douma f7f5216aa3
Dark hackery to not always disable CSRF for OCS controllers 10 years ago
Lukas Reschke a299fa38a9
[master] Port Same-Site Cookies to master 10 years ago
Roeland Jago Douma 2fa9e67294
Fix phpunit-5.4 wargning 10 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago
Joas Schilling 9eade36ae5
Fix namespaces in AppFramework tests 10 years ago
Roeland Jago Douma 4eebccd81f
Fix inconsistent nameing of AppFramework 10 years ago
Lukas Reschke 331e4efacb
Move login form into controller 10 years ago
Lukas Reschke 809ff5ac95 Add public API to give developers the possibility to adjust the global CSP defaults 10 years ago
Lukas Reschke f4eb15d340 Show error template 10 years ago
Lukas Reschke 8133d46620 Remove dependency on ICrypto + use XOR 10 years ago
Lukas Reschke 8313a3fcb3 Add mitigation against BREACH 11 years ago
Lukas Reschke 886bda5f81 Refactor OC_Request into TrustedDomainHelper and IRequest 11 years ago
Lukas Reschke 770fa761b8 Respect `mod_unique_id` and refactor `OC_Request::getRequestId` 11 years ago
Joas Schilling 6202ca33ba Make remaining files extend the test base 11 years ago
Lukas Reschke cd5925036a Check if app is enabled for user 11 years ago