summary refs log tree commit diff
path: root/synapse/federation (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Store federation stream positions in the databaseErik Johnston2016-11-211-4/+17
|
* Handle sending events and device messages over federationErik Johnston2016-11-172-7/+63
|
* Hook up the send queue and create a federation sender workerErik Johnston2016-11-161-21/+68
|
* Add initial cut of federation send queueErik Johnston2016-11-161-0/+174
|
* Use new federation_sender DIErik Johnston2016-11-162-49/+10
|
* Add transaction queue and transport layer to DIErik Johnston2016-11-164-10/+6
|
* Move logic into transaction_queueErik Johnston2016-11-163-19/+18
|
* Rename transaction queue functions to send_*Erik Johnston2016-11-162-12/+12
|
* Time out typing over federationErik Johnston2016-09-231-2/+0
|
* Support filtering remote room listsErik Johnston2016-09-162-3/+9
|
* Pass since/from parameters over federationErik Johnston2016-09-153-21/+20
|
* Merge pull request #1110 from matrix-org/markjh/e2e_timeoutMark Haines2016-09-132-6/+12
|\ | | | | Add a timeout parameter for end2end key queries.
| * Add a timeout parameter for end2end key queries.Mark Haines2016-09-122-6/+12
| | | | | | | | | | | | | | | | | | | | Add a timeout parameter for controlling how long synapse will wait for responses from remote servers. For servers that fail include how they failed to make it easier to debug. Fetch keys from different servers in parallel rather than in series. Set the default timeout to 10s.
* | Fix backfill when cannot find an event.Erik Johnston2016-09-121-1/+1
|/ | | | `get_pdu` can succeed but return None.
* Fix incorrect attribute nameErik Johnston2016-09-091-1/+1
|
* CommentErik Johnston2016-09-091-0/+1
|
* Add edu.type as part of key. Remove debug loggingErik Johnston2016-09-091-2/+3
|
* Clobber EDUs in send queueErik Johnston2016-09-092-5/+51
|
* Drop replication log levelsErik Johnston2016-09-091-1/+0
|
* Check if destination is ready for retry earlierErik Johnston2016-09-091-15/+16
|
* Fix tightloop on sending transactionErik Johnston2016-09-091-122/+134
|
* Correctly guard against multiple concurrent transactionsErik Johnston2016-09-091-38/+41
|
* Update last_device_stream_id_by_dest if there is nothing to sendErik Johnston2016-09-091-0/+1
|
* Add a new method to enqueue the device messages rather than sending a dummy EDUMark Haines2016-09-072-0/+17
|
* Move the check for federated device_messages.Mark Haines2016-09-071-11/+15
| | | | | Move the check into _attempt_new_transaction. Only delete messages if there were messages to delete.
* Add stream change caches for device messagesMark Haines2016-09-071-1/+4
|
* Send device messages over federationMark Haines2016-09-062-8/+37
|
* Only pull out IDs from DB for /state_ids/ requestErik Johnston2016-09-021-6/+4
|
* Merge branch 'erikj/pdu_check' of github.com:matrix-org/synapse into developErik Johnston2016-09-011-5/+5
|\
| * Ensure we only return a validated pdu in get_pduErik Johnston2016-09-011-5/+5
| |
* | Use state handler instead of get_users_in_room/get_joined_hostsErik Johnston2016-08-261-1/+4
|/
* Preserve some logcontextsErik Johnston2016-08-242-9/+15
|
* PEP8Erik Johnston2016-08-101-1/+3
|
* Clean up TransactionQueueErik Johnston2016-08-101-215/+160
|
* Merge pull request #999 from matrix-org/erikj/measure_moreErik Johnston2016-08-101-5/+7
|\ | | | | Measure federation send transaction resources
| * Measure federation send transaction resourcesErik Johnston2016-08-101-5/+7
| |
* | Don't stop on 4xx series errorsErik Johnston2016-08-101-11/+1
| |
* | Also pull out rejected eventsErik Johnston2016-08-101-1/+1
| |
* | Store if we fail to fetch an event from a destinationErik Johnston2016-08-101-1/+36
|/
* Merge pull request #991 from matrix-org/erikj/retry_makeErik Johnston2016-08-051-11/+24
|\ | | | | Retry joining via other servers if first one failed. Fix some other bugs.
| * Fix a couple of python bugsErik Johnston2016-08-051-6/+8
| |
| * Retry joining via other servers if first one failedErik Johnston2016-08-051-5/+16
| |
* | Add federation /version APIErik Johnston2016-08-051-1/+17
| |
* | Change the way we specify if we require auth or notErik Johnston2016-08-051-40/+55
|/
* Fix typoErik Johnston2016-08-051-1/+1
|
* Check if we already have the events returned by /state/Erik Johnston2016-08-051-2/+16
|
* Fallback to /state/ on both 400 and 404Erik Johnston2016-08-051-1/+1
|
* Tweak integrity error recovery to work as intendedBenjamin Saunders2016-08-041-1/+1
|
* Fix typos.Erik Johnston2016-08-041-3/+3
|
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/state_ids_apiErik Johnston2016-08-042-22/+2
|\
| * Merge branch 'develop' into rav/refactor_device_queryMark Haines2016-08-031-23/+47
| |\
| * | E2E keys: Make federation query share code with client queryRichard van der Hoff2016-08-022-22/+2
| | | | | | | | | | | | | | | Refactor the e2e query handler to separate out the local query, and then make the federation handler use it.
* | | Tidy up get_eventsErik Johnston2016-08-041-12/+10
| | |
* | | Rename fields to _idsErik Johnston2016-08-032-4/+4
| | |
* | | Fix copy + paste failsErik Johnston2016-08-032-6/+11
| | |
* | | Actually call get_room_stateErik Johnston2016-08-031-0/+4
| | |
* | | Fix syntax errorErik Johnston2016-08-031-1/+8
| | |
* | | CommentErik Johnston2016-08-031-0/+14
| | |
* | | Add /state_ids federation APIErik Johnston2016-08-034-3/+125
| |/ |/| | | | | | | The new API only returns the event_ids for the state, as most requesters will already have the vast majority of the events already.
* | Don't double wrap 200Erik Johnston2016-08-021-2/+2
| |
* | Fix response cacheErik Johnston2016-08-021-1/+1
| |
* | Cache federation state responsesErik Johnston2016-07-211-21/+45
|/
* Linearize some federation endpoints based on (origin, room_id)Erik Johnston2016-06-172-67/+78
|
* Merge pull request #878 from matrix-org/erikj/ujsonErik Johnston2016-06-171-1/+1
|\ | | | | Disable responding with canonical json for federation
| * Disable responding with canonical json for federationErik Johnston2016-06-171-1/+1
| |
* | Only re-sign our own eventsErik Johnston2016-06-171-6/+9
|/
* Linearize fetching of gaps on incoming eventsErik Johnston2016-06-154-37/+58
| | | | | This potentially stops the server from doing multiple requests for the same data.
* Fix up federation PublicRoomListErik Johnston2016-06-081-1/+1
|
* Merge pull request #856 from matrix-org/erikj/fed_pub_roomsErik Johnston2016-06-081-5/+0
|\ | | | | Enable auth on /publicRoom endpoints
| * Enable auth on federation PublicRoomListErik Johnston2016-06-081-5/+0
| |
* | Add some logging for when servers ask for missing eventsErik Johnston2016-06-081-0/+19
|/
* pep8David Baker2016-06-011-1/+3
|
* Apparently I am not permitted to have two blank lines hereDavid Baker2016-05-311-1/+0
|
* Basic, un-cached support for secondary_directory_serversDavid Baker2016-05-313-1/+34
|
* Fix c+p failDavid Baker2016-05-311-17/+0
|
* Add federation room list servletDavid Baker2016-05-311-1/+64
|
* Run transaction queue on reactorErik Johnston2016-05-091-0/+3
| | | | | This ensures that any CPU work that happens doesn't block message sending.
* Add an openidish mechanism for proving to third parties that you own a given ↵Mark Haines2016-05-052-1/+51
| | | | user_id
* Fix typo in event_auth servlet pathErik Johnston2016-04-291-1/+1
|
* Lower timeout for make_membership_eventErik Johnston2016-04-151-1/+2
| | | | | Calls to make_membership_event are done in response to client requests, and so should not be retried over long timeframes.
* Intern all the thingsErik Johnston2016-03-232-14/+15
|
* Remove unused backfilled parameter from persist_eventMark Haines2016-03-211-1/+0
|
* Catch exceptions from EDU handlingErik Johnston2016-03-181-1/+6
|
* Yield on EDU handlingErik Johnston2016-03-181-3/+4
|
* Use parse_json_object_from_request to parse JSON out of request bodiesMark Haines2016-03-111-2/+2
|
* Add profile information to invitesErik Johnston2016-03-042-1/+2
|
* Allow third_party_signed to be specified on /joinDaniel Wagner-Hall2016-02-232-3/+24
|
* Fix up logcontextsErik Johnston2016-02-082-6/+1
|
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-1/+1
|
* Remove redundated BaseHomeServerErik Johnston2016-01-265-93/+56
|
* copyrightsMatthew Hodgson2016-01-0711-11/+11
|
* Host /unstable and /r0 versions of r0 APIsDaniel Wagner-Hall2015-12-011-1/+1
|
* Only retry federation requests for a long time for background requestsErik Johnston2015-11-171-0/+1
|
* Don't complain if /make_join response lacks 'prev_state' list (SYN-517)Paul "LeoNerd" Evans2015-11-131-0/+6
|
* Fix missing profile data in federation joinsErik Johnston2015-11-121-1/+4
| | | | | There was a regression where we stopped including profile data in initial joins for rooms joined over federation.
* Exchange 3pid invites for m.room.member invitesDaniel Wagner-Hall2015-11-054-27/+92
|
* Don't rearrange transaction_queueErik Johnston2015-11-031-12/+11
|
* Fix broken cache for getting retry times. This meant we retried remote ↵Erik Johnston2015-11-031-23/+24
| | | | destinations way more frequently than we should
* Allow rejecting invitesDaniel Wagner-Hall2015-10-204-8/+117
| | | | | This is done by using the same /leave flow as you would use if you had already accepted the invite and wanted to leave.
* Look for keys on the right objectsDaniel Wagner-Hall2015-10-151-1/+3
|
* Remove unnecessary class-wrappingDaniel Wagner-Hall2015-10-132-6/+6
|
* Move event contents into third_party_layout fieldDaniel Wagner-Hall2015-10-131-2/+2
|
* Fix lint errorsDaniel Wagner-Hall2015-10-061-1/+0
|
* Implement third party identifier invitesDaniel Wagner-Hall2015-10-014-8/+27
|
* Merge pull request #208 from matrix-org/markjh/end-to-end-key-federationMark Haines2015-08-184-0/+163
|\ | | | | Federation for end-to-end key requests.
| * Add a few strategic new lines to break up the on_query_client_keys and ↵Mark Haines2015-08-131-0/+6
| | | | | | | | on_claim_client_keys methods in federation_server.py
| * Get the end-to-end key federation workingMark Haines2015-07-243-16/+12
| |
| * Add federation support for end-to-end key requestsMark Haines2015-07-234-0/+161
| |
* | Move all the caches into their own package, synapse.util.cachesErik Johnston2015-08-111-1/+1
|/
* Implement bulk verify_signed_json APIErik Johnston2015-06-262-64/+118
|
* Log more when we have processed the requestErik Johnston2015-06-151-0/+1
|
* Merge pull request #176 from matrix-org/erikj/backfill_authErik Johnston2015-06-031-7/+4
|\ | | | | Improve backfill.
| * Rephrase log lineErik Johnston2015-06-021-1/+1
| |
| * Don't about JSON when warning about content tamperingErik Johnston2015-06-021-7/+4
| |
* | Log where a request came from in federationErik Johnston2015-06-021-0/+2
|/
* Remove redundant for loopErik Johnston2015-05-221-3/+0
|
* Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-224-11/+32
|\ | | | | | | erikj/backfill_fixes
| * Merge pull request #156 from matrix-org/erikj/join_perfMark Haines2015-05-223-12/+22
| |\ | | | | | | Make joining #matrix:matrix.org over federation quicker
| | * Add doc stringsErik Johnston2015-05-222-0/+4
| | |
| * | Log origin and stats of incoming transactionsErik Johnston2015-05-221-0/+8
| | |
| * | Add txn_id to some log linesErik Johnston2015-05-221-6/+11
| | |
| * | Log less lines at INFO level, but include more helpful informationErik Johnston2015-05-221-6/+10
| | |
* | | Merge branch 'erikj/join_perf' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-211-3/+3
|\ \ \ | | |/ | |/| | | | erikj/backfill_fixes
| * | 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 ↵Paul "LeoNerd" Evans2015-03-122-24/+29
| | | | specifically-written counters and distributions
* 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 ↵Paul "LeoNerd" Evans2015-03-122-0/+28
| | | | federation code
* 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
|\ | | | | Neaten federation servlets
| * 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
| | | | | | | | need it
| * Slightly neater(?) arrangement of authentication wrapper for HTTP servlet ↵Paul "LeoNerd" Evans2015-03-051-25/+37
| | | | | | | | methods
| * 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 ↵Paul "LeoNerd" Evans2015-03-051-170/+130
| | | | | | | | Servlet-style methods on instances
* | 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 ↵Erik Johnston2015-03-021-20/+12
| |\ | | | | | | | | | federation_rate_limit
| | * If we're yielding don't add errbackErik Johnston2015-03-021-7/+3
| | |
| | * Process transactions serially.Erik Johnston2015-03-021-14/+10
| | | | | | | | | | | | | | | | | | Since the events received in a transaction are ordered, later events might depend on earlier events and so we shouldn't blindly process them in parellel.
| * | 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 ↵Erik Johnston2015-02-182-104/+88
|\ | | | | | | develop
| * 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
| | | | | | | | | | Factor out the pre destination retry logic from TransactionQueue so it can be reused in both get_pdu and crypto.keyring
* | Merge pull request #77 from matrix-org/failuresErik Johnston2015-02-182-4/+39
|\ \ | | | | | | Failures
| * | 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
|\ \ \ \ | |_|_|/ |/| | | Get pdu limiting
| * | | 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
| |/ | | | | | | | | | | This is so that the DeferredLists actually consume the error instead of propogating down the non-existent errback chain. This should reduce the number of unhandled errors we are seeing.
* | Mark old events as outliers.Erik Johnston2015-02-161-1/+7
| | | | | | | | | | | | | | | | | | This is to fix the issue where if a remote server sends an event that references a really "old" event, then the local server will pull that in and send to all clients. We decide if an event is old if its depth is less than the minimum depth of the room.
* | Don't return anything from _handle_new_pdu, since we ignore the return value ↵Erik Johnston2015-02-161-4/+1
|/ | | | anyway
* 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
|\ | | | | Timeout federation requests
| * 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 ↵Erik Johnston2015-02-111-3/+4
| | | | | | | | JSONEncoder that understands FrozenDict
* | 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 ↵Erik Johnston2015-02-051-1/+4
| | | | it can retry against different room hosts
* Apply sanity to the transport client interface. Convert 'make_join' and ↵Erik Johnston2015-02-043-62/+85
| | | | 'send_join' to accept iterables of destinations
* 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 ↵Erik Johnston2015-02-031-12/+4
| | | | keeping it around :(
* 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 ↵Erik Johnston2015-02-032-135/+13
| | | | can use it to check signatures for events on old servers
* 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
| | | | 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 Johnston2015-01-301-0/+18
|
* Fix bug where we superfluously asked for current state. Change API of ↵Erik Johnston2015-01-302-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 Johnston2015-01-301-0/+3
| | | | event graph
* 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 ↵Erik Johnston2015-01-263-26/+173
| | | | hashes.
* 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 ↵Mark Haines2015-01-161-44/+11
| | | | was a trivial wrapper around client.get_json
* 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 ↵Mark Haines2014-12-181-7/+20
| | | | from a remote server if we are missing some of them
* 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 ↵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-072-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 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 ↵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.