nextcloud/lib
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
..
composer Merge pull request #3614 from nextcloud/discover-federatedsharing-endpoints 2017-04-12 16:01:07 +02:00
l10n [tx-robot] updated from transifex 2017-04-13 00:08:02 +00:00
private Add support for ratelimiting via annotations 2017-04-13 12:00:16 +02:00
public Merge pull request #4307 from nextcloud/sharing-emails 2017-04-12 21:23:11 +02:00
autoloader.php Revert "Add a magic wrapper to allow phpunit4 to run the code again " 2017-03-20 14:25:43 +01:00
base.php Move OC_Defaults to OCP\Defaults 2017-04-09 21:43:01 -05:00