summaryrefslogtreecommitdiffstats
path: root/lib/private/route
Commit message (Collapse)AuthorAgeFilesLines
* Also match routes without trailing slashJoas Schilling2014-09-221-1/+20
| | | | Fix #11209
* introduce and use getCurrentConnection()Jörn Friedrich Dreyer2014-07-011-0/+16
|
* Prevent loadApps on upgradeVincent Petry2014-06-181-1/+3
| | | | | | Moved OC::needUpgrade() to OCP\Util::needUpgrade() to make it accessible form the router. Moved maintenance + upgrade check to the router.
* Remove legacy routing codeLukas Reschke2014-06-051-0/+3
| | | | | | | | | | | | | | | | | | | The getfile routing code was absolutely legacy and not needed anymore. Additionally \OC::$REQUESTEDAPP was never set to the actually accessed application. This commit removes the legacy routing code and ensures that $REQUESTEDAPP is always set so that other applications (e.g. the firewall or a two-factor authentication) can intercept the currently accessed app. Testplan: [x] Installation works [x] Login with DB works [x] Logout works [x] Login with alternate backend works (tested with user_webdavauth) [x] Other apps are accessible [x] Redirect on login works (e.g. index.php?redirect_url=%2Fcore%2Findex.php%2Fsettings%2Fapps%3Finstalled) [x] Personal settings are accessible [x] Admin settings are accessible [x] Sharing files works [x] DAV works [x] OC::$REQUESTEDAPP contains the requested application and can be intercepted by other applications
* Fix all PHPDoc types and variable names, in /libRobin McCorkell2014-05-132-2/+2
|
* remove legacy aka deprecated code: OC_CacheThomas Müller2014-05-121-1/+1
|
* Preserve keys when sorting parameters when generatings urlsRobin Appelman2014-04-291-1/+1
|
* Merge pull request #7988 from owncloud/routing-cache-webrootAndreas Fischer2014-04-201-1/+2
|\ | | | | | | | | | | | | | | | | Keep cached urls with different hostnames or baseurls seperate * owncloud/routing-cache-webroot: Sort parameters and cast to int add delimiter between host and baseurl Keep cached urls with different hostnames or baseurls seperate
| * Sort parameters and cast to intRobin Appelman2014-04-151-1/+2
| |
| * add delimiter between host and baseurlRobin Appelman2014-04-071-1/+1
| |
| * Keep cached urls with different hostnames or baseurls seperateRobin Appelman2014-04-011-1/+1
| |
* | Fix PHPdoc in lib/privateBart Visscher2014-04-152-0/+13
| | | | | | | | using scrutinizer patch
* | Merge pull request #8138 from owncloud/allow-app-in-routes.phpThomas Müller2014-04-101-1/+9
|\ \ | | | | | | To isolate the variable scope used inside the $file it is required in it...
| * | To isolate the variable scope used inside the $file it is required in it's ↵Thomas Müller2014-04-091-1/+9
| |/ | | | | | | own method
* / Load all routes when matching an ocs routeRobin Appelman2014-04-031-1/+1
|/
* fix undefined index warning in routerRobin Appelman2014-03-261-1/+1
|
* Fix routes getting lost when loading app routes twiceRobin Appelman2014-03-251-7/+9
|
* fix incorect arrayRobin Appelman2014-03-251-1/+1
|
* Only load core routes for ocs and settingsRobin Appelman2014-03-251-1/+2
|
* Only load core routes when matching a core routeRobin Appelman2014-03-241-3/+5
|
* Cache generated urls for routesRobin Appelman2014-03-241-0/+43
|
* Only load routes from the apps we needRobin Appelman2014-03-241-13/+37
|
* Load the routes when matching or generating a route instead of when creating ↵Robin Appelman2014-03-241-0/+2
| | | | the router
* Move the router classes to a namespace and expose it with a public interfaceRobin Appelman2014-03-102-0/+334