mirror of
https://github.com/discourse/discourse-chat-integration.git
synced 2025-02-17 00:45:19 +00:00
‘Deprecate’ the webhook slack integration method (for now)
This commit is contained in:
parent
8ca4797797
commit
858533a788
@ -9,11 +9,11 @@ en:
|
|||||||
########## SLACK SETTINGS #############
|
########## SLACK SETTINGS #############
|
||||||
#######################################
|
#######################################
|
||||||
chat_integration_slack_enabled: 'Enable the slack chat-integration provider'
|
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_excerpt_length: 'Slack post excerpt length'
|
||||||
chat_integration_slack_icon_url: 'Icon to post to slack with (defaults to forum logo)'
|
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_outbound_webhook_url: 'URL for outbound slack requests'
|
||||||
chat_integration_slack_access_token: 'Token if you are using the Web API instead of webhooks'
|
|
||||||
|
|
||||||
errors:
|
errors:
|
||||||
chat_integration_slack_api_configs_are_empty: "You must enter either an outbound webhook URL, or an access token"
|
chat_integration_slack_api_configs_are_empty: "You must enter either an outbound webhook URL, or an access token"
|
||||||
|
@ -13,17 +13,19 @@ plugins:
|
|||||||
chat_integration_slack_enabled:
|
chat_integration_slack_enabled:
|
||||||
default: false
|
default: false
|
||||||
validator: "ChatIntegrationSlackEnabledSettingValidator"
|
validator: "ChatIntegrationSlackEnabledSettingValidator"
|
||||||
chat_integration_slack_outbound_webhook_url:
|
chat_integration_slack_access_token:
|
||||||
default: ''
|
|
||||||
regex: '^https:\/\/hooks\.slack\.com\/services\/.+$'
|
|
||||||
chat_integration_slack_excerpt_length:
|
|
||||||
default: 400
|
|
||||||
chat_integration_slack_icon_url:
|
|
||||||
default: ''
|
default: ''
|
||||||
chat_integration_slack_incoming_webhook_token:
|
chat_integration_slack_incoming_webhook_token:
|
||||||
default: ''
|
default: ''
|
||||||
chat_integration_slack_access_token:
|
chat_integration_slack_excerpt_length:
|
||||||
|
default: 400
|
||||||
|
chat_integration_slack_outbound_webhook_url:
|
||||||
default: ''
|
default: ''
|
||||||
|
regex: '^https:\/\/hooks\.slack\.com\/services\/.+$'
|
||||||
|
hidden: true
|
||||||
|
chat_integration_slack_icon_url:
|
||||||
|
default: ''
|
||||||
|
hidden: true
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
######### TELEGRAM SETTINGS ###########
|
######### TELEGRAM SETTINGS ###########
|
||||||
|
Loading…
x
Reference in New Issue
Block a user