zulip/zerver/views
Mateusz Mandera ddcfd9e2ee rate_limit: Rate limit the /accounts/find/ endpoint.
Closes #19287

This endpoint allows submitting multiple addresses so we need to "weigh"
the rate limit more heavily the more emails are submitted. Clearly e.g.
a request triggering emails to 2 addresses should weigh twice as much as
a request doing that for just 1 address.
2021-08-06 12:17:44 +02:00
..
development backend: Add None-checks with assertions and if-elses. 2021-07-24 15:00:21 -07:00
__init__.py
alert_words.py request: Rename validator parameter of REQ to json_validator. 2021-04-07 14:13:06 -07:00
attachments.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
auth.py api: Return zulip_merge_base alongside zulip_version. 2021-07-30 12:03:41 -07:00
compatibility.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
custom_profile_fields.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
digest.py mypy: Fix most AnonymousUser type errors. 2021-07-24 14:55:46 -07:00
documentation.py request: Move miscellaneous attributes to ZulipRequestNotes. 2021-07-14 12:01:07 -07:00
drafts.py drafts: Extract all of the real work to lib functions. 2021-07-28 16:33:01 -07:00
email_mirror.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
events_register.py events: Add "user_settings_object" to client_capabilities. 2021-08-01 15:30:17 -07:00
home.py python: Convert "".format to Python 3.6 f-strings. 2021-08-02 15:53:52 -07:00
hotspots.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
invite.py invitations: Correctly compare realms for revoke_user_invite. 2021-07-24 14:59:19 -07:00
message_edit.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
message_fetch.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
message_flags.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
message_send.py mypy: Fix most AnonymousUser type errors. 2021-07-24 14:55:46 -07:00
muting.py muting: Add support for muting deactivated users. 2021-07-07 10:44:18 -07:00
portico.py plans_page: Fix broken redirection to /accounts/login/. 2021-06-15 16:49:01 -07:00
presence.py user_status: Add backend changes to support status emoji. 2021-07-27 17:57:15 -07:00
push_notifications.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
reactions.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
realm.py realm: Extend add_custom_emoji_policy to use COMMON_POLICY_TYPES. 2021-07-27 16:41:23 -07:00
realm_domains.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
realm_emoji.py realm: Extend add_custom_emoji_policy to use COMMON_POLICY_TYPES. 2021-07-27 16:41:23 -07:00
realm_export.py typing: Use assertions for function arguments. 2021-07-26 14:48:45 -07:00
realm_icon.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
realm_linkifiers.py exceptions: Add ValidationFailureError. 2021-07-06 09:44:45 -07:00
realm_logo.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
realm_playgrounds.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
registration.py rate_limit: Rate limit the /accounts/find/ endpoint. 2021-08-06 12:17:44 +02:00
report.py request: Move log_data from HttpRequest to ZulipRequestNotes. 2021-07-14 12:01:05 -07:00
storage.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
streams.py typing: Fix misuse of HttpResponse. 2021-07-27 14:31:19 +08:00
submessage.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
thumbnail.py requirements: Remove Thumbor. 2021-05-06 20:07:32 -07:00
tutorial.py api: Fix encoding of strings in tutorial endpoint. 2021-05-07 14:06:54 -07:00
typing.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
unsubscribe.py unsubscribe: Configure as csrf_exempt. 2021-04-28 15:33:32 -07:00
upload.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
user_groups.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
user_settings.py drafts: Add support for toggling drafts synchronization. 2021-07-30 10:00:27 -07:00
users.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
video_calls.py video_calls: Support separate testing credentials for Zoom. 2021-08-01 14:26:46 -07:00
zephyr.py python: Remove default "utf8" argument for encode(), decode(). 2021-08-02 15:53:52 -07:00