summary refs log tree commit diff
path: root/synapse/federation (follow)
Commit message (Expand)AuthorAgeFilesLines
...
| | * | Split federation OpenID userinfo endpoint out of the federation resourceJason Robinson2019-01-231-42/+72
| * | | Reject large transactions on federation (#4513)Andrew Morgan2019-01-311-0/+16
| * | | No vdh tests!Erik Johnston2019-01-291-2/+1
| * | | Enable room version v3Erik Johnston2019-01-291-2/+9
| * | | Update commentErik Johnston2019-01-291-3/+3
| * | | Only check event ID domain for signatures for V1 eventsErik Johnston2019-01-293-31/+44
| * | | Use event origin for filtering incoming eventsErik Johnston2019-01-291-4/+7
| * | | Use snder and not event ID domain to check if oursErik Johnston2019-01-291-1/+1
| * | | Merge pull request #4481 from matrix-org/erikj/event_builderErik Johnston2019-01-291-14/+6
| |\ \ \
| | * | | Refactor event building into EventBuilderErik Johnston2019-01-291-14/+6
| * | | | Merge pull request #4510 from matrix-org/erikj/fixup_compute_event_signatureErik Johnston2019-01-291-1/+1
| |\ \ \ \
| | * | | | Fixup calls to `comput_event_signature`Erik Johnston2019-01-291-1/+1
| | |/ / /
| * / / / Implement fallback for V2 invite APIErik Johnston2019-01-282-14/+89
| |/ / /
| * | | Require event format version to parse or create eventsErik Johnston2019-01-254-41/+65
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/msc_1813Erik Johnston2019-01-253-13/+64
| |\ \ \
| | * \ \ Merge pull request #4448 from matrix-org/erikj/get_pdu_versionsErik Johnston2019-01-243-11/+51
| | |\ \ \
| | | * | | Review commentsErik Johnston2019-01-241-1/+2
| | | * | | Add room_version param to get_pduErik Johnston2019-01-233-11/+50
| | | |/ /
| | * | | Update make_membership_event docsErik Johnston2019-01-241-2/+5
| | * | | Remove unnecessary '_sign_event'Erik Johnston2019-01-231-1/+8
| | * | | Store rejected remote invite events as outliersErik Johnston2019-01-231-2/+8
| | |/ /
| * | | Review commentsErik Johnston2019-01-241-1/+2
| * | | Implement MSC 1813 - Add room version to make APIsErik Johnston2019-01-232-6/+23
| |/ /
| * | Add /v2/invite federation APIErik Johnston2019-01-152-6/+40
| * | Add groundwork for new versions of federation APIsErik Johnston2019-01-152-67/+71
| * | Don't log stack traces for HTTP error responsesErik Johnston2019-01-081-1/+6
| * | Refactor request sending to have better excpetions (#4358)Erik Johnston2019-01-081-5/+14
| * | Update synapse/federation/federation_server.pyRichard van der Hoff2018-11-091-1/+1
| * | Update synapse/federation/federation_server.pyRichard van der Hoff2018-11-091-1/+1
| * | Drop PDUs of unknown roomsErik Johnston2018-11-081-1/+23
| * | Add helpers for getting prev and auth events (#4139)Erik Johnston2018-11-061-3/+1
| * | Clean up event accesses and testsErik Johnston2018-11-021-3/+0
| * | Remove the unused /pull federation API (#4118)Amber Brown2018-10-312-14/+0
| |/
* / Prevent showing non-fed rooms in fed /publicRoomsAndrew Morgan2019-02-261-1/+2
|/
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/alias_disa...Erik Johnston2018-10-251-1/+1
|\
| * Fix a number of flake8 errorsRichard van der Hoff2018-10-241-1/+1
* | Add config option to control alias creationErik Johnston2018-10-191-14/+2
|/
* Fix incorrect truncation in get_missing_eventsRichard van der Hoff2018-10-162-6/+4
* Various cleanups in the federation client code (#4031)Richard van der Hoff2018-10-162-23/+23
* Merge pull request #3964 from matrix-org/rav/remove_localhost_checksRichard van der Hoff2018-09-281-30/+6
|\
| * Fix complete fail to do the right thingRichard van der Hoff2018-09-281-1/+2
| * remove spurious federation checks on localhostRichard van der Hoff2018-09-261-31/+6
* | more commentsRichard van der Hoff2018-09-271-2/+0
* | Include eventid in log lines when processing incoming federation transactions...Richard van der Hoff2018-09-271-15/+17
* | fix docstring for FederationClient.get_state_for_roomRichard van der Hoff2018-09-261-4/+4
|/
* Merge pull request #3924 from matrix-org/rav/clean_up_on_receive_pduAmber Brown2018-09-261-1/+1
|\
| * Comments and interface cleanup for on_receive_pduRichard van der Hoff2018-09-201-1/+1
* | Fix some instances of ExpiringCache not expiring cache itemsErik Johnston2018-09-211-16/+12
|/
* Fix handling of redacted events from federationErik Johnston2018-09-131-1/+1
* Port federation/ to py3 (#3847)Amber Brown2018-09-123-19/+18
* Merge pull request #3826 from matrix-org/rav/logging_for_keyringAmber Brown2018-09-121-7/+27
|\
| * clearer logging when things fail, tooRichard van der Hoff2018-09-061-7/+27
* | Limit the number of PDUs/EDUs per fedreation transactionErik Johnston2018-09-061-0/+12
|/
* Merge branch 'master' into developRichard van der Hoff2018-09-064-31/+125
|\
| * Fix origin handling for pushed transactionsRichard van der Hoff2018-09-053-15/+15
| * Check that signatures on events are validRichard van der Hoff2018-09-051-16/+110
* | Port http/ to Python 3 (#3771)Amber Brown2018-09-061-5/+5
* | fix #3445Krombel2018-08-291-2/+2
* | Merge pull request #3735 from matrix-org/travis/federation-spellingRichard van der Hoff2018-08-221-1/+1
|\ \
| * | limt -> limitTravis Ralston2018-07-311-1/+1
* | | Log more detail when we fail to authenticate requestErik Johnston2018-08-211-3/+3
* | | Don't log exceptions when failing to fetch server keysErik Johnston2018-08-211-2/+2
| |/ |/|
* | Integrate presence from hotfixes (#3694)Amber Brown2018-08-181-0/+4
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_fede...Erik Johnston2018-08-151-4/+4
|\ \
| * | Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-101-4/+4
* | | Fixup doc commentsErik Johnston2018-08-091-0/+11
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_fede...Erik Johnston2018-08-095-13/+132
|\| |
| * | Merge pull request #3664 from matrix-org/rav/federation_metricsRichard van der Hoff2018-08-081-1/+9
| |\ \
| | * | more metrics for the federation and appservice sendersRichard van der Hoff2018-08-071-1/+9
| * | | Check m.room.create for sane room_versionsRichard van der Hoff2018-08-061-3/+23
| * | | include known room versions in outgoing make_joinsRichard van der Hoff2018-08-062-4/+9
| * | | sanity check response from make_joinRichard van der Hoff2018-08-031-1/+3
| * | | Enforce compatibility when processing make_join requestsRichard van der Hoff2018-08-032-4/+41
| * | | Docstrings for BaseFederationServletRichard van der Hoff2018-08-031-0/+47
| |/ /
* / / Add EDU/query handling over replicationErik Johnston2018-08-061-0/+43
|/ /
* | Merge pull request #3639 from matrix-org/rav/refactor_error_handlingRichard van der Hoff2018-08-021-12/+17
|\ \
| * | Refactor code for turning HttpResponseException into SynapseErrorRichard van der Hoff2018-08-011-2/+2
| * | Be more careful which errors we send back over the C-S APIRichard van der Hoff2018-08-011-12/+17
* | | Merge pull request #3638 from matrix-org/rav/refactor_federation_client_excep...Richard van der Hoff2018-08-021-129/+148
|\| |
| * | Factor out exception handling in federation_clientRichard van der Hoff2018-08-011-129/+148
* | | Merge branch 'master' into developRichard van der Hoff2018-08-021-0/+1
|\ \ \ | |/ / |/| |
| * | Validation for events/rooms in fed requestsRichard van der Hoff2018-08-021-0/+1
* | | Python 3: Convert some unicode/bytes uses (#3569)Amber Brown2018-08-021-1/+1
| |/ |/|
* | Remove pdu_failures from transactionsTravis Ralston2018-07-305-96/+7
* | Update the send_leave path to be an event_idTravis Ralston2018-07-261-2/+2
* | Improve logging for exceptions handling PDUsRichard van der Hoff2018-07-231-3/+8
* | Run things as background processesRichard van der Hoff2018-07-181-9/+6
* | Resource tracking for background processesRichard van der Hoff2018-07-181-5/+7
|/
* rename assert_params_in_request to assert_params_in_dictKrombel2018-07-131-2/+2
* run isortAmber Brown2018-07-099-64/+57
* Implementation of server_aclsRichard van der Hoff2018-07-042-4/+154
* More server_name validationRichard van der Hoff2018-07-041-2/+3
* Reject invalid server names (#3480)Richard van der Hoff2018-07-031-22/+44
* Merge pull request #3456 from matrix-org/hawkowl/federation-prevevent-checkingErik Johnston2018-06-291-1/+3
|\
| * handle federation not telling us about prev_eventsAmber Brown2018-06-271-1/+3
* | Attempt to be more performant on PyPy (#3462)Amber Brown2018-06-281-1/+1
|/
* Merge pull request #3428 from matrix-org/erikj/persisted_pduErik Johnston2018-06-221-12/+1
|\
| * simplify get_persisted_pduRichard van der Hoff2018-06-121-12/+1
* | Populate synapse_federation_client_sent_pdu_destinations:count again (#3386)Amber Brown2018-06-211-3/+7
* | Remove run_on_reactor (#3395)Amber Brown2018-06-141-4/+0
|/
* federation/send_queue.py: fix usage of sortedcontainers.SortedDictIvan Shapovalov2018-06-061-27/+22
* Port to sortedcontainers (with tests!) (#3332)Amber Brown2018-06-061-7/+7
* federation/send_queue.py: fix usage of LaterGaugeIvan Shapovalov2018-06-031-1/+1
* Consistently use six's iteritems and wrap lazy keys/values in list() if they'...Amber Brown2018-05-313-5/+7
* fixesAmber Brown2018-05-231-4/+4
* cleanupAmber Brown2018-05-221-3/+2
* cleanup pep8 errorsAmber Brown2018-05-222-6/+21
* fixesAmber Brown2018-05-221-3/+3
* replacing portionsAmber Brown2018-05-214-53/+35
* Merge pull request #3209 from damir-manapov/masterRichard van der Hoff2018-05-111-2/+0
|\
| * transaction_id, destination twiceDamir Manapov2018-05-101-2/+0
* | Merge branch 'release-v0.28.1' into developRichard van der Hoff2018-05-011-3/+18
|\|
| * Apply some limits to depth to counter abuseRichard van der Hoff2018-05-011-3/+18
* | Merge branch 'develop' into py3-xrange-1Richard van der Hoff2018-04-301-2/+3
|\ \
| * \ Merge remote-tracking branch 'origin/develop' into rav/use_run_in_backgroundRichard van der Hoff2018-04-272-3/+12
| |\ \
| * | | Use run_in_background in preference to preserve_fnRichard van der Hoff2018-04-271-2/+3
| | |/ | |/|
* | | Move more xrange to sixAdrian Tschira2018-04-281-1/+3
| |/ |/|
* | Improve exception handling for background processesRichard van der Hoff2018-04-272-3/+12
|/
* Merge pull request #3118 from matrix-org/rav/reject_prev_eventsRichard van der Hoff2018-04-231-2/+23
|\
| * Add some commentsRichard van der Hoff2018-04-181-2/+23
* | Merge pull request #3106 from NotAFile/py3-six-itervalues-1Richard van der Hoff2018-04-202-9/+13
|\ \
| * | Use six.itervalues in some placesAdrian Tschira2018-04-152-9/+13
| |/
* | Merge pull request #3093 from matrix-org/rav/response_cache_wrapRichard van der Hoff2018-04-201-11/+11
|\ \
| * | Reinstate linearizer for federation_server.on_context_state_requestRichard van der Hoff2018-04-201-5/+11
| * | Refactor ResponseCache usageRichard van der Hoff2018-04-121-11/+5
* | | Refactor store.have_eventsRichard van der Hoff2018-04-201-1/+1
| |/ |/|
* | fix federation_domain_whitelistMatthew Hodgson2018-04-131-6/+6
* | revert last to PR properlyMatthew Hodgson2018-04-131-6/+6
* | correctly auth inbound federation_domain_whitelist reqsMatthew Hodgson2018-04-131-6/+6
* | Revert "Use sortedcontainers instead of blist"Richard van der Hoff2018-04-131-7/+7
|/
* Merge pull request #3092 from matrix-org/rav/response_cache_metricsRichard van der Hoff2018-04-121-1/+1
|\
| * Add metrics for ResponseCacheRichard van der Hoff2018-04-101-1/+1
* | Set all metrics at the same timeErik Johnston2018-04-121-6/+6
* | Track last processed event received_tsErik Johnston2018-04-111-0/+11
* | Track where event stream processing have gotten up toErik Johnston2018-04-111-0/+4
* | Merge pull request #2760 from Valodim/pypyRichard van der Hoff2018-04-111-7/+7
|\ \
| * | Use sortedcontainers instead of blistVincent Breitmoser2018-04-101-7/+7
| |/
* | Merge pull request #3078 from matrix-org/erikj/federation_senderErik Johnston2018-04-101-15/+41
|\ \
| * | Use run_in_background insteadErik Johnston2018-04-101-1/+1
| * | Preserve log contexts correctlyErik Johnston2018-04-101-1/+4
| * | Log event ID on exceptionErik Johnston2018-04-101-1/+4
| * | Handle all events in a room correctlyErik Johnston2018-04-091-1/+2
| * | Send federation events concurrentlyErik Johnston2018-04-091-4/+18
| * | Handle exceptions in get_hosts_for_room when sending events over federationErik Johnston2018-04-091-11/+16
| |/
* | Ensure slashes are escapedErik Johnston2018-04-101-1/+1
* | URL quote path segments over federationErik Johnston2018-04-101-48/+80
|/
* pep8Luke Barnard2018-04-061-1/+1
* Fix federation client `set_group_joinable` typoLuke Barnard2018-04-061-1/+1
* Implement group join APIDavid Baker2018-04-062-0/+31
* use PUT instead of POST for federating groups/m.join_policyKrombel2018-04-062-2/+2
* Use "/settings/" (plural)Luke Barnard2018-04-052-2/+2
* Use join_policy API instead of joinableLuke Barnard2018-04-032-6/+6
* pep8David Baker2018-03-281-2/+1
* Add joinability for groupsDavid Baker2018-03-282-0/+37
* Merge pull request #2978 from matrix-org/erikj/refactor_replication_layerErik Johnston2018-03-131-1/+1
|\
| * s/replication_server/federation_serverErik Johnston2018-03-131-1/+1
* | Merge pull request #2979 from matrix-org/erikj/no_handlersErik Johnston2018-03-134-69/+2
|\|
| * Remove unused ReplicationLayerErik Johnston2018-03-132-59/+0
| * Split replication layer into twoErik Johnston2018-03-132-10/+2
* | Merge pull request #2977 from matrix-org/erikj/replication_move_propsErik Johnston2018-03-134-22/+13
|\|
| * Move property setting from ReplicationLayer to FederationBaseErik Johnston2018-03-134-22/+13
* | Fix docstring typesErik Johnston2018-03-131-2/+2
|/
* Split out edu/query registration to a separate classErik Johnston2018-03-131-48/+69
* Add federation_domain_whitelist option (#2820)Matthew Hodgson2018-01-224-3/+18
* Metrics for events processed in appservice and fed senderRichard van der Hoff2018-01-151-0/+4
* Check missing fields in event_from_pdu_jsonRichard van der Hoff2017-12-301-0/+7
* Factor out `event_from_pdu_json`Richard van der Hoff2017-12-303-37/+44
* federation_server: clean up importsRichard van der Hoff2017-12-301-14/+11
* federation_client: clean up importsRichard van der Hoff2017-12-301-13/+10
* Clear logcontext before starting fed txn queue runnerRichard van der Hoff2017-11-281-2/+8
* Remove preserve_context_over_{fn, deferred}Richard van der Hoff2017-11-141-2/+2
* Add bracketsErik Johnston2017-11-091-2/+4
* Have an explicit API to update room configErik Johnston2017-11-082-1/+36
* Revert "Modify group room association API to allow modification of is_public"Erik Johnston2017-11-082-7/+6
* Update docs for updating room group associationLuke Barnard2017-11-011-1/+1
* Flake8Luke Barnard2017-10-311-3/+4
* Modify group room association API to allow modification of is_publicLuke Barnard2017-10-312-4/+4
* Do logcontexts outside ResponseCacheErik Johnston2017-10-251-3/+5
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/group_fed_...Erik Johnston2017-10-241-3/+3
|\
| * replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-3/+3
* | 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
|\