Commit Graph

90 Commits (2bc77a3c5aff352cdc19aa683bbb36da2ff20b01)

Author SHA1 Message Date
provokateurin 504eae65bd
refactor: Apply rector Nextcloud 27 set 3 months ago
Robin Appelman aa15f9d16d
chore: run rector 6 months ago
Ferdinand Thiessen 5981b7eb51
chore: apply new CSFixer rules 6 months ago
Robin Appelman 3561937816
chore: run rector on tests with new rule 7 months ago
Robin Appelman 29e39c0a2e
chore: run rector on tests 7 months ago
Joas Schilling 5f9117b939
test: Fix coding standards 8 months ago
Joas Schilling 720ab52e07
test: Fix tests/lib/App* 8 months ago
Joas Schilling 53b116b8a5
test: Remove more withConsecutive 8 months ago
Joas Schilling c1655bcde7
fix(ratelimit): Allow to bypass rate-limit from bruteforce allowlist 11 months ago
Louis Chemineau 512f3caf57
test:(PasswordConfirmationMiddleware): Fix constructor call 1 year ago
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods 1 year ago
Ferdinand Thiessen 92f3f7e2d2
chore: Remove unused `CsrfTokenManager` from `CSPMiddleware` 1 year ago
Robin Appelman 8b60df1600
perf: delay getting (sub)admin status for user in the security middleware untill we need it 1 year ago
Ferdinand Thiessen 2916e5df7e
feat: Provide CSP nonce as `<meta>` element 1 year ago
Ferdinand Thiessen 009761be58
test: Adjust tests for CSP nonce 1 year ago
Joas Schilling 047479ccf9
feat(security): Add public API to allow validating IP Ranges and checking for "in range" 1 year ago
Benjamin Gaussorgues 202e5b1e95
feat(security): restrict admin actions to IP ranges 1 year ago
provokateurin e5dcdfb9e0
feat(Security): Warn about using annotations instead of attributes 1 year ago
provokateurin 5aefdc399e
feat(AppFramework): Add ExAppRequired attribute 2 years ago
Arthur Schiwon f6d6efef3a
refactor(Token): introduce scope constants 2 years ago
Arthur Schiwon 340939e688
fix(Session): avoid password confirmation on SSO 2 years ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Florian Klinger f3a4abd98c
fix: add check for app_api_system session flag to bypass rate limit 2 years ago
Joas Schilling 25309bcb45
techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25 2 years ago
Joas Schilling 3a6bc7aba2
fix(middleware): Also abort the request when reaching max delay in afterController 3 years ago
Joas Schilling ecb8b55c5c
feat(security): Add PHP \Attribute for remaining security annotations 3 years ago
Joas Schilling 89c3c31402
feat(ratelimit): Add Attributes support to rate limit middleware 3 years ago
Joas Schilling 2b49861679
Add a debug message when throttling without defining 3 years ago
Joas Schilling e839eb9b5c
feat(middleware): Migrate BruteForceProtection annotation to PHP Attribute and allow multiple 3 years ago
Ferdinand Thiessen f655f83c84 fix(CORS): CORS should only be bypassed on `PublicPage` if not logged in to prevent CSRF attack vectors 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Joas Schilling f9efc410fa
Restore old behaviour of sending flase for not found apps 4 years ago
Carl Schwan b70c6a128f Update core to PHP 7.4 standard 4 years ago
Joas Schilling d078d53683
Fix tests 4 years ago
Carl Schwan 6312c0df69
Check style update 4 years ago
Carl Schwan 6958d8005a
Add admin privilege delegation for admin settings 4 years ago
Joas Schilling 181aab416a
Fix warnings about logException 5 years ago
Joas Schilling df47445c01
Fix unit tests 5 years ago
Joas Schilling 174f4dd043
Fix ratelimit template 5 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Joas Schilling a9f22ac7b1
More test fixing 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 2a529e453a
Use a blank line after the opening tag 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