zulip/zerver/management/commands
Anders Kaseorg d0f4af5f8c python: Catch JSONDecodeError instead of ValueError when decoding JSON.
These weren’t wrong since orjson.JSONDecodeError subclasses
json.JSONDecodeError which subclasses ValueError, but the more
specific ones express the intention more clearly.

(ujson raised ValueError directly, as did json in Python 2.)

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-12 11:59:59 -07:00
..
__init__.py
add_users_to_mailing_list.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
add_users_to_streams.py audit_log: Log RealmAuditLog when Stream is created. 2020-07-06 17:32:11 -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: Use trailing commas consistently. 2020-06-11 16:04:12 -07:00
bulk_change_user_name.py python: Convert percent formatting to Python 3.6 f-strings. 2020-06-10 15:02:09 -07:00
change_user_email.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
check_redis.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
checkconfig.py install: Remove references to "Zulip Voyager". 2020-01-30 12:40:41 -08:00
compilemessages.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
convert_gitter_data.py import: Fix import and export parallelism defaults. 2020-06-21 09:39:31 -07:00
convert_hipchat_data.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
convert_mattermost_data.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
convert_slack_data.py import: Fix import and export parallelism defaults. 2020-06-21 09:39:31 -07:00
create_default_stream_groups.py audit_log: Log RealmAuditLog when Stream is created. 2020-07-06 17:32:11 -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 audit_log: Log RealmAuditLog when Stream is created. 2020-07-06 17:32:11 -07:00
create_user.py database: Remove short_name from UserProfile. 2020-07-17 11:15:15 -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: Use trailing commas consistently. 2020-06-11 16:04:12 -07:00
delete_old_unclaimed_attachments.py python: Convert percent formatting to Python 3.6 f-strings. 2020-06-10 15:02:09 -07:00
deliver_email.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
deliver_scheduled_messages.py bulk_update: Do updates in bulk where applicable. 2020-08-03 16:16:42 -07:00
dump_messages.py timezone: Use standard library datetime.timezone.utc consistently. 2020-06-05 09:34:17 -07:00
email_mirror.py email: Migrate to new Python ≥ 3.3 email API. 2020-06-14 20:24:06 -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: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
export.py docs: Correct “login” as a verb to “log in”. 2020-08-11 10:25:53 -07:00
export_single_user.py python: Convert percent formatting to Python 3.6 f-strings. 2020-06-10 15:02:09 -07:00
export_usermessage_batch.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
fill_memcached_caches.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
fix_unreads.py python: Use trailing commas consistently. 2020-06-11 16:04:12 -07:00
generate_invite_links.py confirmation: Pass realm rather than host to confirmation_url. 2020-06-14 23:27:22 -07:00
generate_multiuse_invite_link.py audit_log: Log RealmAuditLog when Stream is created. 2020-07-06 17:32:11 -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: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
import.py import: Fix import and export parallelism defaults. 2020-06-21 09:39:31 -07:00
knight.py audit_log: Log acting_user in do_change_user_role. 2020-07-06 17:32:11 -07:00
list_realms.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
logout_all_users.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
makemessages.py mypy: Type simple generators as Iterator, not Iterable. 2020-06-23 11:29:54 -07:00
merge_streams.py audit_log: Log RealmAuditLog when stream is deactivated. 2020-07-06 17:32:11 -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 logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
purge_queue.py queue: Fix strict_optional errors. 2020-07-06 11:25:48 -07:00
query_ldap.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
rate_limit.py python: Convert percent formatting to Python 3.6 f-strings. 2020-06-10 15:02:09 -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: Manually convert more percent-formatting to f-strings. 2020-06-14 23:27:22 -07:00
realm_filters.py python: Convert percent formatting to Python 3.6 f-strings. 2020-06-10 15:02:09 -07:00
register_server.py python: Manually convert more percent-formatting to f-strings. 2020-06-14 23:27:22 -07:00
remove_users_from_stream.py audit_log: Correctly add acting_user in bulk_remove_subscriptions. 2020-07-06 17:32:11 -07:00
rename_stream.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
restore_messages.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
runtornado.py logging: Report stack_info on logging.exception calls. 2020-08-11 10:16:54 -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 docs: Fix various capitalization errors. 2020-08-11 10:25:52 -07:00
send_password_reset_email.py emails: Translate from_name of account security emails. 2020-02-18 17:45:33 -08: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: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08: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: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
send_webhook_fixture_message.py python: Catch JSONDecodeError instead of ValueError when decoding JSON. 2020-08-12 11:59:59 -07:00
set_message_flags.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
show_admins.py python: Convert more percent formatting to Python 3.6 f-strings. 2020-06-14 23:27:22 -07:00
soft_deactivate_users.py python: Manually convert more percent-formatting to f-strings. 2020-06-14 23:27:22 -07:00
sync_ldap_user_data.py logging: Use logging.exception and exc_info for unexpected exceptions. 2020-06-14 23:27:22 -07:00
transfer_uploads_to_s3.py import: Fix import and export parallelism defaults. 2020-06-21 09:39:31 -07:00
turn_off_digests.py audit_log: Record RealmAuditLog in do_change_notification_settings. 2020-07-24 12:04:40 -07:00