Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Retry make_join | Erik Johnston | 2015-02-04 | 1 | -7/+12 |
| | |||||
* | New line | Erik Johnston | 2015-02-03 | 1 | -1/+1 |
| | |||||
* | Actually, the old prune_event function was non-deterministic, so no point ↵ | Erik Johnston | 2015-02-03 | 1 | -12/+4 |
| | | | | keeping it around :( | ||||
* | Remove unused imports | Erik Johnston | 2015-02-03 | 1 | -5/+0 |
| | |||||
* | Add new FederationBase | Erik Johnston | 2015-02-03 | 1 | -0/+126 |
| | |||||
* | Keep around the old (buggy) version of the prune_event function so that we ↵ | Erik Johnston | 2015-02-03 | 2 | -135/+13 |
| | | | | can use it to check signatures for events on old servers | ||||
* | PEP8 | Erik Johnston | 2015-02-03 | 1 | -1/+0 |
| | |||||
* | Don't bother requesting PDUs with bad signatures from the same server | Erik Johnston | 2015-02-02 | 1 | -16/+17 |
| | |||||
* | Don't fail an entire request if one of the returned events fails a signature ↵ | Erik Johnston | 2015-02-02 | 1 | -26/+81 |
| | | | | check. If an event does fail a signature check, look in the local database and request it from the originator. | ||||
* | Briefly doc structure of query_auth API. | Erik Johnston | 2015-01-30 | 1 | -0/+18 |
| | |||||
* | Fix bug where we superfluously asked for current state. Change API of ↵ | Erik Johnston | 2015-01-30 | 2 | -12/+7 |
| | | | | /query_auth/ so that we don't duplicate events in the response. | ||||
* | Fix regression where we no longer correctly handled the case of gaps in our ↵ | Erik Johnston | 2015-01-30 | 1 | -0/+3 |
| | | | | event graph | ||||
* | Initial implementation of auth conflict resolution | Erik Johnston | 2015-01-29 | 4 | -2/+70 |
| | |||||
* | Start implementing auth conflict res | Erik Johnston | 2015-01-28 | 1 | -0/+39 |
| | |||||
* | Make it the responsibility of the replication layer to check signature and ↵ | Erik Johnston | 2015-01-26 | 3 | -26/+173 |
| | | | | hashes. | ||||
* | Split up replication_layer module into client, server and transaction queue | Erik Johnston | 2015-01-26 | 4 | -602/+653 |
| | |||||
* | Split out TransactionQueue from replication layer | Erik Johnston | 2015-01-22 | 2 | -289/+316 |
| | |||||
* | Finish renaming "context" to "room_id" in federation codebase | Mark Haines | 2015-01-16 | 3 | -88/+54 |
| | |||||
* | Fold _do_request_for_transaction into the methods that called it since it ↵ | Mark Haines | 2015-01-16 | 1 | -44/+11 |
| | | | | was a trivial wrapper around client.get_json | ||||
* | Split transport layer into client and server parts | Mark Haines | 2015-01-16 | 3 | -272/+321 |
| | |||||
* | Add some logging for when we are sending transactions. | Matrix | 2015-01-06 | 1 | -0/+6 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 5 | -5/+5 |
| | |||||
* | Supply auth_chain along with current state in '/state/', fetch auth events ↵ | Mark Haines | 2014-12-18 | 1 | -7/+20 |
| | | | | from a remote server if we are missing some of them | ||||
* | Use is_outlier() so that we don't get AttributeError | Erik Johnston | 2014-12-16 | 1 | -3/+3 |
| | |||||
* | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 1 | -1/+0 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-10 | 2 | -10/+85 |
|\ | |||||
| * | Code style. | Erik Johnston | 2014-12-10 | 1 | -17/+35 |
| | | |||||
| * | plateau retries after 1h | Matthew Hodgson | 2014-12-10 | 1 | -3/+6 |
| | | |||||
| * | add errbacks to enqueue_pdu deferreds; change logging for failed federation ↵ | Matthew Hodgson | 2014-12-10 | 1 | -6/+10 |
| | | | | | | | | sends to warn rather than exception | ||||
| * | squidge to 79 columns as per pep8 | Matthew Hodgson | 2014-12-10 | 1 | -10/+20 |
| | | |||||
| * | fix a million stupid bugs and make it actually work | Matthew Hodgson | 2014-12-08 | 1 | -8/+17 |
| | | |||||
| * | actually reset retry schedule if we can successfuly talk to it | Matthew Hodgson | 2014-12-08 | 1 | -0/+3 |
| | | |||||
| * | fix stupid syntax thinkos | Matthew Hodgson | 2014-12-07 | 1 | -12/+11 |
| | | |||||
| * | track replication destination health, and perform exponential back-off when ↵ | Matthew Hodgson | 2014-12-07 | 2 | -8/+37 |
| | | | | | | | | sending transactions. does *not* yet retry transactions, but drops them on the floor if waiting for a server to recover. | ||||
* | | Try and figure out how and why signatures are being changed. | Erik Johnston | 2014-12-10 | 1 | -3/+6 |
| | | |||||
* | | More bug fixes | Erik Johnston | 2014-12-08 | 1 | -1/+1 |
| | | |||||
* | | Various typos and bug fixes. | Erik Johnston | 2014-12-08 | 1 | -3/+9 |
| | | |||||
* | | Convert rest and handlers to use new event structure | Erik Johnston | 2014-12-04 | 1 | -11/+7 |
| | | |||||
* | | Begin converting things to use the new Event structure | Erik Johnston | 2014-12-04 | 1 | -7/+5 |
|/ | |||||
* | Fix bug where did not always resolve all the deferreds in ↵ | Erik Johnston | 2014-12-03 | 1 | -2/+6 |
| | | | | _attempt_new_transaction | ||||
* | Change the way we get missing auth and state events | Erik Johnston | 2014-11-27 | 1 | -28/+45 |
| | |||||
* | Correctly handle the case where we get an event for an unknown room, which ↵ | Erik Johnston | 2014-11-26 | 1 | -2/+14 |
| | | | | turns out we are actually in | ||||
* | Fix bugs in invite/join dances. | Erik Johnston | 2014-11-25 | 1 | -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 outlier | Erik Johnston | 2014-11-24 | 1 | -0/+1 |
| | |||||
* | Ask for any auth events that we don't have | Erik Johnston | 2014-11-24 | 1 | -0/+15 |
| | |||||
* | We don't always want to Auth get_persisted_pdu | Erik Johnston | 2014-11-24 | 1 | -4/+12 |
| | |||||
* | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 2 | -4/+7 |
| | |||||
* | Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵ | Mark Haines | 2014-11-20 | 1 | -13/+18 |
| | | | | because they don't interact well with the logging contexts | ||||
* | Fix backfill request | Erik Johnston | 2014-11-19 | 1 | -1/+1 |
| | |||||
* | replace user_id with sender | Mark Haines | 2014-11-19 | 1 | -0/+3 |
| | |||||
* | SYN-144: Remove bad keys from pdu json objects, convert age_ts to age | Mark Haines | 2014-11-18 | 1 | -14/+17 |
| | | | | for all pdus sent. | ||||
* | SYN-141: Decode the query params as UTF-8 | Mark Haines | 2014-11-18 | 1 | -1/+2 |
| | |||||
* | Merge PDUs and Events into one object | Mark Haines | 2014-11-14 | 3 | -151/+43 |
| | |||||
* | SYN-103: Remove "origin" and "destination" keys from edus | Mark Haines | 2014-11-13 | 1 | -5/+4 |
| | |||||
* | Fix pyflake warnings and add a FIXME comment to deal with auth_chains ↵ | Erik Johnston | 2014-11-12 | 1 | -3/+6 |
| | | | | received when joining | ||||
* | Fix bugs with invites/joins across federatiom. | Erik Johnston | 2014-11-12 | 1 | -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 Johnston | 2014-11-11 | 1 | -2/+2 |
| | |||||
* | PEP8 | Erik Johnston | 2014-11-10 | 3 | -8/+9 |
| | |||||
* | Remove useless comments | Erik Johnston | 2014-11-10 | 1 | -23/+0 |
| | |||||
* | Add auth to the various server-server APIs | Erik Johnston | 2014-11-10 | 2 | -7/+10 |
| | |||||
* | Fix backfill to work. Add auth to backfill request | Erik Johnston | 2014-11-10 | 2 | -11/+31 |
| | |||||
* | Finish redaction algorithm. | Erik Johnston | 2014-11-10 | 1 | -4/+2 |
| | |||||
* | Add '/event_auth/' federation api | Erik Johnston | 2014-11-07 | 2 | -0/+31 |
| | |||||
* | Implement invite part of invite join dance | Erik Johnston | 2014-11-07 | 1 | -1/+14 |
| | |||||
* | Remove /context/ request | Erik Johnston | 2014-11-07 | 2 | -16/+0 |
| | |||||
* | Return auth chain when handling send_join | Erik Johnston | 2014-11-07 | 1 | -5/+15 |
| | |||||
* | Fix bug in replication | Erik Johnston | 2014-11-04 | 1 | -1/+1 |
| | |||||
* | PEP8 | Erik Johnston | 2014-11-04 | 1 | -4/+13 |
| | |||||
* | Add support for sending failures | Erik Johnston | 2014-11-04 | 2 | -2/+29 |
| | |||||
* | Remove unused interface | Erik Johnston | 2014-11-04 | 1 | -8/+0 |
| | |||||
* | Remove unused imports | Erik Johnston | 2014-11-04 | 2 | -5/+0 |
| | |||||
* | Fix bugs in generating event signatures and hashing | Erik Johnston | 2014-11-03 | 2 | -21/+3 |
| | |||||
* | Rename PDU fields to match that of events. | Erik Johnston | 2014-11-03 | 4 | -308/+74 |
| | |||||
* | For now, don't store txn -> pdu mappings. | Erik Johnston | 2014-11-03 | 1 | -1/+0 |
| | |||||
* | Remove more references to dead PDU tables | Erik Johnston | 2014-10-31 | 1 | -2/+2 |
| | |||||
* | Remove PDU tables. | Erik Johnston | 2014-10-31 | 2 | -71/+1 |
| | |||||
* | Actually don't store any PDUs | Erik Johnston | 2014-10-31 | 1 | -14/+13 |
| | |||||
* | Don't store any PDUs | Erik Johnston | 2014-10-31 | 1 | -23/+24 |
| | |||||
* | Move the impl of backfill to use events. | Erik Johnston | 2014-10-31 | 1 | -3/+3 |
| | |||||
* | Convert event ids to be of the form :example.com | Erik Johnston | 2014-10-30 | 1 | -19/+16 |
| | |||||
* | Start filling out and using new events tables | Erik Johnston | 2014-10-29 | 1 | -3/+9 |
| | |||||
* | Begin implementing all the PDU storage stuff in Events land | Erik Johnston | 2014-10-28 | 1 | -4/+7 |
| | |||||
* | Merge branch 'event_signing' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-27 | 3 | -21/+58 |
|\ | | | | | | | | | | | | | federation_authorization Conflicts: synapse/storage/__init__.py | ||||
| * | fix pyflakes warnings | Mark Haines | 2014-10-27 | 1 | -0/+2 |
| | | |||||
| * | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-27 | 1 | -7/+20 |
| |\ | |||||
| * | | Remove signatures from pdu when computing hashes to use for prev pdus, make ↵ | Mark Haines | 2014-10-17 | 1 | -1/+1 |
| | | | | | | | | | | | | sure is_state is a boolean. | ||||
| * | | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-17 | 4 | -13/+14 |
| |\ \ | | | | | | | | | | | | | | | | | Conflicts: synapse/federation/replication.py | ||||
| * | | | Rename 'meta' to 'unsigned' | Mark Haines | 2014-10-17 | 2 | -8/+7 |
| | | | | |||||
| * | | | move 'age' into 'meta' subdict so that it is clearer that it is not part of ↵ | Mark Haines | 2014-10-17 | 2 | -7/+19 |
| | | | | | | | | | | | | | | | | the signed data | ||||
| * | | | Hash the same content covered by the signature when referencing previous ↵ | Mark Haines | 2014-10-17 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | PDUs rather than reusing the PDU content hashes | ||||
| * | | | Include hashes of previous pdus when referencing them | Mark Haines | 2014-10-16 | 3 | -11/+14 |
| | | | | |||||
| * | | | Sign outgoing PDUs. | Mark Haines | 2014-10-16 | 1 | -1/+5 |
| | | | | |||||
| * | | | persist hashes and origin signatures for PDUs | Mark Haines | 2014-10-15 | 1 | -1/+16 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-27 | 5 | -21/+35 |
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | federation_authorization Conflicts: synapse/federation/transport.py synapse/handlers/message.py | ||||
| * | | | Check that we have auth headers and fail nicely | Erik Johnston | 2014-10-17 | 1 | -0/+5 |
| | | | | |||||
| * | | | More log lines. | Erik Johnston | 2014-10-17 | 1 | -7/+15 |
| | |/ | |/| | |||||
| * | | keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating ↵ | Mark Haines | 2014-10-17 | 1 | -0/+1 |
| | | | | | | | | | | | | schema | ||||
| * | | SPEC-7: Rename 'ts' to 'origin_server_ts' | Mark Haines | 2014-10-17 | 4 | -13/+13 |
| |/ | |||||
| * | SYN-103: Ignore the 'origin' key in received EDUs. Instead take the origin ↵ | Mark Haines | 2014-10-14 | 2 | -3/+7 |
| | | | | | | | | from the transaction itself | ||||
* | | Use state groups to get current state. Make join dance actually work. | Erik Johnston | 2014-10-17 | 2 | -6/+68 |
| | | |||||
* | | Finish implementing the new join dance. | Erik Johnston | 2014-10-17 | 2 | -24/+110 |
| | | |||||
* | | Start implementing the invite/join dance. Continue moving auth to use ↵ | Erik Johnston | 2014-10-16 | 2 | -4/+52 |
|/ | | | | event.state_events | ||||
* | Respond with more helpful error messages for unsigned requests | Mark Haines | 2014-10-13 | 1 | -2/+2 |
| | |||||
* | Raise a SynapseError if the authorisation header is missing or malformed | Mark Haines | 2014-10-13 | 1 | -19/+27 |
| | |||||
* | Remove debug logging, raise a proper SynapseError if the auth header is missing | Mark Haines | 2014-10-13 | 1 | -5/+4 |
| | |||||
* | Verify signatures for server2server requests | Mark Haines | 2014-10-13 | 2 | -22/+89 |
| | |||||
* | SYN-75 sign at the request level rather than the transaction level | Mark Haines | 2014-10-13 | 3 | -28/+8 |
| | |||||
* | Merge branch develop into server2server_signing | Mark Haines | 2014-10-13 | 2 | -4/+8 |
|\ | | | | | | | | | Conflicts: synapse/app/homeserver.py | ||||
| * | Add a keyword argument to get_json to avoid retrying on DNS failures. Rather ↵ | Mark Haines | 2014-10-02 | 2 | -4/+8 |
| | | | | | | | | than passing MatrixHttpClient.RETRY_DNS_LOOKUP_FAILURES as a fake query string parameter | ||||
* | | SYN-75 Verify signatures on server to server transactions | Mark Haines | 2014-09-30 | 3 | -23/+26 |
| | | |||||
* | | Sign federation transactions | Mark Haines | 2014-09-24 | 1 | -1/+8 |
|/ | |||||
* | Fix bug where we incorrectly calculated 'age_ts' from 'age' key rather than ↵ | Erik Johnston | 2014-09-15 | 1 | -2/+3 |
| | | | | the reverse. Don't transmit age_ts to clients for now. | ||||
* | Fix 'age' key to update on retries | Erik Johnston | 2014-09-15 | 2 | -5/+31 |
| | |||||
* | Correctly handle the 'age' key in events and pdus | Erik Johnston | 2014-09-15 | 1 | -3/+12 |
| | |||||
* | Make the state resolution use actual power levels rather than taking them ↵ | Erik Johnston | 2014-09-12 | 1 | -0/+1 |
| | | | | from a Pdu key. | ||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 6 | -6/+6 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Don't eat federation transmit errors during unit tests; fix remote presence ↵ | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -1/+0 |
| | | | | EDU-sending test because of this | ||||
* | Add all the necessary checks to make banning work. | Erik Johnston | 2014-09-01 | 1 | -0/+1 |
| | |||||
* | Fix a couple of bugs in presence handler related to pushing updatesto the ↵ | Erik Johnston | 2014-08-29 | 1 | -0/+2 |
| | | | | correct user. Fix presence tests. | ||||
* | Avoid AlreadyCalledError from EDU sending failures | Paul "LeoNerd" Evans | 2014-08-28 | 1 | -1/+2 |
| | |||||
* | Remove unused populate_previous_pdus | Mark Haines | 2014-08-27 | 2 | -21/+0 |
| | |||||
* | Fold federation/handler into handlers/federation | Mark Haines | 2014-08-26 | 1 | -156/+0 |
| | |||||
* | Use store.persist_event rather than ↵ | Mark Haines | 2014-08-26 | 2 | -21/+2 |
| | | | | pdu_actions.persist_outgoing/pdu_actions.persist_received | ||||
* | Move pdu and event persistence into a single persist_event function | Mark Haines | 2014-08-26 | 1 | -28/+2 |
| | |||||
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-26 | 1 | -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 list | Erik Johnston | 2014-08-24 | 1 | -2/+2 |
| | | |||||
* | | Take a snapshot of the state of the room before performing updates | Mark Haines | 2014-08-22 | 1 | -6/+5 |
|/ | |||||
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-19 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | Conflicts: tests/rest/test_presence.py tests/rest/test_rooms.py tests/utils.py | ||||
| * | Ensure that federation's .send_edu() returns a Deferred | Paul "LeoNerd" Evans | 2014-08-19 | 1 | -0/+1 |
| | | |||||
* | | Add a 'backfill room' button | Erik Johnston | 2014-08-19 | 2 | -10/+21 |
| | | |||||
* | | Add two different columns for ordering the events table, one which can be ↵ | Erik Johnston | 2014-08-18 | 1 | -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 Dougal | 2014-08-14 | 1 | -3/+1 |
| | |||||
* | Make federation use resource_for_federation as well. | Kegan Dougal | 2014-08-14 | 1 | -1/+1 |
| | |||||
* | when we're talking about backfilling data in federation, call it backfilling ↵ | Matthew Hodgson | 2014-08-13 | 4 | -31/+31 |
| | | | | - not pagination. | ||||
* | Define the concept of a 'federation Query'; creating API for making and ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 2 | -0/+75 |
| | | | | handling Queries on the Federation's increasingly-inaccurately-named ReplicationLayer | ||||
* | Namespace all the Federation HTTP URLs to /matrix/federation/v1/... | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -15/+18 |
| | |||||
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 7 | -0/+7 |
| | |||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 7 | -0/+1790 |