Epic #88540

Reduce dependencies to TSFE in Frontend Request Workflow

Added by Benni Mack 5 months ago. Updated 4 months ago.

Status:
In Progress
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2019-06-12
Due date:
% Done:

100%

Sprint Focus:

Description

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
in place.

The goal is to set up:
- Site + Language
- Redirects
- 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.


Subtasks

Task #88541: Move Frontend User session saving into MiddlewareClosedBenni Mack

Task #88717: Rework TSFE dependenciesClosedBenni Mack

Bug #88747: Clean up TSFE constructor initializationClosedBenni Mack

Associated revisions

Revision 0d2e6169 (diff)
Added by Benni Mack 5 months ago

[!!!][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.

Related: #88540
Resolves: #88541
Releases: master
Change-Id: I1e9a66b759d6edfd4c0e5a8ede02aa7a73b65b0f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60939
Tested-by: Georg Ringer <>
Tested-by: TYPO3com <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Georg Ringer <>
Reviewed-by: Oliver Hader <>
Reviewed-by: Andreas Fernandez <>

History

#1 Updated by Georg Ringer 4 months ago

  • Status changed from New to In Progress

Also available in: Atom PDF