zulip/zerver
Sahil Batra 9a6886f630 users: Always pass delivery_email in user's own object.
This commit changes the code to always pass delivery_email
field in the user's own object in 'realm_users'.

This commit also fixes the events sent by notify_created_user.
In the "realm_user/add" event sent when creating the user,
the delivery_email field was set according to the access
for the created user itself as the created user was passed as
acting_user to format_user_row. But now since we have changed
the code to always allow the user themselves to have access
to the email, this bug was caught in tests and we fix the person
object in the event to have delivery_email field based on whether
the user receiving the event has access to email or not.
2022-05-04 12:52:43 -07:00
..
actions users: Always pass delivery_email in user's own object. 2022-05-04 12:52:43 -07:00
data_import python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib users: Always pass delivery_email in user's own object. 2022-05-04 12:52:43 -07:00
management requirements: Upgrade to Tornado 6. 2022-05-02 17:41:49 -07:00
migrations settings: Add realm setting for Zulip communities directory. 2022-05-04 11:13:28 -07:00
openapi settings: Add realm setting for Zulip communities directory. 2022-05-04 11:13:28 -07:00
tests users: Always pass delivery_email in user's own object. 2022-05-04 12:52:43 -07:00
tornado requirements: Upgrade Python requirements. 2022-05-03 10:10:06 -07:00
views settings: Add realm setting for Zulip communities directory. 2022-05-04 11:13:28 -07:00
webhooks slack_incoming: Process request payload directly in view.py. 2022-04-28 14:45:38 -07:00
worker workers: Log the exception if the export fails. 2022-04-28 11:52:47 -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 home: Simplify and comment terms of service notice implementation. 2022-02-04 15:48:38 -08:00
decorator.py decorator: Strengthen decorator types using ParamSpec. 2022-04-14 12:44:35 -07:00
filters.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
forms.py auth: Don't leak info about accounts in other realms in the login form. 2022-05-03 17:06:51 -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 `client` REQ parameter to `parse_client`. 2022-04-08 11:29:33 -07:00
models.py settings: Add realm setting for Zulip communities directory. 2022-05-04 11:13:28 -07:00
signals.py actions: Split out zerver.actions.video_calls. 2022-04-14 17:14:30 -07:00