summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework/Routing
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Match slashes in ../{id} resource routes"Roeland Jago Douma2017-04-181-7/+1
| | | | | | This reverts commit 31f9be7a75712e9f8b7831ed29397527f9fa8baf. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Match slashes in ../{id} resource routesRoeland Jago Douma2017-04-041-1/+7
| | | | | | | | | | Fixes #2954 Before we could match on <prefix>/{id} however if the id contains a / this would not match properly. But since we define the resource routes internally we now make sure that we match all chars (up until the ?). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Cache the build ControllerNameRoeland Jago Douma2016-09-111-1/+15
| | | | | | | | | Often a route.php file will have many N routes but only M controllers. Where N >= M. Which means that in most cases the ControllerName will be converted multiple times. This is of course far from ideal. Note that this is per app so the cache will contain at most N entries. Which is not to bad.
* Allow ocs/v2.php/cloud/... routesRoeland Jago Douma2016-08-081-1/+7
| | | | | | | | | | | | | | | 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-211-1/+1
|
* Fix othersJoas Schilling2016-07-212-4/+6
|
* Add route testsRoeland Jago Douma2016-07-181-1/+1
|
* Allow registering of OCS routes with the appframeworkRoeland Jago Douma2016-07-181-0/+55
|
* Update license headersLukas Reschke2016-05-262-0/+2
|
* Move \OC\AppFramework to PSR-4Roeland Jago Douma2016-04-222-0/+247
* Also moved the autoloader setup a bit up since we need it in initpaths