zulip/zerver/views
Sahil Batra 81765a1e83 user_groups: Fix audit log data when changing group settings.
This commit fixes the code store correct old value in audit
log data when changing can_mention_group setting from a
anonymous group to another anonymous group. The bug was
because the old value was being computed after updating
the UserGroup object with new members and subgroups and
is fixed by computing the old value for all the cases
and passing it to do_change_user_group_permission_setting.
2024-05-28 07:24:07 -07:00
..
development models: Replace realm.uri with realm.url. 2024-05-08 11:12:43 -07:00
__init__.py
alert_words.py alert_words: Migrate alert_words to use @typed_endpoint. 2023-09-08 08:20:17 -07:00
attachments.py attachments: Correct attachment_id type from string to integer. 2023-10-22 17:06:34 -07:00
auth.py invites: Add include_realm_default_subscriptions parameter. 2024-05-14 14:20:07 -07:00
compatibility.py django: Use HttpRequest.headers. 2022-05-13 20:42:20 -07:00
custom_profile_fields.py custom_profile_fields: Make required field optional during update. 2024-04-15 16:52:11 -07:00
digest.py
documentation.py webhooks: Rename recommended_stream_name->recommended_channel_name. 2024-05-06 09:07:57 -07:00
drafts.py drafts: Migrate drafts to use @typed_endpoint. 2023-09-08 08:20:17 -07:00
email_mirror.py decorator: Rename internal_notify_view. 2024-02-15 15:42:50 -08:00
errors.py config_error: Support passing arguments specifying the "go back" link. 2024-03-05 11:53:51 -08:00
events_register.py register: Add client capability to not receive unknown users data. 2023-12-06 00:09:53 -08:00
health.py views: Add a /health healthcheck endpoint. 2023-09-20 09:53:59 -07:00
home.py portico: Improve message for deactivated, invalid and moved orgs. 2024-05-13 12:44:20 -07:00
invite.py invites: Add include_realm_default_subscriptions parameter. 2024-05-14 14:20:07 -07:00
message_edit.py messages: Remove use of @overload in access_message. 2024-04-12 11:41:27 -07:00
message_fetch.py topic: Move sqlalchemy methods into their own file. 2024-04-16 09:48:11 -07:00
message_flags.py narrow-parameter: Add validation for the narrow parameters. 2024-04-20 09:04:26 -07:00
message_send.py message-type: Add support for "channel" as value for type parameter. 2024-04-11 09:40:25 -07:00
muted_users.py bots: Fix muting of cross realm bots. 2023-11-27 16:16:23 -08:00
onboarding_steps.py onboarding_steps: Rename 'hotspots' files to 'onboarding_steps'. 2024-05-10 12:30:22 -07:00
presence.py api: Add "users/<int:user_id>/status" endpoint. 2024-05-22 18:07:22 -07:00
push_notifications.py push-notifications: Migrate to typed endpoint. 2024-04-21 11:09:32 -07:00
reactions.py reactions: Migrate to typed_endpoint. 2024-04-21 11:09:32 -07:00
read_receipts.py read-receipts: Migrate to typed endpoint. 2024-04-21 11:09:32 -07:00
realm.py realm: Migrate "PATCH /realm" endpoint to typed_endpoint. 2024-05-22 17:20:37 -07:00
realm_domains.py models: Extract zerver.models.realms. 2023-12-16 22:08:44 -08:00
realm_emoji.py ruff: Fix SIM300 Yoda conditions are discouraged. 2024-01-29 10:41:54 -08:00
realm_export.py realm_export: Use .count(), instead of len(). 2024-04-13 21:50:42 -07:00
realm_icon.py ruff: Fix SIM300 Yoda conditions are discouraged. 2024-01-29 10:41:54 -08:00
realm_linkifiers.py models: Extract zerver.models.linkifiers. 2023-12-16 22:08:44 -08:00
realm_logo.py ruff: Fix SIM300 Yoda conditions are discouraged. 2024-01-29 10:41:54 -08:00
realm_playgrounds.py realm_playgrounds: Refactor error handling for validation on creation. 2023-07-24 17:40:59 -07:00
registration.py invites: Add include_realm_default_subscriptions parameter. 2024-05-14 14:20:07 -07:00
report.py csp_violations: Migrate has_request_variables to typed_endpoint. 2024-03-08 11:26:00 -08:00
scheduled_messages.py i18n: Update translated errors for stream to channel rename. 2024-04-24 14:35:05 -07:00
sentry.py python: Use urlsplit instead of urlparse. 2023-12-05 13:03:07 -08:00
storage.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
streams.py groups: Use NamedUserGroup for all queries. 2024-04-26 17:03:09 -07:00
submessage.py todo_widget: Allow task list title to be set and edited by author. 2024-04-13 21:56:33 -07:00
thumbnail.py models: Move some functions to zerver.lib.attachments. 2023-12-16 22:08:44 -08:00
tutorial.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
typing.py i18n: Update translated errors for stream to channel rename. 2024-04-24 14:35:05 -07:00
unsubscribe.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
upload.py python: Reformat with Ruff formatter. 2024-02-29 17:07:16 -08:00
user_groups.py user_groups: Fix audit log data when changing group settings. 2024-05-28 07:24:07 -07:00
user_settings.py docs: Update Django links to our current version. 2024-05-24 10:18:37 -07:00
user_topics.py streams: Update translated errors for stream to channel rename. 2024-04-24 14:35:05 -07:00
users.py emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
video_calls.py models: Replace realm.uri with realm.url. 2024-05-08 11:12:43 -07:00
zephyr.py ruff: Fix PLW0602 Using global but no assignment is done. 2023-01-04 16:25:07 -08:00