File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
src/main/scala/io/github/gitbucket/explorer/controllers Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ Version
1010
1111Plugin version|GitBucket version
1212:---|:---
13- 5.0|4.21+
13+ 6.0|4.23+
14+ 5.0|4.21+
14154.0|4.16+
15163.x|4.11+
16172.0.0| 4.10+
@@ -36,6 +37,8 @@ See `package.json` for more details.
3637
3738Releases
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
Original file line number Diff line number Diff line change 11organization := " io.github.gitbucket"
22name := " gitbucket-explorer-plugin"
3- version := " 5 .0.0"
3+ version := " 6 .0.0"
44scalaVersion := " 2.12.4"
5- gitbucketVersion := " 4.21.0 "
5+ gitbucketVersion := " 4.23.1 "
66
77libraryDependencies ++= Seq (
88 " javax.servlet" % " javax.servlet-api" % " 3.1.0" % " provided"
Original file line number Diff line number Diff line change @@ -19,6 +19,11 @@ class ExplorerController extends ExplorerControllerBase
1919trait 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
You can’t perform that action at this time.
0 commit comments