nextcloud/lib/private/connector/sabre
Lukas Reschke 886bda5f81 Refactor OC_Request into TrustedDomainHelper and IRequest
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
2015-02-16 22:13:00 +01:00
..
exception Upgrade SabreDAV to 1.8.10 2014-06-04 12:22:23 +02:00
appenabledplugin.php Fix type hinting for app manager 2014-11-18 12:22:13 +01:00
auth.php Fix WebDAV auth for session authentication only 2015-01-20 10:03:14 +01:00
directory.php Merge pull request #12865 from owncloud/files-tags-webdav 2014-12-19 09:33:28 +01:00
exceptionloggerplugin.php Upgrade SabreDAV to 1.8.10 2014-06-04 12:22:23 +02:00
file.php Refactor OC_Request into TrustedDomainHelper and IRequest 2015-02-16 22:13:00 +01:00
filesplugin.php Revert "adding OC-ETag header" 2015-02-05 20:43:37 +01:00
locks.php Upgrade SabreDAV to 1.8.10 2014-06-04 12:22:23 +02:00
maintenanceplugin.php Upgrade SabreDAV to 1.8.10 2014-06-04 12:22:23 +02:00
node.php Revert "adding OC-ETag header" 2015-02-05 20:43:37 +01:00
objecttree.php let init() take an INode - fixes PHP message 2015-01-27 11:31:37 +01:00
principal.php Use namespace 2015-01-05 09:54:14 +01:00
quotaplugin.php Convert StorageNotAvailableException to SabreDAV exception 2014-11-10 12:01:24 +01:00
request.php Refactor OC_Request into TrustedDomainHelper and IRequest 2015-02-16 22:13:00 +01:00
server.php Returns and update tags through WebDAV PROPFIND and PROPPATCH 2014-12-17 16:50:35 +01:00
taglist.php Fix code style issues for tags plugin 2014-12-18 16:43:00 +01:00
tagsplugin.php Fix code style issues for tags plugin 2014-12-18 16:43:00 +01:00