Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update license headers | Patrick Cloke | 2023-11-21 | 1 | -11/+16 |
| | |||||
* | Return read-only collections from `@cached` methods (#13755) | Sean Quah | 2023-02-10 | 1 | -3/+3 |
| | | | | | | | | | | | | | It's important that collections returned from `@cached` methods are not modified, otherwise future retrievals from the cache will return the modified collection. This applies to the return values from `@cached` methods and the values inside the dictionaries returned by `@cachedList` methods. It's not necessary for the dictionaries returned by `@cachedList` methods themselves to be read-only. Signed-off-by: Sean Quah <seanq@matrix.org> Co-authored-by: David Robertson <davidr@element.io> | ||||
* | Remove code generating comments in configuration file (#12941) | Shay | 2022-06-14 | 1 | -66/+0 |
| | |||||
* | Add missing type hints to config classes. (#12402) | Patrick Cloke | 2022-04-11 | 1 | -3/+3 |
| | |||||
* | Re-apply: Move glob_to_regex and re_word_boundary to matrix-python-common ↵ | reivilibre | 2022-01-05 | 1 | -1/+2 |
| | | | | | #11505 (#11687) Co-authored-by: Sean Quah <seanq@element.io> | ||||
* | Revert "Move `glob_to_regex` and `re_word_boundary` to ↵ | Sean Quah | 2021-12-07 | 1 | -2/+1 |
| | | | | | | `matrix-python-common` (#11505) (#11527) This reverts commit a77c36989785c0d5565ab9a1169f4f88e512ce8a. | ||||
* | Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common` (#11505) | Sean Quah | 2021-12-06 | 1 | -1/+2 |
| | |||||
* | Fix checking whether a room can be published on creation. (#11392) | Patrick Cloke | 2021-11-19 | 1 | -22/+28 |
| | | | | | | | | If `room_list_publication_rules` was configured with a rule with a non-wildcard alias and a room was created with an alias then an internal server error would have been thrown. This fixes the error and properly applies the publication rules during room creation. | ||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -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 Cloke | 2021-02-12 | 1 | -1/+1 |
| | |||||
* | Better formatting for config errors from modules (#8874) | Richard van der Hoff | 2020-12-08 | 1 | -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 Cloke | 2020-10-23 | 1 | -1/+1 |
| | |||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
| | |||||
* | Clean up newline quote marks around the codebase (#6362) | Andrew Morgan | 2019-11-21 | 1 | -1/+1 |
| | |||||
* | Refactor HomeserverConfig so it can be typechecked (#6137) | Amber Brown | 2019-10-10 | 1 | -0/+2 |
| | |||||
* | Don't load the generated config as the default. | Richard van der Hoff | 2019-06-24 | 1 | -1/+1 |
| | | | | It's too confusing. | ||||
* | Pass config_dir_path and data_dir_path into Config.read_config. (#5522) | Richard van der Hoff | 2019-06-24 | 1 | -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 Brown | 2019-06-20 | 1 | -15/+4 |
| | |||||
* | Fix up config comments | Erik Johnston | 2019-03-20 | 1 | -3/+4 |
| | |||||
* | Add option to disable search room lists | Erik Johnston | 2019-03-19 | 1 | -0/+9 |
| | | | | This disables both local and remote room list searching. | ||||
* | Attempt to make default config more consistent | Richard van der Hoff | 2019-02-19 | 1 | -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 code | Erik Johnston | 2019-02-15 | 1 | -22/+44 |
| | |||||
* | Hoist up checks to reduce overall work | Erik Johnston | 2019-02-15 | 1 | -17/+15 |
| | |||||
* | Fixup comments | Erik Johnston | 2019-02-15 | 1 | -8/+27 |
| | |||||
* | Clarify comments | Erik Johnston | 2019-02-14 | 1 | -3/+3 |
| | |||||
* | Clarify and fix behaviour when there are multiple aliases | Erik Johnston | 2019-02-14 | 1 | -6/+18 |
| | |||||
* | Fixup comments | Erik Johnston | 2019-02-14 | 1 | -8/+15 |
| | |||||
* | Add configurable room list publishing rules | Erik Johnston | 2019-02-14 | 1 | -17/+77 |
| | | | | | This allows specifying who and what is allowed to be published onto the public room list | ||||
* | Use allow/deny | Erik Johnston | 2018-10-25 | 1 | -6/+6 |
| | |||||
* | Use match rather than search | Erik Johnston | 2018-10-24 | 1 | -2/+3 |
| | |||||
* | Add config option to control alias creation | Erik Johnston | 2018-10-19 | 1 | -0/+101 |