summary refs log tree commit diff
path: root/synapse/config/password_auth_providers.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Better formatting for config errors from modules (#8874)Richard van der Hoff2020-12-081-2/+3
| | | | | | | | | | The idea is that the parse_config method of extension modules can raise either a ConfigError or a JsonValidationError, and it will be magically turned into a legible error message. There's a few components to it: * Separating the "path" and the "message" parts of a ConfigError, so that we can fiddle with the path bit to turn it into an absolute path. * Generally improving the way ConfigErrors get printed. * Passing in the config path to load_module so that it can wrap any exceptions that get caught appropriately.
* Add documentation to password_providers config option (#7238)Andrew Morgan2020-04-081-2/+14
|
* Refactor HomeserverConfig so it can be typechecked (#6137)Amber Brown2019-10-101-0/+2
|
* Fix up some typechecking (#6150)Amber Brown2019-10-021-1/+3
| | | | | | * type checking fixes * changelog
* 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-10/+6
|
* Attempt to make default config more consistentRichard van der Hoff2019-02-191-14/+14
| | | | | | The general idea here is that config examples should just have a hash and no extraneous whitespace, both to make it easier for people who don't understand yaml, and to make the examples stand out from the comments.
* run isortAmber Brown2018-07-091-2/+2
|
* synapse/config/password_auth_providers: Fixed bracket typoRichard von Seck2017-11-161-2/+2
| | | | Signed-off-by: Richard von Seck <richard.von-seck@gmx.net>
* Clean up backwards-compat hacks for ldapRichard van der Hoff2017-10-311-20/+19
| | | | | | | try to make the backwards-compat flows follow the same code paths as the modern impl. This commit should be non-functional.
* Factor out module loading to a separate placeDavid Baker2017-09-261-12/+10
| | | | So it can be reused
* Use external ldap auth pacakgeErik Johnston2016-11-151-7/+13
|
* Don't assume providers raise ConfigError'sErik Johnston2016-11-081-2/+7
|
* Implement pluggable password authErik Johnston2016-10-031-0/+61
Allows delegating the password auth to an external module. This also moves the LDAP auth to using this system, allowing it to be removed from the synapse tree entirely in the future.