stable
Clone or download
part of story #32315 Add support of markdown How to test: - In a repository, create a new branch and checkout it - Make some changes to the files - Commit them - Write the commit message using markdown - Push your commit to the repository - Create a pull-request with source being your branch and destination being master. --> The description is displayed in markdown --> The WritingZones have the [Preview] tab and the Markdown supported button in their headers - Update the description comment --> It is saved and dipslayed as markdown - Add a global comment written in markdown --> It is saved and displayed as markdown - Add a reply to your comment --> It is saved and displayed as markdown - Add a comment on a file --> It is saved and displayed as markdown - Add a reply to this inline comment --> It is saved and displayed as ...... markdown! _standing ovation_ Change-Id: I7e384ae82d229f9d1b32568c0f6ef2b00dd23e81
Modified Files
Name | ||||
---|---|---|---|---|
D | plugins/pullrequest/include/PullRequest/Comment/FeatureFlagCommentsInMarkdown.php | +0 | −38 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/InlineComment/InlineCommentCreator.php | +1 | −1 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/PullRequestCreator.php | +1 | −1 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/PullRequestPresenter.php | +0 | −4 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/Info/PullRequestInfoUpdater.php | +1 | −1 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestPOSTRepresentation.php | +0 | −5 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php | +2 | −2 | Go to diff View file |
M | plugins/pullrequest/include/pullrequestPlugin.php | +1 | −7 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/PullRequestComment.ts | +0 | −3 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/PullRequestCommentController.ts | +23 | −29 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/PullRequestCommentReplyFormTemplate.test.ts | +0 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/PullRequestCommentReplySaver.test.ts | +0 | −4 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/PullRequestCommentReplySaver.ts | +5 | −10 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/description-comment/PullRequestDescriptionComment.ts | +0 | −3 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/description-comment/PullRequestDescriptionCommentController.test.ts | +0 | −2 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/description-comment/PullRequestDescriptionCommentController.ts | +17 | −22 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/description-comment/PullRequestDescriptionCommentFormTemplate.test.ts | +0 | −2 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/description-comment/PullRequestDescriptionCommentSaver.test.ts | +0 | −2 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/description-comment/PullRequestDescriptionCommentSaver.ts | +2 | −4 | Go to diff View file |
D | plugins/pullrequest/scripts/lib/pullrequest-comments/src/helpers/content-format.test.ts | +0 | −34 | Go to diff View file |
D | plugins/pullrequest/scripts/lib/pullrequest-comments/src/helpers/content-format.ts | +0 | −24 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/new-comment-form/NewCommentForm.ts | +0 | −3 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/new-comment-form/NewCommentFormController.ts | +11 | −13 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/new-comment-form/NewCommentFormTemplate.test.ts | +0 | −2 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/new-comment-form/NewCommentSaver.test.ts | +2 | −10 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/new-comment-form/NewCommentSaver.ts | +9 | −12 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/writing-zone/WritingZone.test.ts | +0 | −3 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/writing-zone/WritingZoneController.test.ts | +3 | −13 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/writing-zone/WritingZoneController.ts | +1 | −5 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/writing-zone/WritingZonePresenter.test.ts | +1 | −7 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/writing-zone/WritingZonePresenter.ts | +1 | −6 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/writing-zone/WritingZoneTabsTemplate.test.ts | +6 | −26 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/writing-zone/WritingZoneTabsTemplate.ts | +0 | −4 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/writing-zone/WritingZoneTemplate.test.ts | +4 | −9 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/pullrequest-comments/src/writing-zone/WritingZoneTemplate.ts | +1 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/OverviewNewCommentForm.test.ts | +0 | −3 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/OverviewNewCommentForm.vue | +0 | −3 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/OverviewThreads.test.ts | +0 | −3 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/OverviewThreads.vue | +0 | −4 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/src/constants.ts | +0 | −4 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/src/pullrequest-overview.ts | +0 | −5 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/app-controller.js | +0 | −4 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/diff-modes/side-by-side-diff-component.js | +0 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/diff-modes/unidiff-component.js | +0 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/types.ts | +0 | −2 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/widgets/SideBySideCodeMirrorWidgetCreator.test.ts | +0 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/widgets/SideBySideCodeMirrorWidgetCreator.ts | +0 | −5 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/shared-properties/shared-properties-service.js | +0 | −11 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/tests/stubs/FileDiffWidgetStub.ts | +0 | −2 | Go to diff View file |
M | plugins/pullrequest/templates/pullrequest.mustache | +0 | −2 | Go to diff View file |
M | plugins/pullrequest/tests/unit/InlineComment/InlineCommentCreatorTest.php | +4 | −4 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/Info/PullRequestInfoUpdaterTest.php | +2 | −2 | Go to diff View file |