From d03aff630cbcd49f02d51f08ec59ac3cf7f41d0e Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Sun, 23 Oct 2011 10:25:39 -0400 Subject: [PATCH] Separate management from administration in rpc servlet. --- distrib/gitblit.properties | 33 ++++++++++++++++++++++++++++++++- 1 files changed, 32 insertions(+), 1 deletions(-) diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index 5b2b576..28a6db8 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -87,6 +87,26 @@ # SINCE 0.5.0 web.allowAdministration = true +# Allows remote clients to list repositories and possibly administer the Gitblit +# server, if the authenticated account has administrator permissions. +# +# SINCE 0.7.0 +web.enableRpcServlet = true + +# Allows remote clients to manage repositories and users of the Gitblit instance, +# if the authenticated account has administrator permissions. +# Requires *web.enableRpcServlet=true*. +# +# SINCE 0.7.0 +web.enableRpcManagement = false + +# Allows remote clients to control the server settings of the Gitblit instance, +# if the authenticated account has administrator permissions. +# Requires *web.enableRpcServlet=true* and *web.enableRpcManagement*. +# +# SINCE 0.7.0 +web.enableRpcAdministration = false + # Allow dynamic zip downloads. # # SINCE 0.5.0 @@ -114,7 +134,7 @@ # This can point to a file with Markdown content. # Specifying "gitblit" uses the internal login message. # -# SINCE 0.6.1 +# SINCE 0.7.0 web.loginMessage = gitblit # This is the message displayed above the repositories table. @@ -276,10 +296,13 @@ # Example global regex substitutions # Use !!! to separate the search pattern and the replace pattern # searchpattern!!!replacepattern +# SINCE 0.5.0 regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://somehost/bug/$3">Bug-Id: $3</a> +# SINCE 0.5.0 regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!<a href="http://somehost/changeid/$2">Change-Id: $2</a> # Example per-repository regex substitutions overrides global +# SINCE 0.5.0 regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://elsewhere/bug/$3">Bug-Id: $3</a> # @@ -308,6 +331,7 @@ # # SINCE 0.6.0 mail.username = +# SINCE 0.6.0 mail.password = # from address for generated emails @@ -453,6 +477,13 @@ # RESTART REQUIRED server.useNio = true +# Context path for the GO application. You might want to change the context +# path if running Gitblit behind a proxy layer such as mod_proxy. +# +# SINCE 0.7.0 +# RESTART REQUIRED +server.contextPath = / + # Standard http port to serve. <= 0 disables this connector. # On Unix/Linux systems, ports < 1024 require root permissions. # Recommended value: 80 or 8080 -- Gitblit v1.9.1