Commit Graph

823 Commits (7a3a55ac98847d7adb0e200378abe07ef8d0c645)

Author SHA1 Message Date
dependabot[bot] 0a67743d9e
Bump ruff from 0.0.290 to 0.0.292 (#16449) 1 year ago
Patrick Cloke fc31b495b3
Stop sending incorrect knock_state_events. (#16403) 1 year ago
Erik Johnston dffe095642
Only lock when we're backfilling (#16159) 1 year ago
Erik Johnston ad52db3b5c
Reduce the amount of state we pull out (#15968) 1 year ago
Patrick Cloke 6d81aec09f
Support room version 11 (#15912) 1 year ago
Eric Eastwood 0f02f0b4da
Remove experimental MSC2716 implementation to incrementally import history into existing rooms (#15748) 1 year ago
Eric Eastwood fcc3ca37e1
Backfill in the background if we're doing it "just because" (#15710) 1 year ago
Eric Eastwood f9561b9e37
Some house keeping on `maybe_backfill()` functions (#15709) 1 year ago
Patrick Cloke 1e89976b26
Rename blacklist/whitelist internally. (#15620) 2 years ago
Sean Quah e46d5f3586
Factor out an `is_mine_server_name` method (#15542) 2 years ago
Andrew Morgan 2e59e97ebd
Move ThirdPartyEventRules into module_api/callbacks (#15535) 2 years ago
Andrew Morgan aec639e3e3
Move Spam Checker callbacks to a dedicated file (#15453) 2 years ago
Sean Quah d9f694932c
Fix spinloop during partial state sync when a prev event is in backoff (#15351) 2 years ago
David Robertson 4bb26c95a9
Refactor `filter_events_for_server` (#15240) 2 years ago
Sean Quah 4f4f27e57f
Mitigate a race where /make_join could 403 for restricted rooms (#15080) 2 years ago
David Robertson 06ba71083e
Fix order of partial state tables when purging (#15068) 2 years ago
Mathieu Velten 6cddf24e36
Faster joins: don't stall when a user joins during a fast join (#14606) 2 years ago
Shay 03bccd542b
Add a class UnpersistedEventContext to allow for the batching up of storing state groups (#14675) 2 years ago
Sean Quah 0a686d1d13
Faster joins: Refactor handling of servers in room (#14954) 2 years ago
Patrick Cloke ba79fb4a61
Use StrCollection in place of Collection[str] in (most) handlers code. (#14922) 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
Mathieu Velten 54c012c5a8
Make `handle_new_client_event` throws `PartialStateConflictError` (#14665) 2 years ago
David Robertson b5b5f66084
Move `StateFilter` to `synapse.types` (#14668) 2 years ago
reivilibre 501f62d1a6
Faster remote room joins: stream the un-partial-stating of rooms over replication. [rei:frrj/streams/unpsr] (#14473) 2 years ago
Mathieu Velten 1526ff389f
Faster joins: filter out non local events when a room doesn't have its full state (#14404) 2 years ago
Patrick Cloke d8cc86eff4
Remove redundant types from comments. (#14412) 2 years ago
Eric Eastwood 40fa8294e3
Refactor MSC3030 `/timestamp_to_event` to move away from our snowflake pull from `destination` pattern (#14096) 2 years ago
Shay b7a7ff6ee3
Add initial power level event to batch of bulk persisted events when creating a new room. (#14228) 2 years ago
Shay 847e2393f3
Prepatory work for adding power level event to batched events (#14214) 2 years ago
David Robertson c3a4780080
When restarting a partial join resync, prioritise the server which actioned a partial join (#14126) 2 years ago
Eric Eastwood 40bb37eb27
Stop getting missing `prev_events` after we already know their signature is invalid (#13816) 2 years ago
Andrew Morgan 9c23442ac9
Correct field name for stripped state events when knocking. `knock_state_events` -> `knock_room_state` (#14102) 2 years ago
Erik Johnston 3dfc4a08dc
Fix performance regression in `get_users_in_room` (#13972) 2 years ago
reivilibre 73ecff7e9e
Improve backfill robustness by trying more servers. (#13890) 2 years ago
Eric Eastwood df8b91ed2b
Limit and filter the number of backfill points to get from the database (#13879) 2 years ago
Erik Johnston 4b17a5ace8
Handle remote device list updates during partial join (#13913) 2 years ago
Kateřina Churanová 6caa303083
fix: Push notifications for invite over federation (#13719) 2 years ago
David Robertson f5aaa55e27
Add new columns tracking when we partial-joined (#13892) 2 years ago
Eric Eastwood ac1a31740b
Only try to backfill event if we haven't tried before recently (#13635) 2 years ago
reivilibre c06b2b7142
Faster Remote Room Joins: tell remote homeservers that we are unable to authorise them if they query a room which has partial state on our server. (#13823) 2 years ago
Eric Eastwood 51d732db3b
Optimize how we calculate `likely_domains` during backfill (#13575) 2 years ago
Eric Eastwood 9385c41ba4
Fix Prometheus metrics being negative (mixed up start/end) (#13584) 2 years ago
Eric Eastwood 088bcb7ecb
Time how long it takes us to do backfill processing (#13535) 2 years ago
Eric Eastwood 0a4efbc1dd
Instrument the federation/backfill part of `/messages` (#13489) 2 years ago
Eric Eastwood 344a2f767c
Instrument `FederationStateIdsServlet` - `/state_ids` (#13499) 2 years ago
reivilibre e9e6aacfbe
Faster Room Joins: prevent Synapse from answering federated join requests for a room which it has not fully joined yet. (#13416) 2 years ago