zulip/zerver
Zixuan James Li 00f2040ffa custom_profile: Use cast to ensure ProfieDataElementUpdateDict.
We refactor the validator of `update_user_custom_profile_data` to ensure
that the validated variable is properly typed as
a `ProfileDataElementUpdateDict`, so we can call
`validate_user_custom_profile_data` and
`do_update_user_custom_profile_data_if_changed` directly later (unlike
`update_user_backend`, where `value` is allowed to be `None`, the
validator already ensures that no further check is required).
2022-07-15 14:55:03 -07:00
..
actions message_send: Extract ActiveUserDict for accurate typing. 2022-07-15 14:02:40 -07:00
data_import user_profile: Fallback to "" for timezone upon creation. 2022-06-28 16:05:24 -07:00
integration_fixtures/nagios
lib types: Add ProfileDataElementUpdateDict. 2022-07-15 14:55:03 -07:00
management typing: Add assertions before accessing settings. 2022-07-15 14:00:56 -07:00
migrations typing: Add assertions before accessing settings. 2022-07-15 14:00:56 -07:00
openapi models: Remove "role" field from Subscription. 2022-07-13 17:07:44 -07:00
tests test_auth_backends: Replace handcrafted requests with HostRequestMock. 2022-07-15 14:00:56 -07:00
tornado tornado: Ignore StreamClosedError. 2022-06-28 16:35:49 -07:00
views custom_profile: Use cast to ensure ProfieDataElementUpdateDict. 2022-07-15 14:55:03 -07:00
webhooks integrations: Add RhodeCode webhook integration. 2022-07-13 14:10:00 -07:00
worker message_send: Remove unnecessary user_ids argument. 2022-05-04 14:45:18 -07:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py caching: Make sender type optional for flush_cache. 2021-07-26 14:48:07 -07:00
context_processors.py middleware: Reorder middleware to avoid hasattr checks. 2022-07-14 17:24:24 -07:00
decorator.py decorator: Explicitly require req_secret in internal_notify_view. 2022-07-15 09:20:37 -07:00
filters.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
forms.py integrations: Fix wrong type annotation. 2022-07-15 14:00:56 -07:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py middleware: Add isinstance check before retrieving content. 2022-07-15 14:00:56 -07:00
models.py typing: Add assertions for Optional values. 2022-07-15 14:00:56 -07:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00