stable

Clone or download

Read-only

Fix the burndown chart

Part of request #12558 - Timezones issue with burndown and burnup graphs How to test: - Graphs are properly displayed not matter the timezone you are in (system or tuleap.user_timezone) Change-Id: I463898ef90023c161910e9773d3081f7a4b97d8d

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +5 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownCacheGenerationChecker.php +3 −3 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownCommonDataBuilder.php +124 −0 Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownDataBuilder.php Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForREST.php +109 −0 Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdder.php Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdderForREST.php +90 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.class.php +69 −30 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_ComputedDao.class.php +12 −0 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownCacheGenerationCheckerTest.php +6 −6 Go to diff View file
R plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownDataBuilderTest.php Go to diff View file
A plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForRESTTest.php +228 −0 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdderTest.php +107 −23 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_BurndownTest.php +1 −1 Go to diff View file
M src/www/scripts/charts-builders/chart-dates-service.js +2 −2 Go to diff View file
M tests/rest/tests/ArtifactsTest.php +84 −38 Go to diff View file