0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 07:53:47 +01:00
synapse/synapse
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
..
_scripts Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
api Faster joins: don't stall when a user joins during a fast join (#14606) 2023-02-10 23:31:05 +00:00
app Return read-only collections from @cached methods (#13755) 2023-02-10 23:29:00 +00:00
appservice Type hints for tests.appservice (#14990) 2023-02-06 12:49:06 +00:00
config Return read-only collections from @cached methods (#13755) 2023-02-10 23:29:00 +00:00
crypto Add some clarifying comments and refactor a portion of the Keyring class for readability (#14804) 2023-01-13 12:37:28 +00:00
events Return read-only collections from @cached methods (#13755) 2023-02-10 23:29:00 +00:00
federation Faster joins: don't stall when a user joins during a fast join (#14606) 2023-02-10 23:31:05 +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 Respond correctly to unknown methods on known endpoints (#14605) 2023-02-09 13:04:24 -05:00
logging Tag federation request spans with the worker name (#15042) 2023-02-09 22:33:39 +00:00
metrics Fix logging context warnings due to common usage metrics setup (#14574) 2022-11-28 15:25:18 +00:00
module_api Fix a bug in the send_local_online_presence_to module API (#14880) 2023-01-25 21:34:37 +00:00
push Return read-only collections from @cached methods (#13755) 2023-02-10 23:29:00 +00:00
replication Fix bug in replication where response is cached (#15024) 2023-02-08 16:41:55 +00:00
res Fix #11308 : Remove dependency on jquery on reCAPTCHA page (#14672) 2022-12-14 12:02:28 +00:00
rest Avoid fetching unused account data in sync. (#14973) 2023-02-10 14:22:16 +00:00
server_notices Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
spam_checker_api Fix import in module_api module and docs on the new check_event_for_spam signature (#12918) 2022-05-31 12:04:53 +02:00
state Return read-only collections from @cached methods (#13755) 2023-02-10 23:29:00 +00:00
static Add viewport directive to HTML templates to optimise for mobile (#13493) 2022-08-11 14:04:20 +01:00
storage Faster joins: don't stall when a user joins during a fast join (#14606) 2023-02-10 23:31:05 +00:00
streams Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
types Support for MSC3758: exact_event_match push condition (#14964) 2023-02-10 12:37:07 -05:00
util Remove unnecessary reactor reference from _PerHostRatelimiter (#14842) 2023-01-16 13:16:19 +00:00
__init__.py Parse SYNAPSE_ASYNC_IO_REACTOR env variable & log the reactor on startup (#14092) 2022-10-07 15:19:59 +01:00
event_auth.py Reject boolean power levels (#14944) 2023-01-31 10:57:02 +00:00
notifier.py Fix a bug in the send_local_online_presence_to module API (#14880) 2023-01-25 21:34:37 +00:00
py.typed
server.py Add final type hint to synapse.server. (#15035) 2023-02-09 09:49:04 -05:00
visibility.py Move StateFilter to synapse.types (#14668) 2022-12-12 16:19:30 +00:00