Commit Graph

41 Commits (9532caf6ef3cdc6dba80b11a920410b50d3490dd)

Author SHA1 Message Date
black 8b3d9b6b19 Run black. 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Richard van der Hoff 3cf3e08a97 Implementation of server_acls 6 years ago
Erik Johnston 9959d9ece8 Remove redundated BaseHomeServer 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Erik Johnston bd3de8f39a Update tests 9 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
Mark Haines 041ac476a5 Supply auth_chain along with current state in '/state/', fetch auth events from a remote server if we are missing some of them 10 years ago
Erik Johnston 3fecacd86b Fix replication tests 10 years ago
Matthew Hodgson 8ada2d2018 fix UTs by telling all the mock stores about the new methods for tracking retries 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 8d8a133c89 SYN-103: Remove "origin" and "destination" keys from edus 10 years ago
Erik Johnston b15e8d5bbc event <-> pdu mappings are now trivial and will soon be scrapped 10 years ago
Erik Johnston 24305ba5bf Fix up federation tests 10 years ago
Mark Haines 82c5820767 keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating schema 10 years ago
Mark Haines f5cf7ac25b SPEC-7: Rename 'ts' to 'origin_server_ts' 10 years ago
Mark Haines bb04447c44 Include hashes of previous pdus when referencing them 10 years ago
Mark Haines 66104da10c Sign outgoing PDUs. 10 years ago
Mark Haines 1c445f88f6 persist hashes and origin signatures for PDUs 10 years ago
Mark Haines 9aed791fc3 SYN-103: Ignore the 'origin' key in received EDUs. Instead take the origin from the transaction itself 10 years ago
Mark Haines 6684855767 Verify signatures for server2server requests 10 years ago
Mark Haines 10ef8e6e4b SYN-75 sign at the request level rather than the transaction level 10 years ago
Mark Haines 574377636e Add a keyword argument to get_json to avoid retrying on DNS failures. Rather than passing MatrixHttpClient.RETRY_DNS_LOOKUP_FAILURES as a fake query string parameter 10 years ago
Mark Haines b95a178584 SYN-75 Verify signatures on server to server transactions 10 years ago
Mark Haines 52ca867670 Sign federation transactions 10 years ago
Erik Johnston 0897a09f49 Fix unit tests after adding extra argument on put_json 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
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
Matthew Hodgson 8fe912d95c change the world: make the default matrix API URL prefix /_matrix rather than /matrix to make it easier for existing websites to mount a HS in their namespace without collisions. 10 years ago
Mark Haines 64e2a5d58e Move pdu and event persistence into a single persist_event function 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
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
Paul "LeoNerd" Evans fc778e2bce Move MockClock into tests.utils so we can reüse it 10 years ago
Paul "LeoNerd" Evans 827de7cee9 Define the concept of a 'federation Query'; creating API for making and handling Queries on the Federation's increasingly-inaccurately-named ReplicationLayer 10 years ago
Paul "LeoNerd" Evans 820ed34abe Namespace all the Federation HTTP URLs to /matrix/federation/v1/... 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