zulip/zerver/views
Sahil Batra e47662aa19 user_groups: Rename get_memberships_of_users.
This is a prep commit for new permissions model in
which a user group would be able to have a subgroup.

This commit renames get_memberships_of_users to
get_direct_memberships_of_users to specify that
the function is used only to fetch the direct
memberships and not memberships of subgroups of
the direct group.

Extracted this commit from #19866.

Co-authored-by: Anders Kaseorg <anders@zulip.com>
2021-10-12 13:57:47 -07:00
..
development auth: Add login buttons for web public access. 2021-10-05 16:30:40 -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 auth: Include user-input email in some error messages in the login form. 2021-09-10 10:47:15 -07:00
compatibility.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
custom_profile_fields.py types: Fix declared type of custom profile field values. 2021-09-22 16:22:46 -07:00
digest.py mypy: Fix most AnonymousUser type errors. 2021-07-24 14:55:46 -07:00
documentation.py request: Refactor ZulipRequestNotes to RequestNotes. 2021-09-03 08:48:45 -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 request: Refactor ZulipRequestNotes to RequestNotes. 2021-09-03 08:48:45 -07:00
home.py auth: Add login buttons for web public access. 2021-10-05 16:30:40 -07:00
hotspots.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
invite.py do_invite_users: Turn some args into kwargs-only. 2021-09-10 16:53:03 -07:00
message_edit.py settings: Add moderators and members option in delete_own_message_policy. 2021-09-30 14:59:31 -07:00
message_fetch.py spectators: Add comments and assertions on security model. 2021-09-14 10:33:14 -07:00
message_flags.py request: Refactor ZulipRequestNotes to RequestNotes. 2021-09-03 08:48:45 -07:00
message_send.py request: Refactor ZulipRequestNotes to RequestNotes. 2021-09-03 08:48:45 -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 request: Refactor ZulipRequestNotes to RequestNotes. 2021-09-03 08:48:45 -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 user_settings: Add send_read_receipts setting. 2021-10-07 17:46:05 -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 find_team: Send one email per email address, not per organization. 2021-09-21 15:56:50 -07:00
report.py request: Refactor ZulipRequestNotes to RequestNotes. 2021-09-03 08:48:45 -07:00
storage.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
streams.py update_stream_backend: Add ability to make streams web public. 2021-09-21 12:16:09 -07: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 typing_notifications: Make privacy settings functional. 2021-10-07 17:39:22 -07:00
unsubscribe.py settings: Remove do_change_notification_settings function. 2021-09-08 11:04:44 -07:00
upload.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
user_groups.py user_groups: Rename get_memberships_of_users. 2021-10-12 13:57:47 -07:00
user_settings.py user_settings: Add send_read_receipts setting. 2021-10-07 17:46:05 -07:00
users.py types: Fix declared type of custom profile field values. 2021-09-22 16:22:46 -07:00
video_calls.py outgoing_http: Use OutgoingSession subclasses in more places. 2021-09-01 05:34:13 -07:00
zephyr.py python: Remove default "utf8" argument for encode(), decode(). 2021-08-02 15:53:52 -07:00