Commit Graph

450 Commits (2be5a2b07becdbf0957008ece74be3b3f957b233)

Author SHA1 Message Date
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
andrew do 01e625513a
remove constantly lib use and switch to enums. (#12624) 3 years ago
Nick Mills-Barrett e3a49f4784
Fix missing sync events during historical batch imports (#12319) 3 years ago
Patrick Cloke 86cf6a3a17
Remove references to unstable identifiers from MSC3440. (#12382) 3 years ago
Sean Quah 800ba87cc8
Refactor and convert `Linearizer` to async (#12357) 3 years ago
Eric Eastwood 6f2943714b
Remove unused `auth_event_ids` argument plumbing (#12304) 3 years ago
Eric Eastwood 14662d3c18
Refactor `create_new_client_event` to use a new parameter, `state_event_ids`, which accurately describes the usage with MSC2716 instead of abusing `auth_event_ids` (#12083) 3 years ago
Patrick Cloke ea27528b5d
Support stable identifiers for MSC3440: Threading (#12151) 3 years ago
Erik Johnston 61fd2a8f59
Limit the size of the aggregation_key (#12101) 3 years ago
Richard van der Hoff e2e1d90a5e
Faster joins: persist to database (#12012) 3 years ago
Richard van der Hoff 9d11fee8f2
Improve exception handling for concurrent execution (#12109) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
Richard van der Hoff a85dde3445
Minor typing fixes (#12034) 3 years ago
Eric Eastwood fef2e792be
Fix historical messages backfilling in random order on remote homeservers (MSC2716) (#11114) 3 years ago
Patrick Cloke 6bf81a7a61
Bundle aggregations outside of the serialization method. (#11612) 3 years ago
Patrick Cloke f58b300d27
Do not attempt to bundled aggregations for /members and /state. (#11623) 3 years ago
Patrick Cloke dd47788752
Do not bundle aggregations for APIs which shouldn't include them. (#11592) 3 years ago
Sean Quah 0147b3de20
Add missing type hints to `synapse.logging.context` (#11556) 3 years ago
Olivier Wilkinson (reivilibre) 4dd9ea8f4f Revert "Revert accidental fast-forward merge from v1.49.0rc1" 3 years ago
Eric Eastwood aa8708ebed
Allow events to be created with no `prev_events` (MSC2716) (#11243) 3 years ago
Sean Quah 158d73ebdd Revert accidental fast-forward merge from v1.49.0rc1 3 years ago
Patrick Cloke 494ebd7347
Include bundled aggregations in /sync and related fixes (#11478) 3 years ago
Patrick Cloke 6a5dd485bd
Refactor the code to inject bundled relations during serialization. (#11408) 3 years ago
Patrick Cloke 4bd54b263e
Do not allow MSC3440 threads to fork threads (#11161) 3 years ago
Eric Eastwood 84f235aea4
Rename to more clear `get_insertion_event_id_by_batch_id` (MSC2716) (#11244) 3 years ago
Patrick Cloke c01bc5f43d
Add remaining type hints to `synapse.events`. (#11098) 3 years ago
Brendan Abolivier c7a5e49664
Implement an `on_new_event` callback (#11126) 3 years ago
Eric Eastwood 35d6b914eb
Resolve and share `state_groups` for all historical events in batch (MSC2716) (#10975) 3 years ago
Patrick Cloke eb9ddc8c2e
Remove the deprecated BaseHandler. (#11005) 3 years ago
Eric Eastwood c4bf48ee6f Fix event context for outliers in important MSC2716 spot (#10938) 3 years ago
Richard van der Hoff 428174f902
Split `event_auth.check` into two parts (#10940) 3 years ago
Patrick Cloke 94b620a5ed
Use direct references for configuration variables (part 6). (#10916) 3 years ago
Richard van der Hoff 5279b9161b
Use `RoomVersion` objects (#10934) 3 years ago
Eric Eastwood 9fd057b8c5
Ensure `(room_id, next_batch_id)` is unique to avoid cross-talk/conflicts between batches (MSC2716) (#10877) 3 years ago
Patrick Cloke bb7fdd821b
Use direct references for configuration variables (part 5). (#10897) 3 years ago
Patrick Cloke e584534403
Use direct references for some configuration variables (part 3) (#10885) 3 years ago
Andrew Morgan aa2c027792
Remove unnecessary parentheses around tuples returned from methods (#10889) 3 years ago
Eric Eastwood 51e2db3598
Rename MSC2716 things from `chunk` to `batch` to match `/batch_send` endpoint (#10838) 3 years ago
Patrick Cloke b3590614da
Require type hints in the handlers module. (#10831) 3 years ago
Patrick Cloke 01c88a09cd
Use direct references for some configuration variables (#10798) 3 years ago
Richard van der Hoff 56e2a30634
Move `maybe_kick_guest_users` out of `BaseHandler` (#10744) 3 years ago
Eric Eastwood 1ca70fd312
Allow room creator to send MSC2716 related events in existing room versions (#10566) 3 years ago
reivilibre 52c7a51cfc
Merge pull request from GHSA-3x4c-pq33-4w3q 3 years ago
Brendan Abolivier a743bf4694
Port the ThirdPartyEventRules module interface to the new generic interface (#10386) 3 years ago
Jonathan de Jong 98aec1cc9d
Use inline type hints in `handlers/` and `rest/`. (#10382) 3 years ago
Eric Eastwood d26094e92c
Add base starting insertion event when no chunk ID is provided (MSC2716) (#10250) 3 years ago
Brendan Abolivier 225be77787
Rebuild event auth when rebuilding an event after a call to a `ThirdPartyEventRules` module (#10316) 3 years ago