zulip/zerver
Tom Daff f2e06128c6 email_mirror: Add email address parsing.
When trying to find the email gateway address, use the
`email.util.getaddresses` function to deal with cases
where multiple recipients are included in the email header
or the stream address appears as an angle-addr with a
name given (e.g. if someone added it to their address book).

Added some other headers where the required address may
appear: "Resent" headers are sometimes used for forwarding,
and streams may also be found in CC. There is no way to find
the address if the email was recieved as a BCC.
2019-01-03 13:34:20 -08:00
..
data_import hipchat: Handle unusual emoticons.json format. 2018-12-29 18:59:31 -08:00
lib email_mirror: Add email address parsing. 2019-01-03 13:34:20 -08:00
management register_server: Prompt for ToS inside the command. 2019-01-02 11:19:36 -08:00
migrations status: Add UserStatus model and core library for away status. 2019-01-02 09:12:03 -08:00
openapi settings: Add support for customizing the top-left logo. 2018-12-18 12:44:52 -08:00
templatetags bugdown: Trigger test failure for invalid Markdown include statements. 2018-12-27 20:13:08 -08:00
tests email_mirror: Add email address parsing. 2019-01-03 13:34:20 -08:00
tornado push: Include type in add-push-notification events. 2018-12-15 13:58:52 -08:00
views presence: Fix a mypy error with useless result object. 2019-01-02 11:06:20 -08:00
webhooks clubhouse: Don't 500 for unhandled event types. 2019-01-02 15:23:09 -08:00
worker send_email: Extract handle_email_format_changes and use. 2018-12-04 16:08:18 -08:00
__init__.py caching: Add configuration class for post-migration cache flushing. 2016-10-27 23:26:34 -07:00
apps.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
context_processors.py emails: Clean up code surrounding the call to find_team. 2018-12-20 16:26:19 -08:00
decorator.py report: Allow error-reporting views from unauthed users. 2018-12-16 15:44:48 -08:00
filters.py error reports: Ensure we filter API keys from query strings. 2018-10-19 15:03:14 -07:00
forms.py emails: Update text for password_reset. 2018-12-20 16:26:19 -08:00
logging_handlers.py bugdown: Improve exception handler for BugdownRenderingException. 2018-07-26 09:27:55 -07:00
middleware.py docs: Automatically construct OpenAPI metadata for help center. 2018-12-19 10:18:20 -08:00
models.py models: Add __str__ method for emoji reactions. 2019-01-03 13:26:25 -08:00
signals.py emails: Use ugettext instead of ugettext_lazy in signals. 2018-12-20 19:35:23 -08:00
static_header.txt Update static_header.txt with new license information. 2016-08-13 00:37:21 -07:00