nextcloud/core/Controller
Lukas Reschke 66835476b5
Add support for ratelimiting via annotations
This allows adding rate limiting via annotations to controllers, as one example:

```
@UserRateThrottle(limit=5, period=100)
@AnonRateThrottle(limit=1, period=100)
```

Would mean that logged-in users can access the page 5 times within 100 seconds, and anonymous users 1 time within 100 seconds. If only an AnonRateThrottle is specified that one will also be applied to logged-in users.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-13 12:00:16 +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 Dont create a log entry on email login 2017-04-07 10:15:20 +02:00
LostController.php Add support for ratelimiting via annotations 2017-04-13 12:00:16 +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