‘Deprecate’ the webhook slack integration method (for now)

This commit is contained in:
David Taylor 2017-07-24 17:44:01 +01:00
parent 8ca4797797
commit 858533a788
2 changed files with 12 additions and 10 deletions

View File

@ -9,11 +9,11 @@ en:
########## SLACK SETTINGS #############
#######################################
chat_integration_slack_enabled: 'Enable the slack chat-integration provider'
chat_integration_slack_outbound_webhook_url: 'URL for outbound slack requests'
chat_integration_slack_access_token: 'OAuth Access Token for authenticating with Slack'
chat_integration_slack_incoming_webhook_token: 'The verification token used to authenticate incoming requests'
chat_integration_slack_excerpt_length: 'Slack post excerpt length'
chat_integration_slack_icon_url: 'Icon to post to slack with (defaults to forum logo)'
chat_integration_slack_incoming_webhook_token: 'Token sent in the payload from the Slack outoing webhook'
chat_integration_slack_access_token: 'Token if you are using the Web API instead of webhooks'
chat_integration_slack_outbound_webhook_url: 'URL for outbound slack requests'
errors:
chat_integration_slack_api_configs_are_empty: "You must enter either an outbound webhook URL, or an access token"

View File

@ -13,17 +13,19 @@ plugins:
chat_integration_slack_enabled:
default: false
validator: "ChatIntegrationSlackEnabledSettingValidator"
chat_integration_slack_outbound_webhook_url:
default: ''
regex: '^https:\/\/hooks\.slack\.com\/services\/.+$'
chat_integration_slack_excerpt_length:
default: 400
chat_integration_slack_icon_url:
chat_integration_slack_access_token:
default: ''
chat_integration_slack_incoming_webhook_token:
default: ''
chat_integration_slack_access_token:
chat_integration_slack_excerpt_length:
default: 400
chat_integration_slack_outbound_webhook_url:
default: ''
regex: '^https:\/\/hooks\.slack\.com\/services\/.+$'
hidden: true
chat_integration_slack_icon_url:
default: ''
hidden: true
#######################################
######### TELEGRAM SETTINGS ###########