nextcloud/apps/testing
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
..
appinfo Add support for ratelimiting via annotations 2017-04-13 12:00:16 +02:00
img Svgo optimization 2016-09-27 20:56:26 +02:00
lib Add support for ratelimiting via annotations 2017-04-13 12:00:16 +02:00
locking Fix apps/ 2016-07-21 18:13:57 +02:00
clean_opcode_cache.php Clear opcode cache after config change 2017-04-11 18:57:40 +02:00