Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Sander <git@dsander.de>2015-04-26 21:56:13 +0300
committerDominik Sander <git@dsander.de>2015-04-26 23:00:51 +0300
commit3c3b43b0a0568950b0eb4bdfb6fd27c30686c106 (patch)
tree52fd4044d2f3995ba8ee08948c2febf8a5b70e18 /app/controllers/projects/services_controller.rb
parentf0c4c51f8323216bd90fb564d6b1bff1f247cf16 (diff)
Add notify and color options to HipchatService
When notify is set to true send messages will trigger a notification for all room members. Color changes the background color of the message.
Diffstat (limited to 'app/controllers/projects/services_controller.rb')
-rw-r--r--app/controllers/projects/services_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/projects/services_controller.rb b/app/controllers/projects/services_controller.rb
index 73031851734..2080ee9a00f 100644
--- a/app/controllers/projects/services_controller.rb
+++ b/app/controllers/projects/services_controller.rb
@@ -6,7 +6,8 @@ class Projects::ServicesController < Projects::ApplicationController
:description, :issues_url, :new_issue_url, :restrict_to_branch, :channel,
:colorize_messages, :channels,
:push_events, :issues_events, :merge_requests_events, :tag_push_events,
- :note_events, :send_from_committer_email, :disable_diffs, :external_wiki_url]
+ :note_events, :send_from_committer_email, :disable_diffs, :external_wiki_url,
+ :notify, :color]
# Authorize
before_action :authorize_admin_project!
before_action :service, only: [:edit, :update, :test]