zulip/zerver/views
sahil839 9fa60672e6 users: Modify update user API endpoint to accept role as parameter.
This commit changes the update user API endpoint to accept role
as parameter instead of the bool parameters is_guest and is_admin.

User role dropdown in user info modal is also modified to use
"dropdown_options_widget".

Modified by tabbott to document the API change.
2020-05-29 14:29:17 -07:00
..
development scripts: Rename inline-email-css to inline_email_css.py. 2020-04-10 15:29:47 -07:00
__init__.py
alert_words.py alert words: Limit alert word length to 100. 2020-04-17 11:32:16 -07:00
archive.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
attachments.py uploads: Show used upload space in attachments UI. 2019-03-07 20:18:00 -08:00
auth.py free trial: Send users to /upgrade after realm creation. 2020-05-26 17:01:32 -07:00
camo.py camo: Clean up type ignores. 2019-08-09 16:39:16 -07:00
compatibility.py browser_support: Drop support for Internet Explorer. 2020-04-23 17:50:28 -07:00
custom_profile_fields.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
digest.py digest: Fix the styling of /digest page. 2019-01-07 13:09:29 -08:00
documentation.py portico: Add setting to put Google Analytics on selected portico pages. 2020-05-11 23:22:50 -07:00
email_mirror.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
events_register.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
home.py portico: Add setting to put Google Analytics on selected portico pages. 2020-05-11 23:22:50 -07:00
hotspots.py views: Fix imports of REQ/has_request_variables from the wrong place. 2017-10-27 15:07:31 -07:00
invite.py invitation: Make Member to see invitations sent by him/her. 2020-05-01 17:42:49 -07:00
messages.py home: Fix furthest read time when user has multiple clients. 2020-05-14 13:38:09 -07:00
muting.py muting: Record DateTime when a Topic is muted. 2020-02-02 20:49:53 -08:00
pointer.py org settings: Enable message_retention_days in org settings UI. 2020-05-08 14:09:31 -07:00
portico.py billing: User FREE_TRIAL_DAYS instead of FREE_TRIAL_MONTHS. 2020-05-16 14:52:01 -07:00
presence.py settings: Offer hiding presence info from other users. 2020-05-02 15:09:05 -07:00
push_notifications.py push_notifications: Declare token of type str, not bytes. 2019-11-12 23:21:20 -08:00
reactions.py api: Guess emoji_type when adding a reaction. 2020-04-28 20:49:39 -07:00
realm.py models: Create ensure_not_on_limited_plan instance method. 2020-05-19 14:48:59 -07:00
realm_domains.py lint: Fix calls to _() on computed strings. 2019-04-23 15:23:03 -07:00
realm_emoji.py openapi: Fix handling of parameters passed via the URL/path. 2019-08-19 15:06:08 -07:00
realm_export.py data exports: Handle pending and failed exports. 2020-04-30 13:00:59 -07:00
realm_filters.py views: Remove unused imports. 2019-02-02 17:23:43 -08:00
realm_icon.py redirects: Refactor redirect code to use central helper function. 2020-03-25 16:39:17 -07:00
realm_logo.py models: Create ensure_not_on_limited_plan instance method. 2020-05-19 14:48:59 -07:00
registration.py registration: Show error if invalid key is posted on /accounts/register. 2020-05-27 15:37:16 -07:00
report.py org settings: Enable message_retention_days in org settings UI. 2020-05-08 14:09:31 -07:00
storage.py views: Remove unused imports. 2019-02-02 17:23:43 -08:00
streams.py org settings: Enable message_retention_days in org settings UI. 2020-05-08 14:09:31 -07:00
submessage.py views: Remove unused imports. 2019-02-02 17:23:43 -08:00
thumbnail.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
tutorial.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
typing.py recipients: Rename extract_recipients to extract_private_recipients. 2020-02-11 12:28:14 -08:00
unsubscribe.py emails: Move clear_scheduled_*emails to send_email.py. 2019-03-15 11:02:17 -07:00
upload.py upload: Include filename at the end of temporary access URLs. 2020-04-20 10:25:48 -07:00
user_groups.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
user_settings.py settings: Offer hiding presence info from other users. 2020-05-02 15:09:05 -07:00
users.py users: Modify update user API endpoint to accept role as parameter. 2020-05-29 14:29:17 -07:00
video_calls.py compose: Add support for using Zoom as the video chat provider. 2019-01-07 10:00:02 -08:00
zephyr.py zephyr: Add strict assertion about username format. 2020-03-17 05:37:25 -07:00