Commit Graph

4480 Commits (06ba71083eefbe1fd9a8eeed10e541dd7b52796f)

Author SHA1 Message Date
David Robertson 06ba71083e
Fix order of partial state tables when purging (#15068) 2 years ago
Sean Quah 463c19ac36
Faster joins: Omit device list updates from partial state rooms in /sync (#15069) 2 years ago
Erik Johnston f09db5c991
Skip calculating unread push actions in `/sync` when `enable_push` is false. (#14980) 2 years ago
reivilibre 3d7aead5d6
Tweak comment on `_is_local_room_accessible` as part of room visibility in `/hierarchy` to clarify the condition for a room being visible. (#14834) 2 years ago
Andrew Morgan bdccfd2477
Refactor arguments of `try_unbind_threepid(_with_id_server)` from dict to separate args (#15053) 2 years ago
Mathieu Velten 6cddf24e36
Faster joins: don't stall when a user joins during a fast join (#14606) 2 years ago
Sean Quah d0c713cc85
Return read-only collections from `@cached` methods (#13755) 2 years ago
Patrick Cloke cf5233b783
Avoid fetching unused account data in sync. (#14973) 2 years ago
Sean Quah b95407908d
Avoid mutating cached values in `_generate_sync_entry_for_account_data` (#15047) 2 years ago
Patrick Cloke a481fb9f98
Refactor get_user_devices_from_cache to avoid mutating cached values. (#15040) 2 years ago
Shay 03bccd542b
Add a class UnpersistedEventContext to allow for the batching up of storing state groups (#14675) 2 years ago
Patrick Cloke 8a6e043488
Avoid mutating cached room aliases. (#15038) 2 years ago
Patrick Cloke 733531ee3e
Add final type hint to synapse.server. (#15035) 2 years ago
Shay 55e4d27b36
Limit concurrent event creation for a room to avoid state resolution when sending bursts of events to a local room (#14977) 2 years ago
Sean Quah 0a686d1d13
Faster joins: Refactor handling of servers in room (#14954) 2 years ago
Patrick Cloke da05b70af5
Skip unused calculations in sync handler. (#14908) 2 years ago
Patrick Cloke f36da501be
Do not calculate presence or ephemeral events when they are filtered out (#14970) 2 years ago
Patrick Cloke 1182ae5063
Add helper to parse an enum from query args & use it. (#14956) 2 years ago
Dirk Klimpel bf82b56bab
Add more user information to export-data command. (#14894) 2 years ago
Sean Quah 805b641fb6
Fix "Re-starting finished log context" spam when creating events (#14947) 2 years ago
David Robertson 796a4b7482
Prefer `type(x) is int` to `isinstance(x, int)` (#14945) 2 years ago
Patrick Cloke 265735db9d
Use an enum for direction. (#14927) 2 years ago
Patrick Cloke ba79fb4a61
Use StrCollection in place of Collection[str] in (most) handlers code. (#14922) 2 years ago
Patrick Cloke 8a05d5de21
Batch look-ups to see if rooms are partial stated. (#14917) 2 years ago
Patrick Cloke 7e8d455280
Fix a bug in the send_local_online_presence_to module API (#14880) 2 years ago
David Robertson 80d44060c9
Faster joins: omit partial rooms from eager syncs until the resync completes (#14870) 2 years ago
Sean Quah 2ec9c58496
Faster joins: Update room stats and the user directory on workers when finishing join (#14874) 2 years ago
reivilibre 22cc93afe3
Enable Faster Remote Room Joins against worker-mode Synapse. (#14752) 2 years ago
Sean Quah d329a566df
Faster joins: Fix incompatibility with restricted joins (#14882) 2 years ago
Sean Quah cdea7c11d0
Faster joins: Avoid starting duplicate partial state syncs (#14844) 2 years ago
Erik Johnston 9187fd940e
Wait for streams to catch up when processing HTTP replication. (#14820) 2 years ago
Erik Johnston 4db3331bb9
Add an early return when handling no-op presence updates. (#14855) 2 years ago
Andrew Morgan 54cd90ea60
Implement MSC3890: Remotely silence local notifications (#14775) 2 years ago
Erik Johnston 73ff493dfb
Merge account data streams (#14826) 2 years ago
reivilibre 5172c8c403
Faster remote room joins (worker mode): do not populate external hosts-in-room cache when sending events as this requires blocking for full state. (#14749) 2 years ago
Patrick Cloke 3952297f6f
Calculate rooms changed for device lists to work. (#14810) 2 years ago
reivilibre ba4ea7d13f
Batch up replication requests to request the resyncing of remote users's devices. (#14716) 2 years ago
Patrick Cloke 7e582a25f8
Improve /sync performance of when passing filters with empty arrays. (#14786) 2 years ago
Patrick Cloke 630d0aeaf6
Support RFC7636 PKCE in the OAuth 2.0 flow. (#14750) 2 years ago
Patrick Cloke 906dfaa2cf
Support non-OpenID compliant user info endpoints (#14753) 2 years ago
Andrew Morgan c4456114e1
Add experimental support for MSC3391: deleting account data (#14714) 2 years ago
Patrick Cloke 044fa1a1de
Actually use the picture_claim as configured in OIDC config. (#14751) 2 years ago
Richard van der Hoff a52822d39c
Log to-device msgids when we return them over /sync (#14724) 2 years ago
Patrick Cloke 652d1669c5
Add missing type hints to tests.handlers. (#14680) 2 years ago
Mathieu Velten 54c012c5a8
Make `handle_new_client_event` throws `PartialStateConflictError` (#14665) 2 years ago
reivilibre fb60cb16fe
Faster remote room joins: stream the un-partial-stating of events over replication. [rei:frrj/streams/unpsr] (#14545) 2 years ago
Patrick Cloke 2920e540bf
Use the room type from stats in hierarchy response. (#14263) 2 years ago
reivilibre 62ed877433
Improve validation of field size limits in events. (#14664) 2 years ago
David Robertson e2a1adbf5d
Allow selecting "prejoin" events by state keys (#14642) 2 years ago
David Robertson b5b5f66084
Move `StateFilter` to `synapse.types` (#14668) 2 years ago