zulip/zerver/webhooks
Aditya Kumar Kasaudhan 6956e9a2b3 slack_incoming: Add ok=false to JSON in case of error.
Previously, errors were returned using Zulip's default format,
which did not match Slack's expected response structure.

This change ensures that errors in the Slack incoming webhook handler
return JSON responses in Slack's expected format: {ok: false, error:
"error string"}.

Fixes: #31878.
(cherry picked from commit d448b75176)
2024-11-18 18:32:25 -08:00
..
airbrake webhooks: Rename create-stream.md to create-channel.md. 2024-05-06 09:07:57 -07:00
alertmanager ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
ansibletower ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
appfollow integration-docs: Update Appfollow for updated doc format. 2024-07-02 12:50:25 -07:00
appveyor integration-docs: Update AppVeyor for new doc format. 2024-07-02 12:50:25 -07:00
azuredevops ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
basecamp integration-docs: Clarify use of event-filtering-additional-feature. 2024-07-08 13:51:50 -07:00
beanstalk ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
beeminder integration-docs: Update Beeminder for new doc format. 2024-07-02 12:50:25 -07:00
bitbucket ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
bitbucket2 ruff: Fix B905 `zip()` without an explicit `strict=` parameter. 2024-07-13 22:28:22 -07:00
bitbucket3 ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
buildbot webhooks: Rename remaining stream references to channel. 2024-05-06 09:07:57 -07:00
canarytoken integration-docs: Update Canarytoken for new doc format. 2024-07-05 15:20:59 -07:00
circleci integration-docs: Clarify use of event-filtering-additional-feature. 2024-07-08 13:51:50 -07:00
clubhouse ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
codeship integration-docs: Update Codeship for new doc format. 2024-07-01 13:27:45 -07:00
crashlytics integration-docs: Update Crashlytics for new doc format. 2024-07-01 13:27:45 -07:00
delighted integration-docs: Update Delighted for new doc format. 2024-07-01 13:27:45 -07:00
deskdotcom integration-docs: Add comma to all uses of "e.g." in integration docs. 2024-07-05 15:36:24 -07:00
dialogflow webhooks: Rename create-stream.md to create-channel.md. 2024-05-06 09:07:57 -07:00
dropbox ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
errbit integration-docs: Update Errbit for new doc format. 2024-07-01 13:27:45 -07:00
flock integration-docs: Update Flock for new doc format. 2024-07-02 16:07:22 -07:00
freshdesk ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
freshping integration-docs: Clarify use of event-filtering-additional-feature. 2024-07-08 13:51:50 -07:00
freshstatus ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
front ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
gitea ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
github integrations: Prevent duplicate GitHub pull request review messages. 2024-08-01 11:24:58 -07:00
gitlab integrations: Add support for release events to GitLab integration. 2024-10-09 17:13:37 -07:00
gocd webhooks: Rename create-stream.md to create-channel.md. 2024-05-06 09:07:57 -07:00
gogs ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
gosquared integration-docs: Update Gosquared for new doc format. 2024-07-08 16:29:33 -07:00
grafana integration-docs: Clarify use of event-filtering-additional-feature. 2024-07-08 13:51:50 -07:00
greenhouse integration-docs: Update Greenhouse recruitment for new doc format. 2024-07-12 13:21:07 -07:00
groove ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
harbor ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
hellosign ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
helloworld integration-docs: Update Hello World for new doc format. 2024-07-08 16:29:02 -07:00
heroku integration-docs: Update Heroku for new doc format. 2024-07-08 16:29:02 -07:00
homeassistant webhooks: Rename remaining stream references to channel. 2024-05-06 09:07:57 -07:00
honeybadger/fixtures
ifttt integration-docs: Update IFTTT for new doc format. 2024-07-08 16:29:02 -07:00
insping integration-docs: Update Insping for new doc format. 2024-07-08 16:29:02 -07:00
intercom ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
jira integrations: Update comment related notifications in Jira integration. 2024-08-15 00:11:42 -07:00
jotform integration-docs: Update Jotform for new doc format. 2024-07-12 13:21:07 -07:00
json ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
librato ruff: Fix B905 `zip()` without an explicit `strict=` parameter. 2024-07-13 22:28:22 -07:00
lidarr ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
linear ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
mention webhooks: Rename create-stream.md to create-channel.md. 2024-05-06 09:07:57 -07:00
netlify ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
newrelic integration-docs: Add comma to all uses of "e.g." in integration docs. 2024-07-05 15:36:24 -07:00
opbeat ruff: Fix PLR1714 Consider merging multiple comparisons. 2024-09-11 14:16:55 -07:00
opencollective webhooks: Rename remaining stream references to channel. 2024-05-06 09:07:57 -07:00
opsgenie integration-docs: Update Opsgenie for new doc format. 2024-07-21 18:09:13 -07:00
pagerduty integration-docs: Update PagerDuty to the new doc format. 2024-08-15 00:11:42 -07:00
papertrail integration-docs: Update Papertrail the new doc format. 2024-08-15 00:11:42 -07:00
patreon integration-docs: Update Patreon to the new doc format. 2024-08-15 00:11:42 -07:00
pingdom integration-docs: Update Pingdom to the new doc format. 2024-08-15 00:11:42 -07:00
pivotal integration-docs: Update Pivotal for new doc format. 2024-07-21 18:09:13 -07:00
radarr integration-docs: Update Radarr for new doc format. 2024-07-21 18:09:13 -07:00
raygun integration-docs: Update Raygun for new doc format. 2024-07-21 18:09:13 -07:00
reviewboard integration-docs: Update Review Board for new doc format. 2024-07-21 18:09:13 -07:00
rhodecode integration-docs: Update RhodeCode for new doc format. 2024-07-21 18:09:13 -07:00
rollbar/fixtures
rundeck integration-docs: Update Rundeck for new doc format. 2024-07-21 18:09:13 -07:00
runscope/fixtures
semaphore integration-docs: Update Semaphore to the new doc format. 2024-08-01 11:24:58 -07:00
sentry integration-docs: Update Sentry to the new doc format. 2024-08-01 11:24:58 -07:00
slack ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
slack_incoming slack_incoming: Add ok=false to JSON in case of error. 2024-11-18 18:32:25 -08:00
sonarqube integration-docs: Update Sonarqube for new doc format. 2024-07-16 14:55:56 -07:00
sonarr integration-docs: Update Sonarr for new doc format. 2024-07-16 14:55:56 -07:00
splunk integration-docs: Fix typo in Splunk doc hint. 2024-07-18 12:24:36 -07:00
statuspage integration-docs: Update Statuspage for new doc format. 2024-07-16 14:55:56 -07:00
stripe integration-docs: Include suggestion for HTTPS hint in Stripe. 2024-07-18 12:28:08 -07:00
taiga integration-docs: Update Taiga for new doc format. 2024-07-16 09:40:45 -07:00
teamcity integration-docs: Update TeamCity for new doc format. 2024-07-16 17:02:55 -07:00
thinkst integration-docs: Update Thinkst for new doc format. 2024-07-16 09:40:45 -07:00
transifex integration-docs: Update Transifex for new doc format. 2024-07-16 09:40:45 -07:00
travis integration-docs: Update Travis CI for new doc format. 2024-07-16 09:40:45 -07:00
trello integration-docs: Format keyboard shortcuts in Trello doc. 2024-07-18 12:24:45 -07:00
updown integration-docs: Update Updown for new doc format. 2024-07-08 16:28:24 -07:00
uptimerobot integration-docs: Update UptimeRobot for new doc format. 2024-07-08 16:28:24 -07:00
wekan integration-docs: Update Wekan for new doc format. 2024-07-16 14:55:02 -07:00
wordpress integration-docs: Update WordPress for new doc format. 2024-07-16 14:55:02 -07:00
zabbix integration-docs: Update Zabbix for new doc format. 2024-07-16 14:55:27 -07:00
zapier integration-docs: Update Zapier for new doc format. 2024-07-15 16:42:22 -07:00
zendesk integration-docs: Update Zendesk for new doc format. 2024-07-15 16:42:22 -07:00
__init__.py