stable

Clone or download

Read-only

feat: Introduce WITHOUT PARENT

You can search artifacts that don't have a parent in TQL. For now Cross Tracker does not support WITHOUT PARENT. Implementation note: * Empty constructor is removed from WithParent * WithParent queries have no a LIMIT to not query to much information and potentially save rainforest. Part of story #32281: Search artifacts with/without parents via TQL Change-Id: Idbae67764472f6210ae8bbd0d337b4cc11088cc7

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidTermCollectorVisitor.php +13 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilderVisitor.php +6 −0 Go to diff View file
M plugins/crosstracker/site-content/fr_FR/LC_MESSAGES/tuleap-crosstracker.po +3 −0 Go to diff View file
M plugins/crosstracker/site-content/pt_BR/LC_MESSAGES/tuleap-crosstracker.po +3 −0 Go to diff View file
M plugins/tracker/grammar/src/tql.pegjs +5 −0 Go to diff View file
M plugins/tracker/include/REST/v1/TrackersResource.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/ExpertModePresenter.class.php +4 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/TermVisitor.php +7 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/WithParent.php +0 −4 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/WithoutParent.php +30 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Date/DateToEmptyStringTermException.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/FloatFields/FloatToEmptyStringTermException.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Integer/IntegerToEmptyStringTermException.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ListToEmptyStringTermException.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidTermCollectorVisitor.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilderVisitor.php +24 −2 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/scripts/lib/TQL-CodeMirror/src/configuration.ts +2 −1 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +4 −4 Go to diff View file
M plugins/tracker/site-content/pt_BR/LC_MESSAGES/tuleap-tracker.po +2 −2 Go to diff View file
M plugins/tracker/tests/rest/TQL/TQLTest.php +1 −0 Go to diff View file