Skip to content

Commit 7fb5b5c

Browse files
committed
fix controller mapping to use the new GitBucket >=4.15 style mapping.
1 parent 22765cc commit 7fb5b5c

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

README.MD

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ sbt clean package
6565

6666
## Release Notes
6767

68-
### 1.5.0
68+
### 1.5.1
6969
- compatibility with gitbucket 4.16.0 and scala 2.12
7070

7171
### 1.4.0

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
val Organization = "fr.brouillard.gitbucket"
22
val ProjectName = "gitbucket-h2-backup-plugin"
3-
val ProjectVersion = "1.5.0"
3+
val ProjectVersion = "1.5.1"
44

55
lazy val h2_backup_plugin = (project in file(".")).enablePlugins(SbtTwirl)
66

src/main/scala/Plugin.scala

+3-4
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,15 @@ class Plugin extends gitbucket.core.plugin.Plugin {
1616
new Version("1.2.0"),
1717
new Version("1.3.0"),
1818
new Version("1.4.0"),
19-
new Version("1.5.0")
19+
new Version("1.5.0"),
20+
new Version("1.5.1")
2021
)
2122

2223
override val systemSettingMenus: Seq[(Context) => Option[Link]] = Seq(
2324
(ctx: Context) => Some(Link("h2-backup", "H2 Backup", "admin/h2backup"))
2425
)
2526

2627
override val controllers = Seq(
27-
"/admin/h2backup" -> new H2BackupController()
28-
, "/database/backup" -> new H2BackupController()
29-
, "/api/v3/plugins/database/backup" -> new H2BackupController()
28+
"/*" -> new H2BackupController()
3029
)
3130
}

0 commit comments

Comments
 (0)