Commit Graph

498 Commits (335f52d595c2c32e4b512b97e2851bc98b819ca7)

Author SHA1 Message Date
Richard van der Hoff 5febf88b6c
Update the error code for duplicate annotation (#15075) 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
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 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
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
Mathieu Velten 54c012c5a8
Make `handle_new_client_event` throws `PartialStateConflictError` (#14665) 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
Shay 72f3e38137
Fix possible variable shadow in `create_new_client_event` (#14575) 2 years ago
Brendan Abolivier 86c5a710d8
Implement MSC3912: Relation-based redactions (#14260) 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
Shay b6baa46db0
Fix a bug where the joined hosts for a given event were not being properly cached (#14125) 2 years ago
Shay 7b7478e8b6
Batch up notifications after event persistence (#14033) 2 years ago
Shay 8ab16a92ed
Persist CreateRoom events to DB in a batch (#13800) 2 years ago
Shay a2cf66a94d
Prepatory work for batching events to send (#13487) 2 years ago
reivilibre 6302753012
Deduplicate `is_server_notices_room`. (#13780) 2 years ago
Eric Eastwood d58615c82c
Directly lookup local membership instead of getting all members in a room first (`get_users_in_room` mis-use) (#13608) 2 years ago
Quentin Gliech 3dd175b628
`synapse.api.auth.Auth` cleanup: make permission-related methods use `Requester` instead of the `UserID` (#13024) 2 years ago
reivilibre c3516e9dec
Faster room joins: make `/joined_members` block whilst the room is partial stated. (#13514) 2 years ago
Shay a648a06d52
Add some tracing spans to give insight into local joins (#13439) 2 years ago
andrew do 78a3111c41
Return 404 or member list when getting joined_members after leaving (#13374) 2 years ago
Will Hunt 502f075e96
Implement MSC3848: Introduce errcodes for specific event sending failures (#13343) 2 years ago
Sean Quah 335ebb21cc
Faster room joins: avoid blocking when pulling events with missing prevs (#13355) 2 years ago
David Robertson b977867358
Rate limit joins per-room (#13276) 2 years ago
Erik Johnston cf5fa5063d
Don't pull out full state when sending dummy events (#13310) 2 years ago
Erik Johnston 0ca4172b5d
Don't pull out state in `compute_event_context` for unconflicted state (#13267) 2 years ago
Sean Quah 68db233f0c
Handle race between persisting an event and un-partial stating a room (#13100) 2 years ago
Shay 046a6513bc
Don't process /send requests for users who have hit their ratelimit (#13134) 2 years ago
Quentin Gliech 92103cb2c8
Decouple `synapse.api.auth_blocking.AuthBlocking` from `synapse.api.auth.Auth`. (#13021) 2 years ago
David Teller a164a46038
Uniformize spam-checker API, part 4: port other spam-checker callbacks to return `Union[Allow, Codes]`. (#12857) 2 years ago
Richard van der Hoff c1b28b8842 Remove redundant `room_version` param from `check_auth_rules_from_context` 2 years ago
Richard van der Hoff 68be42f6b6 Remove `room_version` param from `validate_event_for_room_version` 2 years ago
Richard van der Hoff 7c6b2204d1
Faster joins: add issue links to the TODOs (#13004) 3 years ago
Erik Johnston e3163e2e11
Reduce the amount of state we pull from the DB (#12811) 3 years ago
Erik Johnston 888a29f412
Wait for lazy join to complete when getting current state (#12872) 3 years ago
Richard van der Hoff 79dadf7216
Fix 404 on `/sync` when the last event is a redaction of an unknown/purged event (#12905) 3 years ago
Erik Johnston 1e453053cb
Rename storage classes (#12913) 3 years ago
Brendan Abolivier 8fd87739bf
Fix import in module_api module and docs on the new check_event_for_spam signature (#12918) 3 years ago
David Teller af7db19e1e
Uniformize spam-checker API, part 3: Expand check_event_for_spam with the ability to return additional fields (#12846) 3 years ago
Erik Johnston b83bc5fab5
Pull out less state when handling gaps mk2 (#12852) 3 years ago
Erik Johnston 4660d9fdcf
Fix up `state_store` naming (#12871) 3 years ago
David Teller 28199e9357
Uniformize spam-checker API, part 2: check_event_for_spam (#12808) 3 years ago
Shay 71e8afe34d
Update EventContext `get_current_event_ids` and `get_prev_event_ids` to accept state filters and update calls where possible (#12791) 3 years ago
Patrick Cloke 86a515ccbf
Consolidate logic for parsing relations. (#12693) 3 years ago
Patrick Cloke a4c75918b3
Remove unneeded `ActionGenerator` class. (#12691) 3 years ago
Erik Johnston c72d26c1e1
Refactor `EventContext` (#12689) 3 years ago
David Robertson 2607b3e181
Update mypy to 0.950 and fix complaints (#12650) 3 years ago