Add github webhook integration.

This commit is contained in:
Tomasz Kolek
2016-10-25 14:50:42 +02:00
committed by Tim Abbott
parent 2335e1b8b9
commit 1feedbe346
35 changed files with 7150 additions and 1 deletions

View File

@@ -87,7 +87,20 @@ WEBHOOK_INTEGRATIONS = [
WebhookIntegration('crashlytics'),
WebhookIntegration('deskdotcom', logo='static/images/integrations/logos/deskcom.png', display_name='Desk.com'),
WebhookIntegration('freshdesk'),
WebhookIntegration('github', function='zerver.views.webhooks.github.api_github_landing', display_name='GitHub'),
WebhookIntegration(
'github',
function='zerver.views.webhooks.github.api_github_landing',
display_name='GitHub',
secondary_line_text='(deprecated)'
),
WebhookIntegration(
'github_webhook',
display_name='GitHub',
url='api/v1/external/webhook_github',
logo='static/images/integrations/logos/github.png',
secondary_line_text='(webhook)',
function='zerver.views.webhooks.github_webhook.api_github_webhook'
),
WebhookIntegration('gitlab', display_name='GitLab'),
WebhookIntegration('helloworld', display_name='Hello World'),
WebhookIntegration('ifttt', function='zerver.views.webhooks.ifttt.api_iftt_app_webhook', display_name='IFTTT'),