nextcloud/lib/private/appframework
Lukas Reschke 770fa761b8 Respect mod_unique_id and refactor OC_Request::getRequestId
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
2015-02-09 11:53:11 +01:00
..
core first round of deprecation 2014-12-16 19:50:31 +01:00
db Use statements wrapper in \OCP\IDB 2014-10-22 12:29:53 +02:00
dependencyinjection Use proper namespace 2015-01-27 17:34:25 +01:00
http Respect mod_unique_id and refactor OC_Request::getRequestId 2015-02-09 11:53:11 +01:00
middleware Move CSRF check 2014-11-17 15:10:53 +01:00
routing add postfix 2014-11-19 12:01:42 +01:00
utility Intelligent container 2014-12-23 09:50:42 +01:00
app.php always set url parameters when they are available in the app dispatch 2015-01-15 15:22:52 +01:00
http.php Fix all PHPDoc types and variable names, in /lib 2014-05-13 19:08:14 +01:00