stable
Clone or download
Read-only
Part of story #38263 Choose my own columns based on field name (numeric, text, dates) User can now select date and datetime fields with TQL. But nothing changes on the view as the return format of REST API is not defined yet *Testing:* You can check RestLogs (/var/log/tuleap/rest_api_log), the result of sql query is dumped into them Change-Id: I92c3d0bf3b398402fcd53282a9300b9381ad71f7 Signed-off-by: Clarck Robinson <clarck.robinson@enalean.com>
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php | +7 | −2 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/CrossTrackerArtifactReportFactory.php | +8 | −1 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/CrossTrackerExpertQueryReportDao.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Field/FieldFromWhereBuilder.php | +1 | −2 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/Date/DateSelectFromBuilder.php | +59 | −0 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/FieldSelectFromBuilder.php | +21 | −13 | Go to diff View file |
M | plugins/crosstracker/include/crosstrackerPlugin.php | +7 | −2 | Go to diff View file |
M | plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/CrossTrackerFieldTestCase.php | +2 | −0 | Go to diff View file |
A | plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/DateSelectBuilderTest.php | +177 | −0 | Go to diff View file |
M | plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php | +7 | −2 | Go to diff View file |
M | plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/QueryBuilder/Field/FieldFromWhereBuilderTest.php | +2 | −1 | Go to diff View file |
M | plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/FieldSelectFromBuilderTest.php | +61 | −11 | Go to diff View file |
M | plugins/tracker/include/Tracker/Permission/RetrieveUserPermissionOnFields.php | +3 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Permission/TrackersPermissionsRetriever.php | +0 | −4 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Permission/TrackersPermissionsRetrieverTest.php | +1 | −1 | Go to diff View file |
M | tests/psalm/tuleap-baseline.xml | +0 | −16 | Go to diff View file |