stable

Clone or download

Read-only

[feature] Add simple report criteria in generated document

This is part of story #22568 have a structured document This exports: * TQL Query if report is in expert mode * Simple criteria if the report is classic (critera that is not date or list) * Additional criteria (comment, in milestone) are not taken into account yet Change-Id: I9cbd0a893774929e8734a54f73aff8db040fcc9e

Modified Files

Name
A plugins/document_generation/include/Report/ClassicReportCriteriaJson.php +43 −0 Go to diff View file
A plugins/document_generation/include/Report/CriterionValueJson.php +38 −0 Go to diff View file
A plugins/document_generation/include/Report/ExpertReportCriteriaJson.php +37 −0 Go to diff View file
A plugins/document_generation/include/Report/ReportCriteriaJson.php +30 −0 Go to diff View file
A plugins/document_generation/include/Report/ReportCriteriaJsonBuilder.php +71 −0 Go to diff View file
M plugins/document_generation/include/document_generationPlugin.php +5 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/po/fr_FR.po +9 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/download-docx.test.ts +4 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/download-docx.ts +62 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/type.ts +18 −0 Go to diff View file
A plugins/document_generation/tests/unit/Report/ReportCriteriaJsonBuilderTest.php +131 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +12 −17 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_ReportFactory.class.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report_REST.class.php +5 −6 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Report/Tracker_Report_Renderer_TableTest.php +4 −4 Go to diff View file
M tests/psalm/psalm.xml +1 −0 Go to diff View file