zulip/zerver/management/commands
Anders Kaseorg df001db1a9 black: Reformat with Black 23.
Black 23 enforces some slightly more specific rules about empty line
counts and redundant parenthesis removal, but the result is still
compatible with Black 22.

(This does not actually upgrade our Python environment to Black 23
yet.)

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-02-02 10:40:13 -08:00
..
__init__.py
add_users_to_streams.py actions: Split out zerver.actions.streams. 2022-04-14 17:14:35 -07:00
archive_messages.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
audit_fts_indexes.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
backup.py typing: Narrow connection type before accessing pg_version. 2022-06-23 19:25:48 -07:00
bulk_change_user_name.py actions: Split out zerver.actions.user_settings. 2022-04-14 17:14:34 -07:00
change_password.py change_password: Set requires_system_checks to a list. 2022-01-13 21:02:41 -08:00
change_realm_subdomain.py change_realm_subdomain: Support skipping the redirect. 2022-06-25 08:44:24 -07:00
change_user_email.py actions: Split out zerver.actions.user_settings. 2022-04-14 17:14:34 -07:00
change_user_role.py actions: Split out zerver.actions.users. 2022-04-14 17:14:34 -07:00
check_redis.py check_redis: Fix for key format change and Python 3. 2021-07-05 12:23:06 -07:00
checkconfig.py
compilemessages.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
convert_gitter_data.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
convert_mattermost_data.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
convert_rocketchat_data.py data_import: Add rocket chat import tool. 2021-07-28 15:28:56 -07:00
convert_slack_data.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
create_default_stream_groups.py actions: Move part into zerver.lib.streams. 2022-04-14 17:14:32 -07:00
create_realm.py actions: Split out zerver.actions.create_realm. 2022-04-14 17:14:37 -07:00
create_realm_internal_bots.py
create_stream.py management: Use required kwargs in add_realm_args. 2021-05-10 12:30:58 -07:00
create_user.py actions: Split out zerver.actions.create_user. 2022-04-14 17:14:35 -07:00
deactivate_realm.py ruff: Fix RUF004 exit() is only available in the interpreter. 2022-12-04 22:11:24 -08:00
deactivate_user.py actions: Split out zerver.actions.users. 2022-04-14 17:14:34 -07:00
delete_old_unclaimed_attachments.py do_delete_old_unclaimed_attachments: Consider ArchivedAttachment rows. 2022-06-02 17:32:23 -07:00
delete_realm.py ruff: Fix SIM102 nested `if` statements. 2023-01-23 11:18:36 -08:00
delete_user.py do_delete_user: Clean up acting_user logic. 2022-04-15 15:55:21 -07:00
deliver_scheduled_emails.py ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
deliver_scheduled_messages.py models: Add denormalized .realm column to Message. 2022-10-07 10:09:38 -07:00
edit_linkifiers.py realm: Create RealmAuditLog entry when removing realm linkifiers. 2022-07-31 18:32:28 -07:00
email_mirror.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
enqueue_digest_emails.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
enqueue_file.py ruff: Fix SIM115 Use context handler for opening files. 2023-01-23 11:18:36 -08:00
export.py actions: Split out zerver.actions.realm_settings. 2022-04-14 17:14:37 -07:00
export_search.py ruff: Fix DTZ004 `datetime.datetime.utcfromtimestamp()`. 2023-01-04 16:25:07 -08:00
export_single_user.py export: Use tar -C to switch directories. 2021-12-17 08:01:53 -08:00
export_usermessage_batch.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
fetch_tor_exit_nodes.py python: Replace deprecated urllib3 BACKOFF_MAX. 2022-01-23 22:14:17 -08:00
fill_memcached_caches.py ruff: Fix SIM118 Use `key in dict` instead of `key in dict.keys()`. 2023-01-04 16:25:07 -08:00
generate_realm_creation_link.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
get_migration_status.py ruff: Fix ISC001 Implicitly concatenated string literals on one line. 2023-01-04 16:25:07 -08:00
import.py import: Remove dead do_import_system_bots code. 2022-08-11 13:59:50 -07:00
list_realms.py python: Fix __dict__ mutation abuse. 2022-10-10 08:33:08 -07:00
logout_all_users.py logout_all_users: Add --rotate-api-keys option to the command. 2022-08-15 17:58:05 -07:00
makemessages.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
merge_streams.py merge_streams: Move logic to zerver/actions/streams.py. 2022-07-13 16:12:36 -07:00
process_queue.py logging: Pass more format arguments to logging. 2022-06-03 12:27:23 -07:00
promote_new_full_members.py actions: Split out zerver.actions.user_groups. 2022-04-14 17:14:30 -07:00
purge_queue.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
query_ldap.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
rate_limit.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
reactivate_realm.py ruff: Fix RUF004 exit() is only available in the interpreter. 2022-12-04 22:11:24 -08:00
realm_domain.py models: Fix return type of get_realm_domains. 2022-03-10 17:48:02 -08:00
register_server.py typing: Add assertions before accessing settings. 2022-07-15 14:00:56 -07:00
remove_users_from_stream.py actions: Split out zerver.actions.streams. 2022-04-14 17:14:35 -07:00
reset_authentication_attempt_count.py management: Rename clear_auth_rate_limit_history command. 2021-08-23 11:52:35 -07:00
restore_messages.py management: Fix typing for management scripts. 2021-08-20 05:54:18 -07:00
runtornado.py tornado: Support sharding by user ID. 2022-11-15 17:27:01 -08:00
scrub_realm.py scrub_realm: Exit unsuccessfully when asked to scrub an active realm. 2022-12-05 11:07:48 -08:00
send_custom_email.py typing: Broaden type annotations for QuerySet compatibility. 2022-07-07 11:27:42 -07:00
send_password_reset_email.py typing: Broaden type annotations for QuerySet compatibility. 2022-07-07 11:27:42 -07:00
send_realm_reactivation_email.py actions: Split out zerver.actions.realm_settings. 2022-04-14 17:14:37 -07:00
send_test_email.py management: Run log_email_config_errors in send_test_email command. 2022-02-10 10:55:49 -08:00
send_to_email_mirror.py management: Fix typing for management scripts. 2021-08-20 05:54:18 -07:00
send_webhook_fixture_message.py ruff: Fix ISC001 Implicitly concatenated string literals on one line. 2023-01-04 16:25:07 -08:00
show_admins.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
soft_deactivate_users.py soft_deactivation: Tighten function signatures with generic QuerySet. 2022-07-07 11:28:13 -07:00
sync_ldap_user_data.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
transfer_uploads_to_s3.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00