Commit Graph

72 Commits (e7c77a8750094616419720379afa02506e716c7d)

Author SHA1 Message Date
Dirk Klimpel 50ae4eafe1
Add some type hints to `event_federation` datastore (#12753) 3 years ago
David Robertson a7293ef16f Bump `black` and `click` versions (#12320) 3 years ago
Richard van der Hoff f0b03186d9
Add type hints for `tests/unittest.py`. (#12347) 3 years ago
Richard van der Hoff 319a805cd3
Raise an exception when getting state at an outlier (#12191) 3 years ago
David Robertson a2b00a4486
Bump `black` and `click` versions (#12320) 3 years ago
Dirk Klimpel 9e06e22064
Add type hints to more tests files. (#12240) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
Richard van der Hoff 0fb3dd0830
Refactor the way we set `outlier` (#11634) 3 years ago
Eric Eastwood daf498e099
Fix 500 error on `/messages` when we accumulate more than 5 backward extremities (#11027) 3 years ago
Richard van der Hoff 85551b7a85
Factor out common code for persisting fetched auth events (#10896) 3 years ago
Richard van der Hoff 1800aabfc2
Split `FederationHandler` in half (#10692) 3 years ago
reivilibre 642a42edde
Flatten the synapse.rest.client package (#10600) 3 years ago
Eric Eastwood db6e7f15ea
Fix backfilled events being rejected for no `state_groups` (#10439) 3 years ago
Richard van der Hoff 6e8fb42be7
Improve validation for `send_{join,leave,knock}` (#10225) 3 years ago
Jonathan de Jong 495b214f4f
Fix (final) Bugbear violations (#9838) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Erik Johnston ff55300b91
Honour ratelimit flag for application services for invite ratelimiting (#9302) 4 years ago
Erik Johnston f2c1560eca
Ratelimit invites by room and target user (#9258) 4 years ago
Patrick Cloke 1619802228
Various clean-ups to the logging context code (#8935) 4 years ago
Richard van der Hoff 3ce2f303f1 Consistently use room_id from federation request body (#8776) 4 years ago
Patrick Cloke 30fba62108
Apply an IP range blacklist to push and key revocation requests. (#8821) 4 years ago
Richard van der Hoff 950bb0305f
Consistently use room_id from federation request body (#8776) 4 years ago
Patrick Cloke c9c0ad5e20
Remove the deprecated Handlers object (#8494) 4 years ago
Patrick Cloke 08bc80ef09
Implement room version 6 (MSC2240). (#7506) 5 years ago
Patrick Cloke 56b66db78a
Strictly enforce canonicaljson requirements in a new room version (#7381) 5 years ago
Richard van der Hoff 928edef979 Pass room_version into `event_from_pdu_json` 5 years ago
Richard van der Hoff 807ec3bd99
Fix bug which caused rejected events to be stored with the wrong room state (#6320) 5 years ago
Brendan Abolivier 8a5e8e829b
Lint (again) 5 years ago
Brendan Abolivier ebcb6a30d7
Lint 5 years ago
Brendan Abolivier 6527fa18c1 Add test case 5 years ago
Erik Johnston 2c176e02ae Make unit tests work 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
David Baker 0e48f7f245 fix tests 9 years ago
David Baker 92a1e74b20 fix tests 9 years ago
David Baker d79e90f078 Add mocks to make tests work again 9 years ago
Erik Johnston 1c3d844e73 Don't needlessly compute context 10 years ago
Mark Haines 63878c0379 Don't bother checking for updates if the stream token hasn't advanced for a user 10 years ago
Erik Johnston 9236136f3a Make work in both Maria and SQLite. Fix tests 10 years ago
Mark Haines 896253e085 Factor out some of the common homeserver setup code into a 10 years ago
Erik Johnston e7ca813dd4 Try to ensure we don't persist an event we have already persisted. In persist_event check if we already have the event, if so then update instead of replacing so that we don't cause a bump of the stream_ordering. 10 years ago
Erik Johnston 78015948a7 Initial implementation of auth conflict resolution 10 years ago
Mark Haines c3eae8a88c Construct the EventContext in the state handler rather than constructing one and then immediately calling state_handler.annotate_context_with_state 10 years ago
Erik Johnston 3c77d13aa5 Kill off synapse.api.events.* 10 years ago
Erik Johnston d3eb12c7b8 Fix federation test 10 years ago
Matthew Hodgson 8ada2d2018 fix UTs by telling all the mock stores about the new methods for tracking retries 10 years ago
Erik Johnston 027542e2e5 Fix bugs when joining a remote room that has dodgy event graphs. This should also fix the number of times a HS will trigger a GET /event/ 10 years ago
Erik Johnston 822b15ea43 Fix tests. 10 years ago
Erik Johnston 64fc859dac Fix bugs in invite/join dances. 10 years ago
Mark Haines c5eabe3143 replace user_id with sender 10 years ago