summary refs log tree commit diff
path: root/synapse/federation/replication.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* plateau retries after 1hMatthew Hodgson2014-12-101-3/+6
|
* add errbacks to enqueue_pdu deferreds; change logging for failed federation ↵Matthew Hodgson2014-12-101-6/+10
| | | | sends to warn rather than exception
* squidge to 79 columns as per pep8Matthew Hodgson2014-12-101-10/+20
|
* fix a million stupid bugs and make it actually workMatthew Hodgson2014-12-081-8/+17
|
* actually reset retry schedule if we can successfuly talk to itMatthew Hodgson2014-12-081-0/+3
|
* fix stupid syntax thinkosMatthew Hodgson2014-12-071-12/+11
|
* track replication destination health, and perform exponential back-off when ↵Matthew Hodgson2014-12-071-7/+36
| | | | sending transactions. does *not* yet retry transactions, but drops them on the floor if waiting for a server to recover.
* Fix bug where did not always resolve all the deferreds in ↵Erik Johnston2014-12-031-2/+6
| | | | _attempt_new_transaction
* Change the way we get missing auth and state eventsErik Johnston2014-11-271-28/+45
|
* Correctly handle the case where we get an event for an unknown room, which ↵Erik Johnston2014-11-261-2/+14
| | | | turns out we are actually in
* Fix bugs in invite/join dances.Erik Johnston2014-11-251-11/+31
| | | | | We now do more implement more of the auth on the events so that we don't reject valid events.
* Mark the auth events as possible outlierErik Johnston2014-11-241-0/+1
|
* Ask for any auth events that we don't haveErik Johnston2014-11-241-0/+15
|
* We don't always want to Auth get_persisted_pduErik Johnston2014-11-241-4/+12
|
* Fix pep8 codestyle warningsMark Haines2014-11-201-3/+7
|
* Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵Mark Haines2014-11-201-13/+18
| | | | because they don't interact well with the logging contexts
* replace user_id with senderMark Haines2014-11-191-0/+3
|
* SYN-144: Remove bad keys from pdu json objects, convert age_ts to ageMark Haines2014-11-181-14/+17
| | | | for all pdus sent.
* Merge PDUs and Events into one objectMark Haines2014-11-141-19/+42
|
* Fix pyflake warnings and add a FIXME comment to deal with auth_chains ↵Erik Johnston2014-11-121-3/+6
| | | | received when joining
* Fix bugs with invites/joins across federatiom.Erik Johnston2014-11-121-6/+1
| | | | | Both in terms of auth and not trying to fetch missing PDUs for invites, joins etc.
* Fix bugs which broke federation due to changes in function signatures.Erik Johnston2014-11-111-2/+2
|
* PEP8Erik Johnston2014-11-101-1/+0
|
* Remove useless commentsErik Johnston2014-11-101-23/+0
|
* Add auth to the various server-server APIsErik Johnston2014-11-101-6/+8
|
* Fix backfill to work. Add auth to backfill requestErik Johnston2014-11-101-8/+28
|
* Add '/event_auth/' federation apiErik Johnston2014-11-071-0/+5
|
* Implement invite part of invite join danceErik Johnston2014-11-071-1/+14
|
* Remove /context/ requestErik Johnston2014-11-071-7/+0
|
* Return auth chain when handling send_joinErik Johnston2014-11-071-5/+15
|
* Fix bug in replicationErik Johnston2014-11-041-1/+1
|
* PEP8Erik Johnston2014-11-041-4/+13
|
* Add support for sending failuresErik Johnston2014-11-041-2/+28
|
* Remove unused interfaceErik Johnston2014-11-041-8/+0
|
* Rename PDU fields to match that of events.Erik Johnston2014-11-031-43/+29
|
* Remove PDU tables.Erik Johnston2014-10-311-1/+1
|
* Actually don't store any PDUsErik Johnston2014-10-311-14/+13
|
* Don't store any PDUsErik Johnston2014-10-311-23/+24
|
* Move the impl of backfill to use events.Erik Johnston2014-10-311-3/+3
|
* Merge branch 'event_signing' of github.com:matrix-org/synapse into ↵Erik Johnston2014-10-271-7/+15
|\ | | | | | | | | | | | | federation_authorization Conflicts: synapse/storage/__init__.py
| * Merge branch 'develop' into event_signingMark Haines2014-10-171-2/+2
| |\ | | | | | | | | | | | | Conflicts: synapse/federation/replication.py
| * | Rename 'meta' to 'unsigned'Mark Haines2014-10-171-7/+7
| | |
| * | move 'age' into 'meta' subdict so that it is clearer that it is not part of ↵Mark Haines2014-10-171-6/+14
| | | | | | | | | | | | the signed data
| * | Include hashes of previous pdus when referencing themMark Haines2014-10-161-1/+1
| | |
* | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2014-10-271-3/+3
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | federation_authorization Conflicts: synapse/federation/transport.py synapse/handlers/message.py
| * | SPEC-7: Rename 'ts' to 'origin_server_ts'Mark Haines2014-10-171-2/+2
| |/
| * SYN-103: Ignore the 'origin' key in received EDUs. Instead take the origin ↵Mark Haines2014-10-141-1/+1
| | | | | | | | from the transaction itself
* | Use state groups to get current state. Make join dance actually work.Erik Johnston2014-10-171-1/+16
| |
* | Finish implementing the new join dance.Erik Johnston2014-10-171-16/+50
| |
* | Start implementing the invite/join dance. Continue moving auth to use ↵Erik Johnston2014-10-161-3/+19
|/ | | | event.state_events
* SYN-75 sign at the request level rather than the transaction levelMark Haines2014-10-131-13/+0
|
* Merge branch develop into server2server_signingMark Haines2014-10-131-2/+5
|\ | | | | | | | | Conflicts: synapse/app/homeserver.py
| * Add a keyword argument to get_json to avoid retrying on DNS failures. Rather ↵Mark Haines2014-10-021-2/+5
| | | | | | | | than passing MatrixHttpClient.RETRY_DNS_LOOKUP_FAILURES as a fake query string parameter
* | SYN-75 Verify signatures on server to server transactionsMark Haines2014-09-301-10/+14
| |
* | 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-151-3/+16
|
* Correctly handle the 'age' key in events and pdusErik Johnston2014-09-151-3/+12
|
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | 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
* 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-271-2/+0
|
* Use store.persist_event rather than ↵Mark Haines2014-08-261-2/+2
| | | | pdu_actions.persist_outgoing/pdu_actions.persist_received
* Ensure that we don't have duplicate hosts in the pdu destinations listErik Johnston2014-08-241-2/+2
|
* 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-191-3/+6
|/
* when we're talking about backfilling data in federation, call it backfilling ↵Matthew Hodgson2014-08-131-9/+9
| | | | - not pagination.
* Define the concept of a 'federation Query'; creating API for making and ↵Paul "LeoNerd" Evans2014-08-131-0/+50
| | | | handling Queries on the Federation's increasingly-inaccurately-named ReplicationLayer
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+582