[TASK] Extract workspace preview uri generation 75/56875/4
authorBenni Mack <benni@typo3.org>
Sun, 6 May 2018 17:05:01 +0000 (19:05 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 10 May 2018 18:10:11 +0000 (20:10 +0200)
commitdd5f4f9017232b1d0878e427cf61770d09f49e75
treeafe84ea032ad41e194d9fea0a3b215ea5eed9aed
parentfe115c7583b4e8e7aa492e6a49d07eb25546eafb
[TASK] Extract workspace preview uri generation

All logic regarding generating preview links for workspaces has been
extracted into the "PreviewUriBuilder" method. Previously this was all
scattered between the WorkspaceService and the legacy "PreviewHook"
which was not used as a hook.

Separating this functionality allows to further split up the entry points
(Controllers / Handlers) and clean up concerns.

Resolves: #84940
Releases: master
Change-Id: I648fa12bab29ecb53ae319938d1086f95abfff58
Reviewed-on: https://review.typo3.org/56875
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/workspaces/Classes/Controller/Remote/ActionHandler.php
typo3/sysext/workspaces/Classes/Controller/ReviewController.php
typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php
typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php
typo3/sysext/workspaces/Classes/Hook/PreviewHook.php [deleted file]
typo3/sysext/workspaces/Classes/Preview/PreviewUriBuilder.php [new file with mode: 0644]
typo3/sysext/workspaces/Classes/Service/GridDataService.php
typo3/sysext/workspaces/Classes/Service/WorkspaceService.php
typo3/sysext/workspaces/Migrations/Code/ClassAliasMap.php