stable

Clone or download

Read-only

Update milestone velocity when backlog item is closed

this is part of story #10632 have the velocity of an artifact This patch only introduce velocity computation storage How to test: - add force_velocity_computation in local.inc Artifact update: - Open => Open: velocity not updates=d - Open => closed: velocity = 10; - Closed => closed: no new changeset If status is a multiselectbox, new value will be stored if one of new value has a close semantic On a closed artifact, update its velocity, new velocity is stored Change-Id: I8ca1dd787c7db1651754deabd243cc023061056d

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Semantic/SemanticDone.php +9 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/InitialChangesetCreatorBase.class.php +8 −11 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreatorBase.class.php +6 −9 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List.class.php +20 −20 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file
A plugins/tracker/include/workflow/BeforeEvent.php +80 −0 Go to diff View file
M plugins/tracker/include/workflow/Workflow.class.php +20 −3 Go to diff View file
M plugins/tracker/tests/REST_Backend/Artifact/ArtifactValidatorTest.php +4 −3 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_ListTest.php +6 −5 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_MultiSelectboxTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_OpenListTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_SelectboxTest.php +1 −1 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocity.php +4 −2 Go to diff View file
A plugins/velocity/include/Velocity/VelocityComputationChecker.php +72 −0 Go to diff View file
M plugins/velocity/include/autoload.php +3 −2 Go to diff View file
M plugins/velocity/include/velocityPlugin.class.php +47 −2 Go to diff View file
A plugins/velocity/phpunit/.simpletest_skip +0 −0 Go to diff View file
A plugins/velocity/phpunit/Velocity/VelocityComputationCheckerTest.php +192 −0 Go to diff View file
A plugins/velocity/phpunit/bootstrap.php +21 −0 Go to diff View file
M plugins/velocity/site-content/fr_FR/LC_MESSAGES/tuleap-velocity.po +4 −0 Go to diff View file
M plugins/velocity/site-content/tuleap-velocity.pot +4 −0 Go to diff View file
M tests/phpunit/phpunit.xml +1 −0 Go to diff View file