summary refs log tree commit diff
path: root/synapse/config/emailconfig.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* public_base_url is actually public_baseurlAaron Raimist2019-08-261-1/+1
| | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* Fix up password reset template config names (#5863)Andrew Morgan2019-08-151-8/+8
| | | | | Fixes #5833 The emailconfig code was attempting to pull incorrect config file names. This corrects that, while also marking a difference between a config file variable that's a filepath versus a str containing HTML.
* Make errors about email password resets much clearer (#5616)Andrew Morgan2019-07-051-11/+8
| | | The runtime errors that dealt with local email password resets talked about config options that users may not even have in their config file yet (if upgrading). Instead, the cryptic errors are now replaced with hopefully much more helpful ones.
* Make it clearer that the template dir is relative to synapse's root dir (#5543)Andrew Morgan2019-06-271-1/+9
| | | Helps address #5444
* Don't load the generated config as the default.Richard van der Hoff2019-06-241-1/+1
| | | | It's too confusing.
* Pass config_dir_path and data_dir_path into Config.read_config. (#5522)Richard van der Hoff2019-06-241-1/+1
| | | | | | * Pull config_dir_path and data_dir_path calculation out of read_config_files * Pass config_dir_path and data_dir_path into read_config
* Run Black. (#5482)Amber Brown2019-06-201-39/+32
|
* Don't warn user about password reset disabling through config code (#5387)Andrew Morgan2019-06-111-6/+5
| | | | | | | Moves the warning about password resets being disabled to the point where a user actually tries to reset their password. Is this an appropriate place for it to happen? Also removed the disabling of msisdn password resets when you don't have an email config, as that just doesn't make sense. Also change the error a user receives upon disabled passwords to specify that only email-based password reset is disabled.
* Add ability to perform password reset via email without trusting the ↵Andrew Morgan2019-06-061-15/+138
| | | | | | | | | | | | identity server (#5377) Sends password reset emails from the homeserver instead of proxying to the identity server. This is now the default behaviour for security reasons. If you wish to continue proxying password reset requests to the identity server you must now enable the email.trust_identity_server_for_password_resets option. This PR is a culmination of 3 smaller PRs which have each been separately reviewed: * #5308 * #5345 * #5368
* Only parse from email if providedBrendan Abolivier2019-06-041-4/+5
|
* LintBrendan Abolivier2019-06-041-1/+0
|
* Make account validity renewal emails work when email notifs are disabledBrendan Abolivier2019-06-041-42/+57
|
* Don't crash on lack of expiry templatesBrendan Abolivier2019-04-181-2/+6
|
* Send out emails with links to extend an account's validity periodBrendan Abolivier2019-04-171-1/+6
|
* Calculate absolute path for email templatesRichard van der Hoff2018-10-191-22/+18
|
* Put the warning blob at the top of the fileRichard van der Hoff2018-10-171-6/+9
|
* Ship the email templates as package_dataRichard van der Hoff2018-10-171-3/+30
| | | | | | | | | | move the example email templates into the synapse package so that they can be used as package data, which should mean that all of the packaging mechanisms (pip, docker, debian, arch, etc) should now come with the example templates. In order to grandfather in people who relied on the templates being in the old place, check for that situation and fall back to using the defaults if the templates directory does not exist.
* Support authenticated SMTPDaniel Dent2017-04-051-0/+16
| | | | | | Closes (SYN-714) #1385 Signed-off-by: Daniel Dent <matrixcontrib@contactdaniel.net>
* Allow configuring the Riot URL used in notification emailsAdrian Perez de Castro2017-01-131-0/+7
| | | | | | | | | | The URLs used for notification emails were hardcoded to use either matrix.to or vector.im; but for self-hosted setups where Riot is also self-hosted it may be desirable to allow configuring an alternative Riot URL. Fixes #1809. Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
* brand the email from headerMatthew Hodgson2016-06-021-1/+1
|
* More consistent config namingDavid Baker2016-05-101-1/+1
|
* Add config option to not send email notifs for new usersDavid Baker2016-05-101-0/+4
|
* fix layout; handle app naming in synapse, not jinjaMatthew Hodgson2016-05-051-0/+5
|
* fix assorted typos in default configMatthew Hodgson2016-05-041-3/+3
|
* Try imports in configDavid Baker2016-04-291-0/+7
|
* Default enable email notifs to FalseDavid Baker2016-04-291-1/+1
|
* Nicer get() shorthandDavid Baker2016-04-291-3/+2
|
* Remove redundant docstringDavid Baker2016-04-291-4/+0
|
* Correct default template and add text templateDavid Baker2016-04-291-1/+2
|
* Send mail notifs with a plaintext part tooDavid Baker2016-04-291-0/+2
|
* pep8David Baker2016-04-281-1/+1
|
* Hopefully all remaining bits for email notifsDavid Baker2016-04-271-1/+8
| | | | Add public facing base url to the server so synapse knows what URL to use when converting mxc to http urls for use in emails
* Generate mails from a templateDavid Baker2016-04-201-10/+25
|
* Send a rather basic email notifDavid Baker2016-04-201-0/+62
Also pep8 fixes