stable

Clone or download

Read-only

Started threads are not properly determined

part of story #29257 have a thread of comments How to test: Create multiple comments Reply to them, they will have different colors assigned If you post multiples replies to an existing thread, it keeps its color Change-Id: Ie4b7e70ad9fff4e815afa3110708674380e3f28a

Modified Files

Name
M plugins/pullrequest/db/install.sql +2 −2 Go to diff View file
A plugins/pullrequest/db/mysql/updates/2022/202211251412_make_color_column_not_nullable.php +63 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Comment/Dao.php +1 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/Comment/Factory.php +1 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/Comment/ThreadCommentDao.php +3 −3 Go to diff View file
M plugins/pullrequest/include/PullRequest/InlineComment/Dao.php +1 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/InlineComment/InlineComment.php +1 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/Comment/ThreadCommentColorAssigner.php +1 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/Comment/ThreadCommentColorRetriever.php +7 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestInlineCommentRepresentationBuilder.php +1 −1 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/PullRequest/Timeline/Factory.php +1 −1 Go to diff View file
A plugins/pullrequest/tests/integration/Comment/ThreadCommentDaoTest.php +119 −0 Go to diff View file
M plugins/pullrequest/tests/unit/InlineComment/InlineCommentCreatorTest.php +9 −6 Go to diff View file
M plugins/pullrequest/tests/unit/InlineComment/InlineCommentRetrieverTest.php +1 −1 Go to diff View file
M plugins/pullrequest/tests/unit/REST/v1/Comment/ThreadCommentColorAssignerTest.php +13 −3 Go to diff View file
M plugins/pullrequest/tests/unit/REST/v1/Comment/ThreadCommentColorRetreiverTest.php +14 −2 Go to diff View file