[TASK] Install tool configuration system 21/23321/15
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 12 Aug 2013 15:57:03 +0000 (17:57 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 10 Sep 2013 13:18:50 +0000 (15:18 +0200)
commit92e5e6c5c6fcb49ba49209afb91bd2592b5ba93d
tree4951a2497e324a7d5bc82dc90f83e3558a73ed66
parentbcbc72687e00394cd748c989cace328ff1bc96be
[TASK] Install tool configuration system

The patch implements a "configuration system" to the install tool
that bundles several settings to enable them on click
depending on system capabilities.

A "feature" is represented by a set of configuration options that
are filled by different presets. Presets have a priority, the
best preset is the first one. Presets can be available or
not available and active or not. For example the "image handling"
feature has the presets "GraphicsMagick" and "ImageMagick 6" and
a "Custom" preset if the others do not fit.

This first patch implements "Charset conversion", "Image handling",
"Development / Production" and "Extbase object cache" settings.

During installation the available preset with highest priority
are configured.

Change-Id: I7304ef001717989720924e7ae03951eb3874adfd
Resolves: #51454
Releases: 6.2
Reviewed-on: https://review.typo3.org/23321
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
50 files changed:
typo3/sysext/core/Classes/Configuration/ConfigurationManager.php
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/install/Classes/Configuration/AbstractCustomPreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/AbstractFeature.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/AbstractPreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Charset/CharsetFeature.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Charset/CoreInternalPreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Charset/CustomPreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Charset/IconvPreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Charset/MbstringPreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Context/ContextFeature.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Context/CustomPreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Context/DevelopmentPreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Context/ProductionPreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/CustomPresetInterface.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Exception.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/ExtbaseObjectCache/ApcPreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/ExtbaseObjectCache/DatabasePreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/ExtbaseObjectCache/ExtbaseObjectCacheFeature.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/FeatureInterface.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/FeatureManager.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Image/AbstractImagePreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Image/CustomPreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Image/GraphicsMagickPreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Image/ImageFeature.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/Image/ImageMagick6Preset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/PresetInterface.php [new file with mode: 0644]
typo3/sysext/install/Classes/Controller/Action/Step/DefaultConfiguration.php
typo3/sysext/install/Classes/Controller/Action/Tool/Configuration.php [new file with mode: 0644]
typo3/sysext/install/Classes/Controller/ToolController.php
typo3/sysext/install/Resources/Private/Partials/Action/Common/Left.html
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/Charset.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/Charset/CoreInternal.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/Charset/Custom.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/Charset/Iconv.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/Charset/Mbstring.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/Context.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/Context/Custom.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/Context/Development.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/Context/Production.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/ExtbaseObjectCache.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/ExtbaseObjectCache/Apc.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/ExtbaseObjectCache/Database.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/Image.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/Image/Custom.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/Image/GraphicsMagick.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/Image/ImageMagick6.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Templates/Action/Tool/Configuration.html [new file with mode: 0644]
typo3/sysext/install/Resources/Public/Images/Menu/Configuration.png [new file with mode: 0644]
typo3/sysext/install/Resources/Public/Stylesheets/Action/Common/Install.css