Commit Graph

75 Commits (fd4070a85dc4ece77f2427b586c18bb1f4a04197)

Author SHA1 Message Date
Richard van der Hoff f5faf6bc14 Fix logcontext leak in EmailPusher 6 years ago
Amber Brown 0dce9e1379
Write some tests for the email pusher (#4095) 6 years ago
Richard van der Hoff cc325c7069 Calculate absolute path for email templates 6 years ago
Richard van der Hoff 1519572961 Ship the email templates as package_data 6 years ago
Neil Johnson 7de1989ea2 fix link for case that config.email_riot_base_url is set 6 years ago
Amber Brown 7c27c4d51c
merge (#3576) 6 years ago
Amber Brown b37c472419
Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Amber Brown c936a52a9e
Consistently use six's iteritems and wrap lazy keys/values in list() if they're not meant to be lazy (#3307) 7 years ago
Erik Johnston 11c2a3655f Only load jinja2 templates once 8 years ago
Daniel Dent 5058292537 Support authenticated SMTP 8 years ago
Erik Johnston 8ffbe43ba1 Get current state by using current_state_events table 8 years ago
Erik Johnston 51adaac953 Fix email push in pusher worker 8 years ago
Adrian Perez de Castro a3e4a198e3
Allow configuring the Riot URL used in notification emails 8 years ago
Erik Johnston 8ca05b5755 Fix push notifications for a single unread message 8 years ago
Erik Johnston 1d107d8484 Fix email push notifs being dropped 8 years ago
Erik Johnston d80f64d370 Fix email notifs by adding missing param 8 years ago
Erik Johnston a234e895cf Fix room name in email notifs 8 years ago
Erik Johnston 7356d52e73 Fix up push to use get_current_state_ids 8 years ago
Mark Haines ded01c3bf6 Fix ``KeyError: 'msgtype'``. Use ``.get`` 9 years ago
David Baker 72c4d482e9 3rd time lucky: we'd already calculated it above 9 years ago
David Baker fbf608decb Oops, we're using the dict form 9 years ago
David Baker 06d40c8b98 Add substitutions to email notif From 9 years ago
Matthew Hodgson 79d1f072f4 brand the email from header 9 years ago
David Baker 745ddb4dd0 peppate 9 years ago
David Baker 1f31cc37f8 Working unsubscribe links going straight to the HS 9 years ago
Matthew Hodgson 2675c1e40e add some branding debugging 9 years ago
David Baker 07a5559916 Fix error in email notification string formatting 9 years ago
Matthew Hodgson f84b89f0c6 if an email pusher specifies a brand param, use it 9 years ago
David Baker a15ad60849 Email unsubscribing that may in theory, work 9 years ago
David Baker e793866398 Use user_id in email greeting if display name is null 9 years ago
David Baker b007ee4606 Check for presence of 'avatar_url' key 9 years ago
Matthew Hodgson cb8a321bdd fix NPE in room ordering 9 years ago
Matthew Hodgson 88ea5ab2c3 consistency is the better part of valour 9 years ago
Matthew Hodgson 989bdc9e56 Tune email notifs to make them quieter: 9 years ago
Matthew Hodgson cbd2adc95e tune email notifs, fix CSS a bit, and add debugging details 9 years ago
Matthew Hodgson 782471b7e1 fix matrix.to URLs 9 years ago
David Baker b5e646a18c Make email notifs work on the pusher synapse 9 years ago
Mark Haines 7e23476814 move filter_events_for_client out of base handler 9 years ago
David Baker e04b1d6b0a Make pep8 happy 9 years ago
Matthew Hodgson 5599608887 Switch from CSS to Table layout for HTML mails so they work in Outlook aka Word 9 years ago
Matthew Hodgson 53ca739f1f better mail subject lines 9 years ago
Matthew Hodgson 81c2176cba fix layout; handle app naming in synapse, not jinja 9 years ago
Matthew Hodgson 634efb65f1 pep8 9 years ago
Matthew Hodgson ce81ccb063 handle fragments correctly on mxc URLs. 9 years ago
David Baker 39d0a99972 Include no context 9 years ago
David Baker 9ef05a12c3 Add date header & message id 9 years ago
David Baker e7a76b5123 Use the constant 9 years ago
David Baker 29c8cf8db8 Avoid `vars` builtin 9 years ago
David Baker d3da5294e8 Use named parameter format 9 years ago