[FEATURE] Introduce TCA type "password"
In the process of using dedicated TCA types, the new TCA type "password" is introduced and replaces "eval=password" and "eval=saltedpassword" of TCA type "input". Notable changes to the previous behaviour: - "trim" is always done in DataHandler and FormEngine - Password field is rendered as input type=password - The input field has by default "autocomplete=off" The TCA type "password" introduces the new configuration "hashed", which can be set to "false", if the field value should be saved as plaintext to the database. This configuration has no effect for the tables "fe_users" and "be_users". Resolves: #97104 Releases: main Change-Id: Ia48296291a61df6802ef21105b38b4f508b7a11c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73832 Tested-by:Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
Showing
- Build/Sources/TypeScript/backend/form-engine-validation.ts 1 addition, 2 deletionsBuild/Sources/TypeScript/backend/form-engine-validation.ts
- Build/Sources/TypeScript/backend/form-engine.ts 0 additions, 13 deletionsBuild/Sources/TypeScript/backend/form-engine.ts
- typo3/sysext/backend/Classes/Form/Element/InputTextElement.php 0 additions, 5 deletions.../sysext/backend/Classes/Form/Element/InputTextElement.php
- typo3/sysext/backend/Classes/Form/Element/PasswordElement.php 205 additions, 0 deletions...3/sysext/backend/Classes/Form/Element/PasswordElement.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/TcaColumnsProcessPlaceholders.php 2 additions, 1 deletion...s/Form/FormDataProvider/TcaColumnsProcessPlaceholders.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInputPlaceholders.php 1 addition, 0 deletions...nd/Classes/Form/FormDataProvider/TcaInputPlaceholders.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/TcaRecordTitle.php 14 additions, 0 deletions.../backend/Classes/Form/FormDataProvider/TcaRecordTitle.php
- typo3/sysext/backend/Classes/Form/NodeFactory.php 1 addition, 0 deletionstypo3/sysext/backend/Classes/Form/NodeFactory.php
- typo3/sysext/backend/Classes/Form/Utility/FormEngineUtility.php 1 addition, 0 deletions...sysext/backend/Classes/Form/Utility/FormEngineUtility.php
- typo3/sysext/backend/Classes/Utility/BackendUtility.php 6 additions, 8 deletionstypo3/sysext/backend/Classes/Utility/BackendUtility.php
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine-validation.js 1 addition, 1 deletion...end/Resources/Public/JavaScript/form-engine-validation.js
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine.js 1 addition, 1 deletion...sysext/backend/Resources/Public/JavaScript/form-engine.js
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 52 additions, 17 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/DataHandling/TableColumnType.php 1 addition, 0 deletionstypo3/sysext/core/Classes/DataHandling/TableColumnType.php
- typo3/sysext/core/Classes/Migrations/TcaMigration.php 57 additions, 0 deletionstypo3/sysext/core/Classes/Migrations/TcaMigration.php
- typo3/sysext/core/Configuration/TCA/be_users.php 2 additions, 5 deletionstypo3/sysext/core/Configuration/TCA/be_users.php
- typo3/sysext/core/Documentation/Changelog/12.0/Feature-97104-NewTCATypePassword.rst 122 additions, 0 deletions...ation/Changelog/12.0/Feature-97104-NewTCATypePassword.rst
- typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php 4 additions, 6 deletions...3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php
- typo3/sysext/core/Tests/Unit/Migrations/TcaMigrationTest.php 120 additions, 0 deletionstypo3/sysext/core/Tests/Unit/Migrations/TcaMigrationTest.php
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapFactoryTest.php 1 addition, 0 deletions...ts/Unit/Persistence/Generic/Mapper/DataMapFactoryTest.php
Please register or sign in to comment