| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
\OC\URLGenerator::imagePath is a really expensive operation due to all the I/O handling and can really benefit from caching.
|
|
|
|
| |
This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Fix #10926
|
|
|
|
| |
* test case added to avoid adding them later
|
| |
|
| |
|
|
|
|
| |
using scrutinizer patch
|
| |
|
|\
| |
| | |
Add \OC::$WEBROOT to URLGenerator::getAbsoluteURL()
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
| |
generator to generate urls without index.php
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|