stable

Clone or download

Read-only

Be able to compute values

this is part of story #10670 a BurnUp chart based on Done stories This commit introduce computation for Burnup chart. In order to ease review, we didn't made the whole computation in one commit. This commit only retrieve the linked artifact (without _is_child link) with a Done semantic. There is no sum of initial effort semantic for now, it will be done in a dedicated commit. How to test: create a hierarchy with some artifacts, some with "Done" status, some with other status. Access to an artifact with a burnup, the field is not displayed You should see the list of all your open artifacts in /var/log/tuleap/burnup_syslog Change-Id: If2a0fba7c1a6de5998bb9167132c45e595839c39

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup.php +28 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupCalculator.php +70 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupDao.php +82 −0 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +0 −4 Go to diff View file
M plugins/agiledashboard/include/autoload.php +4 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/BurndownCalculator.php +63 −13 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/ComputedFieldCalculator.php +11 −164 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/FieldCalculator.php +91 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/IProvideArtifactChildrenForComputedCalculation.php +32 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/SystemEvent/SystemEvent_BURNDOWN_DAILY.php +17 −11 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/SystemEvent/SystemEvent_BURNDOWN_GENERATE.php +16 −13 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.class.php +2 −6 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +11 −5 Go to diff View file
M plugins/tracker/include/autoload.php +4 −2 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +3 −2 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_ComputedTest.php +10 −1 Go to diff View file