summary refs log tree commit diff
path: root/tests/handlers/test_directory.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use direct references for configuration variables (part 5). (#10897)Patrick Cloke2021-09-241-1/+3
|
* Flatten the synapse.rest.client package (#10600)reivilibre2021-08-171-1/+1
|
* update black to 21.6b0 (#10197)Marcus2021-06-171-1/+1
| | | | | Reformat all files with the new version. Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
* 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>`
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-1/+1
|
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-6/+14
| | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version
* Remove spurious "SynapseRequest" result from `make_request"Richard van der Hoff2020-12-151-6/+6
| | | | This was never used, so let's get rid of it.
* Remove redundant mockingRichard van der Hoff2020-12-021-2/+0
|
* Apply an IP range blacklist to push and key revocation requests. (#8821)Patrick Cloke2020-12-021-1/+1
| | | | | | | | | | | | Replaces the `federation_ip_range_blacklist` configuration setting with an `ip_range_blacklist` setting with wider scope. It now applies to: * Federation * Identity servers * Push notifications * Checking key validitity for third-party invite events The old `federation_ip_range_blacklist` setting is still honored if present, but with reduced scope (it only applies to federation and identity servers).
* Remove redundant `HomeserverTestCase.render`Richard van der Hoff2020-11-161-6/+0
|
* Remove the deprecated Handlers object (#8494)Patrick Cloke2020-10-091-5/+5
| | | All handlers now available via get_*_handler() methods on the HomeServer.
* Convert federation client to async/await. (#7975)Patrick Cloke2020-07-301-3/+2
|
* Allow admins to create aliases when they are not in the room (#7191)Patrick Cloke2020-04-011-0/+62
|
* Allow deleting an alias if the user has sufficient power level (#6986)Patrick Cloke2020-03-041-24/+104
|
* Validate the alt_aliases property of canonical alias events (#6971)Patrick Cloke2020-03-031-36/+30
|
* Stop sending events when creating or deleting aliases (#6904)Patrick Cloke2020-02-181-2/+152
| | | Stop sending events when creating or deleting associations (room aliases). Send an updated canonical alias event if one of the alt_aliases is deleted.
* Convert the directory handler tests to use HomeserverTestCase (#6919)Patrick Cloke2020-02-141-24/+17
| | | Convert directory handler tests to use HomeserverTestCase.
* Run Black. (#5482)Amber Brown2019-06-201-4/+4
|
* Run Black on the tests again (#5170)Amber Brown2019-05-101-19/+5
|
* Add testErik Johnston2019-03-201-1/+58
|
* Add configurable room list publishing rulesErik Johnston2019-02-141-0/+1
| | | | | This allows specifying who and what is allowed to be published onto the public room list
* Use allow/denyErik Johnston2018-10-251-1/+1
|
* Add tests for alias creation rulesErik Johnston2018-10-191-0/+48
|
* Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-0/+1
|
* Run black.black2018-08-101-15/+7
|
* run isortAmber Brown2018-07-091-3/+3
|
* s/replication_client/federation_client/Erik Johnston2018-03-131-1/+1
|
* Fix testsErik Johnston2018-03-131-1/+1
|
* Fix testsErik Johnston2018-03-131-5/+4
|
* fix testsRichard van der Hoff2017-03-231-0/+1
|
* Implement device key caching over federationErik Johnston2017-01-261-0/+1
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Factor out some of the common homeserver setup code into aMark Haines2015-02-111-12/+2
| | | | setup_test_homeserver function in utils.
* Replace hs.parse_roomalias with RoomAlias.from_stringMark Haines2015-01-231-3/+4
|
* PEP8Erik Johnston2014-11-041-1/+3
|
* Fix tests.handlers.test_directoryErik Johnston2014-11-041-2/+5
|
* Add a keyword argument to get_json to avoid retrying on DNS failures. Rather ↵Mark Haines2014-10-021-3/+2
| | | | than passing MatrixHttpClient.RETRY_DNS_LOOKUP_FAILURES as a fake query string parameter
* Split PlainHttpClient into separate clients for talking to Identity servers ↵Mark Haines2014-10-021-2/+2
| | | | and talking to Capatcha servers
* Merge remote-tracking branch 'origin/develop' into test-sqlite-memoryPaul "LeoNerd" Evans2014-09-151-5/+1
|\
| * Have all unit tests import from our own subclass of trial's unittest ↵Paul "LeoNerd" Evans2014-09-121-5/+1
| | | | | | | | TestCase; set up logging in ONE PLACE ONLY
* | Need to prepare() the SQLiteMemoryDbPool before passing it to HomeServer ↵Paul "LeoNerd" Evans2014-09-111-3/+4
| | | | | | | | constructor, as DataStore's constructor will want it ready
* | Unit-test DirectoryHandler against (real) SQLite memory store, not mocked ↵Paul "LeoNerd" Evans2014-09-111-15/+12
|/ | | | storage layer
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* Fix up directory server to not require uploading room hosts. Update the room ↵Erik Johnston2014-09-031-0/+5
| | | | hosts table with the current room hosts (if we have them) on GET.
* Make retrying requests on DNS failures configurable, and turn off retrying ↵Kegan Dougal2014-09-031-1/+5
| | | | only in directory.get_association
* Removed http_server from HomeServer. Updated unit tests to use either ↵Kegan Dougal2014-08-141-1/+1
| | | | resource_for_federation or resource_for_client depending on what is being tested.
* Implement directory service federation by Federation Queries; avoid ↵Paul "LeoNerd" Evans2014-08-131-0/+112
local_only hack; add unit tests