zulip/zerver/views
Mateusz Mandera 3c5ea830a9 create_preregistration_user: Add additional hardening assertion.
TestMaybeSendToRegistration needs tweaking here, because it wasn't
setting the subdomain for the dummy request, so
maybe_send_to_registration was actually running with realm=None, which
is not right for these tests.

Also, test_sso_only_when_preregistration_user_exists was creating
PreregistrationUser without setting the realm, which was also incorrect.
2022-02-25 14:02:24 -08:00
..
development registration: Change create_preregistration_user to take realm as arg. 2022-02-25 14:02:24 -08:00
__init__.py
alert_words.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
attachments.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
auth.py create_preregistration_user: Add additional hardening assertion. 2022-02-25 14:02:24 -08:00
compatibility.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
custom_profile_fields.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
digest.py mypy: Fix most AnonymousUser type errors. 2021-07-24 14:55:46 -07:00
documentation.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
drafts.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
email_mirror.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
events_register.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
home.py home: Simplify and comment terms of service notice implementation. 2022-02-04 15:48:38 -08:00
hotspots.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
invite.py invite: Add backend support for "Never expires" option. 2022-02-24 16:32:19 -08:00
message_edit.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
message_fetch.py python: Reformat with Black 22 (stable). 2022-02-18 18:03:13 -08:00
message_flags.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
message_send.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
muting.py topic: Return JsonableError for race condition in topic mute. 2022-02-09 14:35:12 -08:00
portico.py portico: Add a self-hosting page. 2022-02-17 12:43:13 -08:00
presence.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
push_notifications.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
reactions.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
realm.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
realm_domains.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
realm_emoji.py realm_emoji: Stop swallowing all exceptions from upload_emoji_image. 2022-02-17 12:19:47 -08:00
realm_export.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
realm_icon.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
realm_linkifiers.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
realm_logo.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
realm_playgrounds.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
registration.py registration: Change create_preregistration_user to take realm as arg. 2022-02-25 14:02:24 -08:00
report.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
storage.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
streams.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
submessage.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
thumbnail.py requirements: Remove Thumbor. 2021-05-06 20:07:32 -07:00
tutorial.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
typing.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
unsubscribe.py get_object_from_key: Accept multiple allowed Confirmation types. 2021-12-02 09:50:41 -08:00
upload.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
user_groups.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
user_settings.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
users.py users: Refactor get_user_by_email. 2022-02-21 06:47:54 -08:00
video_calls.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
zephyr.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00