Skip to content

Commit 310bc8f

Browse files
committed
Bump to GitBucket 4.23.1
1 parent f4b96b5 commit 310bc8f

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ Version
1010

1111
Plugin version|GitBucket version
1212
:---|:---
13-
5.0|4.21+
13+
6.0|4.23+
14+
5.0|4.21+
1415
4.0|4.16+
1516
3.x|4.11+
1617
2.0.0| 4.10+
@@ -36,6 +37,8 @@ See `package.json` for more details.
3637

3738
Releases
3839
---
40+
### 6.0.0 - 23 Apr 2018
41+
- Bump to GitBucket 4.23.1
3942

4043
### 5.0.0 - 29 Jan 2018
4144
- Bump to GitBucket 4.21.2

build.sbt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
organization := "io.github.gitbucket"
22
name := "gitbucket-explorer-plugin"
3-
version := "5.0.0"
3+
version := "6.0.0"
44
scalaVersion := "2.12.4"
5-
gitbucketVersion := "4.21.0"
5+
gitbucketVersion := "4.23.1"
66

77
libraryDependencies ++= Seq(
88
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided"

src/main/scala/io/github/gitbucket/explorer/controllers/ExplorerController.scala

+5
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ class ExplorerController extends ExplorerControllerBase
1919
trait ExplorerControllerBase extends ControllerBase {
2020
self: RepositoryService with AccountService with ReferrerAuthenticator =>
2121

22+
get("/:owner/:repository/explore")(referrersOnly { repository =>
23+
contentType = "application/json"
24+
JsonFormat(explore(repository, "", "."))
25+
})
26+
2227
get("/:owner/:repository/explore/*")(referrersOnly { repository =>
2328
val (id, path) = repository.splitPath(multiParams("splat").head)
2429

0 commit comments

Comments
 (0)