zulip/zilencer/management/commands
Tim Abbott e603237010 email: Convert accounts code to use delivery_email.
A key part of this is the new helper, get_user_by_delivery_email.  Its
verbose name is important for clarity; it should help avoid blind
copy-pasting of get_user (which we'll also want to rename).
Unfortunately, it requires detailed understanding of the context to
figure out which one to use; each is used in about half of call sites.

Another important note is that this PR doesn't migrate get_user calls
in the tests except where not doing so would cause the tests to fail.
This probably deserves a follow-up refactor to avoid bugs here.
2018-12-06 16:21:38 -08:00
..
__init__.py [schema] Support for authenticating Deployments via the API. 2013-10-25 14:13:30 -04:00
add_mock_conversation.py Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02:00
add_new_realm.py zilencer: Use python 3 syntax for typing. 2017-11-22 12:29:03 -08:00
add_new_user.py add_new_user: Fix mention of running "python manage.py". 2018-11-06 13:28:18 -08:00
add_remote_server.py zilencer: Add a simple management command to create a RemoteZulipServer. 2018-01-08 17:46:46 -08:00
calculate_first_visible_message_id.py messages: Calculate value of first visible message ID using cron job. 2018-01-24 17:15:08 -08:00
compare_messages.py zilencer: Use python 3 syntax for typing. 2017-11-22 12:29:03 -08:00
mark_all_messages_unread.py zilencer: Use python 3 syntax for typing. 2017-11-22 12:29:03 -08:00
migrate_stream_notifications.py zilencer: Use python 3 syntax for typing. 2017-11-22 12:29:03 -08:00
populate_db.py populate_db: Extract subscribe_users_to_streams function. 2018-11-29 12:15:58 -08:00
print_initial_password.py users: Get all API keys via wrapper method. 2018-08-08 16:35:17 -07:00
profile_request.py zilencer: Use python 3 syntax for typing. 2017-11-22 12:29:03 -08:00
render_messages.py zilencer: Use python 3 syntax for typing. 2017-11-22 12:29:03 -08:00
sync_api_key.py email: Convert accounts code to use delivery_email. 2018-12-06 16:21:38 -08:00