| | |
| | |
|
| | | // 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 VERSION = "0.8.0-SNAPSHOT";
|
| | | public static final String VERSION = "0.8.2";
|
| | |
|
| | | // 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 VERSION_DATE = "PENDING";
|
| | | public static final String VERSION_DATE = "2012-01-13";
|
| | |
|
| | | // 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";
|
| | |
|
| | |
| | | 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;
|
| | | }
|
| | |
| | | * 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()) {
|