summaryrefslogtreecommitdiffstats
path: root/lib/private/URLGenerator.php
Commit message (Collapse)AuthorAgeFilesLines
* Allow empty strings in getAbsoluteURLJoas Schilling2018-11-201-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add function to generate urls for OCS routesRoeland Jago Douma2018-10-091-0/+13
| | | | | | | | | | fixes #11617 The OCS routes are only absolute for now as they are often exposed to the outside anyway and are on a different endpoint than index.php in anyway. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix check if theming defaults instance is availableMorris Jobke2018-02-271-1/+5
| | | | | | | | The check in URLGenerator.php#169 and Server.php#945 are different and thus the DI container could return a \OC_Defaults object which does not provide the wanted method caising a PHP error. Fixes #8420 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make the URLGenerator strictRoeland Jago Douma2018-01-141-19/+17
| | | | | | | | | * Add scalar argument types * Add return types * Make strict * General phpstorm cleanup Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Also replace all other occurencesMorris Jobke2017-12-181-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-1/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move theming related imagePath logic to ThemingDefaultsJulius Härtl2017-09-121-8/+7
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Prefer custom theme over theming appJulius Härtl2017-07-121-13/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add tests and inject IRequestJulius Härtl2017-06-161-3/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make cache and scss caching depend on the baseUrlJulius Härtl2017-06-151-7/+13
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Theme image for favicon-fb.pngLukas Reschke2017-06-091-4/+8
| | | | | | Fixes https://github.com/nextcloud/server/issues/5322 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Check if the theming app is loadedJulius Haertl2016-12-091-1/+1
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Do not trigger appconfig queries when we are not yet installedRoeland Jago Douma2016-11-211-2/+3
| | | | | | Fixes #2209 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #1602 from nextcloud/ignore-mod-envLukas Reschke2016-11-181-1/+2
|\ | | | | Add system config htaccess.IgnoreFrontController for prettyURLs w/o mod_env
| * 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>
* | Check if dynamic icons can be usedJulius Haertl2016-11-181-2/+2
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | Add cachebuster to faviconsJulius Haertl2016-11-181-2/+4
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | Theming: Fix default parameters in icon routesJulius Haertl2016-11-181-0/+2
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | Theming: Add favicon-touch and fix icon creation with non svg imagesJulius Haertl2016-11-181-1/+3
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | Core: load favicon from theming appJulius Haertl2016-11-181-1/+3
|/ | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Make sure we try to autoload the classJoas Schilling2016-07-221-1/+2
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Use the themed Defaults everywhereJoas Schilling2016-07-151-2/+2
|
* Update license headersLukas Reschke2016-05-261-1/+2
|
* Update imagePath to prefer theme, then app, then core imagesmmccarn2016-05-231-10/+13
| | | | | | | | | | | | | | | | imagePath updated so that image searches follow this priority: 1) /themes/$theme/apps/$app/img 2) /themes/$theme/$app/img 3) /themes/$theme/core/img 4) $appPath/img 5) /$app/img 6) /core/img For each folder: - if the specified file exists, use it. - otherwise, if $basename.svg does NOT exist, try $basename.png (This might better be "if filename was an svg, try the png"...)
* Move more from \OC to PSR-4Roeland Jago Douma2016-04-291-0/+224
* \OC\OCSClient * \OC\Preview * \OC\PreviewManager * \OC\Repair * \OC\RepairException * \OC\Search * \OC\ServerContainer * \OC\ServerNotAvailableException * \OC\ServiceUnavailableException * \OC\Setup * \OC\Streamer * \OC\SubAdmin * \OC\SystemConfig * \OC\TagManager * \OC\Tags * \OC\TempManager * \OC\TemplateLayout * \OC\URLGenerator * \OC\Updater