summaryrefslogtreecommitdiffstats
path: root/lib/private/urlgenerator.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix UrlGenerator::imagePath() for app pathsRobin McCorkell2015-04-031-4/+6
|
* Update license headersJenkins for ownCloud2015-03-261-4/+24
|
* Reuse cache resultLukas Reschke2015-03-171-2/+2
|
* Read theme only if requiredLukas Reschke2015-03-171-3/+3
|
* Cache \OC\URLGenerator::imagePathLukas Reschke2015-03-171-17/+33
| | | | \OC\URLGenerator::imagePath is a really expensive operation due to all the I/O handling and can really benefit from caching.
* Revert "Updating license headers"Morris Jobke2015-02-261-24/+5
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-5/+24
|
* Refactor OC_Request into TrustedDomainHelper and IRequestLukas Reschke2015-02-161-1/+2
| | | | | | | | | | This changeset removes the static class `OC_Request` and moves the functions either into `IRequest` which is accessible via `\OC::$server::->getRequest()` or into a separated `TrustedDomainHelper` class for some helper methods which should not be publicly exposed. This changes only internal methods and nothing on the public API. Some public functions in `util.php` have been deprecated though in favour of the new non-static functions. Unfortunately some part of this code uses things like `__DIR__` and thus is not completely unit-testable. Where tests where possible they ahve been added though. Fixes https://github.com/owncloud/core/issues/13976 which was requested in https://github.com/owncloud/core/pull/13973#issuecomment-73492969
* Remove internal annotationLukas Reschke2015-02-121-5/+3
| | | | PHPStorm complained about those functions being declared as Internal. I doubt that this is actually the case since they are even in the public API.
* Introduce app info xml parser including basic unit test - necessary for #10777Thomas Müller2014-11-251-1/+11
|
* Set overwritemailurl* configs on setupJoas Schilling2014-10-141-0/+4
| | | | | | | | | | | | Correctly use overwritemailurl value when generating absolute urls in CLI Fix #11500 Rename the config to *cli Add overwrite.cli.url to the sample config Revert separator fix, fixes unit test
* Add a method to get the absolute url for a routeJoas Schilling2014-09-081-1/+14
| | | | Fix #10926
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-3/+3
| | | | * test case added to avoid adding them later
* Fix all PHPDoc types and variable names, in /libRobin McCorkell2014-05-131-1/+1
|
* Some more PHPDoc fixesLukas Reschke2014-04-211-0/+1
|
* Fix PHPdoc in lib/privateBart Visscher2014-04-151-2/+1
| | | | using scrutinizer patch
* Check if web root has already been appendedThomas Tanghus2014-03-311-1/+6
|
* Merge pull request #7613 from owncloud/fix_urlGenerator2Vincent Petry2014-03-281-1/+2
|\ | | | | Add \OC::$WEBROOT to URLGenerator::getAbsoluteURL()
| * Add \OC:: to URLGenerator::getAbsoluteURL()Thomas Tanghus2014-03-061-1/+2
| |
* | css files are not to be routed through index.php anymoreThomas Müller2014-03-261-1/+1
| |
* | switch OC::getRouter usages to OC::$server->getRouterRobin Appelman2014-03-101-1/+1
|/
* Test if $url is already prefixed by '/'Thomas Tanghus2014-02-071-1/+2
|
* Add missing slash in URLGenerator::getAbsoluteURL(). Refs. #6840Thomas Tanghus2014-01-241-1/+1
|
* new config parameter 'front_controller_active' which will instruct the url ↵Thomas Müller2013-12-311-1/+24
| | | | generator to generate urls without index.php
* use SERVERROOT instead of WEBROOT in all file_exists checks, whitespaceJörn Friedrich Dreyer2013-10-281-5/+5
|
* prefer logo png from theme over svg from coreJörn Friedrich Dreyer2013-10-231-0/+18
| | | | | | | | | The logo images are specified in the php templates with eg `image_path('', 'logo-wide.svg')`. If that file exists the correct path will be served to the client in the html template. Then the `SVGSupport()` is checked in https://github.com/owncloud/core/blob/master/core/js/js.js#L701 which will replace `svg` with `png` in img tags and css background definitions. fixes #5074 partially solves #5421, but not when an svg has been specified in css and is then 'fixed' by js to point to a png which does not exist in the theme but is then might be resolved to an image from core .... well theoretical problem ... might not even be a problem @karlitschek @jancborchardt please review
* moving file to the right locationThomas Müller2013-10-071-0/+111