stable

Clone or download

Read-only

Introduce new function myself()

This is a part of story #8860 TQL for select box To test: You can use the new function "myself()" on list fields bind to users with operators =, !=, IN() and NOT IN(). Change-Id: I517b9a5150709dae80f94417587eb7da12abd33f

Modified Files

Name
M plugins/tracker/grammar/tql.pegjs +11 −3 Go to diff View file
M plugins/tracker/include/REST/v1/TrackersResource.class.php +3 −2 Go to diff View file
R plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/CollectionOfListValuesExtractor.php Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/CurrentUserValueWrapper.php +55 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/ValueWrapperVisitor.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/CollectionOfAlphaNumericValuesExtractor.php +8 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Date/CollectionOfDateValuesExtractor.php +14 −1 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Date/DateToMySelfComparisonException.php +35 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/EqualComparisonVisitor.php +1 −8 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Float/FloatFieldChecker.php +3 −5 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Float/FloatToMySelfComparisonException.php +35 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/InComparisonVisitor.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Integer/IntegerFieldChecker.php +3 −5 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Integer/IntegerToMySelfComparisonException.php +35 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ListFieldChecker.php +4 −8 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ListToMySelfForAnonymousComparisonException.php +35 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/MySelfIsNotSupportedException.php +24 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/MySelfIsNotSupportedForAnonymousException.php +24 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/NotEqualComparisonVisitor.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/NotInComparisonVisitor.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Text/TextFieldChecker.php +11 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Text/TextToMySelfComparisonException.php +35 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/DateTimeFromWhereBuilder.php +9 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/DateTimeReadOnlyFromWhereBuilder.php +9 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/EqualComparison/ForListBindUsers.php +17 −4 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/EqualComparisonVisitor.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/InComparison/ForListBindStatic.php +12 −33 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/InComparison/ForListBindUsers.php +12 −33 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/InComparisonVisitor.php +3 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotEqualComparison/ForListBindUsers.php +12 −5 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotEqualComparisonVisitor.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotInComparison/ForListBindStatic.php +12 −33 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotInComparison/ForListBindUsers.php +12 −33 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotInComparisonVisitor.php +3 −0 Go to diff View file
M plugins/tracker/include/autoload.php +11 −3 Go to diff View file
M plugins/tracker/site-content/en_US/tracker.tab +1 −1 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +23 −1 Go to diff View file
M plugins/tracker/site-content/fr_FR/tracker.tab +1 −1 Go to diff View file
M plugins/tracker/site-content/tuleap-tracker.pot +20 −0 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/InvalidFields/ListFieldCheckerTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/QueryBuilderTest.php +2 −0 Go to diff View file
M plugins/tracker/www/scripts/TrackerReportExpertMode.js +3 −2 Go to diff View file