stable

Clone or download

Read-only

Introduce OPEN() in TQL

Part of story #10702: define a query with status semantic In expert mode in trackers: * For every fields you have an error saying that you cannot use OPEN() * OPEN is recognized by the editor (highlighted like BETWEEN) In cross-trackers widget: * For @title and @description you have an error saying that you cannot use OPEN() * OPEN is recognized by the editor (highlighted like BETWEEN) * OPEN is autocompleted Change-Id: I1027faba17b490ce1b884cb5dabbe22cafdea448

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/ComparisonChecker.php +9 −1 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/ToStatusOpenComparisonException.php +35 −0 Go to diff View file
M plugins/crosstracker/include/autoload.php +3 −2 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/writing-mode/tql-configuration.js +2 −1 Go to diff View file
M plugins/tracker/grammar/tql.pegjs +6 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/CollectionOfListValuesExtractor.php +13 −1 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/StatusOpenValueWrapper.php +28 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/ValueWrapperVisitor.php +3 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/CollectionOfAlphaNumericValuesExtractor.php +9 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Date/CollectionOfDateValuesExtractor.php +12 −1 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Date/DateToStatusOpenComparisonException.php +35 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Float/FloatFieldChecker.php +4 −1 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Float/FloatToStatusOpenComparisonException.php +35 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Integer/IntegerFieldChecker.php +4 −1 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Integer/IntegerToStatusOpenComparisonException.php +35 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ListToStatusOpenComparisonException.php +35 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/StatusOpenIsNotSupportedException.php +24 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Text/TextFieldChecker.php +12 −1 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Text/TextToStatusOpenComparisonException.php +35 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/Comment/CommentToStatusOpenComparisonException.php +34 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/EqualComparisonChecker.php +10 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/NotEqualComparisonChecker.php +12 −3 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/DateTimeFieldFromWhereBuilder.php +10 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/DateTimeReadOnlyFieldFromWhereBuilder.php +10 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataEqualComparisonFromWhereBuilder.php +8 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataNotEqualComparisonFromWhereBuilder.php +10 −1 Go to diff View file
M plugins/tracker/include/autoload.php +10 −2 Go to diff View file
M plugins/tracker/www/scripts/report/TQL-CodeMirror/configuration.js +2 −2 Go to diff View file