zulip/zproject
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
..
jinja2 python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
__init__.py
backends.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
computed_settings.py docs: Add a note in Incoming email integration docs. 2021-03-08 12:23:10 -08:00
config.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
configured_settings.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
default_settings.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
dev_settings.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
dev_urls.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
email_backends.py email: Set an envelope-from which may be different from the From: field. 2021-02-24 17:32:28 -08:00
legacy_urls.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
prod_settings_template.py prod_settings_template: Make "Miscellaneous settings" the last grouping. 2021-02-15 15:53:05 -08:00
sentry.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
settings.py python: Add noqa comments for the specific star imports we allow. 2020-06-11 15:36:43 -07:00
terms.md.template docs: Capitalize Markdown consistently. 2020-08-11 10:23:06 -07:00
test_extra_settings.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_settings.py test_settings: Use TEST_EXTERNAL_HOST to override ‘testserver’ default. 2020-12-17 13:07:59 -08:00
urls.py api: Support user_id in get_user_presence_endpoint. 2021-03-11 20:14:04 -08:00
wsgi.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00