Commit Graph

52 Commits (4d6b6c17c860a6ef258e513d841dbda6ea151cbd)

Author SHA1 Message Date
Patrick Cloke 02d708568b
Replace assertEquals and friends with non-deprecated versions. (#12092) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
reivilibre 513913cc6b
Expose the registered device ID from the `register_appservice_user` test helper. (#11615) 3 years ago
David Robertson 2d91b6256e
Fix adding excluded users to the private room sharing tables when joining a room (#11143) 3 years ago
David Robertson 37b845dabc
Don't remove local users from dir when the leave their last room (#11103) 3 years ago
David Robertson e09be0c87a
Correctly exclude users when making a room public or private (#11075) 3 years ago
David Robertson b83e822556
Stop user directory from failing if it encounters users not in the `users` table. (#11053) 3 years ago
David Robertson 670a8d9a1e
Fix overwriting profile when making room public (#11003) 3 years ago
David Robertson e0bf34dada
Don't alter directory entries for local users when setting a per-room nickname (#11002) 3 years ago
David Robertson 370bca32e6
Don't drop user dir deltas when server leaves room (#10982) 3 years ago
David Robertson f7b034a24b
Consistently exclude from user_directory (#10960) 3 years ago
David Robertson 3aefc7b66d
Refactor user directory tests (#10935) 3 years ago
Patrick Cloke bb7fdd821b
Use direct references for configuration variables (part 5). (#10897) 3 years ago
David Robertson 7f3352743e
Improve typing in user_directory files (#10891) 3 years ago
David Robertson dcfd864970
Fix reactivated users not being added to the user directory (#10782) 3 years ago
David Robertson 318162f5de
Easy refactors of the user directory (#10789) 3 years ago
David Robertson 5e9b382505
Pull out encrypted_by_default tests from user_directory tests (#10752) 3 years ago
reivilibre 642a42edde
Flatten the synapse.rest.client package (#10600) 3 years ago
Brendan Abolivier 1b3e398bea
Standardise the module interface (#10062) 3 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke 0b3112123d
Use mock from the stdlib. (#9772) 4 years ago
Patrick Cloke c4a55ac4a4 Fix style checking due to updated black. 4 years ago
Andrew Morgan 13e9029f44
Add a config option to prioritise local users in user directory search results (#9383) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Dirk Klimpel c07022303e
Fix a bug that deactivated users appear in the directory (#8933) 4 years ago
Richard van der Hoff 394516ad1b Remove spurious "SynapseRequest" result from `make_request" 4 years ago
David Teller f14428b25c
Allow spam-checker modules to be provide async methods. (#8890) 4 years ago
Richard van der Hoff acfe3b3065 Remove redundant `HomeserverTestCase.render` 4 years ago
Patrick Cloke 3f91638da6
Allow denying or shadow banning registrations via the spam checker (#8034) 4 years ago
Erik Johnston a7bdf98d01
Rename database classes to make some sense (#8033) 4 years ago
Andrew Morgan fcd6961441
Add option to enable encryption by default for new rooms (#7639) 5 years ago
Patrick Cloke 737b4a936e
Convert user directory handler and related classes to async/await. (#7640) 5 years ago
Andrew Morgan 67feea8044
Extend spam checker to allow for multiple modules (#7435) 5 years ago
Patrick Cloke 509e381afa
Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 5 years ago
Patrick Cloke 49f877d32e
Filter the results of user directory searching via the spam checker (#6888) 5 years ago
Erik Johnston 4a33a6dd19 Move background update handling out of store 5 years ago
Erik Johnston 756d4942f5 Move DB pool and helper functions into dedicated Database class 5 years ago
Erik Johnston ee86abb2d6 Remove underscore from SQLBaseStore functions 5 years ago
Richard van der Hoff 953dbb7980
Remove access-token support from RegistrationStore.register (#5642) 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Amber Brown be452fc9ac more fix 6 years ago
Amber Brown 7f81b967ca fix schemas 6 years ago
Amber Brown df2ebd75d3
Migrate all tests to use the dict-based config format instead of hanging items off HomeserverConfig (#5171) 6 years ago
Amber Brown b36c82576e
Run Black on the tests again (#5170) 6 years ago
Richard van der Hoff 12f9d51e82
Add admin api for sending server_notices (#5121) 6 years ago
Richard van der Hoff 40e576e29c Move admin api impl to its own package 6 years ago
Erik Johnston 3660d24ebe Add test 6 years ago
Amber Brown 282c97327f
Migrate the user directory initial population to a background task (#4864) 6 years ago
Amber Brown 797b6a63fc fixup 6 years ago
Amber Brown 10480c4348 fixup 6 years ago