[TASK] Streamline expressionLanguage usage in core 32/58232/33
authorSusanne Moog <susanne.moog@typo3.org>
Sat, 8 Sep 2018 14:12:08 +0000 (16:12 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Thu, 20 Sep 2018 12:55:02 +0000 (14:55 +0200)
commit0ef9df9091cd16928c55eb8b83ca2d47c146a89e
tree39d2a2dd71c18c8140f501c5ea4ad2140b44a396
parent2b4c6f3d8e3809743cc215dc5c82d63437d2c631
[TASK] Streamline expressionLanguage usage in core

* provide same functions across contexts / methods
* provide same way to extend expressionLanguage everywhere
* provide way to load context specific variables and functions
* prepare compile step

Resolves: #86196
Related: #86243
Releases: master
Change-Id: I86cc04ec7051293c195879f823d90d894d160ff0
Reviewed-on: https://review.typo3.org/58232
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
31 files changed:
typo3/sysext/backend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php
typo3/sysext/backend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php
typo3/sysext/backend/Tests/UnitDeprecated/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php
typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php
typo3/sysext/core/Classes/ExpressionLanguage/AbstractProvider.php
typo3/sysext/core/Classes/ExpressionLanguage/DefaultFunctionsProvider.php [deleted file]
typo3/sysext/core/Classes/ExpressionLanguage/DefaultProvider.php
typo3/sysext/core/Classes/ExpressionLanguage/FunctionsProvider/DefaultFunctionsProvider.php [new file with mode: 0644]
typo3/sysext/core/Classes/ExpressionLanguage/FunctionsProvider/Typo3ConditionFunctionsProvider.php [new file with mode: 0644]
typo3/sysext/core/Classes/ExpressionLanguage/ProviderConfigurationLoader.php [new file with mode: 0644]
typo3/sysext/core/Classes/ExpressionLanguage/ProviderInterface.php
typo3/sysext/core/Classes/ExpressionLanguage/RequestWrapper.php
typo3/sysext/core/Classes/ExpressionLanguage/Resolver.php
typo3/sysext/core/Classes/ExpressionLanguage/TypoScriptConditionFunctionsProvider.php [deleted file]
typo3/sysext/core/Classes/ExpressionLanguage/TypoScriptConditionProvider.php
typo3/sysext/core/Classes/ExpressionLanguage/TypoScriptFrontendConditionFunctionsProvider.php [deleted file]
typo3/sysext/core/Configuration/ExpressionLanguage.php [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/9.4/Feature-85828-MoveSymfonyExpressionLanguageHandlingIntoEXTcore.rst
typo3/sysext/core/Documentation/Changelog/9.4/Feature-85829-ImplementSymfonyExpressionLanguageForTypoScriptConditions.rst
typo3/sysext/core/Tests/Unit/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcherTest.php
typo3/sysext/core/Tests/Unit/ExpressionLanguage/ResolverTest.php
typo3/sysext/core/composer.json
typo3/sysext/form/Classes/Domain/Condition/ConditionProvider.php
typo3/sysext/form/Classes/Domain/Condition/ExpressionLanguageVariableProviderInterface.php [deleted file]
typo3/sysext/form/Classes/Domain/Condition/Functions/FormConditionFunctionsProvider.php [new file with mode: 0644]
typo3/sysext/form/Classes/Domain/Runtime/FormRuntime.php
typo3/sysext/form/Configuration/ExpressionLanguage.php [new file with mode: 0644]
typo3/sysext/form/composer.json
typo3/sysext/frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php
typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php
typo3/sysext/frontend/Tests/UnitDeprecated/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php