server/tests/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
..
AvatarControllerTest.php Check the mimetype before reading the content and catch exception 2016-10-18 16:22:20 +02:00
ChangePasswordControllerTest.php Properly catch password policy hint for personal page password changes 2016-10-06 10:55:33 +02:00
CssControllerTest.php Fix gzip files for Safari 2017-03-29 00:11:51 -06:00
JsControllerTest.php Fix gzip files for Safari 2017-03-29 00:11:51 -06:00
LoginControllerTest.php Make BruteForceProtection annotation more clever 2017-04-13 23:05:33 +02:00
LostControllerTest.php Update email template for lost password email 2017-04-12 15:19:53 -05:00
OCSControllerTest.php unify endpoints form core and the the provisioning api 2017-01-25 11:20:35 +01:00
PreviewControllerTest.php Add cache 1 day cache to preview endpoint 2016-11-03 14:00:33 +01:00
TwoFactorChallengeControllerTest.php fix coding style and increase code coverage 2017-01-11 11:01:54 +01:00
UserControllerTest.php Adds user controller tests 2016-12-30 13:26:26 +01:00