zulip/zerver/views
sahil839 ca1a8ac78f streams: Allow stream admin to update and deactivate streams.
The new Stream administrator role is allowed to manage a stream they
administer, including:
* Setting properties like name, description, privacy and post-policy.
* Removing subscribers
* Deactivating the stream

The access_stream_for_delete_or_update is modified and is used only
to get objects from database and further checks for administrative
rights is done by check_stream_access_for_delete_or_update.

We have also added a new exception class StreamAdministratorRequired.
2020-08-12 17:02:01 -07:00
..
development python: Catch JSONDecodeError instead of ValueError when decoding JSON. 2020-08-12 11:59:59 -07:00
__init__.py
alert_words.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
archive.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
attachments.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
auth.py auth: Remove redirect on invalid realm during password reset. 2020-08-11 10:27:29 -07:00
camo.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
compatibility.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
custom_profile_fields.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
digest.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
documentation.py help: Stop collapsing sidebar sections. 2020-07-28 16:28:58 -07:00
drafts.py drafts: Use strings as dict keys. 2020-08-07 10:53:06 -07:00
email_mirror.py email-mirror-postfix: Handle 8-bit messages correctly. 2020-06-14 20:24:06 -07:00
events_register.py events_register_backend: Validate client_capabilities type correctly. 2020-06-20 22:29:15 -07:00
home.py refactor: Extract build_page_params_for_home_page_load. 2020-07-22 17:15:03 -07:00
hotspots.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
invite.py invite: Add option to invite user as an organization owner. 2020-06-20 23:04:59 -07:00
message_edit.py links: Flatten the set into a list before serializing into the queue. 2020-08-12 11:42:24 -07:00
message_fetch.py message_fetch: Allow access to web-public msgs for unauth users. 2020-08-12 16:39:02 -07:00
message_flags.py views: Extract message_flags.py for flags views. 2020-06-22 15:08:34 -07:00
message_send.py docs: Document local echo paramters for sending messages. 2020-06-25 14:44:16 -07:00
muting.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
portico.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
presence.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
push_notifications.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
reactions.py emoji: Switch to `user_profile.realm` for cross-realm reactions. 2020-07-24 13:11:27 -07:00
realm.py audit_log: Log RealmAuditLog for realm notification properties. 2020-07-24 11:51:47 -07:00
realm_domains.py audit_log: Log RealmAuditLog in do_set_realm_property. 2020-07-06 17:38:19 -07:00
realm_emoji.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
realm_export.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
realm_filters.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
realm_icon.py docs: Fix spelling errors caught by codespell. 2020-08-11 10:23:06 -07:00
realm_logo.py docs: Fix spelling errors caught by codespell. 2020-08-11 10:23:06 -07:00
registration.py find_account: Fix the email search query. 2020-08-02 12:37:20 -07:00
report.py report: Split hostname from port more carefully. 2020-06-29 22:19:47 -07:00
storage.py update_storage: Validate storage type correctly. 2020-06-20 22:29:15 -07:00
streams.py streams: Allow stream admin to update and deactivate streams. 2020-08-12 17:02:01 -07:00
submessage.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
thumbnail.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
tutorial.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
typing.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
unsubscribe.py audit_log: Record RealmAuditLog in do_change_notification_settings. 2020-07-24 12:04:40 -07:00
upload.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
user_groups.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
user_settings.py audit_log: Record RealmAuditLog in do_change_notification_settings. 2020-07-24 12:04:40 -07:00
users.py api: Return 'user_id' in 'POST /users' response. 2020-08-11 16:40:12 -07:00
video_calls.py docs: Fix spelling errors caught by codespell. 2020-08-11 10:23:06 -07:00
zephyr.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00