summary refs log tree commit diff
path: root/synapse/federation (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* | | Merge branch 'erikj/join_perf' of github.com:matrix-org/synapse into erikj/ba...Erik Johnston2015-05-211-3/+3
|\ \ \ | | |/ | |/|
| * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-211-3/+3
| |\|
| | * Remove pointless newlineErik Johnston2015-05-181-1/+0
| | * Newline, remove debug loggingErik Johnston2015-05-181-2/+0
| | * Remove debug loggingErik Johnston2015-05-181-8/+0
| | * Fix daedlockErik Johnston2015-05-152-3/+14
* | | Actually fetch state for new backwards extremeties when backfilling.Erik Johnston2015-05-201-1/+5
|/ /
* | Add None checkErik Johnston2015-05-191-1/+1
* | Add a timeout param to get_eventErik Johnston2015-05-193-11/+17
|/
* Unwrap defer.gatherResults failuresErik Johnston2015-05-121-1/+3
* Change the way we do logging contexts so that they survive divergencesErik Johnston2015-05-081-24/+22
* And use buffer(...) there as wellErik Johnston2015-05-051-1/+1
* Use buffer(...) when inserting into bytea columnErik Johnston2015-05-051-3/+1
* Missed events are not outliersErik Johnston2015-05-051-1/+1
* Don't log enqueue_Erik Johnston2015-05-011-1/+0
* Split a storage function in two so that we don't have to do extra work.Erik Johnston2015-05-011-2/+2
* Add missing servlet to listErik Johnston2015-03-191-0/+1
* Appease pep8Paul "LeoNerd" Evans2015-03-121-3/+6
* Neater metrics from TransactionQueuePaul "LeoNerd" Evans2015-03-121-9/+11
* Replace the @metrics.counted annotations in federation with specifically-writ...Paul "LeoNerd" Evans2015-03-122-24/+29
* Count incoming HTTP requests per servlet that respondsPaul "LeoNerd" Evans2015-03-121-0/+4
* Use _ instead of . as a metric namespacing separator, for PrometheusPaul "LeoNerd" Evans2015-03-121-2/+2
* Rename Metrics' "keys" to "labels"Paul "LeoNerd" Evans2015-03-121-2/+2
* Put vector gauges on transaction queue pending PDU and EDU dictsPaul "LeoNerd" Evans2015-03-121-2/+14
* Initial attempt at sprinkling some @metrics.counted decorations around the fe...Paul "LeoNerd" Evans2015-03-122-0/+28
* Delete pointless (and unreachable) __init__ method from FederationClientPaul "LeoNerd" Evans2015-03-121-2/+0
* Fix bug in logging.Erik Johnston2015-03-101-5/+5
* Fix bug in logging.Erik Johnston2015-03-101-1/+1
* Merge pull request #101 from matrix-org/neaten-federation-servletsErik Johnston2015-03-091-182/+157
|\
| * Appease pep8Paul "LeoNerd" Evans2015-03-051-19/+27
| * Append a $ on PATH at registration time, meaning each PATH attribute doesn't ...Paul "LeoNerd" Evans2015-03-051-13/+14
| * Slightly neater(?) arrangement of authentication wrapper for HTTP servlet met...Paul "LeoNerd" Evans2015-03-051-25/+37
| * Remove the dead 'rate_limit_origin' method from TransportLayerServerPaul "LeoNerd" Evans2015-03-051-6/+0
| * Move federation API responding code out of weird mix of lambdas into Servlet-...Paul "LeoNerd" Evans2015-03-051-170/+130
* | DocsErik Johnston2015-03-051-0/+2
* | Remove unecessary checkErik Johnston2015-03-051-6/+0
* | Respect min_depth argumentErik Johnston2015-03-051-4/+6
* | Docs.Erik Johnston2015-03-051-0/+16
* | Handle if get_missing_pdu returns 400 or not all events.Erik Johnston2015-03-052-15/+100
|/
* Merge branch 'develop' of github.com:matrix-org/synapse into batched_get_pduErik Johnston2015-03-023-31/+36
|\
| * Merge branch 'develop' of github.com:matrix-org/synapse into federation_rate_...Erik Johnston2015-03-021-20/+12
| |\
| | * If we're yielding don't add errbackErik Johnston2015-03-021-7/+3
| | * Process transactions serially.Erik Johnston2015-03-021-14/+10
| * | Make the federation server ratelimiting configurable.Erik Johnston2015-03-021-5/+5
| * | Move federation rate limiting out of transport layerErik Johnston2015-02-272-204/+4
| * | Document FederationRateLimiterErik Johnston2015-02-271-8/+51
| * | Initial implementation of federation server rate limitingErik Johnston2015-02-262-5/+182
| |/
* | Must update pending_transactions map before yield'ingErik Johnston2015-02-261-2/+2
* | Implement and use new batched get missing pduErik Johnston2015-02-235-100/+121
* | Initial stab at implementing a batched get_missing_pdus requestErik Johnston2015-02-191-0/+72
|/
* Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.7.1Erik Johnston2015-02-181-3/+27
|\
| * Restrict the destinations that synapse can talk toMark Haines2015-02-181-3/+27
* | Add errback to all deferreds in transaction_queueErik Johnston2015-02-181-14/+23
* | Discard destination 'localhost'Erik Johnston2015-02-181-2/+2
* | Don't send failure to selfErik Johnston2015-02-181-0/+3
|/
* Fix pyflakesErik Johnston2015-02-181-1/+0
* Merge branch 'keyclient_retry_scheme' of github.com:matrix-org/synapse into d...Erik Johnston2015-02-182-104/+88
|\
| * Try to only back off if we think we failed to connect to the remoteErik Johnston2015-02-171-33/+33
| * Add per server retry limiting.Erik Johnston2015-02-172-107/+90
* | Merge pull request #77 from matrix-org/failuresErik Johnston2015-02-182-4/+39
|\ \
| * | Remove debug raiseErik Johnston2015-02-171-7/+0
| * | Merge branch 'develop' of github.com:matrix-org/synapse into failuresErik Johnston2015-02-171-5/+8
| |\ \
| * | | Format the response of transaction request in a nicer wayErik Johnston2015-02-172-6/+35
| * | | Actually respond with JSON to incoming transactionErik Johnston2015-02-171-0/+2
| * | | Handle recieving failures in transactionsErik Johnston2015-02-171-1/+12
* | | | Merge pull request #79 from matrix-org/get_pdu_limitingErik Johnston2015-02-181-3/+39
|\ \ \ \ | |_|_|/ |/| | |
| * | | Rename _fail_fetch_pdu_cache to _get_pdu_cacheErik Johnston2015-02-181-8/+8
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into get_pdu_limitingErik Johnston2015-02-171-5/+8
| |\ \ \ | | | |/ | | |/|
| * | | Cache results of get_pdu.Erik Johnston2015-02-161-3/+39
* | | | Merge branch 'consumeErrors' of github.com:matrix-org/synapse into developErik Johnston2015-02-172-2/+2
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/|
| * | Use consumeErrors=True on all DeferredLists.Erik Johnston2015-02-172-2/+2
| |/
* | Mark old events as outliers.Erik Johnston2015-02-161-1/+7
* | Don't return anything from _handle_new_pdu, since we ignore the return value ...Erik Johnston2015-02-161-4/+1
|/
* Fix loggingErik Johnston2015-02-121-1/+4
* Parrellize fetching of eventsErik Johnston2015-02-121-3/+11
* Correctly handle all the places that can throw exceptionsErik Johnston2015-02-122-13/+20
* Merge pull request #61 from matrix-org/timeout-federation-requestsErik Johnston2015-02-111-0/+2
|\
| * Fix so timing out connections to actually work.Erik Johnston2015-02-111-0/+2
* | Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder...Erik Johnston2015-02-111-3/+4
* | Blunty replace json with simplejsonErik Johnston2015-02-112-2/+2
|/
* Log all the exits from _attempt_new_transactionErik Johnston2015-02-101-2/+7
* Sign auth_chains when returned by /state/ requestsErik Johnston2015-02-101-0/+11
* Connection errors in twisted aren't RuntimeErrorsErik Johnston2015-02-051-2/+2
* Pass through list of room hosts from room alias query to federation so that i...Erik Johnston2015-02-051-1/+4
* Apply sanity to the transport client interface. Convert 'make_join' and 'send...Erik Johnston2015-02-043-62/+85
* Retry make_joinErik Johnston2015-02-041-7/+12
* New lineErik Johnston2015-02-031-1/+1
* Actually, the old prune_event function was non-deterministic, so no point kee...Erik Johnston2015-02-031-12/+4
* Remove unused importsErik Johnston2015-02-031-5/+0
* Add new FederationBaseErik Johnston2015-02-031-0/+126
* Keep around the old (buggy) version of the prune_event function so that we ca...Erik Johnston2015-02-032-135/+13
* PEP8Erik Johnston2015-02-031-1/+0
* Don't bother requesting PDUs with bad signatures from the same serverErik Johnston2015-02-021-16/+17
* Don't fail an entire request if one of the returned events fails a signature ...Erik Johnston2015-02-021-26/+81
* Briefly doc structure of query_auth API.Erik Johnston2015-01-301-0/+18
* Fix bug where we superfluously asked for current state. Change API of /query_...Erik Johnston2015-01-302-12/+7
* Fix regression where we no longer correctly handled the case of gaps in our e...Erik Johnston2015-01-301-0/+3
* Initial implementation of auth conflict resolutionErik Johnston2015-01-294-2/+70
* Start implementing auth conflict resErik Johnston2015-01-281-0/+39
* Make it the responsibility of the replication layer to check signature and ha...Erik Johnston2015-01-263-26/+173
* Split up replication_layer module into client, server and transaction queueErik Johnston2015-01-264-602/+653
* Split out TransactionQueue from replication layerErik Johnston2015-01-222-289/+316
* Finish renaming "context" to "room_id" in federation codebaseMark Haines2015-01-163-88/+54
* Fold _do_request_for_transaction into the methods that called it since it was...Mark Haines2015-01-161-44/+11
* Split transport layer into client and server partsMark Haines2015-01-163-272/+321
* Add some logging for when we are sending transactions.Matrix2015-01-061-0/+6
* Update copyright noticesMark Haines2015-01-065-5/+5
* Supply auth_chain along with current state in '/state/', fetch auth events fr...Mark Haines2014-12-181-7/+20
* Use is_outlier() so that we don't get AttributeErrorErik Johnston2014-12-161-3/+3
* Kill off synapse.api.events.*Erik Johnston2014-12-161-1/+0
* Merge branch 'develop' of github.com:matrix-org/synapse into events_refactorErik Johnston2014-12-102-10/+85
|\
| * Code style.Erik Johnston2014-12-101-17/+35
| * plateau retries after 1hMatthew Hodgson2014-12-101-3/+6
| * add errbacks to enqueue_pdu deferreds; change logging for failed federation s...Matthew Hodgson2014-12-101-6/+10
| * 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 s...Matthew Hodgson2014-12-072-8/+37
* | Try and figure out how and why signatures are being changed.Erik Johnston2014-12-101-3/+6
* | More bug fixesErik Johnston2014-12-081-1/+1
* | Various typos and bug fixes.Erik Johnston2014-12-081-3/+9
* | Convert rest and handlers to use new event structureErik Johnston2014-12-041-11/+7
* | Begin converting things to use the new Event structureErik Johnston2014-12-041-7/+5
|/
* Fix bug where did not always resolve all the deferreds in _attempt_new_transa...Erik Johnston2014-12-031-2/+6
* 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 tu...Erik Johnston2014-11-261-2/+14
* Fix bugs in invite/join dances.Erik Johnston2014-11-251-11/+31
* 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-202-4/+7
* Add a few missing yields, Move deferred lists inside PreserveLoggingContext b...Mark Haines2014-11-201-13/+18
* Fix backfill requestErik Johnston2014-11-191-1/+1
* 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
* SYN-141: Decode the query params as UTF-8Mark Haines2014-11-181-1/+2
* Merge PDUs and Events into one objectMark Haines2014-11-143-151/+43
* SYN-103: Remove "origin" and "destination" keys from edusMark Haines2014-11-131-5/+4
* Fix pyflake warnings and add a FIXME comment to deal with auth_chains receive...Erik Johnston2014-11-121-3/+6
* Fix bugs with invites/joins across federatiom.Erik Johnston2014-11-121-6/+1
* Fix bugs which broke federation due to changes in function signatures.Erik Johnston2014-11-111-2/+2
* PEP8Erik Johnston2014-11-103-8/+9
* Remove useless commentsErik Johnston2014-11-101-23/+0
* Add auth to the various server-server APIsErik Johnston2014-11-102-7/+10
* Fix backfill to work. Add auth to backfill requestErik Johnston2014-11-102-11/+31
* Finish redaction algorithm.Erik Johnston2014-11-101-4/+2
* Add '/event_auth/' federation apiErik Johnston2014-11-072-0/+31
* Implement invite part of invite join danceErik Johnston2014-11-071-1/+14
* Remove /context/ requestErik Johnston2014-11-072-16/+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-042-2/+29
* Remove unused interfaceErik Johnston2014-11-041-8/+0
* Remove unused importsErik Johnston2014-11-042-5/+0
* Fix bugs in generating event signatures and hashingErik Johnston2014-11-032-21/+3
* Rename PDU fields to match that of events.Erik Johnston2014-11-034-308/+74
* For now, don't store txn -> pdu mappings.Erik Johnston2014-11-031-1/+0
* Remove more references to dead PDU tablesErik Johnston2014-10-311-2/+2
* Remove PDU tables.Erik Johnston2014-10-312-71/+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
* Convert event ids to be of the form :example.comErik Johnston2014-10-301-19/+16
* Start filling out and using new events tablesErik Johnston2014-10-291-3/+9
* Begin implementing all the PDU storage stuff in Events landErik Johnston2014-10-281-4/+7
* Merge branch 'event_signing' of github.com:matrix-org/synapse into federation...Erik Johnston2014-10-273-21/+58
|\
| * fix pyflakes warningsMark Haines2014-10-271-0/+2
| * Merge branch 'develop' into event_signingMark Haines2014-10-271-7/+20
| |\
| * | Remove signatures from pdu when computing hashes to use for prev pdus, make s...Mark Haines2014-10-171-1/+1
| * | Merge branch 'develop' into event_signingMark Haines2014-10-174-13/+14
| |\ \
| * | | 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 t...Mark Haines2014-10-172-7/+19
| * | | Hash the same content covered by the signature when referencing previous PDUs...Mark Haines2014-10-171-2/+4
| * | | 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
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into federation_autho...Erik Johnston2014-10-275-21/+35
|\ \ \ \ | | |_|/ | |/| |
| * | | Check that we have auth headers and fail nicelyErik Johnston2014-10-171-0/+5
| * | | More log lines.Erik Johnston2014-10-171-7/+15
| | |/ | |/|
| * | keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating ...Mark Haines2014-10-171-0/+1
| * | SPEC-7: Rename 'ts' to 'origin_server_ts'Mark Haines2014-10-174-13/+13
| |/
| * SYN-103: Ignore the 'origin' key in received EDUs. Instead take the origin fr...Mark Haines2014-10-142-3/+7
* | Use state groups to get current state. Make join dance actually work.Erik Johnston2014-10-172-6/+68
* | Finish implementing the new join dance.Erik Johnston2014-10-172-24/+110
* | Start implementing the invite/join dance. Continue moving auth to use event.s...Erik Johnston2014-10-162-4/+52
|/
* 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
|\
| * Add a keyword argument to get_json to avoid retrying on DNS failures. Rather ...Mark Haines2014-10-022-4/+8
* | 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 t...Erik Johnston2014-09-151-2/+3
* 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 fro...Erik Johnston2014-09-121-0/+1
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-036-6/+6
* Don't eat federation transmit errors during unit tests; fix remote presence E...Paul "LeoNerd" Evans2014-09-031-1/+0
* 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 cor...Erik Johnston2014-08-291-0/+2
* 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 pdu_actions.persist_outgoing/pdu_actions....Mark Haines2014-08-262-21/+2
* 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
|\
| * 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
|\
| * 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 use...Erik Johnston2014-08-181-2/+2
|/
* 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
* Define the concept of a 'federation Query'; creating API for making and handl...Paul "LeoNerd" Evans2014-08-132-0/+75
* 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