zulip/zerver/management/commands
Steve Howell 9df9934ed6 refactor: Pass realm to bulk_add_subscriptions.
I think it's important that the callers understand
that bulk_add_subscriptions assumes all streams
are being created within a single realm, so I make
it an explicit parameter.

This may be overkill--I would also be happy if we
just included the assertions from this commit.
2020-10-13 11:28:17 -07:00
..
__init__.py
add_users_to_mailing_list.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
add_users_to_streams.py refactor: Pass realm to bulk_add_subscriptions. 2020-10-13 11:28:17 -07:00
archive_messages.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
audit_fts_indexes.py upgrade: Add management command to fix FTS indexes. 2020-07-13 12:40:44 -07:00
backup.py python: Prefer --flag=option over --flag option. 2020-09-03 17:51:09 -07:00
bulk_change_user_name.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
change_user_email.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
check_redis.py python: Elide default for store_{true,false} argparse arguments. 2020-09-03 16:17:14 -07:00
checkconfig.py install: Remove references to "Zulip Voyager". 2020-01-30 12:40:41 -08:00
compilemessages.py compilemessages: Use polib for get_name_from_po_file. 2020-10-11 16:11:35 -07:00
convert_gitter_data.py python: Elide action="store" for argparse arguments. 2020-09-03 16:17:14 -07:00
convert_hipchat_data.py python: Elide action="store" for argparse arguments. 2020-09-03 16:17:14 -07:00
convert_mattermost_data.py python: Elide action="store" for argparse arguments. 2020-09-03 16:17:14 -07:00
convert_slack_data.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
create_default_stream_groups.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
create_large_indexes.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
create_realm_internal_bots.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
create_stream.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
create_user.py create_user: Strip whitespace from initial password file. 2020-10-11 16:29:00 -07:00
deactivate_realm.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
deactivate_user.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
delete_old_unclaimed_attachments.py python: Elide default for store_{true,false} argparse arguments. 2020-09-03 16:17:14 -07:00
deliver_email.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
deliver_scheduled_messages.py deliver_scheduled_messages: Don’t do_send_messages inside a transaction. 2020-10-11 16:09:22 -07:00
dump_messages.py python: Remove redundant dest for argparse arguments. 2020-09-02 11:04:10 -07:00
email_mirror.py python: Pre-fix a few spots for better Black formatting. 2020-09-03 17:51:09 -07:00
enqueue_digest_emails.py management: Remove unused imports in management commands. 2019-02-02 17:12:36 -08:00
enqueue_file.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
export.py python: Elide action="store" for argparse arguments. 2020-09-03 16:17:14 -07:00
export_single_user.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
export_usermessage_batch.py python: Catch BaseException when we need to clean something up. 2020-10-11 16:16:16 -07:00
fill_memcached_caches.py python: Elide default=None for argparse arguments. 2020-09-03 16:17:14 -07:00
fix_unreads.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
generate_invite_links.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
generate_multiuse_invite_link.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
generate_realm_creation_link.py python: Convert percent formatting to Python 3.6 f-strings. 2020-06-10 15:02:09 -07:00
get_migration_status.py python: Elide action="store" for argparse arguments. 2020-09-03 16:17:14 -07:00
import.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
knight.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
list_realms.py python: Elide default for store_{true,false} argparse arguments. 2020-09-03 16:17:14 -07:00
logout_all_users.py python: Elide default for store_{true,false} argparse arguments. 2020-09-03 16:17:14 -07:00
makemessages.py docs: Add comment links to i18n documentation. 2020-09-18 11:44:04 -07:00
merge_streams.py refactor: Pass realm to bulk_add_subscriptions. 2020-10-13 11:28:17 -07:00
print_email_delivery_backlog.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
process_queue.py queue: Set a max consume timeout with SIGALRM. 2020-10-06 17:26:14 -07:00
purge_queue.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
query_ldap.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
rate_limit.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
reactivate_realm.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
realm_domain.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
realm_filters.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
register_server.py python: Catch specific exceptions from requests. 2020-10-11 16:11:41 -07:00
remove_users_from_stream.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
rename_stream.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
restore_messages.py python: Remove redundant dest for argparse arguments. 2020-09-02 11:04:10 -07:00
runtornado.py tornado: Switch to start_json_consumer interface. 2020-10-11 14:19:42 -07:00
scrub_realm.py audit_log: Log acting_user in do_scrub_realm. 2020-07-06 17:24:18 -07:00
send_custom_email.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
send_password_reset_email.py python: Elide default for store_{true,false} argparse arguments. 2020-09-03 16:17:14 -07:00
send_realm_reactivation_email.py python: Convert percent formatting to Python 3.6 f-strings. 2020-06-10 15:02:09 -07:00
send_stats.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
send_test_email.py python: Convert percent formatting to Python 3.6 f-strings. 2020-06-10 15:02:09 -07:00
send_to_email_mirror.py python: Pre-fix a few spots for better Black formatting. 2020-09-03 17:51:09 -07:00
send_webhook_fixture_message.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
set_message_flags.py python: Elide type=str from argparse arguments. 2020-09-03 16:17:14 -07:00
show_admins.py python: Replace unnecessary intermediate lists with generators. 2020-09-02 11:15:41 -07:00
soft_deactivate_users.py soft_deactivate_users: Elide default=[] for users argument. 2020-09-03 16:17:14 -07:00
sync_ldap_user_data.py python: Elide default for store_{true,false} argparse arguments. 2020-09-03 16:17:14 -07:00
transfer_uploads_to_s3.py python: Elide action="store" for argparse arguments. 2020-09-03 16:17:14 -07:00
turn_off_digests.py audit_log: Record RealmAuditLog in do_change_notification_settings. 2020-07-24 12:04:40 -07:00