zulip/zerver/views
Tushar912 55de66f944 api: Support user_id in get_user_presence_endpoint.
This is part of our general process of replacing emails, which are not
static with time, with user_ids when referring to users in the API.

We still keep the `email` reference option, since it can be useful for
linking third-party applications to Zulip on an intranet that might
have a user's corporate email handy and not want to do the extra round
trip to lookup the user.

The name of the parameter, user_id_or_email, was chosen to to make it
clear that the default/preferred option is user_id.

Fixes #14304.
2021-03-11 20:14:04 -08:00
..
development python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
__init__.py
alert_words.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
archive.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
attachments.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
auth.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
camo.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
compatibility.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
custom_profile_fields.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
digest.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
documentation.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
drafts.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
email_mirror.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
events_register.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
home.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
hotspots.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
invite.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
message_edit.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
message_fetch.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
message_flags.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
message_send.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
muting.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
portico.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
presence.py api: Support user_id in get_user_presence_endpoint. 2021-03-11 20:14:04 -08:00
push_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
reactions.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
realm.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
realm_domains.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
realm_emoji.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
realm_export.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
realm_filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
realm_icon.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
realm_logo.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
registration.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
report.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
storage.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
streams.py actions: Remove realm argument to internal_send_stream_message. 2021-02-23 15:26:47 -08:00
submessage.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
thumbnail.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
tutorial.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
typing.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
unsubscribe.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
upload.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
user_groups.py streams: Fix compose_views type safety. 2021-02-15 17:05:28 -08:00
user_settings.py display_settings: Allow user to set default_view. 2021-03-11 18:09:08 -08:00
users.py api: Add REST API endpoint for looking up a user by email address. 2021-02-15 17:38:33 -08:00
video_calls.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
zephyr.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00