File tree 3 files changed +11
-3
lines changed
src/main/scala/io/github/gitbucket/explorer/controllers
3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ Version
10
10
11
11
Plugin version|GitBucket version
12
12
:---|:---
13
- 5.0|4.21+
13
+ 6.0|4.23+
14
+ 5.0|4.21+
14
15
4.0|4.16+
15
16
3.x|4.11+
16
17
2.0.0| 4.10+
@@ -36,6 +37,8 @@ See `package.json` for more details.
36
37
37
38
Releases
38
39
---
40
+ ### 6.0.0 - 23 Apr 2018
41
+ - Bump to GitBucket 4.23.1
39
42
40
43
### 5.0.0 - 29 Jan 2018
41
44
- Bump to GitBucket 4.21.2
Original file line number Diff line number Diff line change 1
1
organization := " io.github.gitbucket"
2
2
name := " gitbucket-explorer-plugin"
3
- version := " 5 .0.0"
3
+ version := " 6 .0.0"
4
4
scalaVersion := " 2.12.4"
5
- gitbucketVersion := " 4.21.0 "
5
+ gitbucketVersion := " 4.23.1 "
6
6
7
7
libraryDependencies ++= Seq (
8
8
" 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
19
19
trait ExplorerControllerBase extends ControllerBase {
20
20
self : RepositoryService with AccountService with ReferrerAuthenticator =>
21
21
22
+ get(" /:owner/:repository/explore" )(referrersOnly { repository =>
23
+ contentType = " application/json"
24
+ JsonFormat (explore(repository, " " , " ." ))
25
+ })
26
+
22
27
get(" /:owner/:repository/explore/*" )(referrersOnly { repository =>
23
28
val (id, path) = repository.splitPath(multiParams(" splat" ).head)
24
29
You can’t perform that action at this time.
0 commit comments