73180[TASK] Use new backend templating in various controllers
Commit message
Review
-
Code review CR +2 Done
- Christian Kuhn +2
- Benjamin Franzke +1
- Stefan Bürk +1
-
Verified V +2 Done
- Christian Kuhn +2
- Benjamin Franzke +1
- Stefan Bürk +1
- core-ci +1 CI
Issues 2
Files 99
- Build/phpstan/phpstan-baseline.neon+0 −20
- typo3/sysext/backend/Classes/Controller/ContentElement/ElementHistoryController.php+10 −33
- typo3/sysext/backend/Classes/Controller/ContentElement/MoveElementController.php+14 −21
- typo3/sysext/backend/Classes/Controller/Page/NewMultiplePagesController.php+12 −18
- typo3/sysext/backend/Classes/Controller/Page/SortSubPagesController.php+14 −20
- typo3/sysext/backend/Classes/Controller/AboutController.php+7 −25
- typo3/sysext/backend/Classes/Controller/BackendController.php+9 −17
- typo3/sysext/backend/Classes/Controller/DummyController.php+7 −11
- typo3/sysext/backend/Classes/Controller/HelpController.php+32 −60
- typo3/sysext/backend/Classes/Controller/MfaConfigurationController.php+10 −29
- typo3/sysext/backend/Classes/Controller/NewRecordController.php+13 −49
- typo3/sysext/backend/Classes/Controller/SiteConfigurationController.php+16 −32
- typo3/sysext/backend/Resources/Private/Layouts/ContextSensitiveHelp.htmldeleted+0 −6
- typo3/sysext/backend/Resources/Private/Templates/About/Index.html+49 −36
- typo3/sysext/backend/Resources/Private/Templates/ContentElement/MoveElement.html+43 −37
- typo3/sysext/backend/Resources/Private/Templates/ContextSensitiveHelp/All.html+21 −7
- typo3/sysext/backend/Resources/Private/Templates/ContextSensitiveHelp/Detail.html+19 −5
- typo3/sysext/backend/Resources/Private/Templates/ContextSensitiveHelp/Index.html+20 −7
- typo3/sysext/backend/Resources/Private/Templates/Dummy/Index.htmlnew+14 −0
- typo3/sysext/backend/Resources/Private/Templates/Mfa/Edit.html+49 −39
Show 79 more files
- typo3/sysext/backend/Resources/Private/Templates/Mfa/Overview.html+37 −32
- typo3/sysext/backend/Resources/Private/Templates/Mfa/Setup.html+28 −19
- typo3/sysext/backend/Resources/Private/Templates/NewRecord/NewPagePosition.htmlnew+17 −0
- typo3/sysext/backend/Resources/Private/Templates/NewRecord/NewRecord.htmlnew+39 −0
- typo3/sysext/backend/Resources/Private/Templates/Page/NewPages.html+110 −105
- typo3/sysext/backend/Resources/Private/Templates/Page/SortSubPages.html+156 −150
- typo3/sysext/backend/Resources/Private/Templates/RecordHistory/Main.html+17 −9
- typo3/sysext/backend/Resources/Private/Templates/SiteConfiguration/Edit.html+9 −0
- typo3/sysext/backend/Resources/Private/Templates/SiteConfiguration/Overview.html+178 −167
- typo3/sysext/backend/Resources/Private/Templates/NewPagePosition.htmldeleted+0 −3
- typo3/sysext/backend/Resources/Private/Templates/NewRecord.htmldeleted+0 −25
- typo3/sysext/backend/Tests/Functional/Controller/MfaConfigurationControllerTest.php+7 −0
- typo3/sysext/belog/Classes/Controller/BackendLogController.php+13 −9
- typo3/sysext/belog/Resources/Private/Layouts/Default.htmldeleted+0 −8
- typo3/sysext/beuser/Classes/Controller/BackendUserController.php+27 −54
- typo3/sysext/beuser/Classes/Controller/PermissionController.php6+47 −57
- typo3/sysext/beuser/Resources/Private/Layouts/Default.htmldeleted+0 −2
- typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Compare.html+1 −1
- typo3/sysext/beuser/Resources/Private/Templates/BackendUser/CompareGroups.html+1 −1
- typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Groups.html+1 −1
- typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Index.html+1 −1
- typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Online.html+1 −1
- typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Show.html+1 −1
- typo3/sysext/beuser/Resources/Private/Templates/Permission/Edit.html+101 −95
- typo3/sysext/beuser/Resources/Private/Templates/Permission/Index.html+194 −187
- typo3/sysext/extensionmanager/Classes/Controller/AbstractController.php+89 −6
- typo3/sysext/extensionmanager/Classes/Controller/AbstractModuleController.phpdeleted+0 −119
- typo3/sysext/extensionmanager/Classes/Controller/ActionController.php+4 −8
- typo3/sysext/extensionmanager/Classes/Controller/DistributionController.php+20 −30
- typo3/sysext/extensionmanager/Classes/Controller/ExtensionComposerStatusController.php+18 −37
- typo3/sysext/extensionmanager/Classes/Controller/ListController.php+85 −127
- typo3/sysext/extensionmanager/Classes/Controller/UpdateFromTerController.php+3 −10
- typo3/sysext/extensionmanager/Classes/Controller/UploadExtensionFileController.php+4 −8
- typo3/sysext/extensionmanager/Resources/Private/Layouts/Main.htmldeleted+0 −4
- typo3/sysext/extensionmanager/Resources/Private/Templates/Distribution/Show.html+19 −3
- typo3/sysext/extensionmanager/Resources/Private/Templates/ExtensionComposerStatus/Detail.html+20 −2
- typo3/sysext/extensionmanager/Resources/Private/Templates/ExtensionComposerStatus/List.html+22 −2
- typo3/sysext/extensionmanager/Resources/Private/Templates/List/Distributions.html+19 −3
- typo3/sysext/extensionmanager/Resources/Private/Templates/List/Index.html+20 −3
- typo3/sysext/extensionmanager/Resources/Private/Templates/List/ShowAllVersions.html+19 −8
- typo3/sysext/extensionmanager/Resources/Private/Templates/List/Ter.html+20 −3
- typo3/sysext/extensionmanager/Resources/Private/Templates/List/UnresolvedDependencies.html+19 −3
- typo3/sysext/filelist/Classes/Controller/File/CreateFolderController.php+15 −26
- typo3/sysext/filelist/Classes/Controller/File/RenameFileController.php+8 −14
- typo3/sysext/filelist/Classes/Controller/File/ReplaceFileController.php+11 −29
- typo3/sysext/filelist/Classes/Controller/FileListController.php2+33 −47
- typo3/sysext/filelist/Resources/Private/Templates/File/CreateFolder.html+88 −82
- typo3/sysext/filelist/Resources/Private/Templates/File/List.html+21 −14
- typo3/sysext/filelist/Resources/Private/Templates/File/RenameFile.html+27 −21
- typo3/sysext/filelist/Resources/Private/Templates/File/ReplaceFile.html+35 −29
- typo3/sysext/fluid/Classes/ViewHelpers/Be/AbstractBackendViewHelper.php+2 −0
- typo3/sysext/lowlevel/Classes/Controller/ConfigurationController.php+12 −30
- typo3/sysext/lowlevel/Classes/Controller/DatabaseIntegrityController.php+11 −28
- typo3/sysext/lowlevel/Resources/Private/Templates/Configuration.html+62 −53
- typo3/sysext/lowlevel/Resources/Private/Templates/CustomSearch.html+29 −21
- typo3/sysext/lowlevel/Resources/Private/Templates/IntegrityOverview.html+19 −11
- typo3/sysext/lowlevel/Resources/Private/Templates/RecordStatistics.html+82 −74
- typo3/sysext/lowlevel/Resources/Private/Templates/ReferenceIndex.html+53 −45
- typo3/sysext/lowlevel/Resources/Private/Templates/Relations.html+13 −5
- typo3/sysext/recycler/Classes/Controller/RecyclerModuleController.php+7 −14
- typo3/sysext/recycler/Resources/Private/Templates/RecyclerModule.html+51 −44
- typo3/sysext/redirects/Classes/Controller/ManagementController.php+6 −12
- typo3/sysext/redirects/Resources/Private/Templates/Management/Overview.html+54 −46
- typo3/sysext/reports/Classes/Controller/ReportController.php+15 −23
- typo3/sysext/reports/Resources/Private/Templates/Report/Detail.html+10 −2
- typo3/sysext/reports/Resources/Private/Templates/Report/Index.html+31 −25
- typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php+122 −142
- typo3/sysext/scheduler/Resources/Private/Templates/AddTaskForm.html+13 −1
- typo3/sysext/scheduler/Resources/Private/Templates/CheckScreen.html+12 −1
- typo3/sysext/scheduler/Resources/Private/Templates/EditTaskForm.html+13 −1
- typo3/sysext/scheduler/Resources/Private/Templates/InfoScreen.html+62 −50
- typo3/sysext/scheduler/Resources/Private/Templates/ListTasks.html+12 −1
- typo3/sysext/viewpage/Classes/Controller/ViewModuleController.php+19 −35
- typo3/sysext/viewpage/Resources/Private/Templates/Empty.htmlnew+10 −0
- typo3/sysext/viewpage/Resources/Private/Templates/Show.html+91 −85
- typo3/sysext/workspaces/Classes/Controller/PreviewController.php+9 −28
- typo3/sysext/workspaces/Classes/Controller/ReviewController.php+24 −45
- typo3/sysext/workspaces/Resources/Private/Templates/Preview/Index.html1+68 −60
- typo3/sysext/workspaces/Resources/Private/Templates/Review/Index.html+29 −23
Review log 4881
Show 2956 earlier messages
-
Christian Kuhn uploaded patch set 1 01/27/22, 14:51
-
Christian Kuhn updated the commit message in patch set 2 01/27/22, 14:52
-
Christian Kuhn uploaded patch set 3 01/27/22, 14:53
-
core-ci voted on patch set 1 V -1 01/27/22, 15:06 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22569
-
core-ci voted on patch set 2 V -1 01/27/22, 15:07 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22570
-
core-ci voted on patch set 3 V -1 01/27/22, 15:08 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22571
-
Christian Kuhn uploaded patch set 4 01/27/22, 15:22
-
core-ci voted on patch set 4 V -1 01/27/22, 15:35 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22572
-
Christian Kuhn uploaded patch set 5 01/27/22, 15:44
-
core-ci voted on patch set 5 V -1 01/27/22, 15:56 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22573
-
Christian Kuhn uploaded patch set 6 01/27/22, 17:21
-
core-ci voted on patch set 6 V -1 01/27/22, 17:36 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22581
-
Christian Kuhn uploaded patch set 7 01/27/22, 17:38
-
Christian Kuhn commented on patch set 7 01/27/22, 17:48
-
core-ci voted on patch set 7 V -1 01/27/22, 17:52 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22584
-
Christian Kuhn uploaded patch set 8 01/31/22, 11:49
-
Christian Kuhn commented on patch set 8 01/31/22, 11:49
rebased. -
core-ci voted on patch set 8 V -1 01/31/22, 12:03 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22793
-
Christian Kuhn uploaded patch set 9 01/31/22, 14:06
-
Christian Kuhn commented on patch set 9 01/31/22, 14:09
ModuleTemplateFactory.php:93ReplyDone -
core-ci voted on patch set 9 V -1 01/31/22, 14:19 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22810
-
Christian Kuhn uploaded patch set 10 01/31/22, 15:03
-
Christian Kuhn uploaded patch set 11 01/31/22, 15:06
-
core-ci voted on patch set 10 V -1 01/31/22, 15:06 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22812
-
Christian Kuhn uploaded patch set 12 01/31/22, 15:07
-
core-ci voted on patch set 11 V -1 01/31/22, 15:08 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22813
-
core-ci voted on patch set 12 V -1 01/31/22, 15:09 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22814
-
Christian Kuhn uploaded patch set 13 01/31/22, 15:22
-
core-ci voted on patch set 13 V +1 01/31/22, 15:33 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22815
-
Christian Kuhn uploaded patch set 14 01/31/22, 17:28
-
core-ci voted on patch set 14 V -1 01/31/22, 17:39 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22819
-
Christian Kuhn uploaded patch set 15 01/31/22, 18:28
-
core-ci voted on patch set 15 V -1 01/31/22, 18:41 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22820
-
Christian Kuhn uploaded patch set 16 01/31/22, 21:40
-
core-ci voted on patch set 16 V -1 01/31/22, 21:49 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22830
-
Christian Kuhn uploaded patch set 17 01/31/22, 22:02
-
core-ci voted on patch set 17 V +1 01/31/22, 22:14 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22831
-
Christian Kuhn uploaded patch set 18 02/01/22, 01:03
-
core-ci voted on patch set 18 V +1 02/01/22, 01:22 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22848
-
Christian Kuhn uploaded patch set 19 02/02/22, 11:22
-
core-ci voted on patch set 19 V +1 02/02/22, 11:34 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22900
-
Christian Kuhn uploaded patch set 20 02/02/22, 12:21
-
core-ci voted on patch set 20 V -1 02/02/22, 12:35 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22903
-
Christian Kuhn uploaded patch set 21 02/03/22, 16:49
-
core-ci voted on patch set 21 V -1 02/03/22, 17:00 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22960
-
Christian Kuhn uploaded patch set 22 02/03/22, 17:01
-
core-ci voted on patch set 22 V -1 02/03/22, 17:11 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22961
-
Christian Kuhn uploaded patch set 23 02/03/22, 17:14
-
core-ci voted on patch set 23 V +1 02/03/22, 17:28 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22962
-
Christian Kuhn uploaded patch set 24 02/03/22, 19:06
-
core-ci voted on patch set 24 V +1 02/03/22, 19:16 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22970
-
Christian Kuhn uploaded patch set 25 02/03/22, 20:35
-
core-ci voted on patch set 25 V +1 02/03/22, 20:48 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22972
-
Christian Kuhn uploaded patch set 26 02/03/22, 21:00
-
core-ci voted on patch set 26 V -1 02/03/22, 21:11 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22975
-
core-ci commented on patch set 26 02/03/22, 21:20 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22975
-
Christian Kuhn uploaded patch set 27 02/04/22, 11:37
-
core-ci voted on patch set 27 V -1 02/04/22, 11:48 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22993
-
Christian Kuhn uploaded patch set 28 02/04/22, 12:00
-
Christian Kuhn uploaded patch set 29 02/04/22, 12:11
-
core-ci voted on patch set 28 V -1 02/04/22, 12:13 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22995
-
core-ci voted on patch set 29 V -1 02/04/22, 12:20 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22996
-
Christian Kuhn uploaded patch set 30 02/04/22, 12:30
-
Oli Bartsch commented on patch set 30 02/04/22, 12:36
FileListController.php:179What do you mean with this comment? Those modules usually do not relate to each other, e.g. ContextMenu and MultiRecordSelection. How should they be merged? -
core-ci voted on patch set 30 V +1 02/04/22, 12:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22997
-
Christian Kuhn uploaded patch set 31 02/04/22, 12:42
-
Christian Kuhn commented on patch set 30 02/04/22, 12:42
FileListController.php:179Replyunsure. i only moved this comment around. i'll remove it. -
core-ci voted on patch set 31 V +1 02/04/22, 12:51 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22998
-
Benjamin Franzke commented on patch set 31 02/04/22, 14:37
PermissionController.php:126hm.. there is nothing that transforms such excpetion back to a 400 error, and it will cause an internal-server error (which this isn't) and corresponding logs that are misleading for site owners,. But as responseFactory is injected anyway, return $this->responseFactory->createResponse(400); would be fine here. (fine for me to drop the 'Action not allowed' string) -
Christian Kuhn commented on patch set 31 02/04/22, 14:53
PermissionController.php:126ReplyI changed that by intention: There is no 'normal' way to call reach the module with some different action, backend users shouldn't be able to trigger this without manipulation of something. I thus think that an exception is appropriate here. -
Benni Mack commented on patch set 31 02/04/22, 15:39
PermissionController.php:126ReplyI'd actually just return indexAction() at all times and get rid of the last if() condition. -
Stefan Bürk commented on patch set 31 02/04/22, 15:55
PermissionController.php:126ReplyI'm unsure here. I'm getting lolli's point, and feels right in the first moment. However from a "user" perspective and the point, that extensions developer may lookup core code ("how does this work in core?") for implementing own backend modules I'm flipping between suggestion from Benni and Benjamin which have both their points over the \Runtime exception here. I think we should consider what we may add here as a "example" how such cases should be handled by core and extensions. With that in mind I would tend either to Benjamins suggestions OR using suggestion from Benni with additional comment like "Unmatched action return default index index instead of returning an error/page not availabe response" or something like that. If using Benni's solution I would suggest to add an error logging here so this "attemp to fake" or "something went wrong" is at least logged. From extension side the error response may be the better solution, to get better information during development, on the other hand I think default action fallback is saner here from a usability standpoint here. -
Christian Kuhn commented on patch set 31 02/04/22, 16:06
PermissionController.php:126Replyi think we have similar code at other places that tend to throw exceptions, too. but we could simplify the discussion at this point by just going the response-400 way as it has been before. that change was scope-creep anyways. -
Christian Kuhn commented on patch set 31 02/04/22, 17:01
PermissionController.php:126Replychanged my mind again, i'll go the benni way: 'index' is fallback. -
Christian Kuhn uploaded patch set 32 02/04/22, 17:01
-
core-ci voted on patch set 32 V +1 02/04/22, 17:10 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/23010
-
Benjamin Franzke commented on patch set 32 CR +1 02/04/22, 20:43
Index.html:20gerrit diff really looks awkward in here, but there are zero changed in here besides indentation. all fine, just wanted to mention. -
Benjamin Franzke voted on patch set 32 V +1 02/04/22, 20:49
-
Stefan Bürk voted on patch set 32 V +1 CR +1 02/04/22, 21:00
-
Christian Kuhn voted on patch set 32 V +2 CR +2 02/04/22, 21:07
-
Christian Kuhn merged patch set 33 02/04/22, 21:08
ModuleTemplateFactory.php:93