[TASK] Streamline EXT:form code 72/51972/21
authorBenni Mack <benni@typo3.org>
Tue, 7 Mar 2017 07:45:35 +0000 (08:45 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 17 Mar 2017 13:01:39 +0000 (14:01 +0100)
commitd1f017a8d881e58c238592edaae8e7cca6097fed
tree0f5eee6f8e27c82f5fef4469c964d9fef70f6148
parent3497ff3bc903167a6dbf548c5c4fa305fbd58d18
[TASK] Streamline EXT:form code

* Register "formvh:" as global namespace, simplifying the templates
* Remove formvh:be.pageRenderer and add the missing files to EXT:fluid
* Migrate callbacks to signal slots and deprecate the callbacks
* Fix plain mail viewhelper, and deprecated it as it can be done in
  Fluid directly
* Code cleanup (fix indention, unused variables etc.)
* Deprecate custom checkbox VH because the fluid bug is gone
* Change tx_form view properties to ".0" instead of ".5" to be in line
  with FSC
* Streamline fluid VH additionalAttributes usage; add compatibility for
  previous configuration; Add BE form editor auto migration
* Fix small JavaScript bugs
* Fix small configuration bugs

Resolves: #80301
Resolves: #80287
Releases: master
Change-Id: Icf68b8a9a6876805af7bf273735d3d30984136ed
Reviewed-on: https://review.typo3.org/51972
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Tested-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
66 files changed:
typo3/sysext/core/Documentation/Changelog/master/Important-80301-ExtFormCleanupAndCallbackMigration.rst [new file with mode: 0644]
typo3/sysext/fluid/Classes/ViewHelpers/Be/PageRendererViewHelper.php
typo3/sysext/form/Classes/Controller/FormEditorController.php
typo3/sysext/form/Classes/Controller/FormManagerController.php
typo3/sysext/form/Classes/Domain/Factory/AbstractFormFactory.php
typo3/sysext/form/Classes/Domain/Model/FormElements/AbstractFormElement.php
typo3/sysext/form/Classes/Domain/Model/FormElements/AbstractSection.php
typo3/sysext/form/Classes/Domain/Model/FormElements/AdvancedPassword.php
typo3/sysext/form/Classes/Domain/Model/FormElements/DatePicker.php
typo3/sysext/form/Classes/Domain/Model/FormElements/FileUpload.php
typo3/sysext/form/Classes/Domain/Model/FormElements/FormElementInterface.php
typo3/sysext/form/Classes/Domain/Model/FormElements/Section.php
typo3/sysext/form/Classes/Domain/Model/FormElements/UnknownFormElement.php
typo3/sysext/form/Classes/Domain/Model/Renderable/AbstractRenderable.php
typo3/sysext/form/Classes/Domain/Model/Renderable/RenderableInterface.php
typo3/sysext/form/Classes/Domain/Model/Renderable/RootRenderableInterface.php
typo3/sysext/form/Classes/Domain/Renderer/FluidFormRenderer.php
typo3/sysext/form/Classes/Domain/Renderer/RendererInterface.php
typo3/sysext/form/Classes/Domain/Runtime/FormRuntime.php
typo3/sysext/form/Classes/Hooks/FormElementsOnSubmitHooks.php [new file with mode: 0644]
typo3/sysext/form/Classes/Hooks/FormPagePreviewRenderer.php
typo3/sysext/form/Classes/Mvc/Property/PropertyMappingConfiguration.php [new file with mode: 0644]
typo3/sysext/form/Classes/Service/TranslationService.php
typo3/sysext/form/Classes/ViewHelpers/Be/PageRendererViewHelper.php [deleted file]
typo3/sysext/form/Classes/ViewHelpers/Form/CheckboxViewHelper.php
typo3/sysext/form/Classes/ViewHelpers/PlainTextMailViewHelper.php
typo3/sysext/form/Classes/ViewHelpers/RenderRenderableViewHelper.php
typo3/sysext/form/Classes/ViewHelpers/TranslateElementPropertyViewHelper.php
typo3/sysext/form/Configuration/PageTS/modWizards.ts
typo3/sysext/form/Configuration/TypoScript/setup.txt
typo3/sysext/form/Configuration/Yaml/BaseSetup.yaml
typo3/sysext/form/Configuration/Yaml/FormEditorSetup.yaml
typo3/sysext/form/Resources/Private/Backend/Layouts/FormEditor.html
typo3/sysext/form/Resources/Private/Backend/Templates/FormEditor/Yaml/NewForms/SimpleContactForm.yaml
typo3/sysext/form/Resources/Private/Frontend/Partials/AdvancedPassword.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Checkbox.html
typo3/sysext/form/Resources/Private/Frontend/Partials/ContentElement.html
typo3/sysext/form/Resources/Private/Frontend/Partials/DatePicker.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Field/Field.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Field/Required.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Fieldset.html
typo3/sysext/form/Resources/Private/Frontend/Partials/FileUpload.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Hidden.html
typo3/sysext/form/Resources/Private/Frontend/Partials/ImageUpload.html
typo3/sysext/form/Resources/Private/Frontend/Partials/MultiCheckbox.html
typo3/sysext/form/Resources/Private/Frontend/Partials/MultiSelect.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Page.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Password.html
typo3/sysext/form/Resources/Private/Frontend/Partials/RadioButton.html
typo3/sysext/form/Resources/Private/Frontend/Partials/SingleSelect.html
typo3/sysext/form/Resources/Private/Frontend/Partials/StaticText.html
typo3/sysext/form/Resources/Private/Frontend/Partials/SummaryPage.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Text.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Textarea.html
typo3/sysext/form/Resources/Private/Frontend/Partials/UnknownElement.html
typo3/sysext/form/Resources/Private/Frontend/Templates/Finishers/Email/Html.html
typo3/sysext/form/Resources/Private/Frontend/Templates/Finishers/Email/Plaintext.html
typo3/sysext/form/Resources/Private/Frontend/Templates/Form.html
typo3/sysext/form/Resources/Private/Frontend/Templates/Render.html
typo3/sysext/form/Resources/Private/Language/Database.xlf
typo3/sysext/form/Resources/Public/Images/hidden.svg [new file with mode: 0644]
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Core.js
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/InspectorComponent.js
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/ViewModel.js
typo3/sysext/form/ext_localconf.php
typo3/sysext/form/ext_tables.php