zulip/zproject
Kevin Lin b2c29274f3 presence: Allow bots to fetch realm presence data.
Before, presence information for an entire realm could only be queried via
the `POST /api/v1/users/me/presence` endpoint. However, this endpoint also
updates the presence information for the user making the request. Therefore,
bot users are not allowed to access this endpoint because they don't have
any presence data.

This commit adds a new endpoint `GET /api/v1/realm/presence` that just
returns the presence information for the realm of the caller.

Fixes #10651.
2018-10-15 12:51:28 -07:00
..
jinja2 zproject: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
__init__.py Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
backends.py auth: Add invalid default value for auth_backend_name. 2018-10-11 17:35:07 -07:00
dev_settings.py settings: Remove unused EMAIL_LOG_DIR setting from dev_settings. 2018-10-11 15:12:08 -07:00
dev_urls.py casper: Show casper debug files in the dev server. 2018-06-04 09:02:58 -07:00
email_backends.py emails: Don't log emails while running test suite. 2018-10-11 15:12:08 -07:00
legacy_urls.py urls: Move the json/fetch_api_key endpoint to be an API-style route. 2018-01-08 13:15:52 -05:00
prod_settings_template.py docs: Expand on LDAP config; try to clarify "username" concept. 2018-09-27 13:20:10 -07:00
settings.py minor: Fix indentation from recent ldap commit. 2018-10-11 15:28:58 -07:00
slack_importer_test_settings.py slack importer: Use standalone database for running tests. 2018-01-07 09:50:27 -05:00
terms.md.template Add TERMS_OF_SERVICE setting. 2016-07-29 20:47:31 -07:00
test_settings.py emails: Don't log emails while running test suite. 2018-10-11 15:12:08 -07:00
urls.py presence: Allow bots to fetch realm presence data. 2018-10-15 12:51:28 -07:00
wsgi.py python: Add lint rule banning 'from os.path import'. 2017-09-22 04:55:38 -07:00