Reduce dependencies to TSFE in Frontend Request Workflow
The Frontend Request Workflow has seen drastic separation
due to the introduction of PSR-15 (Middleware concept) and
the Context API in TYPO3 v9.
For TYPO3 v10, this now allows to further refactorings
to reduce dependencies to TSFE, allowing to run various
parts of TYPO3 Frontend without having a global TSFE object
The goal is to set up:
- Site + Language
- Page ID Resolving
- Page Argument Validation (cHash)
- Frontend + Backend User Authentication
before any TSFE dependency is in place.
Further refactorings can then happen as TSFE is scoped
more into parts of TYPO3.
[!!!][TASK] Move Frontend User session saving into Middleware
For further TSFE-related changes, the frontend request
workflow now stores user-/session-related information
in the middleware.
This is a first step in order to reduce the dependencies
of TSFE + FrontendUserAuthentication.
This patch is breaking as certain hooks (like EOFE)
do not have session data stored anymore.
Tested-by: Georg Ringer <email@example.com>
Tested-by: TYPO3com <firstname.lastname@example.org>
Tested-by: Andreas Fernandez <email@example.com>
Reviewed-by: Georg Ringer <firstname.lastname@example.org>
Reviewed-by: Oliver Hader <email@example.com>
Reviewed-by: Andreas Fernandez <firstname.lastname@example.org>