[TASK] Move changing preview processing config to processing service 10/55210/2
authorHelmut Hummel <typo3@helhum.io>
Sun, 24 Dec 2017 14:21:49 +0000 (15:21 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Fri, 5 Jan 2018 07:08:45 +0000 (08:08 +0100)
commitc2c8790aadc0fec73833de1c317839c5b0ba5bcf
tree923d3b5265db409442ef119f097f716b6be1b9ac
parent5ef1724af8655c38d654a429b312edf169a97588
[TASK] Move changing preview processing config to processing service

Instead of complementing processing configuration in the file class,
move it to the processing service and LocalPreviewHelper class
to not have the code and logic duplicated and to ensure it is
always executed, not only when using the file API.

Resolves: #83421
Related: #81776
Related: #83242
Releases: master, 8.7, 7.6
Change-Id: I9b3f380625756137a56e7ad0ea55d21f47464ab8
Reviewed-on: https://review.typo3.org/55210
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Classes/Resource/File.php
typo3/sysext/core/Classes/Resource/Processing/LocalPreviewHelper.php
typo3/sysext/core/Classes/Resource/Service/FileProcessingService.php