summaryrefslogtreecommitdiffstats
path: root/lib/public/irequest.php
Commit message (Collapse)AuthorAgeFilesLines
* Move \OCP to PSR-4Roeland Jago Douma2016-05-191-245/+0
|
* Move logout to controllerLukas Reschke2016-04-181-1/+1
| | | | Testable code. Yay.
* Happy new year!Thomas Müller2016-01-121-1/+1
|
* fix identation in public/irequest.phpMorris Jobke2016-01-121-4/+16
|
* Add \OCP\IRequest::getHttpProtocolLukas Reschke2015-10-061-0/+8
| | | | | | Only allow valid HTTP protocols. Ref https://github.com/owncloud/core/pull/19537#discussion_r41252333 + https://github.com/owncloud/security-tracker/issues/119
* Fix visibility of interfaces in \OCPMorris Jobke2015-04-191-2/+2
|
* Add @since tags to all methods in public namespaceMorris Jobke2015-04-161-0/+19
| | | | | | | * enhance the app development experience - you can look up the method introduction right inside the code without searching via git blame * easier to write apps for multiple versions
* Update license headersJenkins for ownCloud2015-03-261-12/+16
|
* Revert "Updating license headers"Morris Jobke2015-02-261-16/+19
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-19/+16
|
* Make scrutinizer happyLukas Reschke2015-02-161-1/+1
|
* Refactor OC_Request into TrustedDomainHelper and IRequestLukas Reschke2015-02-161-0/+65
| | | | | | | | | | 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
* Respect `mod_unique_id` and refactor `OC_Request::getRequestId`Lukas Reschke2015-02-091-0/+7
| | | | | | | | | | | | | | When `mod_unique_id` is enabled the ID generated by it will be used for logging. This allows for correlation of the Apache logs and the ownCloud logs. Testplan: - [ ] When `mod_unique_id` is enabled the request ID equals the one generated by `mod_unique_id`. - [ ] When `mod_unique_id` is not available the request ID is a 20 character long random string - [ ] The generated Id is stable over the lifespan of one request Changeset looks a little bit larger since I had to adjust every unit test using the HTTP\Request class for proper DI. Fixes https://github.com/owncloud/core/issues/13366
* Add PHPDoc for `urlParams`Lukas Reschke2015-01-151-1/+1
|
* Add PHPDoc for magic property 'server'Lukas Reschke2015-01-141-1/+3
|
* polish documentation based on scrutinizer patchesJörn Friedrich Dreyer2014-02-061-0/+5
|
* fix "No page-level DocBlock"Morris Jobke2013-11-031-0/+8
|
* passesCSRFCheck added to OCP\IRequestBart Visscher2013-10-041-0/+5
|
* Remove getContent() from IRequestThomas Tanghus2013-10-011-8/+0
|
* Implement PUT an PATCH supportThomas Tanghus2013-10-011-1/+1
|
* Add interface docs to IRequest.Thomas Tanghus2013-10-011-0/+22
|
* Purge session from Request - and fix some stylesThomas Tanghus2013-09-171-9/+0
|
* move new interfaces into lib/public and OCPThomas Müller2013-08-311-0/+105