server/tests/lib/AppFramework
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
..
Controller Fix unit tests 2017-03-28 21:00:12 -06:00
Db Fix getMock MapperTestUtility 2016-09-07 20:42:37 +02:00
DependencyInjection Add DI intergration tests 2017-03-21 08:52:20 +01:00
Http Don't try to parse empty body if there is no body 2017-04-04 08:22:33 +02:00
Middleware Add support for ratelimiting via annotations 2017-04-13 12:00:16 +02:00
Routing Allow ocs/v2.php/cloud/... routes 2016-08-08 15:01:26 +02:00
Utility add some unit tests 2017-01-18 15:25:16 +01:00
AppTest.php No body or content-length for 204 and 304 responses 2016-08-31 23:07:48 +02:00