Add Slack notification support

This commit is contained in:
Joseph Schorr 2014-08-26 22:09:56 -04:00
parent 32ea1d194f
commit 6ec89bb179
6 changed files with 104 additions and 0 deletions

View file

@ -4573,6 +4573,13 @@ i.hipchat-icon {
height: 16px;
}
i.slack-icon {
background-image: url(/static/img/slack.ico);
background-size: 16px;
width: 16px;
height: 16px;
}
.external-notification-view-element {
margin: 10px;
padding: 6px;

BIN
static/img/slack.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -1141,6 +1141,24 @@ quayApp = angular.module('quay', quayDependencies, function($provide, cfpLoading
'title': 'Notification Token'
}
]
},
{
'id': 'slack',
'title': 'Slack Room Notification',
'icon': 'slack-icon',
'fields': [
{
'name': 'subdomain',
'type': 'string',
'title': 'Slack Subdomain'
},
{
'name': 'token',
'type': 'string',
'title': 'Token',
'help_url': 'https://{subdomain}.slack.com/services/new/outgoing-webhook'
}
]
}
];