[TASK] Move workspaces preview hook to PSR-15 middleware 99/55899/5
authorBenni Mack <benni@typo3.org>
Mon, 26 Feb 2018 06:02:27 +0000 (07:02 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 26 Feb 2018 13:52:40 +0000 (14:52 +0100)
commit4e7937b4f272e21752a2f061d41d5e9c6fe0bf1e
tree126beabc1be66632ef5af6c3cb8908ff04478a42
parentf060e856f469d02d0f54a8a7c1bf6860b7e9820e
[TASK] Move workspaces preview hook to PSR-15 middleware

Frontend-related hooks are migrated into a PSR-15
compatible middleware to initialize workspace behaviour
and previewing functionality.

Resolves: #84040
Releases: master
Change-Id: I8a86665aad95a84d4d65700949d861b96d006c13
Reviewed-on: https://review.typo3.org/55899
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Daniel Gorges <daniel.gorges@b13.de>
Tested-by: Daniel Gorges <daniel.gorges@b13.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/workspaces/Classes/Authentication/PreviewUserAuthentication.php
typo3/sysext/workspaces/Classes/Hook/PreviewHook.php
typo3/sysext/workspaces/Classes/Hook/TypoScriptFrontendControllerHook.php [deleted file]
typo3/sysext/workspaces/Classes/Middleware/WorkspacePreview.php [new file with mode: 0644]
typo3/sysext/workspaces/Configuration/RequestMiddlewares.php [new file with mode: 0644]
typo3/sysext/workspaces/ext_localconf.php