stable
Clone or download
Read-only
This is a part of story #8860: TQL for select box To test: You can now use the NOT IN() operator with list fields - You can search for 1+ values separated by a comma "," - Only string values are allowed with NOT IN() - NOT IN('') should not be allowed - NOT IN() without value should not be allowed - Searching for values that are not defined for the list should not be allowed Change-Id: I5b14874f13a455a122b2676e8048f4ac25bac02d
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/grammar/test_parser.php | +1 | −0 | Go to diff View file |
M | plugins/tracker/grammar/tql.pegjs | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/v1/TrackersResource.class.php | +1 | −1 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/NotInComparison.php | +56 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ListToEmptyStringComparisonException.php | +6 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/NotInComparisonVisitor.php | +174 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFieldsCollectorVisitor.php | +16 | −2 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotInComparison/ForList.php | +99 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotInComparisonVisitor.php | +175 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilderVisitor.php | +19 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/SizeValidatorVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Tracker_Report.class.php | +4 | −2 | Go to diff View file |
M | plugins/tracker/include/autoload.php | +6 | −2 | 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 | +8 | −0 | 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 | +6 | −0 | Go to diff View file |
M | plugins/tracker/tests/Tracker/Report/Query/Advanced/InvalidFieldsCollectorVisitorTest.php | +28 | −1 | Go to diff View file |
M | plugins/tracker/tests/Tracker/Report/Query/Advanced/QueryBuilderTest.php | +21 | −1 | Go to diff View file |
M | plugins/tracker/www/scripts/TrackerReportExpertMode.js | +9 | −2 | Go to diff View file |