Commit Graph

97 Commits (ba94de2510b3858f10d60f0230a58b1252346372)

Author SHA1 Message Date
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Joas Schilling 25309bcb45
techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25 2 years ago
Joas Schilling 1b387bb341
fix!: Remove legacy event dispatching Symfony's GenericEvent from AdditionalScripts 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
Christoph Wurst 2c0cfd3772
feat(app-framework): Add native argument types for 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
Christoph Wurst 20e00cdf17
feat(app-framework): Add UseSession attribute to replace annotation 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Julien Veyssier 4a3f3beb0b
use bruteforce protection on all methods wrapped by PublicShareMiddleware 3 years ago
Julius Härtl 64a7489958
Fix SessionMiddlewareTest and cover new case with reopening 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
Christoph Wurst 6d5cfe0c66
Move DateTime::RFC2822 to DateTimeInterface::2822 5 years ago
Christoph Wurst 770881d5d6
Move DateTime::ATOM to DateTimeInterface::ATOM 5 years ago
Joas Schilling 181aab416a
Fix warnings about logException 5 years ago
Joas Schilling b6c6527705
Fix unauthorized OCS status in provisioning 5 years ago
Joas Schilling df47445c01
Fix unit tests 5 years ago
Joas Schilling 174f4dd043
Fix ratelimit template 5 years ago
Roeland Jago Douma cc744740b7 Remove deprecated \OCP\API 5 years ago
Morris Jobke f03bb4716b
Remove OCSResponse type hint - see #23827 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
Roeland Jago Douma 7d7ba61625
Add real events to load additionalscripts 6 years ago
Holger Hees e70249e089
Update SecurityMiddleware.php 6 years ago
Roeland Jago Douma 12fa748c49
Move the notmodified check to middleware where it belongs 6 years ago
Roeland Jago Douma 203d7eb1d3
Add AppFramework GZip middleware to gzip responses 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
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Roeland Jago Douma 3f12ec95f0
SessionMiddleware: declare session property 6 years ago
Roeland Jago Douma f81817b47d
Add tests 6 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 b68567e9ba
Add StandaloneTemplateResponse 7 years ago
Roeland Jago Douma d88604015a
No need to emit additonalscript event on public pages 7 years ago
Roeland Jago Douma d182037bce
Emit to load additionalscripts 7 years ago
Roeland Jago Douma 8c1e75e052
Do not use file as template parameter 8 years ago