From bab9c96e0f4730d52415469c45b92798e03f0733 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 03 Nov 2011 07:46:10 -0400 Subject: [PATCH] Differentiate new activity on feeds panel --- src/com/gitblit/Constants.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java index 6300fa2..2514305 100644 --- a/src/com/gitblit/Constants.java +++ b/src/com/gitblit/Constants.java @@ -201,10 +201,11 @@ * a client. */ public static enum RpcRequest { - LIST_REPOSITORIES, CREATE_REPOSITORY, EDIT_REPOSITORY, DELETE_REPOSITORY, + LIST_REPOSITORIES, LIST_BRANCHES, CREATE_REPOSITORY, EDIT_REPOSITORY, DELETE_REPOSITORY, LIST_USERS, CREATE_USER, EDIT_USER, DELETE_USER, LIST_REPOSITORY_MEMBERS, SET_REPOSITORY_MEMBERS, LIST_FEDERATION_REGISTRATIONS, LIST_FEDERATION_RESULTS, - LIST_FEDERATION_PROPOSALS, LIST_FEDERATION_SETS, LIST_SETTINGS; + LIST_FEDERATION_PROPOSALS, LIST_FEDERATION_SETS, LIST_SETTINGS, EDIT_SETTINGS, + LIST_STATUS; public static RpcRequest fromName(String name) { for (RpcRequest type : values()) { @@ -212,7 +213,7 @@ return type; } } - return LIST_REPOSITORIES; + return null; } public boolean exceeds(RpcRequest type) { -- Gitblit v1.9.1