zulip/zproject
Mateusz Mandera fe993032a6 validate_email_not_already_in_realm: Add kwarg for mirror dummies.
In user signup context, we are okay with there being an existing mirror
dummy user with the matching email - at the end of the signup, that
mirror dummy account will be activated and control of it given to the
user doing this signup.

However, in email change contexts (SCIM API and regular email change
flow), we can't change an account's email address to the address that
already belongs to an existing mirror dummy user.

To avoid subtle bugs like this, we make callers have to explicitly
specify whether existance of mirror dummies with the matching email
address is okay or not.
2025-07-07 17:15:08 -07:00
..
jinja2 i18n: Trim {% trans %} sections by default. 2025-05-29 11:58:57 -07:00
__init__.py Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
backends.py validate_email_not_already_in_realm: Add kwarg for mirror dummies. 2025-07-07 17:15:08 -07:00
computed_settings.py settings: Add push_registration_encryption_keys map. 2025-07-06 21:11:26 -07:00
config.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
configured_settings.py settings: Print about custom settings from runtornado. 2023-12-05 12:33:34 -08:00
default_settings.py subscription_data: Flesh out partial suscription data sent to client. 2025-06-30 17:10:36 -07:00
dev_settings.py realm_creation_form: Capture import_from if realm import enabled. 2025-04-30 00:06:43 -07:00
dev_urls.py showroom: Set up devtools/inputs page for showcasing input components. 2025-07-03 11:45:35 -07:00
email_backends.py send_email: Set the Date header according to local enqueue time. 2025-03-10 16:48:08 -07:00
prod_settings_template.py s3: Support non-AWS S3 providers which do not support request checksums. 2025-04-10 11:11:25 -07:00
prod_settings.pyi lint: Replace pycodestyle and pyflakes with ruff. 2022-11-03 12:10:15 -07:00
sentry.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
settings_types.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
settings.py settings: Hide django_stubs_ext from mypy. 2024-04-17 16:49:03 -07:00
template_loaders.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
test_extra_settings.py push_notifs: In dev, use EXTERNAL_HOST directly as bouncer 2025-04-28 20:24:05 -07:00
test_settings.py settings: Refactor how TEST_SUITE is configured. 2023-12-04 09:50:14 -08:00
urls.py confirm_email_change: Use redirect-to-POST trick. 2025-07-07 17:15:08 -07:00
wsgi.py restart-server: Wait until chain reload has completed. 2024-08-29 12:12:34 -07:00