server/tests
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
..
acceptance correct delete-icon to icon-delete, fix #11128 2014-09-22 18:17:33 +02:00
core/lostpassword/controller Mock l10n in the setup 2015-02-01 17:46:48 +01:00
data implement php code checker to detect usage of not allowed private APIs - including console command to check local code to be used by developers 2015-02-10 11:51:24 +01:00
lib Refactor OC_Request into TrustedDomainHelper and IRequest 2015-02-16 22:13:00 +01:00
settings fixing unit tests in UsersControllerTest 2015-02-16 19:45:40 +01:00
apps.php load test cases from enabled apps 2012-10-08 14:26:51 +02:00
bootstrap.php Load apps in test situations 2014-09-10 17:28:25 +02:00
enable_all.php Add provisioning_api app 2014-12-24 22:15:20 +01:00
karma.config.js Add unit test for external share JS dialog 2015-01-21 11:26:54 +01:00
phpunit-autotest-external.xml Setup a docker container that holds a webdav instance to test files_external 2014-12-17 21:50:35 +01:00
phpunit-autotest.xml Add provisioning_api app 2014-12-24 22:15:20 +01:00
phpunit.xml.dist Add provisioning_api app 2014-12-24 22:15:20 +01:00
preseed-config.php adding new config parameter for sqlite to specify the journal mode 2014-11-25 16:29:06 +01:00
startsessionlistener.php kill OC::$session 2014-08-29 10:22:21 +02:00