summary refs log tree commit diff
path: root/synapse/config/room_directory.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Fix some typos.Patrick Cloke2021-02-121-1/+1
|
* Better formatting for config errors from modules (#8874)Richard van der Hoff2020-12-081-1/+1
| | | | | | | | | | 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.
* Fix typos and spelling errors. (#8639)Patrick Cloke2020-10-231-1/+1
|
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
|
* Clean up newline quote marks around the codebase (#6362)Andrew Morgan2019-11-211-1/+1
|
* Refactor HomeserverConfig so it can be typechecked (#6137)Amber Brown2019-10-101-0/+2
|
* 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-15/+4
|
* Fix up config commentsErik Johnston2019-03-201-3/+4
|
* Add option to disable search room listsErik Johnston2019-03-191-0/+9
| | | | This disables both local and remote room list searching.
* Attempt to make default config more consistentRichard van der Hoff2019-02-191-10/+10
| | | | | | 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.
* Move defaults up into codeErik Johnston2019-02-151-22/+44
|
* Hoist up checks to reduce overall workErik Johnston2019-02-151-17/+15
|
* Fixup commentsErik Johnston2019-02-151-8/+27
|
* Clarify commentsErik Johnston2019-02-141-3/+3
|
* Clarify and fix behaviour when there are multiple aliasesErik Johnston2019-02-141-6/+18
|
* Fixup commentsErik Johnston2019-02-141-8/+15
|
* Add configurable room list publishing rulesErik Johnston2019-02-141-17/+77
| | | | | This allows specifying who and what is allowed to be published onto the public room list
* Use allow/denyErik Johnston2018-10-251-6/+6
|
* Use match rather than searchErik Johnston2018-10-241-2/+3
|
* Add config option to control alias creationErik Johnston2018-10-191-0/+101