zulip/zerver/views
Tim Abbott b2fc017671 i18n: Use the recipient's language when sending outgoing emails.
It appears that our i18n logic was only using the recipient's language
for logged-in emails, so even properly tagged for translation and
translated emails for functions like "Find my team" and "password
reset" were being always sent in English.

With great work by Vishnu Ks on the tests and the to_emails code path.
2018-12-17 09:49:36 -08:00
..
__init__.py
alert_words.py alert words: Return the updated list when adding/removing words. 2018-07-13 01:01:00 +05:30
archive.py Extract messages_for_topic(). 2018-11-12 15:47:11 -08:00
attachments.py attachments: Send events for attachment updates. 2018-05-04 16:22:27 -07:00
auth.py server_settings: Use a reasonable default when User-Agent not specified. 2018-12-11 11:30:11 -08:00
compatibility.py compatibility: Respond with HTTP 400 when no User-Agent header. 2018-12-10 15:04:34 -08:00
custom_profile_fields.py zerver: Add bugdown rendering for text custom profile fields. 2018-11-29 09:47:32 -08:00
digest.py digest_email: Add endpoint for rendering digest to the web. 2018-12-11 13:38:30 -08:00
email_log.py email: Convert accounts code to use delivery_email. 2018-12-06 16:21:38 -08:00
email_mirror.py mypy: Use Python 3 type syntax in zerver/views/email_mirror.py. 2017-12-28 07:26:44 -05:00
events_register.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
home.py portico: Redirect /plans to zulipchat.com/plans for self-hosted realms. 2018-10-23 14:47:00 -07:00
hotspots.py views: Fix imports of REQ/has_request_variables from the wrong place. 2017-10-27 15:07:31 -07:00
integrations.py docs: Fix /help/ sidebar being accidentally missing. 2018-12-06 10:13:51 -08:00
invite.py invite: Make inviting new users inaccessible for guest users. 2018-06-16 06:33:13 -07:00
messages.py Use REQ_topic in update_message_backend(). 2018-11-12 15:47:11 -08:00
muting.py muting: Correct agrammatical error message. 2018-08-27 14:12:03 -07:00
pointer.py do_update_pointer: Pass client object from callers. 2018-08-01 16:40:15 -07:00
presence.py email: Convert accounts code to use delivery_email. 2018-12-06 16:21:38 -08:00
push_notifications.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
reactions.py reactions: Allow using emoji_name for removing reactions. 2018-07-11 19:41:43 +05:30
realm.py realm: Add new Realm.email_address_visibility field. 2018-12-06 15:56:30 -08:00
realm_domains.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
realm_emoji.py emoji: Show emoji names with spaces on front-end. 2018-08-04 09:40:52 -07:00
realm_filters.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
realm_icon.py zerver/views: Use python 3 syntax for typing. 2017-10-26 21:58:22 -07:00
registration.py i18n: Use the recipient's language when sending outgoing emails. 2018-12-17 09:49:36 -08:00
report.py report: Allow error-reporting views from unauthed users. 2018-12-16 15:44:48 -08:00
storage.py mypy: Migrate views/storage.py to python3.5 type annotations. 2018-03-12 11:23:30 -07:00
streams.py Extract topic.py library. 2018-11-07 10:03:53 -08:00
submessage.py events: Pass a realm object into send_event. 2018-11-02 16:47:39 -07:00
thumbnail.py thumbnails: Change thumbnail size to be 300px. 2018-10-11 15:44:47 -07:00
tutorial.py mypy: Use Python 3 syntax for typing in views/tutorial.py. 2017-12-08 18:34:26 -08:00
typing.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
unsubscribe.py emails: Add one-click unsubscribe link to new login emails. 2018-11-08 14:39:33 -08:00
upload.py upload: Remove unnecessary use of has_request_variables. 2018-07-01 01:47:03 -07:00
user_groups.py api: Add an endpoint for listing the user groups in realm. 2018-08-27 16:56:23 -07:00
user_settings.py i18n: Use the recipient's language when sending outgoing emails. 2018-12-17 09:49:36 -08:00
users.py email: Convert accounts code to use delivery_email. 2018-12-06 16:21:38 -08:00
zephyr.py python: Remove now-unnecessary str_utils library. 2018-11-27 11:57:54 -08:00