Commit Graph

48 Commits (97ef1471c67bc4f736d758f2e4f99178bd01d469)

Author SHA1 Message Date
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
Mark Haines cb4b6c844a Merge PDUs and Events into one object 10 years ago
Mark Haines de1ec90133 Validate signatures on incoming events 10 years ago
Erik Johnston 3db2c0d43e Rename annotate_state_groups to annotate_event_with_state 10 years ago
Erik Johnston 9e429239ab Fix Federation test 10 years ago
Erik Johnston b0554682ed Fix federation handler tests. I've removed the invite/join dance ones as they are completely out of date. 10 years ago
Mark Haines f5cf7ac25b SPEC-7: Rename 'ts' to 'origin_server_ts' 10 years ago
Erik Johnston 59f2bef187 Fix test where we changed arguments used to call the notifier 10 years ago
Mark Haines 52ca867670 Sign federation transactions 10 years ago
Erik Johnston 59516a8bb1 Correctly handle receiving 'missing' Pdus from federation, rather than just discarding them. 10 years ago
Paul "LeoNerd" Evans cd62ee3f29 Have all unit tests import from our own subclass of trial's unittest TestCase; set up logging in ONE PLACE ONLY 10 years ago
Erik Johnston 34a7f0ca93 Fix test to assert that we don't do auth 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Mark Haines 7b079a26a5 Remove get_state_for_room function from federation handler 10 years ago
Erik Johnston e111a06e0a Fix tests. 10 years ago
Mark Haines a03c7f27a8 Fill out prev_events before calling persist_event 10 years ago
Kegan Dougal 8bd55cfdcb Fix ALL THE UNIT TESTS 10 years ago
Erik Johnston 5c4c591c61 Fix federation test, since we now hit store.get_room 10 years ago
Erik Johnston 41333452e5 Update tests 10 years ago
Kegan Dougal 9a1638ed21 Removed http_server from HomeServer. Updated unit tests to use either resource_for_federation or resource_for_client depending on what is being tested. 10 years ago
Matthew Hodgson 3e35a9f96e add in copyrights to everything, not just the synapse subdir, and add a copyrighter.pl whilst we're at it 10 years ago
matrix.org 4f475c7697 Reference Matrix Home Server 10 years ago