From dafc19a8cc28924fed0d4210ccd0b8adca7d2eb5 Mon Sep 17 00:00:00 2001 From: Philip L. McMahon <philip.l.mcmahon@gmail.com> Date: Sun, 05 Feb 2012 01:01:35 -0500 Subject: [PATCH] Return command-specific rejection result if authz check fails. --- distrib/gitblit.properties | 35 +++++++++++++++++++++++++++++++---- 1 files changed, 31 insertions(+), 4 deletions(-) diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index 18566d8..0f7f728 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -2,7 +2,9 @@ # Git Servlet Settings # -# Base folder for repositories +# Base folder for repositories. +# This folder may contain bare and non-bare repositories but Gitblit will only +# allow you to push to bare repositories. # Use forward slashes even on Windows!! # e.g. c:/gitrepos # @@ -28,6 +30,13 @@ # SINCE 0.5.0 git.enableGitServlet = true +# Only serve/display bare repositories. +# If there are non-bare repositories in git.repositoriesFolder and this setting +# is true, they will be excluded from the ui. +# +# SINCE 0.9.0 +git.onlyAccessBareRepositories = false + # # Groovy Integration # @@ -36,6 +45,7 @@ # Use forward slashes even on Windows!! # e.g. c:/groovy # +# RESTART REQUIRED # SINCE 0.8.0 groovy.scriptsFolder = groovy @@ -46,6 +56,9 @@ # push in this script based on the repository and branch the push is attempting # to change. # +# Script names are case-sensitive on case-sensitive file systems. You may omit +# the traditional ".groovy" from this list if your file extension is ".groovy" +# # NOTE: # These scripts are only executed when pushing to *Gitblit*, not to other Git # tooling you may be using. Also note that these scripts are shared between @@ -54,6 +67,7 @@ # *repository* variable. # # SPACE-DELIMITED +# CASE-SENSITIVE # SINCE 0.8.0 groovy.preReceiveScripts = @@ -61,6 +75,9 @@ # # These scripts execute AFTER an incoming push has been applied to a repository. # You might trigger a continuous-integration build here or send a notification. +# +# Script names are case-sensitive on case-sensitive file systems. You may omit +# the traditional ".groovy" from this list if your file extension is ".groovy" # # NOTE: # These scripts are only executed when pushing to *Gitblit*, not to other Git @@ -70,6 +87,7 @@ # *repository* variable. # # SPACE-DELIMITED +# CASE-SENSITIVE # SINCE 0.8.0 groovy.postReceiveScripts = @@ -185,6 +203,15 @@ # SINCE 0.5.2 web.showRepositorySizes = true +# List of custom regex expressions that can be displayed in the Filters menu +# of the Repositories and Activity pages. Keep them very simple because you +# are likely to run into encoding issues if they are too complex. +# +# Use !!! to separate the filters +# +# SINCE 0.8.0 +web.customFilters = + # Show federation registrations (without token) and the current pull status # to non-administrator users. # @@ -235,7 +262,7 @@ # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html> # # SINCE 0.5.0 -web.datetimestampLongFormat = EEEE, MMMM d, yyyy h:mm a z +web.datetimestampLongFormat = EEEE, MMMM d, yyyy HH:mm Z # Mount URL parameters # This setting controls if pretty or parameter URLs are used. @@ -430,11 +457,11 @@ # SINCE 0.6.0 mail.adminAddresses = -# List of email addresses for sending commit email notifications. +# List of email addresses for sending push email notifications. # # This key currently requires use of the sendemail.groovy hook script. # If you set sendemail.groovy in *groovy.postReceiveScripts* then email -# notifications for all repositories (regardless of access restrictions) +# notifications for all repositories (regardless of access restrictions!) # will be sent to these addresses. # # SPACE-DELIMITED -- Gitblit v1.9.1