nextcloud/core/Controller
Lukas Reschke 8149945a91
Make BruteForceProtection annotation more clever
This makes the new `@BruteForceProtection` annotation more clever and moves the relevant code into it's own middleware.

Basically you can now set `@BruteForceProtection(action=$key)` as annotation and that will make the controller bruteforce protected. However, the difference to before is that you need to call `$responmse->throttle()` to increase the counter. Before the counter was increased every time which leads to all kind of unexpected problems.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-13 23:05:33 +02:00
..
AvatarController.php Cache all avatar responses 2016-11-30 09:43:36 +01:00
CssController.php Fix gzip files for Safari 2017-03-29 00:11:51 -06:00
JsController.php Fix gzip files for Safari 2017-03-29 00:11:51 -06:00
LoginController.php Make BruteForceProtection annotation more clever 2017-04-13 23:05:33 +02:00
LostController.php Merge pull request #4308 from nextcloud/lost-password-email 2017-04-13 20:02:15 +02:00
OCJSController.php Move OC_Defaults to OCP\Defaults 2017-04-09 21:43:01 -05:00
OCSController.php unify endpoints form core and the the provisioning api 2017-01-25 11:20:35 +01:00
PreviewController.php Add cache 1 day cache to preview endpoint 2016-11-03 14:00:33 +01:00
SetupController.php Fix public page css fallback loading 2017-02-01 18:03:51 +01:00
TwoFactorChallengeController.php fix coding style and increase code coverage 2017-01-11 11:01:54 +01:00
UserController.php UserController does not require Defaults 2016-08-29 21:14:50 +02:00