From 0a704fd39ac876fee9bda3a78469209ee9afa4e2 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 05 Sep 2013 14:09:53 -0400 Subject: [PATCH] Updated binary extensions and Lucene ignore extensions --- src/main/distrib/data/gitblit.properties | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 56 insertions(+), 2 deletions(-) diff --git a/src/main/distrib/data/gitblit.properties b/src/main/distrib/data/gitblit.properties index 1ee6d80..63d903d 100644 --- a/src/main/distrib/data/gitblit.properties +++ b/src/main/distrib/data/gitblit.properties @@ -501,6 +501,8 @@ # com.gitblit.RedmineUserService # com.gitblit.SalesforceUserService # com.gitblit.WindowsUserService +# com.gitblit.PAMUserService +# com.gitblit.HtpasswdUserService # # Any custom user service implementation must have a public default constructor. # @@ -881,6 +883,11 @@ # SINCE 1.3.0 web.activityDurationChoices = 1 3 7 14 21 28 +# Maximum number of days of activity that may be displayed on the activity page. +# +# SINCE 1.3.2 +web.activityDurationMaximum = 30 + # The number of days of commits to cache in memory for the dashboard, activity, # and project pages. A value of 0 will disable all caching and will parse commits # in each repository per-request. If the value > 0 these pages will try to fulfill @@ -938,7 +945,7 @@ # # SPACE-DELIMITED # SINCE 0.9.0 -web.luceneIgnoreExtensions = 7z arc arj bin bmp dll doc docx exe gif gz jar jpg lib lzh odg odf odt pdf ppt png so swf xcf xls xlsx zip +web.luceneIgnoreExtensions = 7z arc arj bin bmp dll doc docx exe gif gz jar jpg lib lzh odg odf odt pdf ppt pptx png so swf tar xcf xls xlsx zip # Registered extensions for google-code-prettify # @@ -963,7 +970,7 @@ # # SPACE-DELIMITED # SINCE 0.5.0 -web.binaryExtensions = jar pdf tar.gz zip +web.binaryExtensions = 7z arc arj bin dll doc docx exe gz jar lib lzh odg odf odt pdf ppt pptx so tar xls xlsx zip # Aggressive heap management will run the garbage collector on every generated # page. This slows down page generation a little but improves heap consumption. @@ -1212,6 +1219,53 @@ # SINCE 1.3.0 realm.windows.defaultDomain = +# The PAMUserService must be backed by another user service for standard user +# and team management. +# default: users.conf +# +# RESTART REQUIRED +# BASEFOLDER +# SINCE 1.3.1 +realm.pam.backingUserService = ${baseFolder}/users.conf + +# The PAM service name for authentication. +# default: system-auth +# +# SINCE 1.3.1 +realm.pam.serviceName = system-auth + +# The HtpasswdUserService must be backed by another user service for standard user +# and team management and attributes. This can be one of the local Gitblit user services. +# default: users.conf +# +# RESTART REQUIRED +# BASEFOLDER +# SINCE 1.3.2 +realm.htpasswd.backingUserService = ${baseFolder}/users.conf + +# The Apache htpasswd file that contains the users and passwords. +# default: ${baseFolder}/htpasswd +# +# RESTART REQUIRED +# BASEFOLDER +# SINCE 1.3.2 +realm.htpasswd.userfile = ${baseFolder}/htpasswd + +# Determines how accounts are looked up upon login. +# +# If set to false, then authentication for local accounts is done against +# the backing user service. +# If set to true, then authentication will first be checked against the +# htpasswd store, even if the account appears as a local account in the +# backing user service. If the user is found in the htpasswd store, then +# an already existing local account will be turned into an external account. +# In this case an initial local password is never used and gets overwritten +# by the externally stored password upon login. +# default: false +# +# SINCE 1.3.2 +realm.htpasswd.overrideLocalAuthentication = false + # The SalesforceUserService must be backed by another user service for standard user # and team management. # default: users.conf -- Gitblit v1.9.1