From c7bcdce232aa701135c1b7272b132961b846c38c Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 09 Jan 2012 22:21:32 -0500 Subject: [PATCH] Updated to Groovy 1.8.5 --- src/com/gitblit/Constants.java | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java index 3279980..23e7557 100644 --- a/src/com/gitblit/Constants.java +++ b/src/com/gitblit/Constants.java @@ -37,7 +37,7 @@ // The build script extracts this exact line so be careful editing it // and only use A-Z a-z 0-9 .-_ in the string. - public static final String JGIT_VERSION = "JGit 1.1.0 (201109151100-r)"; + public static final String JGIT_VERSION = "JGit 1.2.0 (201112221803-r)"; public static final String ADMIN_ROLE = "#admin"; @@ -54,13 +54,17 @@ public static final String FEDERATION_PATH = "/federation/"; public static final String RPC_PATH = "/rpc/"; + + public static final String PAGES= "/pages/"; public static final String BORDER = "***********************************************************"; public static final String FEDERATION_USER = "$gitblit"; public static final String PROPOSAL_EXT = ".json"; - + + public static final String ENCODING = "UTF-8"; + public static String getGitBlitVersion() { return NAME + " v" + VERSION; } @@ -117,7 +121,7 @@ * Enumeration representing the types of federation requests. */ public static enum FederationRequest { - POKE, PROPOSAL, PULL_REPOSITORIES, PULL_USERS, PULL_SETTINGS, STATUS; + POKE, PROPOSAL, PULL_REPOSITORIES, PULL_USERS, PULL_TEAMS, PULL_SETTINGS, PULL_SCRIPTS, STATUS; public static FederationRequest fromName(String name) { for (FederationRequest type : values()) { -- Gitblit v1.9.1