summary refs log tree commit diff
path: root/synapse/push/mailer.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Un-revert Jinja2 fix (#12313)Brendan Abolivier2022-03-281-4/+5
* Revert "Replace instances of deprecated `Jinja2.Markup` with `markupsafe.Mark...Andrew Morgan2022-03-241-5/+4
* Replace instances of deprecated `Jinja2.Markup` with `markupsafe.Markup` (#12...Andrew Morgan2022-03-241-4/+5
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-1/+1
* Improvements to bundling aggregations. (#11815)Patrick Cloke2022-01-261-1/+1
* Fix missing app variable in mail subject (#11745)David Robertson2022-01-131-2/+2
* Add type hints to event_push_actions. (#11594)Patrick Cloke2021-12-211-21/+19
* Improved push typing (#11409)Marcus2021-11-301-30/+42
* Relax `ignore-missing-imports` for modules that have stubs now and update myp...David Robertson2021-10-081-1/+1
* Use direct references for some configuration variables (part 2) (#10812)Patrick Cloke2021-09-151-5/+5
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-7/+7
* Correctly include room avatars in email notifications (#10658)David Robertson2021-09-011-1/+23
* Update the notification email subject when invited to a space. (#10426)Patrick Cloke2021-07-211-1/+17
* Use inline type hints in various other places (in `synapse/`) (#10380)Jonathan de Jong2021-07-151-6/+6
* Split multiplart email sending into a dedicated handler (#9977)Brendan Abolivier2021-05-171-45/+8
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Import HomeServer from the proper module. (#9665)Patrick Cloke2021-03-231-1/+1
* Handle empty rooms when generating email notifications. (#9257)Patrick Cloke2021-02-041-37/+176
* Refactor email summary generation. (#9260)Patrick Cloke2021-02-011-122/+173
* Clean-up the template loading code. (#9200)Patrick Cloke2021-01-271-2/+16
* Ensure that a URL exists in the content during push. (#8965)Patrick Cloke2020-12-181-1/+5
* Add type hints to the push mailer module. (#8882)Patrick Cloke2020-12-071-40/+83
* Fix email notifications for invites without local state. (#8627)Erik Johnston2020-10-231-13/+28
* Include a simple message in email notifications that include encrypted conten...Patrick Cloke2020-10-191-5/+11
* Show a confirmation page during user password reset (#8004)Andrew Morgan2020-09-101-1/+1
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
* Use the default templates when a custom template file cannot be found (#8037)Andrew Morgan2020-08-171-71/+1
* Allow email subjects to be customised through Synapse's configuration (#7846)Brendan Abolivier2020-07-141-31/+20
* Correctly pass app_name to all email templates. (#7829)Erik Johnston2020-07-141-2/+8
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-2/+1
* Convert sending mail to async/await. (#7557)Erik Johnston2020-05-221-47/+37
* Fix new flake8 errors (#7470)Erik Johnston2020-05-121-2/+5
* Fix undefined `room_id` in `make_summary_text`Brendan Abolivier2020-03-091-1/+3
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-12/+8
* Clean up newline quote marks around the codebase (#6362)Andrew Morgan2019-11-211-2/+2
* Port to use state storageErik Johnston2019-10-301-1/+2
* Generalize email sending logging (#6075)Andrew Morgan2019-09-231-1/+1
* Allow HS to send emails when adding an email to the HS (#6042)Andrew Morgan2019-09-201-0/+29
* Ensure email validation link parameters are URL-encoded (#6063)Andrew Morgan2019-09-201-4/+6
* Allow Synapse to send registration emails + choose Synapse or an external ser...Andrew Morgan2019-09-061-17/+66
* Replace returnValue with return (#5736)Amber Brown2019-07-231-50/+34
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
* Improve email notification logging (#5502)Neil Johnson2019-06-201-1/+1
* Run Black. (#5482)Amber Brown2019-06-201-150/+197
* Change password reset links to /_matrix.Erik Johnston2019-06-111-1/+1
* Add ability to perform password reset via email without trusting the identity...Andrew Morgan2019-06-061-18/+67
* Send out emails with links to extend an account's validity periodBrendan Abolivier2019-04-171-9/+5
* Fix logcontext leak in EmailPusherRichard van der Hoff2018-11-191-2/+3
* Write some tests for the email pusher (#4095)Amber Brown2018-10-301-5/+5
* Calculate absolute path for email templatesRichard van der Hoff2018-10-191-6/+2
* Ship the email templates as package_dataRichard van der Hoff2018-10-171-1/+4
* fix link for case that config.email_riot_base_url is setNeil Johnson2018-09-131-1/+1
* merge (#3576)Amber Brown2018-09-141-3/+4
* Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-101-1/+1
* run isortAmber Brown2018-07-091-16/+17
* Consistently use six's iteritems and wrap lazy keys/values in list() if they'...Amber Brown2018-05-311-1/+2
* Only load jinja2 templates onceErik Johnston2017-05-221-33/+54
* Support authenticated SMTPDaniel Dent2017-04-051-1/+5
* Get current state by using current_state_events tableErik Johnston2017-03-101-1/+1
* Fix email push in pusher workerErik Johnston2017-02-021-2/+2
* Allow configuring the Riot URL used in notification emailsAdrian Perez de Castro2017-01-131-6/+14
* Fix push notifications for a single unread messageErik Johnston2016-10-181-1/+1
* Fix email push notifs being droppedErik Johnston2016-10-131-14/+25
* Fix email notifs by adding missing paramErik Johnston2016-08-301-1/+1
* Fix room name in email notifsErik Johnston2016-08-261-19/+20
* Fix up push to use get_current_state_idsErik Johnston2016-08-251-13/+19
* Fix ``KeyError: 'msgtype'``. Use ``.get``Mark Haines2016-06-171-14/+15
* 3rd time lucky: we'd already calculated it aboveDavid Baker2016-06-031-3/+1
* Oops, we're using the dict formDavid Baker2016-06-031-1/+3
* Add substitutions to email notif FromDavid Baker2016-06-031-1/+1
* Merge branch 'develop' into matthew/brand-from-headerMatthew Hodgson2016-06-031-6/+19
|\
| * Merge pull request #821 from matrix-org/dbkr/email_unsubscribeDavid Baker2016-06-021-5/+18
| |\
| | * peppateDavid Baker2016-06-021-1/+3
| | * Working unsubscribe links going straight to the HSDavid Baker2016-06-021-4/+4
| | * Merge remote-tracking branch 'origin/dbkr/email_notif_string_fmt_error' into ...David Baker2016-06-021-1/+1
| | |\
| | * \ Merge remote-tracking branch 'origin/develop' into dbkr/email_unsubscribeDavid Baker2016-06-021-2/+2
| | |\ \
| | * \ \ Merge branch 'dbkr/split_out_auth_handler' into dbkr/email_unsubscribeDavid Baker2016-06-021-0/+2
| | |\ \ \
| | * | | | Email unsubscribing that may in theory, workDavid Baker2016-06-021-5/+16
| * | | | | Merge pull request #820 from matrix-org/dbkr/email_notif_string_fmt_errorDavid Baker2016-06-021-1/+1
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| | * | | | Fix error in email notification string formattingDavid Baker2016-06-021-1/+1
| | | |_|/ | | |/| |
* | / | | brand the email from headerMatthew Hodgson2016-06-021-1/+8
|/ / / /
* / / / add some branding debuggingMatthew Hodgson2016-06-021-0/+1
|/ / /
* | / if an email pusher specifies a brand param, use itMatthew Hodgson2016-06-021-2/+2
| |/ |/|
* | Use user_id in email greeting if display name is nullDavid Baker2016-06-021-0/+2
|/
* Check for presence of 'avatar_url' keyDavid Baker2016-05-241-1/+3
* fix NPE in room orderingMatthew Hodgson2016-05-231-2/+2
* consistency is the better part of valourMatthew Hodgson2016-05-231-1/+1
* Tune email notifs to make them quieter:Matthew Hodgson2016-05-231-10/+38
* tune email notifs, fix CSS a bit, and add debugging detailsMatthew Hodgson2016-05-161-1/+6
* fix matrix.to URLsMatthew Hodgson2016-05-131-2/+2
* Make email notifs work on the pusher synapseDavid Baker2016-05-131-0/+1
* move filter_events_for_client out of base handlerMark Haines2016-05-111-3/+3
* Make pep8 happyDavid Baker2016-05-101-1/+1
* Switch from CSS to Table layout for HTML mails so they work in Outlook ak...Matthew Hodgson2016-05-101-7/+18
* better mail subject linesMatthew Hodgson2016-05-051-1/+1
* fix layout; handle app naming in synapse, not jinjaMatthew Hodgson2016-05-051-16/+31
* pep8Matthew Hodgson2016-05-051-2/+4
* handle fragments correctly on mxc URLs.Matthew Hodgson2016-05-051-14/+45
* Include no contextDavid Baker2016-05-041-1/+1
* Add date header & message idDavid Baker2016-05-041-0/+2
* Use the constantDavid Baker2016-04-291-1/+2
* Avoid `vars` builtinDavid Baker2016-04-291-15/+15
* Use named parameter formatDavid Baker2016-04-291-14/+22
* pep8David Baker2016-04-291-1/+0
* Send mail notifs with a plaintext part tooDavid Baker2016-04-291-7/+20
* May as well always include room linkDavid Baker2016-04-281-4/+3
* Support file messages & fix plain textDavid Baker2016-04-281-2/+3
* Support image notifsDavid Baker2016-04-281-11/+25
* pep8David Baker2016-04-281-2/+5
* Handle room invites in email notifsDavid Baker2016-04-281-5/+30
* Linkify plain text messages tooDavid Baker2016-04-281-1/+12
* Run filter_events_for_clientDavid Baker2016-04-271-7/+11
* Make html messages workDavid Baker2016-04-271-10/+21
* Better grammar for multiple messages in a roomDavid Baker2016-04-271-9/+32
* Hopefully all remaining bits for email notifsDavid Baker2016-04-271-22/+144
* More variable calculation for email notifsDavid Baker2016-04-251-2/+55
* Actually do UTF8 correctlyDavid Baker2016-04-221-1/+1
* Mime part is binary so encode it first.David Baker2016-04-221-1/+1
* Flesh out email templatingDavid Baker2016-04-211-3/+58
* Generate mails from a templateDavid Baker2016-04-201-13/+17
* more pep8David Baker2016-04-201-1/+1
* Send a rather basic email notifDavid Baker2016-04-201-0/+48