Commit Graph

112 Commits (ba94de2510b3858f10d60f0230a58b1252346372)

Author SHA1 Message Date
Joas Schilling 33e1c8b236
fix(security): Handle idn_to_utf8 returning false 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Ferdinand Thiessen ecf9f0a872
fix(CSP): Only add `strict-dynamic` when using nonces 2 years ago
Ferdinand Thiessen e231abd9bf
fix!(ContentSecurityPolicy): Make `strict-dynamic` enabled by default on `script-src-elem` 2 years ago
Joas Schilling 124588d4a6
fix: Make bypass function public API 2 years ago
Joas Schilling fd9b2d488e
feat: Expose if the own IP is allowed to bypass bruteforce protection 2 years ago
Joas Schilling a95800c647
feat(security): Add a bruteforce protection backend base on memcache 2 years ago
Joas Schilling 030e8d8916
fix: Align doc type with creation 2 years ago
Christoph Wurst 08a3f37695
chore(appframework)!: Drop \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript 3 years ago
Côme Chilliet 8d5165e8dc
Adapt tests to config value typing 3 years ago
Joas Schilling 454281af03
feat(security): Allow to opt-out of ratelimit protection, e.g. for testing on CI 3 years ago
Arthur Schiwon 997c2a2a79
fix DBAL exception handling in setValues 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Côme Chilliet 0f7e56b3b3
Fix syntax in VerificationTokenTest.php 3 years ago
Côme Chilliet 70e2217d1c
Fix dynamic properties and other problems in tests for PHP 8.2 3 years ago
Christoph Wurst 8aea25b5b9
Add remote host validation API 3 years ago
Côme Chilliet 6f80fe6ada
Remove deprecated at matcher from tests/lib 3 years ago
Vincent Petry 01dbd22c9c
Validate requested length is random string generator 4 years ago
Vincent Petry 18c013d8fc
Add CSP policy merge priority for booleans 4 years ago
Côme Chilliet 61f7f13bd8
Migrate from ILogger to LoggerInterface where needed in the tests 4 years ago
Julius Härtl bd03dd37be
Allow to set a strict-dynamic CSP through the API 4 years ago
Carl Schwan 6312c0df69
Check style update 4 years ago
Vincent Petry f01ad7b8d8
Improve normalizer detecting IPv4 inside of IPv6 4 years ago
Vincent Petry 7e08a4ab15
Fix getting subnet of ipv4 mapped ipv6 addresses 4 years ago
Joas Schilling c42f5bc5f6
Add an OCP for trusted domain helper 4 years ago
Julius Härtl 9161f6ca4a Remove tests that just prove mocked calls and don't actually validate anything useful 4 years ago
Arthur Schiwon a20de15b43
add a job to clean up expired verification tokens 4 years ago
Arthur Schiwon 19cc757531
move verification token logic out of lost password controller 4 years ago
Lukas Reschke 6337bb3f59 Adjust tests 4 years ago
Lukas Reschke 378cc922c4 Adjust logic to store period instead of current timestamp 4 years ago
Joas Schilling 2a11713337 Update CredentialsManagerTest.php 5 years ago
Joas Schilling c6978bac80
Fix security credentials manager test 5 years ago
J0WI ca7b37ce5a Make Security module strict 5 years ago
Lukas Reschke e5a4236e68 Increase subnet matcher 5 years ago
dependabot-preview[bot] eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 5 years ago
Christoph Wurst 8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0 5 years ago
Morris Jobke dc479aae2d
Improve CertificateManager to not be user context dependent 5 years ago
lynn-stephenson a3bdb0c4cb
Implement unit tests for versions 1 and 2. 5 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Joas Schilling c25063dc07
Don't break when the IP is empty 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Roeland Jago Douma 35ff4aa1c6
Use random_bytes 6 years ago
MichaIng ad60619655
Fix Argon2 options checks 6 years ago
Arthur Schiwon 5437844b7e
fix credentialsManager documentation and ensure userId to be used as string 6 years ago
Arthur Schiwon f6cb452037
add DB tests for credentials manager 6 years ago
Christoph Wurst 1584c9ae9c
Add visibility to all methods and position of static keyword 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 2a529e453a
Use a blank line after the opening tag 6 years ago
Christoph Wurst 41b5e5923a
Use exactly one empty line after the namespace declaration 6 years ago