zulip/zerver/management/commands
Sahil Batra 7f01b3fb63 users: Set tos_version to -1 for users who have not logged-in yet.
We now set tos_version to "-1" for imported users and the ones
created using API or using other methods like LDAP, SCIM and
management commands. This value will help us to allow users to
change email address visibility setting during first login.
2023-05-16 13:52:56 -07: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
audit_fts_indexes.py
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 run-dev: Drop .py from script name. 2023-03-03 18:02:37 -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 users: Set tos_version to -1 for users who have not logged-in yet. 2023-05-16 13:52:56 -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 users: Set tos_version to -1 for users who have not logged-in yet. 2023-05-16 13:52:56 -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 delete_old_unclaimed_attachments: Add flag to clean up storage. 2023-03-02 16:36:19 -08:00
delete_realm.py delete_realm: Clean up attachments when deleting or scrubbing realms. 2023-03-02 16:36:19 -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 scheduled_message: Move remaining logic out of management command. 2023-05-09 13:48:28 -07:00
edit_linkifiers.py linkifier: Update edit_linkifier command to use url_template. 2023-04-19 12:20:49 -07:00
email_mirror.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
enqueue_digest_emails.py
enqueue_file.py ruff: Fix SIM115 Use context handler for opening files. 2023-01-23 11:18:36 -08:00
export.py export: Make --deactivate-realm exports be imported as active. 2023-04-03 16:08:43 -07:00
export_search.py export-search: Support writing out attachments as well. 2023-04-07 09:13:48 -07: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 requirements: Upgrade Python requirements. 2023-04-25 21:20:33 -07:00
list_realms.py auth: Rewrite data model for tracking enabled auth backends. 2023-04-18 09:22:56 -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 emails: Inline CSS in emails in build_email. 2023-04-05 12:22:29 -07: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 web: Save a 301 redirect from /terms/ to /policies/terms. 2023-03-24 14:51:01 -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 users: Set tos_version to -1 for users who have not logged-in yet. 2023-05-16 13:52:56 -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
send_welcome_bot_message.py onboarding: Specialize Welcome Bot message for education organizations. 2023-05-01 16:48:48 -07:00
show_admins.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
soft_deactivate_users.py python: Import F, Q, QuerySet from their canonical module. 2023-03-05 14:46:28 -08:00
sync_ldap_user_data.py ruff: Fix G201 Logging `.error(..., exc_info=True)` → `.exception(...)`. 2023-02-04 16:36:20 -08:00
transfer_uploads_to_s3.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00