nextcloud/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 +02:00
..
Command Move OC_Defaults to OCP\Defaults 2017-04-09 21:43:01 -05:00
Controller Add support for ratelimiting via annotations 2017-04-13 12:00:16 +02:00
Middleware prevent infinite redirect loops if the there is no 2fa provider to pass 2016-08-24 10:49:23 +02:00
ajax Check that set_time_limit is not disabled before calling it 2017-03-11 17:04:21 +01:00
css Merge pull request #4136 from nextcloud/expire-date-for-all-shares 2017-04-07 17:14:05 -05:00
doc changed to nextcloud 2016-06-22 08:20:23 +02:00
fonts move font back from Light to Regular for body text on normal-res screens, fix #18954 2015-11-10 16:12:42 +01:00
img Web app manifest 2017-03-28 18:39:57 -06:00
js Move to handlebars.min.js 2017-04-12 22:22:38 +02:00
l10n [tx-robot] updated from transifex 2017-04-13 00:08:02 +00:00
search Remove single quotes around search query like in user search 2017-03-15 12:53:44 +01:00
skeleton ownCloud -> Nextcloud 2016-07-28 15:47:04 +02:00
templates Removes unused code for link share emails 2017-04-11 17:32:48 -05:00
vendor Move to handlebars.min.js 2017-04-12 22:22:38 +02:00
Application.php Move OC_Defaults to OCP\Defaults 2017-04-09 21:43:01 -05:00
register_command.php Adding tests for 4 byte unicode characters 2017-03-21 16:42:12 -06:00
routes.php Merge pull request #4027 from nextcloud/better-spreed-call-urls 2017-03-27 16:21:24 +02:00
shipped.json Fix tests 2017-04-04 10:29:12 +02:00
strings.php Update with robin 2016-07-21 18:13:58 +02:00