zulip/zerver/views
Anders Kaseorg b3f18b805d ruff: Enable B008 function-call-in-default-argument.
https://docs.astral.sh/ruff/rules/function-call-in-default-argument/

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-10 22:43:55 -08:00
..
development do_change_user_delivery_email: Add acting_user kwarg. 2024-09-30 12:00:14 -07:00
__init__.py
alert_words.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
attachments.py attachments: Correct attachment_id type from string to integer. 2023-10-22 17:06:34 -07:00
auth.py auth: Migrate to @typed_endpoint. 2024-08-30 16:56:14 -07:00
compatibility.py django: Use HttpRequest.headers. 2022-05-13 20:42:20 -07:00
custom_profile_fields.py custom_profile_fields: Make transaction no longer durable. 2024-10-14 16:30:46 -07:00
digest.py
documentation.py python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
drafts.py ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
email_mirror.py zerver: Migrate some files to typed_endpoint. 2024-07-20 15:46:48 -07:00
errors.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
events_register.py ruff: Enable B008 function-call-in-default-argument. 2024-11-10 22:43:55 -08:00
health.py health: Disable RabbitMQ check if not USING_RABBITMQ. 2024-10-13 11:42:49 -07:00
home.py accounts_accept_terms: Check if imported user wants marketing emails. 2024-09-20 18:17:53 -07:00
invite.py invites: Extract helpers for accessing invites by ID. 2024-10-16 14:06:32 -07:00
message_edit.py delete_message_backend: Add `durable=True` to the outermost transaction. 2024-11-01 16:41:15 -07:00
message_fetch.py message_fetch: Add message_ids parameter to /messages request. 2024-10-07 11:00:40 -07:00
message_flags.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
message_send.py python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
muted_users.py bots: Fix muting of cross realm bots. 2023-11-27 16:16:23 -08:00
onboarding_steps.py onboarding: Migrate to typed_endpoint. 2024-06-14 11:24:36 -07:00
presence.py presence: Add history_limit_days param to the API. 2024-09-10 13:15:35 -07:00
push_notifications.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
reactions.py transaction: Add durable=True to outermost transaction.atomic decorator. 2024-11-01 16:41:15 -07:00
read_receipts.py requirements: Upgrade Python requirements. 2024-06-27 15:31:43 -07:00
realm.py settings: Remove `edit_topic_policy` setting. 2024-10-29 16:27:04 -07:00
realm_domains.py realm: Migrate smaller files to typed_endpoint. 2024-07-15 16:49:32 -07:00
realm_emoji.py realm: Migrate smaller files to typed_endpoint. 2024-07-15 16:49:32 -07:00
realm_export.py realm_export: Add support to create full data export via /export/realm. 2024-10-11 13:20:42 -07:00
realm_icon.py upload: Pass down content-type of realm icon/logo to backend. 2024-07-11 07:31:39 -07:00
realm_linkifiers.py realm: Migrate smaller files to typed_endpoint. 2024-07-15 16:49:32 -07:00
realm_logo.py realm: Migrate smaller files to typed_endpoint. 2024-07-15 16:49:32 -07:00
realm_playgrounds.py realm: Migrate smaller files to typed_endpoint. 2024-07-15 16:49:32 -07:00
registration.py register: Ask which review site for how found zulip. 2024-09-27 13:23:08 -07:00
report.py csp_violations: Migrate has_request_variables to typed_endpoint. 2024-03-08 11:26:00 -08:00
saved_snippets.py saved_snippets: Add backend for saved snippets. 2024-09-24 15:27:58 -07:00
scheduled_messages.py scheduled_messages: Migrate to typed_endpoint. 2024-08-20 10:03:22 -07:00
sentry.py ruff: Fix UP038 Use `X | Y` in `isinstance` call instead of `(X, Y)`. 2024-07-13 22:28:22 -07:00
storage.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
streams.py compose_views: Add `savepoint=False` to avoid creating savepoints. 2024-11-05 17:58:47 -08:00
submessage.py submessage: Add 'durable=True' to the outermost transaction. 2024-10-07 11:35:06 -07:00
thumbnail.py thumbnail: Do not Camo old thumbor URLs; serve images directly. 2024-07-24 16:04:34 -07:00
tusd.py transaction: Add `durable=True` to the outermost db transactions. 2024-11-05 17:58:47 -08:00
typing.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
unsubscribe.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
upload.py upload: Improve error messages when uploads limited by plan. 2024-10-15 13:30:29 -07:00
user_groups.py compose_views: Add `savepoint=False` to avoid creating savepoints. 2024-11-05 17:58:47 -08:00
user_settings.py transaction: Add `durable=True` to the outermost db transactions. 2024-11-05 17:58:47 -08:00
user_topics.py validators: Use cleaner syntax for AfterValidator. 2024-07-15 16:49:32 -07:00
users.py avatars: Split email-based and user ID-based avatar endpoints. 2024-11-05 09:06:17 -08:00
video_calls.py video_calls: Migrate to typed_endpoint. 2024-07-31 17:10:06 -07:00
zephyr.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00