summary refs log tree commit diff
path: root/synapse/federation (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix pyflakes warningsMark Haines2014-10-271-0/+2
|
* Merge branch 'develop' into event_signingMark Haines2014-10-271-7/+20
|\
| * Check that we have auth headers and fail nicelyErik Johnston2014-10-171-0/+5
| |
| * More log lines.Erik Johnston2014-10-171-7/+15
| |
* | Remove signatures from pdu when computing hashes to use for prev pdus, make ↵Mark Haines2014-10-171-1/+1
| | | | | | | | sure is_state is a boolean.
* | Merge branch 'develop' into event_signingMark Haines2014-10-174-13/+14
|\| | | | | | | | | Conflicts: synapse/federation/replication.py
| * keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating ↵Mark Haines2014-10-171-0/+1
| | | | | | | | schema
| * SPEC-7: Rename 'ts' to 'origin_server_ts'Mark Haines2014-10-174-13/+13
| |
* | Rename 'meta' to 'unsigned'Mark Haines2014-10-172-8/+7
| |
* | move 'age' into 'meta' subdict so that it is clearer that it is not part of ↵Mark Haines2014-10-172-7/+19
| | | | | | | | the signed data
* | Hash the same content covered by the signature when referencing previous ↵Mark Haines2014-10-171-2/+4
| | | | | | | | PDUs rather than reusing the PDU content hashes
* | Include hashes of previous pdus when referencing themMark Haines2014-10-163-11/+14
| |
* | Sign outgoing PDUs.Mark Haines2014-10-161-1/+5
| |
* | persist hashes and origin signatures for PDUsMark Haines2014-10-151-1/+16
|/
* SYN-103: Ignore the 'origin' key in received EDUs. Instead take the origin ↵Mark Haines2014-10-142-3/+7
| | | | from the transaction itself
* Respond with more helpful error messages for unsigned requestsMark Haines2014-10-131-2/+2
|
* Raise a SynapseError if the authorisation header is missing or malformedMark Haines2014-10-131-19/+27
|
* Remove debug logging, raise a proper SynapseError if the auth header is missingMark Haines2014-10-131-5/+4
|
* Verify signatures for server2server requestsMark Haines2014-10-132-22/+89
|
* SYN-75 sign at the request level rather than the transaction levelMark Haines2014-10-133-28/+8
|
* Merge branch develop into server2server_signingMark Haines2014-10-132-4/+8
|\ | | | | | | | | Conflicts: synapse/app/homeserver.py
| * Add a keyword argument to get_json to avoid retrying on DNS failures. Rather ↵Mark Haines2014-10-022-4/+8
| | | | | | | | than passing MatrixHttpClient.RETRY_DNS_LOOKUP_FAILURES as a fake query string parameter
* | SYN-75 Verify signatures on server to server transactionsMark Haines2014-09-303-23/+26
| |
* | Sign federation transactionsMark Haines2014-09-241-1/+8
|/
* Fix bug where we incorrectly calculated 'age_ts' from 'age' key rather than ↵Erik Johnston2014-09-151-2/+3
| | | | the reverse. Don't transmit age_ts to clients for now.
* Fix 'age' key to update on retriesErik Johnston2014-09-152-5/+31
|
* Correctly handle the 'age' key in events and pdusErik Johnston2014-09-151-3/+12
|
* Make the state resolution use actual power levels rather than taking them ↵Erik Johnston2014-09-121-0/+1
| | | | from a Pdu key.
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-036-6/+6
| | | | hasn't been incorporated in time for launch.
* Don't eat federation transmit errors during unit tests; fix remote presence ↵Paul "LeoNerd" Evans2014-09-031-1/+0
| | | | EDU-sending test because of this
* Add all the necessary checks to make banning work.Erik Johnston2014-09-011-0/+1
|
* Fix a couple of bugs in presence handler related to pushing updatesto the ↵Erik Johnston2014-08-291-0/+2
| | | | correct user. Fix presence tests.
* Avoid AlreadyCalledError from EDU sending failuresPaul "LeoNerd" Evans2014-08-281-1/+2
|
* Remove unused populate_previous_pdusMark Haines2014-08-272-21/+0
|
* Fold federation/handler into handlers/federationMark Haines2014-08-261-156/+0
|
* Use store.persist_event rather than ↵Mark Haines2014-08-262-21/+2
| | | | pdu_actions.persist_outgoing/pdu_actions.persist_received
* Move pdu and event persistence into a single persist_event functionMark Haines2014-08-261-28/+2
|
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-261-2/+2
|\ | | | | | | | | | | | | Conflicts: synapse/api/auth.py synapse/handlers/room.py synapse/storage/__init__.py
| * Ensure that we don't have duplicate hosts in the pdu destinations listErik Johnston2014-08-241-2/+2
| |
* | Take a snapshot of the state of the room before performing updatesMark Haines2014-08-221-6/+5
|/
* Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-191-0/+1
|\ | | | | | | | | | | | | Conflicts: tests/rest/test_presence.py tests/rest/test_rooms.py tests/utils.py
| * Ensure that federation's .send_edu() returns a DeferredPaul "LeoNerd" Evans2014-08-191-0/+1
| |
* | Add a 'backfill room' buttonErik Johnston2014-08-192-10/+21
| |
* | Add two different columns for ordering the events table, one which can be ↵Erik Johnston2014-08-181-2/+2
|/ | | | used for pagination and one which can be as tokens for notifying clients. Also add a 'processed' field which is currently always set to True
* Added a urls module for keeping client and federation prefixes.Kegan Dougal2014-08-141-3/+1
|
* Make federation use resource_for_federation as well.Kegan Dougal2014-08-141-1/+1
|
* when we're talking about backfilling data in federation, call it backfilling ↵Matthew Hodgson2014-08-134-31/+31
| | | | - not pagination.
* Define the concept of a 'federation Query'; creating API for making and ↵Paul "LeoNerd" Evans2014-08-132-0/+75
| | | | handling Queries on the Federation's increasingly-inaccurately-named ReplicationLayer
* Namespace all the Federation HTTP URLs to /matrix/federation/v1/...Paul "LeoNerd" Evans2014-08-131-15/+18
|
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-137-0/+7
|
* Reference Matrix Home Servermatrix.org2014-08-127-0/+1790