[!!!][FEATURE] Move extension configuration to install tool
With #82254 LocalConfiguration serialized array EXT/extConf has been changed to a not serialized array in EXTENSIONS. This patch follows up on this task an finishes various tasks: * An install tool silent upgrader upmerges given EXT/extConf settings to EXTENSIONS array. The resulting EXTENSIONS array does not contain dots for sub paths in its array key anymore and is accessible with a new ExtensionConfiguration->get() API to fetch values and whole extension config. * A new API is introduced to get() and set() extension specific configuration, is documented and used throughout the core to not unserialize old EXT/extConf anymore. Setting values updates legacy EXT/extConf to new values including compatible 'dot' ending on nested array configurations. * If extensions come with new configuration items in ext_conf_template.txt a silent upgrader of the install tool synchronizes these to the EXTENSIONS and old extConf array. Extension authors can rely on that and always fetch new keys from the new ExtensionConfiguration->get() API right away. The synchronization is also triggered when new extensions are loaded or extensions are updated via the extension manager. * Core usages are adapted to the new API. * Next to the main get() / set() API, the extension configuration form is extracted from the extension manager and put into the install tool as a new card in "Settings". The code below is streamlined and encapsulated with just a couple of public methods in class 'ExtensionConfigurationService' as internal class for use in install tool and extension manager. Resolves: #82368 Related: #82254 Releases: master Change-Id: I88568fa355f8f6fd5acc9850dcdd718fdd9a1b2e Reviewed-on: https://review.typo3.org/54034 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Daniel Gorges <daniel.gorges@b13.de> Tested-by:
Daniel Gorges <daniel.gorges@b13.de> Reviewed-by:
Andreas Fernandez <typo3@scripting-base.de> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Resources/Public/Sass/install.scss 2 additions, 0 deletionsBuild/Resources/Public/Sass/install.scss
- typo3/sysext/backend/Classes/Controller/BackendController.php 2 additions, 1 deletion...3/sysext/backend/Classes/Controller/BackendController.php
- typo3/sysext/backend/Classes/Controller/LoginController.php 2 additions, 1 deletiontypo3/sysext/backend/Classes/Controller/LoginController.php
- typo3/sysext/backend/Classes/Template/DocumentTemplate.php 4 additions, 4 deletionstypo3/sysext/backend/Classes/Template/DocumentTemplate.php
- typo3/sysext/core/Classes/Configuration/Exception/ExtensionConfigurationExtensionNotConfiguredException.php 27 additions, 0 deletions...ExtensionConfigurationExtensionNotConfiguredException.php
- typo3/sysext/core/Classes/Configuration/Exception/ExtensionConfigurationPathDoesNotExistException.php 27 additions, 0 deletions...ption/ExtensionConfigurationPathDoesNotExistException.php
- typo3/sysext/core/Classes/Configuration/ExtensionConfiguration.php 208 additions, 0 deletions...ext/core/Classes/Configuration/ExtensionConfiguration.php
- typo3/sysext/core/Configuration/DefaultConfiguration.php 18 additions, 17 deletionstypo3/sysext/core/Configuration/DefaultConfiguration.php
- typo3/sysext/core/Configuration/FactoryConfiguration.php 39 additions, 18 deletionstypo3/sysext/core/Configuration/FactoryConfiguration.php
- typo3/sysext/core/Documentation/Changelog/master/Breaking-82368-SignalAfterExtensionConfigurationWriteRemoved.rst 36 additions, 0 deletions...g-82368-SignalAfterExtensionConfigurationWriteRemoved.rst
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-82254-DeprecateGLOBALSTYPO3_CONF_VARSEXTextConf.rst 19 additions, 2 deletions...ation-82254-DeprecateGLOBALSTYPO3_CONF_VARSEXTextConf.rst
- typo3/sysext/core/Documentation/Changelog/master/Feature-82254-StoreExtensionConfigurationAsPlainArray.rst 19 additions, 3 deletions...Feature-82254-StoreExtensionConfigurationAsPlainArray.rst
- typo3/sysext/core/Tests/Unit/Configuration/ExtensionConfigurationTest.php 204 additions, 0 deletions...e/Tests/Unit/Configuration/ExtensionConfigurationTest.php
- typo3/sysext/extensionmanager/Classes/Controller/ConfigurationController.php 0 additions, 221 deletions...ionmanager/Classes/Controller/ConfigurationController.php
- typo3/sysext/extensionmanager/Classes/Controller/DistributionController.php 0 additions, 13 deletions...sionmanager/Classes/Controller/DistributionController.php
- typo3/sysext/extensionmanager/Classes/Controller/DownloadController.php 11 additions, 20 deletions...xtensionmanager/Classes/Controller/DownloadController.php
- typo3/sysext/extensionmanager/Classes/Controller/ListController.php 4 additions, 14 deletions...xt/extensionmanager/Classes/Controller/ListController.php
- typo3/sysext/extensionmanager/Classes/Controller/UploadExtensionFileController.php 3 additions, 15 deletions...ager/Classes/Controller/UploadExtensionFileController.php
- typo3/sysext/extensionmanager/Classes/Domain/Model/ConfigurationCategory.php 0 additions, 81 deletions...ionmanager/Classes/Domain/Model/ConfigurationCategory.php
- typo3/sysext/extensionmanager/Classes/Domain/Model/ConfigurationItem.php 0 additions, 189 deletions...tensionmanager/Classes/Domain/Model/ConfigurationItem.php
Please register or sign in to comment