[TASK] EM: Add possibility to bypass system dependency checks
This patch extends the extension manager in three different ways. First all dependencies are checked and error messages are bundled to show all problems to the user. Secondly on uploading an extension file the installation process is started automatically. The main change of this patch is to introduce a new function to prevent (system) dependency checks. This means the checks for TYPO3 and PHP version don't throw an exception anymore. Required extensions are tried to be fetched from TER but don't stop installation either. If errors occur on first installation process, a link to force the installation is added to the notification. Before any installation can be run, a dialog with a "break warning" is shown and has to be confirmed by clicking the unfocussed field. To be able to skip the system dependency check, a new property for ExtensionManagementService and DependencyUtility is introduced which controls disabling the system dependency check. All extension dependencies are still resolved and needed extensions are tried to be fetched from TER. Resolves: #54512 Releases: 6.2 Change-Id: Ia11b7770a2773538bda48d889282ff51bf187c84 Reviewed-on: https://review.typo3.org/28924 Reviewed-by: Sascha Wilking Tested-by: Sascha Wilking Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
Showing
- typo3/sysext/extensionmanager/Classes/Controller/AbstractController.php 23 additions, 0 deletions...xtensionmanager/Classes/Controller/AbstractController.php
- typo3/sysext/extensionmanager/Classes/Controller/ActionController.php 12 additions, 1 deletion.../extensionmanager/Classes/Controller/ActionController.php
- typo3/sysext/extensionmanager/Classes/Controller/DownloadController.php 12 additions, 1 deletion...xtensionmanager/Classes/Controller/DownloadController.php
- typo3/sysext/extensionmanager/Classes/Controller/UploadExtensionFileController.php 42 additions, 2 deletions...ager/Classes/Controller/UploadExtensionFileController.php
- typo3/sysext/extensionmanager/Classes/Service/ExtensionManagementService.php 17 additions, 0 deletions...ionmanager/Classes/Service/ExtensionManagementService.php
- typo3/sysext/extensionmanager/Classes/Utility/DependencyUtility.php 56 additions, 11 deletions...xt/extensionmanager/Classes/Utility/DependencyUtility.php
- typo3/sysext/extensionmanager/Resources/Private/Language/locallang.xlf 6 additions, 0 deletions...extensionmanager/Resources/Private/Language/locallang.xlf
- typo3/sysext/extensionmanager/Resources/Public/JavaScript/main.js 19 additions, 0 deletions...sext/extensionmanager/Resources/Public/JavaScript/main.js
- typo3/sysext/extensionmanager/Resources/Public/JavaScript/ter.js 24 additions, 2 deletions...ysext/extensionmanager/Resources/Public/JavaScript/ter.js
- typo3/sysext/extensionmanager/ext_tables.php 2 additions, 2 deletionstypo3/sysext/extensionmanager/ext_tables.php
Please register or sign in to comment