zulip/zerver
Mateusz Mandera c95cac2dd7 outgoing_webhook: Send response payload to bot owner if it was invalid.
When the format of the response received from the outgoing webhook
server is invalid (unparsable json, or just wrong format that doesn't
translate into a dictionary etc.), a message with the error is sent to
the bot owner. We should include the actual payload to make reasonable
debugging possible.

In notify_bot_owner we have to move the `if response_content` block to
append the payload to the message whenever it was specified as an
argument to the function. It shouldn't be nested inside
`elif status_code` as before.
2021-05-11 14:27:00 -07:00
..
data_import docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib outgoing_webhook: Send response payload to bot owner if it was invalid. 2021-05-11 14:27:00 -07:00
management management: Rename the deliver_email command to deliver_scheduled_email. 2021-05-11 13:07:29 -07:00
migrations models: Fix incorrect on_delete=CASCADE values for deleted streams. 2021-05-06 20:41:49 -07:00
openapi mute user: Add user documentation page. 2021-05-10 17:10:40 -07:00
templatetags dependencies: Upgrade to webpack-bundle-tracker 1.0.0-alpha.1. 2021-04-06 09:31:35 -07:00
tests outgoing_webhook: Send response payload to bot owner if it was invalid. 2021-05-11 14:27:00 -07:00
tornado middleware: Add client_version attribute to request. 2021-04-29 17:03:40 -07:00
views api: Fix encoding of strings in streams endpoint. 2021-05-10 10:29:22 -07:00
webhooks doc: Fix configurations for images in the doc of newrelic. 2021-05-10 17:50:32 -07:00
worker backend: Extract check_update_message from update_message_backend. 2021-05-09 20:44:04 -07:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
context_processors.py UI: Add Zulip version in gear menu. 2021-04-30 17:58:08 -07:00
decorator.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
forms.py auth: Improve display of errors when user needs to reset password. 2021-05-07 09:10:45 -07:00
logging_handlers.py docs: Capitalize “Markdown” consistently. 2021-04-26 09:31:08 -07:00
middleware.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
models.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
signals.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00