Commit Graph

60 Commits (master)

Author SHA1 Message Date
Côme Chilliet 1ab09ec753
chore: Apply new coding standard to all files 1 week ago
Anna Larch d30f3c491d test: replace checkbox assertions with DoesNotPerformAssertions (middleware) 2 weeks ago
Ferdinand Thiessen e5b1799079
chore: add missing `Override` attribute to test files 1 month ago
nextcloud-command 1ed0769d4c refactor: Apply rector changes 3 months ago
Côme Chilliet 91334643dc
fix(tests): Adapt Middleware tests to API change 3 months ago
Carl Schwan f81475445d
refactor: Move hasAnnotationOrAttribute to MiddlewareUtils 4 months ago
Robin Appelman aa15f9d16d
chore: run rector 11 months ago
Ferdinand Thiessen 5981b7eb51
chore: apply new CSFixer rules 11 months ago
Robin Appelman 29e39c0a2e
chore: run rector on tests 1 year ago
Joas Schilling 720ab52e07
test: Fix tests/lib/App* 1 year ago
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods 2 years ago
Robin Appelman 8b60df1600
perf: delay getting (sub)admin status for user in the security middleware untill we need it 2 years ago
Joas Schilling 047479ccf9
feat(security): Add public API to allow validating IP Ranges and checking for "in range" 2 years ago
Benjamin Gaussorgues 202e5b1e95
feat(security): restrict admin actions to IP ranges 2 years ago
provokateurin 5aefdc399e
feat(AppFramework): Add ExAppRequired attribute 2 years ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Joas Schilling ecb8b55c5c
feat(security): Add PHP \Attribute for remaining security annotations 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 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 5 years ago
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 6 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 6 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 7 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 7 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 7 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 8 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 9 years ago
Roeland Jago Douma 57050146f6
Move passwordconfirmation to its own midleware 9 years ago
Bjoern Schiessle 1bcbeb24bc
disable password confirmation with SSO 9 years ago
Morris Jobke ce0c45a4ea
Use proper DI for security middleware for app enabled check 9 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 10 years ago