Skip to content

Commit

Permalink
Bump to GitBucket 4.23.1
Browse files Browse the repository at this point in the history
  • Loading branch information
takezoe committed Apr 23, 2018
1 parent f4b96b5 commit 310bc8f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Version

Plugin version|GitBucket version
:---|:---
5.0|4.21+
6.0|4.23+
5.0|4.21+
4.0|4.16+
3.x|4.11+
2.0.0| 4.10+
Expand All @@ -36,6 +37,8 @@ See `package.json` for more details.

Releases
---
### 6.0.0 - 23 Apr 2018
- Bump to GitBucket 4.23.1

### 5.0.0 - 29 Jan 2018
- Bump to GitBucket 4.21.2
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
organization := "io.github.gitbucket"
name := "gitbucket-explorer-plugin"
version := "5.0.0"
version := "6.0.0"
scalaVersion := "2.12.4"
gitbucketVersion := "4.21.0"
gitbucketVersion := "4.23.1"

libraryDependencies ++= Seq(
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ class ExplorerController extends ExplorerControllerBase
trait ExplorerControllerBase extends ControllerBase {
self: RepositoryService with AccountService with ReferrerAuthenticator =>

get("/:owner/:repository/explore")(referrersOnly { repository =>
contentType = "application/json"
JsonFormat(explore(repository, "", "."))
})

get("/:owner/:repository/explore/*")(referrersOnly { repository =>
val (id, path) = repository.splitPath(multiParams("splat").head)

Expand Down

0 comments on commit 310bc8f

Please sign in to comment.