nextcloud/settings
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
..
ajax adapt decrypt all and restore/delete key backups to the new folder structure for encryption key introduced with OC8 2015-01-13 12:45:33 +01:00
changepassword Orthography: "Back-end" -> Backend (without hyphen) and correction of "users" to the genitive "user's" 2015-02-12 08:18:24 +01:00
controller Return milliseconds instead of seconds for lastLogin - refs #14005 2015-02-16 17:41:44 +01:00
css Add value if restore of data is possible for a user 2015-01-27 13:23:19 +01:00
factory Switch to a factory and add unit tests 2015-01-30 17:24:42 +01:00
img remove shadow effects from settings icons, reduce size 2014-07-02 19:50:58 +02:00
js fix user loading 2015-02-04 17:19:11 +01:00
l10n [tx-robot] updated from transifex 2015-02-16 01:54:30 -05:00
middleware Use 403 instead of 200 response 2015-01-29 12:04:54 +01:00
templates Merge pull request #13890 from owncloud/add-no-referrer 2015-02-16 14:36:44 +01:00
tests/js/users fix updated URL schema in JS unit tests 2014-12-08 15:05:03 +01:00
admin.php Refactor OC_Request into TrustedDomainHelper and IRequest 2015-02-16 22:13:00 +01:00
application.php Switch to a factory and add unit tests 2015-01-30 17:24:42 +01:00
apps.php manage select2 via bower 2014-11-06 09:27:12 +01:00
help.php killing some more calls to OC_App::loadApps(); - because we load all apps in handleRequest() 2014-03-25 17:42:41 +01:00
languageCodes.php remove ru_RU - fixes #3135 2013-08-17 11:43:37 +02:00
personal.php Added overview of groups a user is a member of 2015-02-12 10:49:55 +01:00
routes.php Remove unused function and correct PHPDoc 2015-02-16 13:46:45 +01:00
users.php move loading of JS and CSS to template 2014-12-12 09:22:15 +01:00