From 87d72e9d7b175142f8de9856a0e2e497646eda2f Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 29 Nov 2012 17:11:58 -0500 Subject: [PATCH] Tweak css of short commit id in log and history views --- 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 f74317e..cd6b070 100644 --- a/src/com/gitblit/Constants.java +++ b/src/com/gitblit/Constants.java @@ -76,7 +76,7 @@ public static final String ENCODING = "UTF-8"; - public static final int LEN_SHORTLOG = 80; + public static final int LEN_SHORTLOG = 78; public static final int LEN_SHORTLOG_REFS = 60; @@ -321,7 +321,7 @@ * The access permissions available for a repository. */ public static enum AccessPermission { - NONE("N"), EXCLUDE("X"), VIEW("V"), CLONE("R"), PUSH("RW"), CREATE("RWC"), DELETE("RWD"), REWIND("RW+"); + NONE("N"), EXCLUDE("X"), VIEW("V"), CLONE("R"), PUSH("RW"), CREATE("RWC"), DELETE("RWD"), REWIND("RW+"), OWNER("RW+"); public static final AccessPermission [] NEWPERMISSIONS = { EXCLUDE, VIEW, CLONE, PUSH, CREATE, DELETE, REWIND }; @@ -386,6 +386,10 @@ REPOSITORY, USER, TEAM; } + public static enum PermissionType { + MISSING, EXPLICIT, TEAM, REGEX, OWNER, ADMINISTRATOR; + } + public static enum GCStatus { READY, COLLECTING; -- Gitblit v1.9.1