anonymousland-synapse/tests
Mathieu Velten 6cddf24e36
Faster joins: don't stall when a user joins during a fast join (#14606)
Fixes #12801.
Complement tests are at
https://github.com/matrix-org/complement/pull/567.

Avoid blocking on full state when handling a subsequent join into a
partial state room.

Also always perform a remote join into partial state rooms, since we do
not know whether the joining user has been banned and want to avoid
leaking history to banned users.

Signed-off-by: Mathieu Velten <mathieuv@matrix.org>
Co-authored-by: Sean Quah <seanq@matrix.org>
Co-authored-by: David Robertson <davidr@element.io>
2023-02-10 23:31:05 +00:00
..
api Properly typecheck tests.api (#14983) 2023-02-03 20:03:23 +00:00
app Properly typecheck tests.app (#14984 2023-02-03 19:22:40 +00:00
appservice Type hints for tests.appservice (#14990) 2023-02-06 12:49:06 +00:00
config Add missing type hints to tests.config. (#14681) 2022-12-16 08:53:28 -05:00
crypto Add missing type hints to tests. (#14687) 2022-12-28 08:29:35 -05:00
events Proper types for tests.module_api (#15031) 2023-02-09 00:23:35 +00:00
federation Type hints for tests.federation (#14991) 2023-02-06 16:05:06 +00:00
handlers Faster joins: don't stall when a user joins during a fast join (#14606) 2023-02-10 23:31:05 +00:00
http Properly typecheck types.http (#14988) 2023-02-07 00:20:04 +00:00
logging Add missing type hints in tests (#14879) 2023-01-26 14:45:24 -05:00
metrics Add missing type hints to tests. (#14687) 2022-12-28 08:29:35 -05:00
module_api Proper types for tests.module_api (#15031) 2023-02-09 00:23:35 +00:00
push Support for MSC3758: exact_event_match push condition (#14964) 2023-02-10 12:37:07 -05:00
replication Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
rest Return read-only collections from @cached methods (#13755) 2023-02-10 23:29:00 +00:00
scripts Add more missing type hints to tests. (#15028) 2023-02-08 16:29:49 -05:00
server_notices Add more missing type hints to tests. (#15028) 2023-02-08 16:29:49 -05:00
state Fix typechecks against twisted trunk (#13061) 2022-06-15 11:49:58 +01:00
storage Add a class UnpersistedEventContext to allow for the batching up of storing state groups (#14675) 2023-02-09 13:05:02 -08:00
test_utils Add a class UnpersistedEventContext to allow for the batching up of storing state groups (#14675) 2023-02-09 13:05:02 -08:00
types Allow selecting "prejoin" events by state keys (#14642) 2022-12-13 00:54:46 +00:00
util Remove unnecessary reactor reference from _PerHostRatelimiter (#14842) 2023-01-16 13:16:19 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
server.py Properly typecheck types.http (#14988) 2023-02-07 00:20:04 +00:00
test_distributor.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_event_auth.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_federation.py Add more missing type hints to tests. (#15028) 2023-02-08 16:29:49 -05:00
test_mau.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_phone_home.py Share some metrics between the Prometheus exporter and the phone home stats (#13671) 2022-09-05 10:26:43 +00:00
test_rust.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_server.py Respond with proper error responses on unknown paths. (#14621) 2022-12-08 11:37:05 -05:00
test_state.py Add missing types to test_state. (#14985) 2023-02-06 16:11:09 +00:00
test_terms_auth.py Proper types for tests.test_terms_auth (#15007) 2023-02-07 12:03:39 +00:00
test_test_utils.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_types.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_visibility.py Add a class UnpersistedEventContext to allow for the batching up of storing state groups (#14675) 2023-02-09 13:05:02 -08:00
unittest.py Add more missing type hints to tests. (#15028) 2023-02-08 16:29:49 -05:00
utils.py Add a class UnpersistedEventContext to allow for the batching up of storing state groups (#14675) 2023-02-09 13:05:02 -08:00