mirror of https://github.com/zulip/zulip.git
e603237010
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. |
||
---|---|---|
.. | ||
__init__.py | ||
add_mock_conversation.py | ||
add_new_realm.py | ||
add_new_user.py | ||
add_remote_server.py | ||
calculate_first_visible_message_id.py | ||
compare_messages.py | ||
mark_all_messages_unread.py | ||
migrate_stream_notifications.py | ||
populate_db.py | ||
print_initial_password.py | ||
profile_request.py | ||
render_messages.py | ||
sync_api_key.py |