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 | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java index 8171d66..23e7557 100644 --- a/src/com/gitblit/Constants.java +++ b/src/com/gitblit/Constants.java @@ -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_TEAMS, 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