[TASK] Decouple adminPanel from frontend
The admin panel has been extracted into an own extension. To enable users to de-activate the admin panel completely, the hard coupling between the extension and other parts of the core had to be resolved. With this change, the initialization of both adminPanel and feedit were moved into PSR-15 middlewares. Additionally all parameters related to the adminPanel were removed from the FrontendBackend- UserAuthentication. As feedit is tigthly coupled with the adminPanel some changes had to be made to its initialization, too. The flow of the adminPanel initialization and rendering were streamlined to allow modules to make use of the request object. Due to these changes in the control flow of the application the two existing tests were removed and new tests will be rewritten once the API is declared as stable. Releases: master Resolves: #84641 Change-Id: I72beefde0d792d3f4295c45aa27204c817d2de7a Reviewed-on: https://review.typo3.org/56558 Tested-by: TYPO3com <no-repl...
Showing
- typo3/sysext/adminpanel/Classes/Controller/MainController.php 176 additions, 0 deletions...3/sysext/adminpanel/Classes/Controller/MainController.php
- typo3/sysext/adminpanel/Classes/Hooks/RenderHook.php 56 additions, 0 deletionstypo3/sysext/adminpanel/Classes/Hooks/RenderHook.php
- typo3/sysext/adminpanel/Classes/Middleware/AdminPanelInitiator.php 69 additions, 0 deletions...ext/adminpanel/Classes/Middleware/AdminPanelInitiator.php
- typo3/sysext/adminpanel/Classes/Modules/AbstractModule.php 20 additions, 9 deletionstypo3/sysext/adminpanel/Classes/Modules/AbstractModule.php
- typo3/sysext/adminpanel/Classes/Modules/AdminPanelModuleInterface.php 7 additions, 2 deletions.../adminpanel/Classes/Modules/AdminPanelModuleInterface.php
- typo3/sysext/adminpanel/Classes/Modules/CacheModule.php 2 additions, 1 deletiontypo3/sysext/adminpanel/Classes/Modules/CacheModule.php
- typo3/sysext/adminpanel/Classes/Modules/EditModule.php 8 additions, 3 deletionstypo3/sysext/adminpanel/Classes/Modules/EditModule.php
- typo3/sysext/adminpanel/Classes/Modules/PreviewModule.php 6 additions, 2 deletionstypo3/sysext/adminpanel/Classes/Modules/PreviewModule.php
- typo3/sysext/adminpanel/Classes/Modules/TsDebugModule.php 3 additions, 2 deletionstypo3/sysext/adminpanel/Classes/Modules/TsDebugModule.php
- typo3/sysext/adminpanel/Classes/Repositories/FrontendGroupsRepository.php 2 additions, 2 deletions...inpanel/Classes/Repositories/FrontendGroupsRepository.php
- typo3/sysext/adminpanel/Classes/Service/EditToolbarService.php 273 additions, 0 deletions.../sysext/adminpanel/Classes/Service/EditToolbarService.php
- typo3/sysext/adminpanel/Classes/View/AdminPanelView.php 30 additions, 257 deletionstypo3/sysext/adminpanel/Classes/View/AdminPanelView.php
- typo3/sysext/adminpanel/Configuration/RequestMiddlewares.php 22 additions, 0 deletionstypo3/sysext/adminpanel/Configuration/RequestMiddlewares.php
- typo3/sysext/adminpanel/Tests/Unit/View/AdminPanelViewTest.php 0 additions, 78 deletions.../sysext/adminpanel/Tests/Unit/View/AdminPanelViewTest.php
- typo3/sysext/adminpanel/Tests/Unit/View/Fixtures/AdminPanelDisabledModuleFixture.php 0 additions, 141 deletions...ts/Unit/View/Fixtures/AdminPanelDisabledModuleFixture.php
- typo3/sysext/adminpanel/Tests/Unit/View/Fixtures/AdminPanelEnabledShownOnSubmitInitializeModuleFixture.php 0 additions, 142 deletions...AdminPanelEnabledShownOnSubmitInitializeModuleFixture.php
- typo3/sysext/adminpanel/composer.json 6 additions, 1 deletiontypo3/sysext/adminpanel/composer.json
- typo3/sysext/adminpanel/ext_localconf.php 3 additions, 0 deletionstypo3/sysext/adminpanel/ext_localconf.php
- typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php 29 additions, 28 deletions...ext/backend/Classes/FrontendBackendUserAuthentication.php
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-84641-DeprecatedAdminPanelRelatedMethods.rst 53 additions, 0 deletions.../Deprecation-84641-DeprecatedAdminPanelRelatedMethods.rst
Please register or sign in to comment