zulip/zilencer/management/commands
Ryan Rehman 174b2abcfd settings: Migrate to stream_post_policy structure.
This commit includes a new `stream_post_policy` setting,
by replacing the `is_announcement_only` field from the Stream model,
which is done by mirroring the structure of the existing
`create_stream_policy`.

It includes the necessary schema and database migrations to migrate
the is_announcement_only boolean field to stream_post_policy,
a smallPositiveInteger field similar to many other settings.

This change is done to allow organization administrators to restrict
new members from creating and posting to a stream. However, this does
not affect admins who are new members.

With many tweaks by tabbott to documentation under /help, etc.

Fixes #13616.
2020-02-04 17:08:08 -08:00
..
__init__.py [schema] Support for authenticating Deployments via the API. 2013-10-25 14:13:30 -04:00
add_mock_conversation.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
add_new_realm.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
add_new_user.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
add_remote_server.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
calculate_first_visible_message_id.py mypy: Enable strict-optional for calculate_first_visible_message_id. 2019-05-01 10:49:24 -07:00
compare_messages.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
invoice_plans.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
mark_all_messages_unread.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
migrate_stream_notifications.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
populate_db.py settings: Migrate to stream_post_policy structure. 2020-02-04 17:08:08 -08:00
print_initial_password.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
profile_request.py profiling: Use mkstemp for profile.data filename. 2019-01-15 16:08:48 -08:00
render_messages.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
sync_api_key.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00