From 0e44acbb2fec928a1606dc60f427a148fff405c9 Mon Sep 17 00:00:00 2001
From: Mohamed Ragab <moragab@gmail.com>
Date: Wed, 02 May 2012 11:15:01 -0400
Subject: [PATCH] Added a script to facilitate setting the proxy host and port and no proxy hosts, and then it concatenates all the java system properties for setting the java proxy configurations and puts the resulting string in an environment variable JAVA_PROXY_CONFIG, modified the scirpts gitblit,  gitblit-ubuntu, and gitblit-centos to source the java-proxy-config.sh script and then include the resulting java proxy configuration in the java command

---
 src/com/gitblit/models/ServerSettings.java |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/com/gitblit/models/ServerSettings.java b/src/com/gitblit/models/ServerSettings.java
index 47148d3..3658096 100644
--- a/src/com/gitblit/models/ServerSettings.java
+++ b/src/com/gitblit/models/ServerSettings.java
@@ -21,8 +21,6 @@
 import java.util.Map;
 import java.util.TreeMap;
 
-import com.gitblit.IStoredSettings;
-
 /**
  * Server settings represents the settings of the Gitblit server including all
  * setting metadata such as name, current value, default value, description, and
@@ -37,10 +35,20 @@
 
 	private static final long serialVersionUID = 1L;
 
+	public List<String> pushScripts;
+	
+	public boolean supportsCredentialChanges;
+	
+	public boolean supportsDisplayNameChanges;
+	
+	public boolean supportsEmailAddressChanges;
+	
+	public boolean supportsTeamMembershipChanges;
+
 	public ServerSettings() {
 		settings = new TreeMap<String, SettingModel>();
 	}
-	
+
 	public List<String> getKeys() {
 		return new ArrayList<String>(settings.keySet());
 	}
@@ -51,13 +59,5 @@
 
 	public SettingModel get(String key) {
 		return settings.get(key);
-	}
-
-	public void updateCurrentValues(IStoredSettings storedSettings) {
-		for (String key : storedSettings.getAllKeys(null)) {
-			if (settings.containsKey(key)) {
-				settings.get(key).currentValue = storedSettings.getString(key, "");
-			}
-		}
 	}
 }

--
Gitblit v1.9.1