stable
Clone or download
Read-only
This is part of story #17182: reference tuleap artifacts in gitlab merge requests How to test: - Have integrated Gitlab repository - Open/update a merge request with a reference Expected results: - The cross reference is displayed with creation date only - There is no comma before date - All other xRef (gitlab commit, git commit) displays author and date with comma between (in other words: no expected changes) Change-Id: I5c6777a58a690cd3b5ccc897a91fddd59ac39b23
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/gitlab/db/install.sql | +1 | −0 | Go to diff View file |
A | plugins/gitlab/db/mysql/2021/202101271212_add_merge_request_created_at_date.php | +46 | −0 | Go to diff View file |
M | plugins/gitlab/include/Reference/GitlabCrossReferenceOrganizer.php | +23 | −1 | Go to diff View file |
M | plugins/gitlab/include/Reference/MergeRequest/GitlabMergeRequest.php | +19 | −4 | Go to diff View file |
M | plugins/gitlab/include/Reference/MergeRequest/GitlabMergeRequestReferenceRetriever.php | +1 | −0 | Go to diff View file |
M | plugins/gitlab/include/Repository/Webhook/PostMergeRequest/MergeRequestTuleapReferenceDao.php | +6 | −3 | Go to diff View file |
M | plugins/gitlab/include/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookActionProcessor.php | +1 | −0 | Go to diff View file |
M | plugins/gitlab/include/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookData.php | +13 | −1 | Go to diff View file |
M | plugins/gitlab/include/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookDataBuilder.php | +8 | −0 | Go to diff View file |
M | plugins/gitlab/include/gitlabPlugin.php | +1 | −0 | Go to diff View file |
M | plugins/gitlab/tests/unit/Reference/GitlabCrossReferenceOrganizerTest.php | +21 | −0 | Go to diff View file |
M | plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookActionProcessorTest.php | +11 | −5 | Go to diff View file |
M | plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookDataBuilderTest.php | +16 | −0 | Go to diff View file |
M | plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/PreviouslySavedReferencesRetrieverTest.php | +5 | −0 | Go to diff View file |
M | plugins/gitlab/tests/unit/Repository/Webhook/WebhookActionsTest.php | +1 | −0 | Go to diff View file |
M | plugins/gitlab/tests/unit/Repository/Webhook/WebhookDataExtractorTest.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/templates/form-element/reference/cross_reference.mustache | +8 | −4 | Go to diff View file |
M | src/common/Reference/CreationMetadataPresenter.php | +4 | −2 | Go to diff View file |
M | src/common/Reference/CrossReferencePresenter.php | +1 | −1 | Go to diff View file |
M | tests/unit/common/Reference/CrossReferencePresenterTest.php | +14 | −0 | Go to diff View file |