Commit Graph

37 Commits (a313e97873f1279138c92989da77eab370f2c2e2)

Author SHA1 Message Date
Erik Johnston 5358966a87 Use git aware version string in User-Agent and Server headers 10 years ago
Mark Haines f5a70e0d2e Add a cache for get_event 10 years ago
Mark Haines 896253e085 Factor out some of the common homeserver setup code into a 10 years ago
Paul "LeoNerd" Evans cf7e723808 Have MockClock detect attempts to cancel expired timers, to prevent a repeat of SYN-230 10 years ago
Erik Johnston 3c77d13aa5 Kill off synapse.api.events.* 10 years ago
Erik Johnston 1fc2a0e33e Fix tests and remove debug logging 10 years ago
Paul "LeoNerd" Evans 4551afc6d2 Implement .cancel_call_later() in MockClock 10 years ago
Paul "LeoNerd" Evans 38da9884e7 Implement .call_later() in MockClock 10 years ago
Mark Haines 66104da10c Sign outgoing PDUs. 10 years ago
Mark Haines 25d80f35f1 Raise a SynapseError if the authorisation header is missing or malformed 10 years ago
Mark Haines 6684855767 Verify signatures for server2server requests 10 years ago
Erik Johnston d96cb61f26 Unbreak tests after changing storage API 10 years ago
Erik Johnston 0fdf308874 Track the IP users connect with. Add an admin column to users table. 10 years ago
Mark Haines 52ca867670 Sign federation transactions 10 years ago
Erik Johnston 3d2cca6762 Fix test. 10 years ago
Paul "LeoNerd" Evans 08f5c48fc8 Move SQLiteMemoryDbPool implementation into tests.utils 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
Erik Johnston a808c06a10 Fix room permissions test 10 years ago
Erik Johnston 3f5ebccbff Fix the tests to include new db calls 10 years ago
Paul "LeoNerd" Evans 59d3955db1 Have MemoryDataStore's get_rooms_for_user_where_membership_is() return room membership event objects, as per interface contract 10 years ago
Erik Johnston 5dd38d579b Fix a couple of bugs in presence handler related to pushing updatesto the correct user. Fix presence tests. 10 years ago
Paul "LeoNerd" Evans 113342a756 Ability to assert a DeferredMockCallable has received no calls 10 years ago
Mark Haines 7b079a26a5 Remove get_state_for_room function from federation handler 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
Mark Haines 1379dcae6f Take a snapshot of the state of the room before performing updates 10 years ago
Paul "LeoNerd" Evans fcdc40a5dd Add a DeferredMockCallable; like mock's MockCallable but allows awaiting 10 years ago
Paul "LeoNerd" Evans bb793019a5 Rename MockHttpServer to MockHttpResource as it stands for one server resource rather than an entire server 10 years ago
Erik Johnston 663a259d64 Change the MemoryDataStore to implement new storage api 10 years ago
Erik Johnston f5fca6f787 Fix some of the tests to reflect changes in the storage layer. 10 years ago
Paul "LeoNerd" Evans a6a9b71da0 Allow advancing the MockClock's time 10 years ago
Paul "LeoNerd" Evans fc778e2bce Move MockClock into tests.utils so we can reüse it 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