zulip/zerver/webhooks
Lauryn Menard 3a03e14938 integrations: Update Slack webhook to use check_send_webhook_message.
Due to the channel_map_to_topics URL parameter in the Slack webhook,
it was not migrated to use the check_send_webhook_message.

By using check_send_webhook_message, any topic parameter in the
webhook URL will be prioritized over mapping Slack channels to
topics, e.g. when channel_map_to_topics is true. This is because
the default behaviour for incoming webhooks is to send a default
topic as a parameter to check_send_webhook_message in case there
is no topic specified in the URL.

In contrast, we can override the stream passed in the URL when
channel_map_to_topics is false by passing the Slack channel name
to check_send_webhook_message. The default behaviour for incoming
webhooks is to send a direct message if there is no specified
stream in the URL, so a default stream is not generally passed
to check_send_webhook_message.

Fixes #27601.
2024-02-25 16:47:34 -08:00
..
airbrake webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
alertmanager integrations: Fix confusing wording in alertmanager integration. 2024-01-30 14:32:41 -08:00
ansibletower webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
appfollow webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
appveyor webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
azuredevops webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
basecamp webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
beanstalk webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
beeminder webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
bitbucket requirements: Upgrade Python requirements. 2024-01-29 10:41:54 -08:00
bitbucket2 requirements: Upgrade Python requirements. 2024-01-29 10:41:54 -08:00
bitbucket3 requirements: Upgrade Python requirements. 2024-01-29 10:41:54 -08:00
buildbot webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
canarytoken webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
circleci webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
clubhouse requirements: Upgrade Python requirements. 2024-01-29 10:41:54 -08:00
codeship webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
crashlytics webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
delighted webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
deskdotcom webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
dialogflow models: Extract zerver.models.users. 2023-12-16 22:08:44 -08:00
dropbox webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
errbit webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
flock webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
freshdesk requirements: Upgrade Python requirements. 2024-01-29 10:41:54 -08:00
freshping webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
freshstatus webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
front webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
gci webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
gitea webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
github integrations: Create incoming webhook for GitHub Sponsors. 2024-02-07 09:52:03 -08:00
gitlab requirements: Upgrade Python requirements. 2024-01-29 10:41:54 -08:00
gocd webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
gogs requirements: Upgrade Python requirements. 2024-01-29 10:41:54 -08:00
gosquared webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
grafana webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
greenhouse webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
groove webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
harbor webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
hellosign webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
helloworld webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
heroku webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
homeassistant webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
honeybadger/fixtures
ifttt webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
insping webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
intercom webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
jira webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
jotform webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
json webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
librato webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
lidarr webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
linear webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
mention webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
netlify webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
newrelic webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
opbeat webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
opencollective webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
opsgenie webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
pagerduty webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
papertrail webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
patreon integrations: Create incoming webhook for Patreon. 2024-01-30 13:13:19 -08:00
pingdom webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
pivotal requirements: Upgrade Python requirements. 2024-01-29 10:41:54 -08:00
radarr webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
raygun webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
reviewboard webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
rhodecode webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
rollbar/fixtures
rundeck webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
runscope/fixtures
semaphore webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
sentry webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
slack integrations: Update Slack webhook to use check_send_webhook_message. 2024-02-25 16:47:34 -08:00
slack_incoming ruff: Fix RUF019 Unnecessary key check before dictionary access. 2024-02-02 10:30:45 -08:00
solano webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
sonarqube webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
sonarr webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
splunk webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
statuspage webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
stripe webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
taiga requirements: Upgrade Python requirements. 2024-01-29 10:41:54 -08:00
teamcity webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
thinkst webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
transifex webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
travis webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
trello integrations: Recommend new integration URL tool. 2023-11-08 14:19:05 -08:00
updown webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
uptimerobot webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
wekan webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
wordpress webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
zabbix webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
zapier webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
zendesk webhooks: Rename *topic local variables to *topic_name. 2024-01-17 08:35:29 -08:00
__init__.py