[FEATURE] Backend ViewHelpers for edit creation and editing 34/56934/23
authorAnja <aleichsenring@ab-softlab.de>
Fri, 11 May 2018 14:37:30 +0000 (16:37 +0200)
committerMathias Brodala <mbrodala@pagemachine.de>
Thu, 17 May 2018 07:51:12 +0000 (09:51 +0200)
commit2ed59aea197c7e0a29a29ef002983fb20c2401f2
tree998567db983879b787b03007eda63d3eda94f8d1
parent630e26c75ad68acdcd6e95cf4939e442603682f1
[FEATURE] Backend ViewHelpers for edit creation and editing

Provides Edit- and NewRecord[Link|Uri]ViewHelpers to be used
in all places of the backend, also for extensions.

Remove four dedicated classes from system extensions, that got
replaced with the new implementations.

Also: composer update typo3/testing-framework

Resolves: #84983
Releases: master
Change-Id: I7fc03db101d2f73b63b24e4175d2e02aafa06e95
Reviewed-on: https://review.typo3.org/56934
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
59 files changed:
composer.lock
typo3/sysext/backend/Classes/ViewHelpers/Link/EditRecordViewHelper.php [new file with mode: 0644]
typo3/sysext/backend/Classes/ViewHelpers/Link/NewRecordViewHelper.php [new file with mode: 0644]
typo3/sysext/backend/Classes/ViewHelpers/Uri/EditRecordViewHelper.php [new file with mode: 0644]
typo3/sysext/backend/Classes/ViewHelpers/Uri/NewRecordViewHelper.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Link/EditRecordViewHelper/InlineWithUidAndTable.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Link/EditRecordViewHelper/WithNegativeUid.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Link/EditRecordViewHelper/WithUidAndTable.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Link/EditRecordViewHelper/WithUidTableAndReturnUrl.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Link/NewRecordViewHelper/InlineWithPidAndTable.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Link/NewRecordViewHelper/WithNegativeUid.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Link/NewRecordViewHelper/WithPidAndTable.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Link/NewRecordViewHelper/WithPidTableAndReturnUrl.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Link/NewRecordViewHelper/WithPositiveUid.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Link/NewRecordViewHelper/WithTable.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Link/NewRecordViewHelper/WithUidAndPid.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Uri/EditRecordViewHelper/InlineWithUidAndTable.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Uri/EditRecordViewHelper/WithNegativeUid.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Uri/EditRecordViewHelper/WithUidAndTable.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Uri/EditRecordViewHelper/WithUidTableAndReturnUrl.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Uri/NewRecordViewHelper/InlineWithPidAndTable.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Uri/NewRecordViewHelper/WithNegativeUid.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Uri/NewRecordViewHelper/WithPidAndTable.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Uri/NewRecordViewHelper/WithPidTableAndReturnUrl.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Uri/NewRecordViewHelper/WithPositiveUid.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Uri/NewRecordViewHelper/WithTable.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Fixtures/Uri/NewRecordViewHelper/WithUidAndPid.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/EditRecordViewHelperTest.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/NewRecordViewHelperTest.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/EditRecordViewHelperTest.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/NewRecordViewHelperTest.php [new file with mode: 0644]
typo3/sysext/beuser/Classes/Controller/BackendUserActionController.php
typo3/sysext/beuser/Classes/Controller/BackendUserController.php
typo3/sysext/beuser/Classes/Controller/BackendUserGroupController.php
typo3/sysext/beuser/Classes/ViewHelpers/EditRecordViewHelper.php [deleted file]
typo3/sysext/beuser/Resources/Private/Partials/BackendUser/IndexListRow.html
typo3/sysext/beuser/Resources/Private/Partials/BackendUser/PaginatedListWidgetBody.html
typo3/sysext/beuser/Resources/Private/Partials/BackendUserGroup/IndexListRow.html
typo3/sysext/beuser/Resources/Private/Partials/BackendUserGroup/PaginatedListWidgetBody.html
typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Compare.html
typo3/sysext/core/Documentation/Changelog/master/Feature-84983-BEViewHelperForEditDocumentController.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Acceptance/Backend/BackendUser/CompareUserCest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Acceptance/Backend/BackendUser/ListGroupCest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Acceptance/Backend/BackendUser/ListUserCest.php
typo3/sysext/core/Tests/Acceptance/Backend/FileList/FileMetaDataCest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Acceptance/Backend/RecordList/SysNoteCest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Acceptance/Backend/Redirect/RedirectModuleCest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Acceptance/Backend/Scheduler/TasksCest.php
typo3/sysext/filelist/Classes/ViewHelpers/Uri/EditSysFileMetadataRecordViewHelper.php [deleted file]
typo3/sysext/filelist/Resources/Private/Templates/FileList/Search.html
typo3/sysext/redirects/Classes/ViewHelpers/EditRecordViewHelper.php
typo3/sysext/redirects/Resources/Private/Templates/Management/Overview.html
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php
typo3/sysext/scheduler/Classes/ViewHelpers/EditRecordViewHelper.php [deleted file]
typo3/sysext/scheduler/Resources/Private/Templates/Backend/SchedulerModule/EditTask.html
typo3/sysext/sys_note/Classes/Controller/NoteController.php
typo3/sysext/sys_note/Classes/ViewHelpers/EditLinkViewHelper.php [deleted file]
typo3/sysext/sys_note/Resources/Private/Layouts/Default.html [new file with mode: 0644]
typo3/sysext/sys_note/Resources/Private/Templates/Note/List.html