stable

Clone or download

Read-only

feat: Add grammar for tql FROM

Part of story #39330 Choose on which tracker I perform my query User is now able to use FROM syntax in its expert query in XTS widget /!\ Warning: All widgets in expert mode should be broken as the FROM part is mandatory *Testing:* Have a widget in expert mode You should be able to use FROM syntax in your query, but it does nothing as nothing has been implemented yet. Change-Id: If302d9cfeb8d705b53bc0926ba93969f99e69f39 Signed-off-by: Clarck Robinson <clarck.robinson@enalean.com>

Modified Files

Name
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/ArtifactIdSelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/ArtifactSelectTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/AssignedToSelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/DateSelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/DescriptionSelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/LastUpdateBySelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/LastUpdateDateSelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/NumericSelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/PrettyTitleSelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/ProjectNameSelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/StaticListSelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/StatusSelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/SubmittedBySelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/SubmittedOnSelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/TextSelectFromBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/TitleSelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/TrackerNameSelectBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/UGroupListSelectFromBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/UserListSelectFromBuilderTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/rest/CrossTracker/CrossTrackerTest.php +1 −1 Go to diff View file
M plugins/tracker/grammar/src/tql.pegjs +62 −7 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/From.php +42 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/FromProject.php +42 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/FromProjectCondition.php +27 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/FromProjectEqual.php +35 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/FromProjectIn.php +41 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/FromSomething.php +27 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/FromTracker.php +42 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/FromTrackerCondition.php +27 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/FromTrackerEqual.php +35 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/FromTrackerIn.php +41 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/Query.php +6 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Report/Query/Advanced/Grammar/ParserTest.php +191 −3 Go to diff View file