zulip/zerver
Hari Prashant Bhimaraju eca9088176 uptimerobot: Strengthen types using WildValue.
This commit strengthens types by typing the webhook's incoming
payload as WildValue and taming the values of the payload before
usage, which eradicates the use of Any within the UptimeRobot
incoming webhook integration.

The payload's values are now tamed, stored in variables and passed
into message templates as opposed to passing in the payload dict as
keyword arguments.

The KeyError exception has been replaced to catch a ValidationError
instead now, since the incoming payload's keys will be tamed before
usage and the non-existence of the key is raised as a
ValidationError in the taming function.
2022-09-01 14:05:07 -07:00
..
actions typing: Broaden parameter type for bulk_regenerate_api_keys. 2022-08-29 11:06:41 -07:00
data_import import: Fix timestamp check in long_term_idle_helper. 2022-08-29 15:18:00 -07:00
integration_fixtures/nagios
lib integrations: Add Azure DevOps webhook integration. 2022-09-01 14:01:13 -07:00
management logout_all_users: Add --rotate-api-keys option to the command. 2022-08-15 17:58:05 -07:00
migrations settings: Make AVATAR_SALT mandatory. 2022-08-25 12:13:03 -07:00
openapi bots: Refer to notification bot messages as automated notices. 2022-08-29 10:54:08 -07:00
tests portico: Fix title and description for /attribution. 2022-09-01 11:33:35 -07:00
tornado user_topic: Add user_topic event. 2022-08-04 17:44:00 -07:00
views i18n: Deal with lazy strings more carefully. 2022-08-29 10:52:45 -07:00
webhooks uptimerobot: Strengthen types using WildValue. 2022-09-01 14:05:07 -07:00
worker queue_processor: Fix type annotation for connection. 2022-07-26 18:00:24 -07:00
__init__.py
apps.py
context_processors.py footer: Reduce links for self-hosted installations on signup pages. 2022-07-22 15:46:42 -07:00
decorator.py decorator: Rename profile to user_profile. 2022-08-17 12:05:38 -07:00
filters.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
forms.py i18n: Deal with lazy strings more carefully. 2022-08-29 10:52:45 -07:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py middleware: Log 5xx json_errors in JsonErrorHandler. 2022-08-31 14:43:15 -07:00
models.py i18n: Deal with lazy strings more carefully. 2022-08-29 10:52:45 -07:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00