summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework/Utility
Commit message (Collapse)AuthorAgeFilesLines
* Make the ITimeFactory strict + return typesRoeland Jago Douma2018-01-141-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-062-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add isset() as it can be an empty resultLukas Reschke2017-04-131-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add support for ratelimiting via annotationsLukas Reschke2017-04-131-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 parametersBjoern Schiessle2017-01-181-2/+19
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix the regex for annotations with valuesJoas Schilling2017-01-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* When we can not create the class, try if the variable is a registered serviceJoas Schilling2016-10-051-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #1426 from nextcloud/sanitze_optLukas Reschke2016-09-261-1/+4
|\ | | | | Optimize sanitizeName
| * Optimize sanitizeNameRoeland Jago Douma2016-09-161-1/+4
| |
* | Use default value instead of throwing when the service could not be foundJoas Schilling2016-09-201-1/+10
|/
* Fix othersJoas Schilling2016-07-213-4/+7
|
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Move \OC\AppFramework to PSR-4Roeland Jago Douma2016-04-223-0/+324
* Also moved the autoloader setup a bit up since we need it in initpaths