Commit Graph

105 Commits (2ea7719bfa4280220c7dfc9fbfec97b61ba33112)

Author SHA1 Message Date
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
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 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 12e1c469cf
Add Argon2id support 6 years ago
Roeland Jago Douma 0d651f106c
Allow selecting the hashing algorithm 6 years ago
Julius Härtl d05f131929
Move overwritehost check to isTrustedDomain 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago