mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-03 03:55:58 +01:00
Compare commits
4 Commits
revert_pul
...
4.38.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96948ede69 | ||
|
|
9bd0b6a801 | ||
|
|
8b969927e1 | ||
|
|
c2ffdf6d63 |
@@ -1,6 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
All changes to the project will be documented in this file.
|
All changes to the project will be documented in this file.
|
||||||
|
|
||||||
|
## 4.38.3 - 30 Oct 2022
|
||||||
|
- Fix several issues around multiple assignees in issues and pull requests
|
||||||
|
- Fix IllegalStateException when returning unknown avatar image
|
||||||
|
|
||||||
## 4.38.2 - 20 Sep 2022
|
## 4.38.2 - 20 Sep 2022
|
||||||
- Resurrect assignee icons on the issue list
|
- Resurrect assignee icons on the issue list
|
||||||
|
|
||||||
|
|||||||
@@ -61,6 +61,10 @@ Support
|
|||||||
|
|
||||||
What's New in 4.38.x
|
What's New in 4.38.x
|
||||||
-------------
|
-------------
|
||||||
|
## 4.38.3 - 30 Oct 2022
|
||||||
|
- Fix several issues around multiple assignees in issues and pull requests
|
||||||
|
- Fix IllegalStateException when returning unknown avatar image
|
||||||
|
|
||||||
## 4.38.2 - 20 Sep 2022
|
## 4.38.2 - 20 Sep 2022
|
||||||
- Resurrect assignee icons on the issue list
|
- Resurrect assignee icons on the issue list
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ import com.jsuereth.sbtpgp.PgpKeys._
|
|||||||
|
|
||||||
val Organization = "io.github.gitbucket"
|
val Organization = "io.github.gitbucket"
|
||||||
val Name = "gitbucket"
|
val Name = "gitbucket"
|
||||||
val GitBucketVersion = "4.38.2"
|
val GitBucketVersion = "4.38.3"
|
||||||
val ScalatraVersion = "2.8.2"
|
val ScalatraVersion = "2.8.4"
|
||||||
val JettyVersion = "9.4.49.v20220914"
|
val JettyVersion = "9.4.49.v20220914"
|
||||||
val JgitVersion = "5.13.1.202206130422-r"
|
val JgitVersion = "5.13.1.202206130422-r"
|
||||||
|
|
||||||
|
|||||||
@@ -113,5 +113,6 @@ object GitBucketCoreModule
|
|||||||
new Version("4.37.2"),
|
new Version("4.37.2"),
|
||||||
new Version("4.38.0", new LiquibaseMigration("update/gitbucket-core_4.38.xml")),
|
new Version("4.38.0", new LiquibaseMigration("update/gitbucket-core_4.38.xml")),
|
||||||
new Version("4.38.1"),
|
new Version("4.38.1"),
|
||||||
new Version("4.38.2")
|
new Version("4.38.2"),
|
||||||
|
new Version("4.38.3")
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ trait PullRequestsControllerBase extends ControllerBase {
|
|||||||
"commitIdFrom" -> trim(text(required, maxlength(40))),
|
"commitIdFrom" -> trim(text(required, maxlength(40))),
|
||||||
"commitIdTo" -> trim(text(required, maxlength(40))),
|
"commitIdTo" -> trim(text(required, maxlength(40))),
|
||||||
"isDraft" -> trim(boolean(required)),
|
"isDraft" -> trim(boolean(required)),
|
||||||
"assignedUserName" -> trim(optional(text())),
|
"assigneeUserNames" -> trim(optional(text())),
|
||||||
"milestoneId" -> trim(optional(number())),
|
"milestoneId" -> trim(optional(number())),
|
||||||
"priorityId" -> trim(optional(number())),
|
"priorityId" -> trim(optional(number())),
|
||||||
"labelNames" -> trim(optional(text()))
|
"labelNames" -> trim(optional(text()))
|
||||||
@@ -92,7 +92,7 @@ trait PullRequestsControllerBase extends ControllerBase {
|
|||||||
commitIdFrom: String,
|
commitIdFrom: String,
|
||||||
commitIdTo: String,
|
commitIdTo: String,
|
||||||
isDraft: Boolean,
|
isDraft: Boolean,
|
||||||
assignedUserNames: Option[String],
|
assigneeUserNames: Option[String],
|
||||||
milestoneId: Option[Int],
|
milestoneId: Option[Int],
|
||||||
priorityId: Option[Int],
|
priorityId: Option[Int],
|
||||||
labelNames: Option[String]
|
labelNames: Option[String]
|
||||||
@@ -593,7 +593,7 @@ trait PullRequestsControllerBase extends ControllerBase {
|
|||||||
|
|
||||||
if (manageable) {
|
if (manageable) {
|
||||||
// insert assignees
|
// insert assignees
|
||||||
form.assignedUserNames.foreach { value =>
|
form.assigneeUserNames.foreach { value =>
|
||||||
value.split(",").foreach { userName =>
|
value.split(",").foreach { userName =>
|
||||||
registerIssueAssignee(repository.owner, repository.name, issueId, userName)
|
registerIssueAssignee(repository.owner, repository.name, issueId, userName)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -242,14 +242,17 @@ trait IssuesService {
|
|||||||
case (issue, commentCount, _, _, _, milestone, priority, commitId, _) =>
|
case (issue, commentCount, _, _, _, milestone, priority, commitId, _) =>
|
||||||
IssueInfo(
|
IssueInfo(
|
||||||
issue,
|
issue,
|
||||||
issues.flatMap { t =>
|
issues
|
||||||
t._3.map(Label(issue.userName, issue.repositoryName, _, t._4.get, t._5.get))
|
.flatMap { t =>
|
||||||
} toList,
|
t._3.map(Label(issue.userName, issue.repositoryName, _, t._4.get, t._5.get))
|
||||||
|
}
|
||||||
|
.distinct
|
||||||
|
.toList,
|
||||||
milestone,
|
milestone,
|
||||||
priority,
|
priority,
|
||||||
commentCount,
|
commentCount,
|
||||||
commitId,
|
commitId,
|
||||||
issues.flatMap(_._9)
|
issues.flatMap(_._9).distinct
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
} toList
|
} toList
|
||||||
|
|||||||
Reference in New Issue
Block a user