Commit Graph

59 Commits (bd918d874f4eb459b9c2f9af6e8e994b6b19d264)

Author SHA1 Message Date
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
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