diff --git a/src/main/scala/gitbucket/core/controller/SystemSettingsController.scala b/src/main/scala/gitbucket/core/controller/SystemSettingsController.scala index adc00e3..5629dec 100644 --- a/src/main/scala/gitbucket/core/controller/SystemSettingsController.scala +++ b/src/main/scala/gitbucket/core/controller/SystemSettingsController.scala @@ -231,7 +231,7 @@ }) get("/admin/system")(adminOnly { - html.system(flash.get("info")) + html.settings(flash.get("info")) }) post("/admin/system", form)(adminOnly { form => diff --git a/src/main/twirl/gitbucket/core/admin/settings.scala.html b/src/main/twirl/gitbucket/core/admin/settings.scala.html new file mode 100644 index 0000000..1cb6f32 --- /dev/null +++ b/src/main/twirl/gitbucket/core/admin/settings.scala.html @@ -0,0 +1,47 @@ +@(info: Option[Any])(implicit context: gitbucket.core.controller.Context) +@import gitbucket.core.service.OpenIDConnectService +@import gitbucket.core.util.DatabaseConfig +@gitbucket.core.html.main("System settings"){ + @gitbucket.core.admin.html.menu("system"){ + @gitbucket.core.helper.html.information(info) +
+ } +} + diff --git a/src/main/twirl/gitbucket/core/admin/settings_authentication.scala.html b/src/main/twirl/gitbucket/core/admin/settings_authentication.scala.html new file mode 100644 index 0000000..1910c0b --- /dev/null +++ b/src/main/twirl/gitbucket/core/admin/settings_authentication.scala.html @@ -0,0 +1,160 @@ +@(info: Option[Any])(implicit context: gitbucket.core.controller.Context) +@import gitbucket.core.service.OpenIDConnectService + + + + +Property | +Value | +|
---|---|---|
GITBUCKET_HOME | +@gitbucket.core.util.Directory.GitBucketHome | +|
DATABASE_URL | + @if(DatabaseConfig.url.startsWith("jdbc:h2:")) { +
+ @gitbucket.core.util.DatabaseConfig.url ++ Your GitBucket is running on embedded H2 database. + Recommend to configure to use external database if you would like to use GitBucket for important purpose. + + |
+ }else{
+ @gitbucket.core.util.DatabaseConfig.url | + } +
+ The base URL is used for redirect, notification email, git repository URL box and more. + If the base URL is empty, GitBucket generates URL from the request information. + You can use this property to adjust to URL differences between the reverse proxy and GitBucket. +
+ + + +