[FEATURE] Introduce internal uniqueId generator 44/43244/3
authorNicole Cordes <typo3@cordes.co>
Sat, 12 Sep 2015 14:57:34 +0000 (16:57 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 12 Sep 2015 21:54:09 +0000 (23:54 +0200)
commit6465f2f051f7d7d9a2418e080e19ab16fd5196ba
treed26271453df9a91db97123fc48ca62687421f259
parent66a3a98055379104db10c757e9fe6e4c7ce7e0a9
[FEATURE] Introduce internal uniqueId generator

This patch add the function StringUtility::getUniqueId() which gets
an unique id (with using more entropy for Windows users) and removes
the included dot to be able to use the generated id in HTML as the dot
is an invalid character in some tag attributes e.g. id.

Resolves: #69730
Releases: master
Change-Id: Ic8a83df0a8b02f6778f0f5588d237379d909b59e
Reviewed-on: http://review.typo3.org/43244
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
36 files changed:
typo3/sysext/backend/Classes/Form/Container/FlexFormSectionContainer.php
typo3/sysext/backend/Classes/Form/Element/AbstractFormElement.php
typo3/sysext/backend/Classes/Form/Element/ImageManipulationElement.php
typo3/sysext/backend/Classes/Form/Element/InputElement.php
typo3/sysext/backend/Classes/Form/Element/SelectCheckBoxElement.php
typo3/sysext/backend/Classes/Form/Element/SelectMultipleSideBySideElement.php
typo3/sysext/backend/Classes/Form/Element/SelectSingleBoxElement.php
typo3/sysext/backend/Classes/Form/Element/SelectSingleElement.php
typo3/sysext/backend/Classes/Form/Element/TextElement.php
typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseUniqueUidNewRow.php
typo3/sysext/backend/Classes/Form/InlineRelatedRecordResolver.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/core/Classes/Cache/Backend/FileBackend.php
typo3/sysext/core/Classes/Cache/Backend/RedisBackend.php
typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/Database/DatabaseConnection.php
typo3/sysext/core/Classes/Database/QueryGenerator.php
typo3/sysext/core/Classes/Package/PackageManager.php
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Classes/Utility/StringUtility.php
typo3/sysext/core/Documentation/Changelog/master/Feature-69730-IntroduceUniqueIdGenerator.rst [new file with mode: 0644]
typo3/sysext/core/Tests/BaseTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/Framework/ActionService.php
typo3/sysext/core/Tests/Unit/Utility/StringUtilityTest.php
typo3/sysext/form/Tests/Unit/Domain/Model/Attribute/AttributesAttributeTest.php
typo3/sysext/impexp/Classes/ImportExport.php
typo3/sysext/install/Classes/Controller/Action/Tool/TestSetup.php
typo3/sysext/install/Classes/FolderStructure/DirectoryNode.php
typo3/sysext/install/Classes/Service/CoreUpdateService.php
typo3/sysext/mediace/Classes/ContentObject/FlowPlayerContentObject.php
typo3/sysext/mediace/Classes/ContentObject/QuicktimeObjectContentObject.php
typo3/sysext/mediace/Classes/ContentObject/ShockwaveFlashObjectContentObject.php
typo3/sysext/rsaauth/Classes/Backend/CommandLineBackend.php
typo3/sysext/rsaauth/Classes/Form/Element/RsaInputElement.php
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php