zulip/zerver/management/commands
Steve Howell 69203c1c81 fix_unreads: Remove commit() call in fix().
The commit() call in fix() breaks migrations and tests (unless you
mock) due to outer transactions.

We now explicitly call commit() from the management command.
2017-09-07 07:06:03 -07:00
..
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
add_users_to_mailing_list.py Replace timezone.now with timezone_now. 2017-04-16 12:28:56 -07:00
add_users_to_streams.py management: Move all_users option to ZulipBaseCommand. 2017-08-24 14:35:18 -07:00
bankrupt_users.py Use do_mark_all_as_read() in bankrupt_users command. 2017-08-04 14:10:46 -07:00
bulk_change_user_name.py bulk_change_user_name: Replace get_user_profile_by_email with get_user. 2017-07-08 14:38:45 -07:00
change_user_email.py management: Add new library for specifying realms. 2017-07-07 13:57:57 -07:00
check_redis.py management: Remove unused import from check_redis command. 2017-08-08 14:13:19 -07:00
checkconfig.py management: Remove unused import from checkconfig command. 2017-08-08 14:13:19 -07:00
compilemessages.py i18n: Fix compilemessages processing extra files in production. 2017-02-03 17:17:23 -08:00
convert_bot_to_outgoing_webhook.py management: Use self.get_user in convert_bot_to_outgoing_webhook. 2017-08-08 14:13:19 -07:00
create_large_indexes.py database: Add database index for wildcard mentions. 2017-08-16 13:28:04 -07:00
create_stream.py management: Use self.get_realm in create_stream. 2017-08-08 14:13:19 -07:00
create_user.py management: Use self.get_realm in create_user. 2017-08-08 14:13:19 -07:00
deactivate_realm.py management: Use self.get_realm in deactivate_realm. 2017-08-08 14:13:19 -07:00
deactivate_user.py deactivate_users: Replace get_user_profile_by_email with get_user. 2017-07-08 14:38:45 -07:00
delete_old_unclaimed_attachments.py Annotate most Zulip management commands. 2016-06-04 10:12:06 -07:00
deliver_email.py logger: Add new create_logger abstraction to simplify logging. 2017-08-27 18:31:53 -07:00
dump_messages.py management: Use self.get_realm in dump_messages. 2017-08-08 14:13:19 -07:00
email_mirror.py py3: Switch almost all shebang lines to use `python3`. 2017-08-16 17:54:43 -07:00
enqueue_digest_emails.py logger: Add new create_logger abstraction to simplify logging. 2017-08-27 18:31:53 -07:00
enqueue_file.py pep8: Add compliance with rule E261 to enqueue_file.py. 2017-05-07 23:21:50 -07:00
export.py management: Use self.get_realm in export command. 2017-08-08 14:13:19 -07:00
export_single_user.py export_single_user: Replace get_user_profile_by_email with get_user. 2017-07-08 14:38:45 -07:00
export_usermessage_batch.py management: Remove unused imports from export_usermessage_batch. 2017-08-08 14:13:19 -07:00
fill_memcached_caches.py management: Fix recent argument parsing regressions. 2016-10-16 20:36:33 -07:00
fix_unreads.py fix_unreads: Remove commit() call in fix(). 2017-09-07 07:06:03 -07:00
generate_invite_links.py confirmation: Liberate get_link_for_object from ConfirmationManager. 2017-07-17 23:18:47 -07:00
generate_realm_creation_link.py management: Use self.style attribute for colored output. 2017-08-24 14:29:32 -07:00
get_migration_status.py pep8: Fix many rule E128 violations. 2016-12-03 13:33:31 -08:00
import.py management: Remove unused imports from import command. 2017-08-08 14:13:19 -07:00
initialize_voyager_db.py management: Use get_system_bot in initialize_voyager_db. 2017-08-08 14:13:19 -07:00
knight.py management: Use self.get_user in knight command. 2017-08-08 14:13:19 -07:00
list_realms.py management: Create list realms command. 2017-08-04 14:25:03 -07:00
logout_all_users.py management: Use self.get_realm in logout_all_users. 2017-08-08 14:13:19 -07:00
makemessages.py makemessages: Allow whitespaces after comma in i18n. 2017-09-06 07:01:43 -07:00
merge_streams.py management: Use self.get_realm in merge_streams. 2017-08-08 14:13:19 -07:00
print_email_delivery_backlog.py py3: Switch almost all shebang lines to use `python3`. 2017-08-16 17:54:43 -07:00
process_queue.py management: Remove unused imports from process_queue. 2017-08-08 14:13:19 -07:00
purge_queue.py pep8: Fix E301 pep8 violations. 2016-11-29 08:51:44 -08:00
query_ldap.py Annotate most Zulip management commands. 2016-06-04 10:12:06 -07:00
rate_limit.py models: Add new get_user_profile_by_api_key helper. 2017-08-24 23:17:08 -07:00
reactivate_realm.py management: Use self.get_realm in reactivate_realm command. 2017-08-08 14:13:19 -07:00
realm_domain.py management: Use self.get_realm in realm_domain. 2017-08-08 14:13:19 -07:00
realm_emoji.py management: Use self.get_realm in realm_emoji. 2017-08-08 14:13:19 -07:00
realm_filters.py management: Use self.get_realm in realm_filters. 2017-08-08 14:13:19 -07:00
remove_users_from_stream.py management: Move all_users option to ZulipBaseCommand. 2017-08-24 14:35:18 -07:00
rename_stream.py management: Use self.get_realm in rename_stream. 2017-08-08 14:13:19 -07:00
runtornado.py tornado: Move setup_tornado_rabbitmq to application.py 2017-07-21 09:55:25 +05:00
send_password_reset_email.py management: Override CommandError to mention --entire-server argument. 2017-08-27 12:34:23 -07:00
send_stats.py Annotate most Zulip management commands. 2016-06-04 10:12:06 -07:00
send_test_email.py settings: Change all uses of ZULIP_ADMINISTRATOR to FromAddress.SUPPORT. 2017-07-05 15:33:01 -07:00
send_webhook_fixture_message.py mypy: Fix inconsistencies in use of *args/**kwargs. 2017-02-18 18:39:44 -08:00
set_default_streams.py management: Use self.get_realm in set_default_streams. 2017-08-08 14:13:19 -07:00
set_message_flags.py set_message_flags: Replace get_user_profile_by_email with get_user. 2017-07-08 14:40:55 -07:00
show_admins.py Rename models.get_realm_by_string_id to get_realm. 2017-01-04 17:12:23 -08:00
show_unreads.py Add MutedTopic model. 2017-09-02 09:19:51 -07:00
soft_activate_deactivate_users.py soft-deactivation: Add cron job for weekly soft deactivating users. 2017-08-27 11:33:06 -07:00
sync_ldap_user_data.py logger: Add new create_logger abstraction to simplify logging. 2017-08-27 18:31:53 -07:00
turn_off_digests.py management: Move all_users option to ZulipBaseCommand. 2017-08-24 14:35:18 -07:00