zulip/zproject
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
..
jinja2 zproject: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
__init__.py Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
backends.py email: Convert accounts code to use delivery_email. 2018-12-06 16:21:38 -08:00
dev_settings.py settings: Remove unused EMAIL_LOG_DIR setting from dev_settings. 2018-10-11 15:12:08 -07:00
dev_urls.py casper: Show casper debug files in the dev server. 2018-06-04 09:02:58 -07:00
email_backends.py emails: Don't log emails while running test suite. 2018-10-11 15:12:08 -07:00
legacy_urls.py urls: Move the json/fetch_api_key endpoint to be an API-style route. 2018-01-08 13:15:52 -05:00
prod_settings_template.py docs: Further document tokenized noreply email addresses. 2018-11-08 15:26:21 -08:00
settings.py settings: Compute STATIC_ROOT using absolute paths. 2018-12-06 11:05:40 -08:00
slack_importer_test_settings.py slack importer: Use standalone database for running tests. 2018-01-07 09:50:27 -05:00
terms.md.template Add TERMS_OF_SERVICE setting. 2016-07-29 20:47:31 -07:00
test_settings.py Avoid double redirects to /login and then to /login/. 2018-12-04 16:12:58 -08:00
urls.py Rename `check_compatibility` to `check_global_compatibility`. 2018-12-04 17:56:12 -08:00
wsgi.py manage.py: Sabotage importing pika.adapters.twisted_connection. 2018-10-17 11:50:08 -07:00