Erik Johnston
|
9236136f3a
Make work in both Maria and SQLite. Fix tests
|
преди 9 години |
Mark Haines
|
896253e085
Factor out some of the common homeserver setup code into a
|
преди 9 години |
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
|
преди 9 години |
Erik Johnston
|
3fecacd86b
Fix replication tests
|
преди 9 години |
Matthew Hodgson
|
8ada2d2018
fix UTs by telling all the mock stores about the new methods for tracking retries
|
преди 9 години |
Mark Haines
|
c5eabe3143
replace user_id with sender
|
преди 10 години |
Mark Haines
|
cb4b6c844a
Merge PDUs and Events into one object
|
преди 10 години |
Mark Haines
|
8d8a133c89
SYN-103: Remove "origin" and "destination" keys from edus
|
преди 10 години |
Erik Johnston
|
24305ba5bf
Fix up federation tests
|
преди 10 години |
Mark Haines
|
dc3c2823ac
Merge branch 'develop' into event_signing
|
преди 10 години |
Mark Haines
|
82c5820767
keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating schema
|
преди 10 години |
Mark Haines
|
f5cf7ac25b
SPEC-7: Rename 'ts' to 'origin_server_ts'
|
преди 10 години |
Mark Haines
|
bb04447c44
Include hashes of previous pdus when referencing them
|
преди 10 години |
Mark Haines
|
1c445f88f6
persist hashes and origin signatures for PDUs
|
преди 10 години |
Mark Haines
|
9aed791fc3
SYN-103: Ignore the 'origin' key in received EDUs. Instead take the origin from the transaction itself
|
преди 10 години |
Mark Haines
|
6684855767
Verify signatures for server2server requests
|
преди 10 години |
Mark Haines
|
10ef8e6e4b
SYN-75 sign at the request level rather than the transaction level
|
преди 10 години |
Mark Haines
|
984e207b59
Merge branch develop into server2server_signing
|
преди 10 години |
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 години |
Mark Haines
|
b95a178584
SYN-75 Verify signatures on server to server transactions
|
преди 10 години |
Mark Haines
|
52ca867670
Sign federation transactions
|
преди 10 години |
Erik Johnston
|
0897a09f49
Fix unit tests after adding extra argument on put_json
|
преди 10 години |
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 години |
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 години |
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 години |
Mark Haines
|
64e2a5d58e
Move pdu and event persistence into a single persist_event function
|
преди 10 години |
Paul "LeoNerd" Evans
|
bb793019a5
Rename MockHttpServer to MockHttpResource as it stands for one server resource rather than an entire server
|
преди 10 години |
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 години |
Paul "LeoNerd" Evans
|
fc778e2bce
Move MockClock into tests.utils so we can reüse it
|
преди 10 години |
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 години |