From 85c2e6eb34215e2242e388a8f8b7173a14b96ad3 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Sat, 25 Jun 2011 08:57:29 -0400 Subject: [PATCH] Big push for first release. --- distrib/gitblit.properties | 38 ++++++++++++++++++++++++++------------ 1 files changed, 26 insertions(+), 12 deletions(-) diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index 6adf11e..4b5d3af 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -2,9 +2,6 @@ # Git Servlet Settings # -# Allow push/pull over http/https with JGit servlet. -git.enableGitServlet = true - # Base folder for repositories # Changing this value requires a server restart. # Use forward slashes even on Windows!! @@ -18,6 +15,9 @@ # c:/gitrepos/libraries/myotherlibrary.git git.searchRepositoriesSubfolders = true +# Allow push/pull over http/https with JGit servlet. +git.enableGitServlet = true + # # Authentication Settings # @@ -30,11 +30,15 @@ # Changing this value requires a server restart. web.authenticateAdminPages = true -# Either a simple user realm file to authenticate users -# OR a fully qualified class name that implements the ILoginService interface. +# Allow Gitblit to store a cookie in the user's browser for automatic +# authentication. The cookie is generated by the user service. +web.allowCookieAuthentication = true + +# Either the path to a simple user properties file +# OR a fully qualified class name that implements the IUserService interface. # Any custom implementation must have a public default constructor. # Changing this value requires a server restart. -realm.realmFile = users.properties +realm.userService = users.properties # How to store passwords. # Valid values are plain or md5. Default is md5. @@ -60,7 +64,7 @@ # Allow dyanamic zip downloads. web.allowZipDownloads = true -# Default number of entries to include in RSS/Atom Syndication links +# Default number of entries to include in RSS Syndication links web.syndicationEntries = 25 # This is the message display above the repositories table. @@ -69,7 +73,9 @@ web.repositoriesMessage = gitblit # Use the client timezone when formatting dates. -# This uses AJAX to determine the browser's timezone. +# This uses AJAX to determine the browser's timezone and may require more +# server overhead because a Wicket session is created. All Gitblit pages +# attempt to be stateless, if possible. # Changing this value requires a server restart. web.useClientTimezone = false @@ -77,6 +83,12 @@ # http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html web.datestampShortFormat = yyyy-MM-dd web.datetimestampLongFormat = EEEE, MMMM d, yyyy h:mm a z + +# Mount parameters +# true: http://localhost/commit/myrepo/abcdef +# false: http://localhost/commit/?r=myrepo&h=abcdef +# Changing this value requires a server restart. +web.mountParameters = true # Show other URLs on the summary page for accessing your git repositories # Use spaces to separate urls. {0} is the token for the repository name. @@ -112,8 +124,10 @@ # Value must exceed 0 else default of 20 is used web.summaryCommitCount = 16 -# The number of tags/heads to display on the summary page -# Value must exceed 0 else default of 5 is used +# The number of tags/branches to display on the summary page. +# -1 = all tags/branches +# 0 = hide tags/branches +# N = N tags/branches web.summaryRefsCount = 5 # The number of items to show on a page before showing the first, prev, next @@ -138,7 +152,7 @@ # Aggressive heap management will run the garbage collector on every generated # page. This slows down page generation a little but improves heap consumption. -web.aggressiveHeapManagement = true +web.aggressiveHeapManagement = false # Run the webapp in debug mode # Changing this value requires a server restart. @@ -165,7 +179,7 @@ server.tempFolder = temp # -# Jetty Settings +# Jetty Http/Https Server Settings # # Use Jetty NIO connectors. If false, Jetty Socket connectors will be used. -- Gitblit v1.9.1