summaryrefslogtreecommitdiffstats
path: root/lib/private/Route
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersChristoph Wurst2019-12-053-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-3/+3
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #17509 from nextcloud/fix/application-singletonJohn Molakvoæ2019-11-041-1/+1
|\ | | | | Fix Application instances created multiple times
| * Make sure we create an app's Application class just onceChristoph Wurst2019-10-111-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Dont cache empty url for not found routesRobin Appelman2019-10-181-1/+3
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Move settings to an appChristoph Wurst2019-09-281-2/+3
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Make sure maintenance mode is always casted to boolJoas Schilling2019-02-221-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use type casting instead of *val() methodMorris Jobke2018-01-261-1/+1
| | | | | | It should be up to 6x faster Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-062-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix require once for actionIncludeMorris Jobke2017-08-091-1/+1
| | | | | | * regression from #5791 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* User proper anonymous functionRoeland Jago Douma2017-08-091-5/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* PrivateData to appRoeland Jago Douma2017-07-211-2/+0
| | | | | | | * PrivateData is an app now: https://github.com/nextcloud/privatedata * No need to load the OCS routes.php (as there is none!) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Check whether the $_SERVER['REQUEST_*'] vars exist before using themJoas Schilling2017-05-151-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add system config htaccess.IgnoreFrontController for prettyURLs w/o mod_envFelix Epp2016-11-161-1/+2
| | | | | | | Added the system config which sets all conditions to true that query the FrontControllerActive mod_env variable. Signed-off-by: Felix A. Epp <work@felixepp.de>
* Allow OCS routes in Core and SettingsRoeland Jago Douma2016-08-091-0/+5
|
* Allow ocs/v2.php/cloud/... routesRoeland Jago Douma2016-08-081-1/+1
| | | | | | | | | | | | | | | One of the possibilities of the old OCS API is that you can define the url yourself. This PR makes this possible again by adding an optional root elemenet to the route. Routes are thus: .../ocs/v2.php/<root>/<url> By default <root> = apps/<app> This will allow for example the provisioning API etc to be in ../ovs/v2/php/cloud/users
* Update with robinJoas Schilling2016-07-213-3/+3
|
* Fix othersJoas Schilling2016-07-213-6/+9
|
* Make the router handle OCS AppFramework RoutesRoeland Jago Douma2016-07-181-0/+12
|
* Update license headersLukas Reschke2016-05-262-1/+3
|
* Read only onceLukas Reschke2016-05-021-2/+3
| | | | This can lead to race conditions otherwise. Also depracted hasKey
* Move \OC\Route to PSR-4Roeland Jago Douma2016-04-253-0/+582