summary refs log tree commit diff
path: root/synapse/federation (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* | Correctly wire in update group profile over federationErik Johnston2017-10-232-11/+31
|/
* Fix typoErik Johnston2017-10-191-1/+1
* Fix typo in group attestation handlingErik Johnston2017-10-191-1/+1
* Fix 500 error when we get an error handling a PDURichard van der Hoff2017-10-171-1/+0
* DelintLuke Barnard2017-10-161-0/+2
* Implement GET /groups/$groupId/invited_usersLuke Barnard2017-10-162-1/+30
* Merge pull request #2529 from matrix-org/rav/fix_transaction_failure_handlingRichard van der Hoff2017-10-111-2/+3
|\
| * log pdu_failures from incoming transactionsRichard van der Hoff2017-10-111-2/+3
* | Fix typo in invite to groupErik Johnston2017-10-111-1/+1
* | Merge pull request #2466 from matrix-org/erikj/groups_mergedErik Johnston2017-10-112-1/+892
|\ \
| * \ Merge branch 'develop' into erikj/groups_mergedDavid Baker2017-10-022-69/+78
| |\ \
| * | | Add remove room APIErik Johnston2017-09-262-1/+25
| * | | Add bulk group publicised lookup APIErik Johnston2017-08-092-0/+32
| * | | Add update group profile APIErik Johnston2017-07-201-0/+12
| * | | CommentsErik Johnston2017-07-181-1/+1
| * | | CommentsErik Johnston2017-07-181-0/+40
| * | | Fix typosErik Johnston2017-07-181-2/+2
| * | | Correctly parse query paramsErik Johnston2017-07-181-19/+19
| * | | Add client apisErik Johnston2017-07-181-9/+187
| * | | CommentsErik Johnston2017-07-181-15/+19
| * | | Add local group server supportErik Johnston2017-07-172-0/+121
| * | | Ensure category and role ids are non-nullErik Johnston2017-07-141-0/+24
| * | | CommentsErik Johnston2017-07-131-0/+8
| * | | Add summary APIs to federationErik Johnston2017-07-131-11/+223
| * | | Add group summary APIsErik Johnston2017-07-121-0/+17
| * | | Add federation API for adding room to groupErik Johnston2017-07-111-0/+18
| * | | CommentErik Johnston2017-07-112-0/+26
| * | | Initial group server implementationErik Johnston2017-07-102-1/+176
* | | | fed server: process PDUs for different rooms in parallelRichard van der Hoff2017-10-091-19/+34
* | | | Fed server: use a linearizer for ongoing transactionsRichard van der Hoff2017-10-091-1/+29
| |_|/ |/| |
* | | fed server: refactor on_incoming_transactionRichard van der Hoff2017-10-091-24/+29
* | | Fed server: Move origin-check code to _handle_received_pduRichard van der Hoff2017-10-091-24/+24
* | | Fix up logcontext handling in (federation) TransactionQueueRichard van der Hoff2017-10-061-16/+32
| |/ |/|
* | Make the spam checker a moduleDavid Baker2017-09-261-3/+2
* | Fix logcontexts in _check_sigs_and_hashesRichard van der Hoff2017-09-202-60/+62
* | Remove redundant `preserve_fn`Richard van der Hoff2017-09-201-2/+2
* | PoC for filtering spammy events (#2456)Richard van der Hoff2017-09-191-16/+24
|/
* Separate federation servlet into different listsErik Johnston2017-07-051-8/+16
* Remove spurious log linesErik Johnston2017-06-071-1/+0
* Faster cache for get_joined_hostsErik Johnston2017-05-251-0/+2
* Make presence use cached users/hosts in roomErik Johnston2017-05-161-1/+1
* Do some logging when one-time-keys get claimedRichard van der Hoff2017-05-091-0/+10
* Merge pull request #2190 from matrix-org/erikj/mark_remote_as_back_moreErik Johnston2017-05-051-0/+9
|\
| * Use preserve_fn and add logsErik Johnston2017-05-051-1/+3
| * Always mark remotes as up if we receive a signed request from themErik Johnston2017-05-051-0/+7
* | Add cache for get_current_hosts_in_roomErik Johnston2017-05-021-5/+1
|/
* Try harder when sending leave eventsRichard van der Hoff2017-04-211-1/+19
* Fix some lies, and other clarifications, in docstringsRichard van der Hoff2017-04-212-2/+68
* Merge pull request #2115 from matrix-org/erikj/dedupe_federation_replErik Johnston2017-04-122-45/+110
|\
| * CommentErik Johnston2017-04-121-2/+1
| * Reuse get_interested_partiesErik Johnston2017-04-121-3/+3
| * CommentErik Johnston2017-04-112-1/+9
| * CommentsErik Johnston2017-04-111-7/+7
| * Move get_interested_remotes back to presence handlerErik Johnston2017-04-111-35/+6
| * CommentsErik Johnston2017-04-111-1/+14
| * Reduce federation presence replication trafficErik Johnston2017-04-102-36/+110
* | Merge pull request #2121 from matrix-org/paul/sent-transactions-metricPaul Evans2017-04-121-0/+3
|\ \
| * | Add a counter metric for successfully-sent transactionsPaul "LeoNerd" Evans2017-04-111-0/+3
| |/
* | Add some commentsErik Johnston2017-04-121-0/+15
* | Use generatorsErik Johnston2017-04-101-2/+2
* | Dedupe KeyedEdu and Devices federation repl trafficErik Johnston2017-04-101-6/+9
|/
* Rename variableErik Johnston2017-04-101-7/+7
* Revert to sending the same data type as beforeErik Johnston2017-04-101-2/+2
* Change nameErik Johnston2017-04-101-2/+2
* CommentsErik Johnston2017-04-101-4/+6
* CommentErik Johnston2017-04-071-2/+15
* Add loggingErik Johnston2017-04-071-0/+8
* Fix up federation SendQueue and document typesErik Johnston2017-04-071-26/+220
* Don't double json encode federation replication dataErik Johnston2017-04-051-10/+9
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/repl_tcp_s...Erik Johnston2017-04-041-2/+6
|\
| * Accept join events from all serversRichard van der Hoff2017-04-031-2/+6
* | Make federation send queue take the current positionErik Johnston2017-03-301-15/+25
|/
* Bail early if remote wouldn't be retried (#2064)Erik Johnston2017-03-291-2/+8
* Merge pull request #2067 from matrix-org/erikj/notify_on_fedErik Johnston2017-03-291-0/+7
|\
| * Notify on new federation trafficErik Johnston2017-03-271-0/+7
* | Batch sending of device list pokesErik Johnston2017-03-241-0/+1
|/
* Ignore backoff history for invites, aliases, and roomdirsRichard van der Hoff2017-03-232-3/+10
* push federation retry limiter down to matrixfederationclientRichard van der Hoff2017-03-233-141/+109
* Fix assertion to stop transaction queue getting wedgedRichard van der Hoff2017-03-151-0/+5
* Move FederationServer._handle_new_pdu to FederationHandlerRichard van der Hoff2017-03-091-193/+1
* Move sig check out of _handle_new_pduRichard van der Hoff2017-03-091-12/+36
* Factor _get_missing_events_for_pdu out of _handle_new_pduRichard van der Hoff2017-03-091-62/+82
* Fix docstringRichard van der Hoff2017-03-091-2/+1
* Fix a race in transaction queueRichard van der Hoff2017-02-201-9/+21
* Correctly raise exceptions for ratelimitng. Ratelimit on 401Erik Johnston2017-02-011-1/+1
* Better handle 404 response for federation /send/Erik Johnston2017-01-311-0/+1
* Implement device key caching over federationErik Johnston2017-01-264-0/+47
* Fix up sending of m.device_list_update edusErik Johnston2017-01-251-60/+61
* Add basic implementation of local device list changesErik Johnston2017-01-251-3/+21
* Merge pull request #1824 from matrix-org/erikj/retry_host_logErik Johnston2017-01-181-1/+1
|\
| * Lower the not retrying host log line to debugErik Johnston2017-01-171-1/+1
* | Fix couple of federation state bugsErik Johnston2017-01-171-2/+4
|/
* Name linearizer's for better logsErik Johnston2017-01-091-2/+2
* do the discard check in the right place to avoid grabbing dependent eventsMatthew2017-01-071-20/+20
* Discard PDUs from invalid origins due to #1753 in 0.18.[56] v0.18.7-rc1Matthew2017-01-071-1/+23
* fix commentMatthew Hodgson2017-01-051-1/+17
* limit total timeout for get_missing_events to 10sMatthew Hodgson2017-01-053-3/+11
* Only send events that originate on this server.Mark Haines2017-01-051-0/+12
* Get the destinations from the state from before the eventMark Haines2017-01-041-8/+9
* Send ALL membership events to the server that was affected.Mark Haines2017-01-041-3/+5
* s/aquire/acquire/gMark Haines2016-12-301-2/+2
* Add more useful logging when we block fetching eventsMark Haines2016-12-301-0/+9
* Remove fallback from get_missing_events.Mark Haines2016-12-301-69/+0
* Add new API appservice specific public room listErik Johnston2016-12-063-5/+30
* Correctly handle 500's and 429 on federationErik Johnston2016-11-241-0/+7
* Shuffle receipt handler around so that worker apps don't need to load itErik Johnston2016-11-231-1/+0
* Explicit federation ackErik Johnston2016-11-231-2/+11
* CommentsErik Johnston2016-11-211-0/+2
* Add some metricsErik Johnston2016-11-211-48/+68
* CommentsErik Johnston2016-11-212-0/+29
* Remove explicit calls to send_pduErik Johnston2016-11-212-8/+9
* Fix testsErik Johnston2016-11-211-0/+3
* 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.Mark Haines2016-09-122-6/+12
* | Fix backfill when cannot find an event.Erik Johnston2016-09-121-1/+1
|/
* 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
* 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 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
|\
| * 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
* | | 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
| |/ |/|
* | 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 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
* 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 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
* Add an openidish mechanism for proving to third parties that you own a given ...Mark Haines2016-05-052-1/+51
* Fix typo in event_auth servlet pathErik Johnston2016-04-291-1/+1
* Lower timeout for make_membership_eventErik Johnston2016-04-151-1/+2
* 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
* 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 destin...Erik Johnston2015-11-031-23/+24
* Allow rejecting invitesDaniel Wagner-Hall2015-10-204-8/+117
* 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
|\
| * Add a few strategic new lines to break up the on_query_client_keys and on_cla...Mark Haines2015-08-131-0/+6
| * 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
|\
| * 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 erikj/backfill_f...Erik Johnston2015-05-224-11/+32
|\
| * Merge pull request #156 from matrix-org/erikj/join_perfMark Haines2015-05-223-12/+22
| |\
| | * 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 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