Skip to content

Add Irker service configuration options

Stan Hu requested to merge stanhu/gitlab-ce:add-irker-options into master

What does this MR do?

This MR makes a number of hard-coded Irker parameters configurable in the service settings: Irker server host, port, and default IRC URI. It also removes the "max recipient" limit since the recipient list is configurable only by the project owner, and it makes no sense to update the limit when it is implied in the recipient list already.

Why was this MR needed?

The existing service assumed that gitlab.com was running an Irker daemon on localhost when it was not. Using Irker on gitlab.com thus did not work at all. This MR allows users to provide their own Irker daemons.

Are there points in the code the reviewer needs to double check?

My main concern is whether allowing a user to specify the server/port combination would have security implications for a host. Given that HipChat and Slack allow users to do this, I didn't think this was doing anything novel.

What are the relevant issue numbers?

Screenshots

Before

image

After

image

Merge request reports