nextcloud-server/core
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 +07:00
..
Command Move OC_Defaults to OCP\Defaults 2017-04-09 21:43:01 +07:00
Controller Add support for ratelimiting via annotations 2017-04-13 12:00:16 +07:00
Middleware
ajax Check that set_time_limit is not disabled before calling it 2017-03-11 17:04:21 +07:00
css Merge pull request #4136 from nextcloud/expire-date-for-all-shares 2017-04-07 17:14:05 +07:00
doc
fonts
img Web app manifest 2017-03-28 18:39:57 +07:00
js Move to handlebars.min.js 2017-04-12 22:22:38 +07:00
l10n [tx-robot] updated from transifex 2017-04-13 00:08:02 +07:00
search Remove single quotes around search query like in user search 2017-03-15 12:53:44 +07:00
skeleton
templates Removes unused code for link share emails 2017-04-11 17:32:48 +07:00
vendor Move to handlebars.min.js 2017-04-12 22:22:38 +07:00
Application.php Move OC_Defaults to OCP\Defaults 2017-04-09 21:43:01 +07:00
register_command.php Adding tests for 4 byte unicode characters 2017-03-21 16:42:12 +07:00
routes.php Merge pull request #4027 from nextcloud/better-spreed-call-urls 2017-03-27 16:21:24 +07:00
shipped.json Fix tests 2017-04-04 10:29:12 +07:00
strings.php