135 Commits (3da33ce3fccd2ea390d1e211aba838330f1e2c80)

Author SHA1 Message Date
dependabot-preview[bot] eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 5 years ago
Morris Jobke 24d436cb60
Remove unneeded casts that were found by Psalm 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Julius Härtl f5501ca276
Avoid checking for brute force protection capabilities when upgrading 5 years ago
Joas Schilling 5b5aebbf66
Replace the credentials table with one that can have empty user 5 years ago
Joas Schilling 1aa9c9164d
Fix comparing the empty string for global credentials 5 years ago
Joas Schilling 8027dcbc6f
Don't leave cursors open when tests fail 5 years ago
Roeland Jago Douma 54b9f639a6
Always return the default path if we can 5 years ago
Morris Jobke dc479aae2d
Improve CertificateManager to not be user context dependent 5 years ago
lynn-stephenson 648b60fa0e
Derive encryption key & MAC key from a single key. 5 years ago
Roeland Jago Douma 8fae2beece
Limit throttler to 48 hours 5 years ago
Roeland Jago Douma 6c1b542def
Add cleanup job for old brutefoce attempts 5 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Morris Jobke 99c9423766
Remove @suppress SqlInjectionChecker 5 years ago
Joas Schilling c25063dc07
Don't break when the IP is empty 5 years ago
Christoph Wurst 2a054e6c04
Update the license headers for Nextcloud 20 5 years ago
Joas Schilling 35a8519591
Fix CS 5 years ago
Joas Schilling 770381c0c6
Correctly return ms delay when at max 5 years ago
Joas Schilling 931aca2fee
Add missing default 6 years ago
Joas Schilling d9c4c9eb99
Simplify array filter 6 years ago
Joas Schilling dfeee3b850
Fix wrong doc + type hint 6 years ago
Joas Schilling 8376c4891f
Only throw when also the last 30 mins were attacking 6 years ago
Joas Schilling 6f751d01db
Make the throttling O(2^n) instead of O(n^n) 6 years ago
Joas Schilling 64539a6ee1
Make Throttler strict 6 years ago
Joas Schilling c8fea66d65
Split delay calculation from getting the attempts 6 years ago
Joas Schilling cdb36c8ead
Let the database count the entries 6 years ago
Joas Schilling e66bc4a8a7
Send "429 Too Many Requests" in case of brute force protection 6 years ago
Morris Jobke c0be7e329f
Prefer typed event over string based ones 5 years ago
Morris Jobke bd997a105c
Fix code style 6 years ago
Roeland Jago Douma 35ff4aa1c6
Use random_bytes 6 years ago
MichaIng 229570badf
Apply Argon2 options for Argon2id hashing as well 6 years ago
MichaIng ad60619655
Fix Argon2 options checks 6 years ago
Christoph Wurst cb057829f7
Update license headers for 19 6 years ago
Arthur Schiwon 5437844b7e
fix credentialsManager documentation and ensure userId to be used as string 6 years ago
Christoph Wurst 28f8eb5dba
Add visibility to all constants 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 41b5e5923a
Use exactly one empty line after the namespace declaration 6 years ago
Christoph Wurst 2fbad1ed72
Fix (array) indent style to always use one tab 6 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Johannes Riedel 0c38569c83 Implement occ command security:bruteforceattemps:reset-for-ip 6 years ago
Pavel Krasikov f11dee9bc4 fix safari useragent for versions with 3 digits 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
Arthur Schiwon f92ba2cebe
ignore values that undershoot the minimum, go with default 6 years ago
blizzz 56c3ba6ac7
use getSystemValueInt 6 years ago
Arthur Schiwon 171bb98229
expose Argon2 options (as we did for bcrypt) 6 years ago
Christoph Wurst 1b46621cd3
Update license headers for 18 6 years ago