Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a config option to prioritise local users in user directory search ↵ | Andrew Morgan | 2021-02-19 | 1 | -0/+9 |
| | | | | | | | | | | | | | results (#84) * Add a config option to prioritise local users in user directory search results (#9383) This PR adds a homeserver config option, `user_directory.prefer_local_users`, that when enabled will show local users higher in user directory search results than remote users. This option is off by default. Note that turning this on doesn't necessarily mean that remote users will always be put below local users, but they should be assuming all other ranking factors (search query match, profile information present etc) are identical. This is useful for, say, University networks that are openly federating, but want to prioritise local students and staff in the user directory over other random users. * Don't mix simple and english psql query types | ||||
* | Refactor HomeserverConfig so it can be typechecked (#6137) | Andrew Morgan | 2020-02-26 | 1 | -0/+2 |
|\ | |||||
| * | Refactor HomeserverConfig so it can be typechecked (#6137) | Amber Brown | 2019-10-10 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #5523 from matrix-org/rav/arg_defaults | Andrew Morgan | 2020-02-14 | 1 | -1/+1 |
|\| | |||||
| * | 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) | Andrew Morgan | 2020-02-13 | 1 | -1/+1 |
|\| | |||||
| * | 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 | -4/+4 |
| | | |||||
* | | Dinsic Blacking with black==18.6b2 | Andrew Morgan | 2020-02-11 | 1 | -6/+6 |
| | | |||||
* | | Merge branch 'master' into dinsic | Brendan Abolivier | 2019-06-12 | 1 | -3/+3 |
|\| | |||||
| * | Fix docs on resetting the user directory (#5036) | Aaron Raimist | 2019-05-28 | 1 | -3/+3 |
| | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist> | ||||
* | | Update sample config | Erik Johnston | 2019-03-21 | 1 | -3/+2 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/dinsic-merged | Erik Johnston | 2019-03-21 | 1 | -0/+10 |
|\| | |||||
| * | Fix up sample config | Erik Johnston | 2019-03-20 | 1 | -2/+4 |
| | | |||||
| * | Update synapse/config/user_directory.py | Richard van der Hoff | 2019-03-20 | 1 | -1/+1 |
| | | | | | | Co-Authored-By: erikjohnston <erikj@jki.re> | ||||
| * | Add option to disable searching in the user dir | Erik Johnston | 2019-03-19 | 1 | -0/+7 |
| | | | | | | | | We still populate it, as it can still be accessed via the admin API. | ||||
* | | Fixup config | Erik Johnston | 2019-03-15 | 1 | -5/+4 |
| | | |||||
* | | Merge branch 'master' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2019-03-15 | 1 | -0/+1 |
|\| | | | | | | | erikj/dinsic-merged-master | ||||
| * | Attempt to make default config more consistent | Richard van der Hoff | 2019-02-19 | 1 | -1/+1 |
| | | | | | | | | | | | | 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. | ||||
* | | Allow us to configure http vs https for user_directory | Michael Kaye | 2018-10-17 | 1 | -1/+1 |
| | | |||||
* | | Fix spelling & add experimental API comment | David Baker | 2018-04-25 | 1 | -1/+2 |
| | | |||||
* | | Option to defer to an ID server for user_directory | David Baker | 2018-04-19 | 1 | -0/+8 |
|/ | |||||
* | better doc | Matthew Hodgson | 2017-12-04 | 1 | -1/+4 |
| | |||||
* | switch to a simpler 'search_all_users' button as per review feedback | Matthew Hodgson | 2017-12-04 | 1 | -7/+8 |
| | |||||
* | specify default user_directory_include_pattern | Matthew Hodgson | 2017-11-30 | 1 | -0/+1 |
| | |||||
* | untested WIP but might actually work | Matthew Hodgson | 2017-11-29 | 1 | -3/+2 |
| | |||||
* | Add user_directory_include_pattern config param to expand search results to ↵ | Matthew Hodgson | 2017-11-29 | 1 | -0/+40 |
additional users Initial commit; this doesn't work yet - the LIKE filtering seems too aggressive. It also needs _do_initial_spam to be aware of prepopulating the whole user_directory_search table with all users... ...and it needs a handle_user_signup() or something to be added so that new signups get incrementally added to the table too. Committing it here as a WIP |