stable

Clone or download

Read-only

request #21387 Done semantic must be handled by Tracker plugin

The done semantic was previously provided by the Agiledashboard plugin. Now, it must be provided by the Tracker plugin. No functional change expected here. The done semantic must work as before. BindStaticValueDao does not use PDO because it mixes INSERT SELECT + return last created id. Change-Id: Ib422b2ef1505573c918923758c495fa4534135c5

Modified Files

Name
M plugins/agiledashboard/db/install.sql +0 −9 Go to diff View file
M plugins/agiledashboard/db/uninstall.sql +0 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup.php +3 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupCalculator.php +4 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/MessageFetcher.php +1 −1 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/Semantic/Dao/SemanticDoneDao.php +0 −116 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Semantic/Semantic_InitialEffortFactory.class.php +7 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Semantic/XML/SemanticsExporter.php +2 −18 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +10 −80 Go to diff View file
M plugins/agiledashboard/site-content/fr_FR/LC_MESSAGES/tuleap-agiledashboard.po +0 −42 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/FormElement/BurnupCalculatorTest.php +2 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/FormElement/MessageFetcherTest.php +4 −4 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Semantic/XML/SemanticExporterTest.php +5 −51 Go to diff View file
M plugins/cardwall/include/Semantic/CardFieldsFactory.class.php +8 −4 Go to diff View file
M plugins/cardwall/include/cardwallPlugin.php +11 −5 Go to diff View file
M plugins/jira_import/include/JiraAgile/ScrumTrackerBuilder.php +2 −2 Go to diff View file
M plugins/tracker/db/install.sql +8 −0 Go to diff View file
A plugins/tracker/db/mysql/updates/2021/202105201803_move_done_semantic_to_tracker_plugin.php +63 −0 Go to diff View file
M plugins/tracker/db/uninstall.sql +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraImporterExternalPluginsEvent.php +1 −13 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php +1 −2 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Semantic/SemanticsXMLExporter.php +23 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/BindStaticValueDao.php +37 −40 Go to diff View file
D plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/CanValueBeHiddenStatementsCollection.php +0 −70 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/IBuildSemanticFromXML.php +6 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/SemanticProgressFromXMLBuilder.php +10 −6 Go to diff View file
D plugins/tracker/include/Tracker/Semantic/SemanticStatusCanBeDeleted.php +0 −75 Go to diff View file
D plugins/tracker/include/Tracker/Semantic/SemanticStatusFieldCanBeUpdated.php +0 −76 Go to diff View file
D plugins/tracker/include/Tracker/Semantic/SemanticStatusGetDisabledValues.php +0 −69 Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/Semantic/SemanticDone.php Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/Semantic/SemanticDoneAdminPresenter.php Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Status/Done/SemanticDoneDao.php +97 −0 Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/Semantic/SemanticDoneDuplicator.php Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/Semantic/SemanticDoneFactory.php Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/Semantic/SemanticDoneIntroPresenter.php Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/Semantic/SemanticDoneLoader.php Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/Semantic/SemanticDoneValueChecker.php Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/Semantic/XML/XMLDoneSemantic.php Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/SemanticTimeframeFromXMLBuilder.php +10 −6 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_SemanticFactory.class.php +23 −3 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_SemanticManager.class.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_ContributorFactory.class.php +7 −3 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_DescriptionFactory.class.php +7 −3 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Status.class.php +31 −24 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_StatusFactory.class.php +8 −4 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_TitleFactory.class.php +7 −3 Go to diff View file
M plugins/tracker/include/Tracker/Tooltip/Tracker_TooltipFactory.class.php +7 −3 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +42 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Semantic/SemanticsXMLExporterTest.php +28 −8 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Progress/SemanticProgressFromXMLBuilderTest.php +21 −0 Go to diff View file
R plugins/agiledashboard/tests/unit/AgileDashboard/Semantic/SemanticDoneDuplicatorTest.php Go to diff View file
R plugins/agiledashboard/tests/unit/AgileDashboard/Semantic/SemanticDoneLoaderTest.php Go to diff View file
R plugins/agiledashboard/tests/unit/AgileDashboard/Semantic/SemanticDoneTest.php Go to diff View file
R plugins/agiledashboard/tests/unit/AgileDashboard/Semantic/SemanticDoneValueCheckerTest.php Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Status/Tracker_Semantic_StatusFactoryTest.php +9 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/SemanticTimeframeFromXMLBuilderTest.php +9 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Title/Tracker_Semantic_TitleFactoryTest.php +3 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Tooltip/Tracker_TooltipFactoryTest.php +6 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Tracker_Semantic_ContributorFactoryTest.php +8 −1 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/MissingRequirementRetriever.php +1 −1 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocity.php +4 −4 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocityAdminPresenter.php +1 −1 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocityAdminPresenterBuilder.php +1 −1 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocityFactory.php +1 −1 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocityPresenterBuilder.php +1 −1 Go to diff View file
M plugins/velocity/include/Velocity/VelocityCalculator.php +1 −1 Go to diff View file
M plugins/velocity/include/Velocity/VelocityComputation.php +1 −1 Go to diff View file
M plugins/velocity/include/Velocity/VelocityComputationChecker.php +1 −1 Go to diff View file
M plugins/velocity/include/Velocity/VelocityRepresentationBuilder.php +2 −2 Go to diff View file
M plugins/velocity/include/velocityPlugin.php +4 −4 Go to diff View file
M plugins/velocity/tests/unit/Velocity/Semantic/BacklogRequiredTrackerCollectionTest.php +3 −3 Go to diff View file
M plugins/velocity/tests/unit/Velocity/VelocityCalculatorTest.php +2 −2 Go to diff View file
M plugins/velocity/tests/unit/Velocity/VelocityComputationCheckerTest.php +1 −1 Go to diff View file
M plugins/velocity/tests/unit/Velocity/VelocityPluginComputationTest.php +1 −1 Go to diff View file
M plugins/velocity/tests/unit/Velocity/VelocityRepresentationBuilderTest.php +2 −2 Go to diff View file