zulip/zerver/views
Shubham Padia 5cca30d971 message: Allow accessing archived channel when not modifying message.
Fixes #33567.

We have used the flag `is_modifying_message` since it's more generic
than an archived channel specific flag and helps us understand better
what is the condition where we do not want to allow archived channels.
We have not added tests for message edit since it  has an existing test
for this.
2025-02-26 16:39:41 -08:00
..
development users: Remove unnecessary get_api_key helper. 2025-02-13 12:40:53 -08:00
__init__.py views: Rename __init__.py to zerver.views.registration. 2017-01-08 16:21:15 -08:00
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 users: Remove unnecessary get_api_key helper. 2025-02-13 12:40:53 -08: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 mypy: Fix most AnonymousUser type errors. 2021-07-24 14:55:46 -07:00
documentation.py integration-docs: Add context properties for PythonAPIIntegrations. 2025-02-24 17:04:58 -08: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 narrow_term: Refactor a NeverNegatedNarrowTerm. 2025-02-24 15:37:40 -08:00
invite.py user_group: Move UserGroupMembershipDetails from lib/streams.py. 2025-02-21 15:36:07 -08:00
message_edit.py message: Allow accessing archived channel when not modifying message. 2025-02-26 16:39:41 -08:00
message_fetch.py settings: Add backend to change allow_edit_history to integer field. 2025-02-25 18:18:23 -08:00
message_flags.py message_flags: Add skipped unsubscribed stream ids in the response. 2025-02-23 13:59:46 -08:00
message_send.py python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
message_summary.py settings: Add setting to control permission for topic summarization. 2025-02-12 12:05:04 -08: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: Use the narrow user cache. 2025-02-13 12:40:53 -08:00
push_notifications.py zilencer: Rename registration takeover to registration transfer. 2025-01-30 14:32:36 -08:00
reactions.py message: Allow accessing archived channel when not modifying message. 2025-02-26 16:39:41 -08:00
read_receipts.py requirements: Upgrade Python requirements. 2024-06-27 15:31:43 -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: Use queue_event_on_commit helper function. 2024-12-04 12:14:23 -08: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 code_playground: Add custom playground options in the default_options list. 2025-02-16 17:22:47 -08:00
realm.py settings: Add backend to change allow_edit_history to integer field. 2025-02-25 18:18:23 -08:00
registration.py invites: Enable adding users to user groups during invitations. 2024-11-26 11:26:34 -08: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 streams: Add new can_subscribe_group permission setting. 2025-02-25 13:17:15 -08:00
submessage.py message: Allow accessing archived channel when not modifying message. 2025-02-26 16:39:41 -08:00
thumbnail.py thumbnail: Do not Camo old thumbor URLs; serve images directly. 2024-07-24 16:04:34 -07:00
tusd.py mime_types: Move INLINE_MIME_TYPES to prevent future import loops. 2025-01-09 09:09:13 -08:00
typing.py message: Allow accessing archived channel when not modifying message. 2025-02-26 16:39:41 -08:00
unsubscribe.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
upload.py models: Add content_type to ImageAttachment. 2025-01-31 14:29:57 -08:00
user_groups.py settings: Correctly handle passing empty anonymous group. 2025-02-18 10:40:28 -08:00
user_settings.py settings: Add personal setting to show or hide AI features. 2025-02-12 12:05:04 -08:00
user_topics.py validators: Use cleaner syntax for AfterValidator. 2024-07-15 16:49:32 -07:00
users.py bots: Fix email already in use error message. 2025-02-24 14:27:42 -08:00
video_calls.py video-calls: Add Zoom Serverto Server OAuth integration. 2025-02-13 16:35:43 -08:00
zephyr.py users: Remove unnecessary get_api_key helper. 2025-02-13 12:40:53 -08:00