Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make the ITimeFactory strict + return types | Roeland Jago Douma | 2018-01-14 | 1 | -2/+2 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Update license headers | Morris Jobke | 2017-11-06 | 2 | -0/+3 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Add isset() as it can be an empty result | Lukas Reschke | 2017-04-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | Add support for ratelimiting via annotations | Lukas Reschke | 2017-04-13 | 1 | -29/+26 |
| | | | | | | | | | | | | | 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> | ||||
* | handle optional annotation parameters | Bjoern Schiessle | 2017-01-18 | 1 | -2/+19 |
| | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org> | ||||
* | Fix the regex for annotations with values | Joas Schilling | 2017-01-18 | 1 | -1/+1 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | When we can not create the class, try if the variable is a registered service | Joas Schilling | 2016-10-05 | 1 | -0/+3 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Merge pull request #1426 from nextcloud/sanitze_opt | Lukas Reschke | 2016-09-26 | 1 | -1/+4 |
|\ | | | | | Optimize sanitizeName | ||||
| * | Optimize sanitizeName | Roeland Jago Douma | 2016-09-16 | 1 | -1/+4 |
| | | |||||
* | | Use default value instead of throwing when the service could not be found | Joas Schilling | 2016-09-20 | 1 | -1/+10 |
|/ | |||||
* | Fix others | Joas Schilling | 2016-07-21 | 3 | -4/+7 |
| | |||||
* | Update license headers | Lukas Reschke | 2016-05-26 | 1 | -1/+1 |
| | |||||
* | Move \OC\AppFramework to PSR-4 | Roeland Jago Douma | 2016-04-22 | 3 | -0/+324 |
* Also moved the autoloader setup a bit up since we need it in initpaths |