mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 12:21:58 +00:00
integrations: Remove Slack from WEBHOOK_SCREENSHOT_CONFIG.
Slack integration requires Slack API key and will make API calls to Slack. It'll also trip at `validate_account_and_subdomain` when receiving Slack calls from a dev environemnt. So this commit removes it from the tool.
This commit is contained in:
@@ -700,6 +700,8 @@ NO_SCREENSHOT_WEBHOOKS = (
|
|||||||
{"beeminder"}
|
{"beeminder"}
|
||||||
# Meta integrations - Docs won't have a screenshot
|
# Meta integrations - Docs won't have a screenshot
|
||||||
| {"ifttt", "slack_incoming", "zapier"}
|
| {"ifttt", "slack_incoming", "zapier"}
|
||||||
|
# Integrations that calls external API endpoints.
|
||||||
|
| {"slack"}
|
||||||
)
|
)
|
||||||
|
|
||||||
hubot_integration_names = {integration.name for integration in HUBOT_INTEGRATIONS}
|
hubot_integration_names = {integration.name for integration in HUBOT_INTEGRATIONS}
|
||||||
@@ -848,7 +850,6 @@ WEBHOOK_SCREENSHOT_CONFIG: dict[str, list[WebhookScreenshotConfig]] = {
|
|||||||
"rundeck": [WebhookScreenshotConfig("start.json")],
|
"rundeck": [WebhookScreenshotConfig("start.json")],
|
||||||
"semaphore": [WebhookScreenshotConfig("pull_request.json")],
|
"semaphore": [WebhookScreenshotConfig("pull_request.json")],
|
||||||
"sentry": [WebhookScreenshotConfig("event_for_exception_python.json")],
|
"sentry": [WebhookScreenshotConfig("event_for_exception_python.json")],
|
||||||
"slack": [WebhookScreenshotConfig("message_with_normal_text.json")],
|
|
||||||
"sonarqube": [WebhookScreenshotConfig("error.json")],
|
"sonarqube": [WebhookScreenshotConfig("error.json")],
|
||||||
"sonarr": [WebhookScreenshotConfig("sonarr_episode_grabbed.json")],
|
"sonarr": [WebhookScreenshotConfig("sonarr_episode_grabbed.json")],
|
||||||
"splunk": [WebhookScreenshotConfig("search_one_result.json")],
|
"splunk": [WebhookScreenshotConfig("search_one_result.json")],
|
||||||
|
|||||||
Reference in New Issue
Block a user