From 0805ff838562e3b19d31083d80762abcd0ebd106 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 15 Jun 2015 12:58:10 -0400 Subject: [PATCH] Merged #259 "Allow custom host & port specification for advertised SSH urls" --- src/main/distrib/data/defaults.properties | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 56 insertions(+), 0 deletions(-) diff --git a/src/main/distrib/data/defaults.properties b/src/main/distrib/data/defaults.properties index ee97cb6..60c914b 100644 --- a/src/main/distrib/data/defaults.properties +++ b/src/main/distrib/data/defaults.properties @@ -112,6 +112,18 @@ # RESTART REQUIRED git.sshBindInterface = +# Manually specify the hostname to use in advertised SSH repository urls. +# This may be useful in complex forwarding setups. +# +# SINCE 1.7.0 +git.sshAdvertisedHost = + +# Manually specify the port to use in advertised SSH repository urls. +# This may be useful in complex forwarding setups. +# +# SINCE 1.7.0 +git.sshAdvertisedPort = + # Specify the SSH key manager to use for retrieving, storing, and removing # SSH keys. # @@ -784,6 +796,11 @@ # BASEFOLDER web.projectsFile = ${baseFolder}/projects.conf +# Defines the tab length for all blob views +# +# SINCE 1.7.0 +web.tabLength = 4 + # Either the full path to a user config file (users.conf) # OR a fully qualified class name that implements the IUserService interface. # @@ -969,6 +986,11 @@ # # SINCE 0.8.0 web.allowGravatar = true + +# Define which class will generate the avatar URL. +# +# SINCE 1.7.0 +web.avatarClass = com.gitblit.GravatarGenerator # Allow dynamic zip downloads. # @@ -1162,6 +1184,24 @@ # SPACE-DELIMITED # SINCE 0.5.0 web.otherUrls = + +# Should HTTP/HTTPS URLs be displayed if the git servlet is enabled? +# default: true +# +# SINCE 1.7.0 +web.showHttpServletUrls = true + +# Should git URLs be displayed if the git daemon is enabled? +# default: true +# +# SINCE 1.7.0 +web.showGitDaemonUrls = true + +# Should SSH URLs be displayed if the SSH daemon is enabled? +# default: true +# +# SINCE 1.7.0 +web.showSshDaemonUrls = true # Should app-specific clone links be displayed for SourceTree, SparkleShare, etc? # @@ -1632,6 +1672,22 @@ # SINCE 1.3.0 realm.container.autoCreateAccounts = false +# A set of mapping used to map HTTP session attributes to user informations +# They are used if realm.container.autoCreateAccounts is set to true and +# the webapp container used can fill the session with user informations +# +# SINCE 1.7.0 +realm.container.autoAccounts.displayName = +realm.container.autoAccounts.emailAddress = +realm.container.autoAccounts.locale = + +# If the user's created by the webapp container is given this role, +# the user created will be a admin user. +# +# SINCE 1.7.0 +realm.container.autoAccounts.adminRole = + + # Allow or prohibit Windows guest account logins # # SINCE 1.3.0 -- Gitblit v1.9.1