[TASK] Move frontend pre-process functionality to PSR-15 middleware 84/55584/2
authorBenni Mack <benni@typo3.org>
Sat, 3 Feb 2018 20:53:48 +0000 (21:53 +0100)
committerBenni Mack <benni@typo3.org>
Tue, 6 Feb 2018 20:29:37 +0000 (21:29 +0100)
commitcdc66e19ccaf56064fab6422adbd884e698aa0d7
tree31e4203079e5b2a4844b85551cf370e3285c2d44
parent9266297fb96d8f006685cd518e1d484f2c334ddd
[TASK] Move frontend pre-process functionality to PSR-15 middleware

This patch moves logic out of the RequestHandlers into PSR-15 compatible
middleware classes to call a hook and initialize the time tracker.

Resolves: #83765
Releases: master
Change-Id: I200fdc80390625fb45564a4c09cecd00d846fad8
Reviewed-on: https://review.typo3.org/55584
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/frontend/Classes/Http/EidRequestHandler.php
typo3/sysext/frontend/Classes/Http/RequestHandler.php
typo3/sysext/frontend/Classes/Middleware/PreprocessRequestHook.php [new file with mode: 0644]
typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php [new file with mode: 0644]
typo3/sysext/frontend/Configuration/RequestMiddlewares.php [new file with mode: 0644]