server/apps/files_sharing/lib/Controller
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
..
ExternalSharesController.php Move files_sharing Controllers => Controller 2016-10-24 11:46:25 +02:00
PublicPreviewController.php More tests 2016-11-03 14:00:33 +01:00
RemoteController.php Move remote_shares OCS endpoint to AppFramework 2016-09-09 07:40:33 +02:00
ShareAPIController.php share api expanded by tags (#26583) 2017-04-11 11:54:13 -05:00
ShareController.php Add support for ratelimiting via annotations 2017-04-13 12:00:16 +02:00
ShareesAPIController.php shares-circles 2017-03-17 18:48:33 -01:00