zulip/zerver/webhooks/statuspage
Vishnu KS 92316ef4d1 statuspage: Properly detect the update is for component or incident.
The value of "status_indicator" can be "none" for both the component
and incident updates[1]. Also, it is not at all necessary that the value of
"status_indicator" is always "none" for incident updates[2][3]. So our previous
logic of using the value of "status_indicator" to determine whether
the update is that of a component or incident was incorrect. Instead, we
should use "incident" or "component" keys to determine the type of update.

This commit fixes issues [1] and [2] in sentry.

1. https://sentry.io/organizations/zulip/issues/2303217561
2. https://sentry.io/organizations/zulip/issues/2303197407
3. https://support.atlassian.com/statuspage/docs/enable-webhook-notifications/
2021-03-30 12:06:09 -07:00
..
fixtures statuspage: Properly detect the update is for component or incident. 2021-03-30 12:06:09 -07:00
__init__.py
doc.md webhooks/statuspage: Update docs, logo and screenshots. 2018-12-29 10:29:16 -08:00
tests.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
view.py statuspage: Properly detect the update is for component or incident. 2021-03-30 12:06:09 -07:00