summary refs log tree commit diff
path: root/synapse/federation/transport (follow)
Commit message (Expand)AuthorAgeFilesLines
* Optional whitespace support in Authorization (#1350) (#17145)Timshel2024-05-081-1/+5
* Correctly mention previous copyright (#16820)Erik Johnston2024-01-235-0/+7
* Filter out rooms from the room directory being served to other homeservers wh...reivilibre2024-01-081-2/+5
* Merge remote-tracking branch 'gitlab/clokep/license-license' into new_developErik Johnston2023-12-135-52/+80
|\
| * Update license headersPatrick Cloke2023-11-215-52/+80
* | Request & follow redirects for /media/v3/download (#16701)Patrick Cloke2023-11-291-0/+53
|/
* Stop sending incorrect knock_state_events. (#16403)Patrick Cloke2023-10-061-1/+1
* Don't reset retry timers on "valid" error codes (#16221)Erik Johnston2023-09-041-1/+3
* Send proper JSON POST data to /publicRooms (#16185)Patrick Cloke2023-08-251-10/+6
* Remove unneeded __init__. (#15926)Patrick Cloke2023-07-121-9/+0
* Add requesting user id parameter to key claim methods in `TransportLayerClien...Shay2023-05-241-3/+13
* Remove experimental configuration flags & unstable values for faster joins (#...Patrick Cloke2023-05-192-37/+4
* Factor out an `is_mine_server_name` method (#15542)Sean Quah2023-05-052-3/+6
* Add support for claiming multiple OTKs at once. (#15468)Patrick Cloke2023-04-272-7/+67
* Add unstable /keys/claim endpoint which always returns fallback keys. (#15462)Patrick Cloke2023-04-252-1/+28
* Finish type hints for federation client HTTP code. (#15465)Patrick Cloke2023-04-241-4/+13
* Add a primitive helper script for listing worker endpoints. (#15243)reivilibre2023-03-232-0/+29
* Add helper to parse an enum from query args & use it. (#14956)Patrick Cloke2023-02-012-7/+8
* Bump the client-side timeout for /state (#14912)David Robertson2023-01-251-0/+4
* Stabilise serving partial join responses (#14839)David Robertson2023-01-171-11/+10
* Add parameter to control whether we do a partial state join (#14843)Sean Quah2023-01-161-2/+5
* Also use stable name in SendJoinResponse struct (#14841)David Robertson2023-01-161-7/+9
* Use stable identifiers for faster joins (#14832)David Robertson2023-01-132-3/+28
* Move MSC3030 `/timestamp_to_event` endpoint to stable v1 location (#14471)Eric Eastwood2022-11-283-13/+3
* Remove redundant types from comments. (#14412)Patrick Cloke2022-11-162-8/+7
* Stop returning `unsigned.invite_room_state` in `PUT /_matrix/federation/v2/in...Andrew Morgan2022-10-201-0/+5
* Don't require optional `invite_room_state` field on fed v2 invite (#14083)Andrew Morgan2022-10-141-1/+1
* Always close _all_ `ijson` coroutines, even if doing so raises Exceptions (#1...David Robertson2022-10-061-4/+25
* Fix a long-standing spec compliance bug where Synapse would accept a trailing...reivilibre2022-09-141-2/+1
* Generalise the `@cancellable` annotation so it can be used on functions other...reivilibre2022-08-311-2/+3
* Add missing types to opentracing. (#13345)Patrick Cloke2022-07-211-1/+1
* Add type annotations to `trace` decorator. (#13328)Patrick Cloke2022-07-191-1/+1
* Fix Synapse git info missing in version strings (#12973)David Robertson2022-06-071-2/+2
* Additional constants for EDU types. (#12884)Patrick Cloke2022-05-271-1/+5
* Remove federation client code for groups. (#12563)Patrick Cloke2022-05-271-483/+0
* Merge tag 'v1.60.0rc2' into developSean Quah2022-05-271-2/+7
|\
| * Close `ijson` coroutines ourselves instead of letting the GC close them (#12875)Sean Quah2022-05-271-2/+7
* | Remove unstable APIs for /hierarchy. (#12851)Patrick Cloke2022-05-261-5/+0
* | Allow bigger responses to `/federation/v1/state` (#12877)Richard van der Hoff2022-05-251-7/+8
* | Remove user-visible groups/communities code (#12553)Patrick Cloke2022-05-253-917/+1
|/
* Make handling of federation Authorization header (more) compliant with RFC723...Hubert Chathi2022-05-181-3/+5
* Complain if a federation endpoint has the `@cancellable` flag (#12705)Sean Quah2022-05-111-1/+12
* Remove unused `# type: ignore`s (#12531)David Robertson2022-04-271-5/+5
* Implement MSC3383: include destination in X-Matrix auth header (#11398)Jan Christian Grünhage2022-04-191-8/+31
* Back out implementation of MSC2314 (#12474)Richard van der Hoff2022-04-191-1/+1
* Remove the unstable event field for `/send_join` per MSC3083. (#12395)Patrick Cloke2022-04-121-10/+0
* Unify HTTP query parameter type hints (#12415)David Robertson2022-04-081-2/+3
* Fix fetching public rooms over federation (#12410)Erik Johnston2022-04-071-1/+1
* Fix a spec compliance issue where requests to the `/publicRooms` federation A...reivilibre2022-04-051-2/+2
* Deprecate the groups/communities endpoints and add an experimental configurat...Patrick Cloke2022-03-121-4/+11
* Rename get_tcp_replication to get_replication_command_handler. (#12192)Patrick Cloke2022-03-101-1/+1
* Remove the unstable `/spaces` endpoint. (#12073)Patrick Cloke2022-02-282-109/+0
* Actually fix bad debug logging rejecting device list & signing key transactio...David Robertson2022-02-281-1/+1
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-232-2/+2
* Implement account status endpoints (MSC3720) (#12001)Brendan Abolivier2022-02-223-1/+61
* Faster joins: Support for calling `/federation/v1/state` (#12013)Richard van der Hoff2022-02-221-3/+67
* Faster joins: parse msc3706 fields in send_join response (#12011)Richard van der Hoff2022-02-171-31/+87
* Use version string helper from matrix-common (#11979)David Robertson2022-02-141-3/+7
* Implement MSC3706: partial state in `/send_join` response (#11967)Richard van der Hoff2022-02-121-1/+19
* Improve opentracing for federation requests (#11870)Richard van der Hoff2022-02-031-19/+48
* Fix losing incoming EDUs if debug logging enabled (#11890)David Robertson2022-02-021-2/+2
* Add admin API to reset connection timeouts for remote server (#11639)Dirk Klimpel2022-01-255-25/+45
* Debug for device lists updates (#11760)David Robertson2022-01-201-0/+15
* Remove `log_function` and its uses (#11761)Richard van der Hoff2022-01-181-48/+0
* Improve opentracing for incoming HTTP requests (#11618)Richard van der Hoff2021-12-201-26/+13
* Add most of the missing type hints to `synapse.federation`. (#11483)Patrick Cloke2021-12-023-27/+43
* Add MSC3030 experimental client and federation API endpoints to get the close...Eric Eastwood2021-12-023-1/+88
* Support the stable /hierarchy endpoint from MSC2946 (#11329)Patrick Cloke2021-11-292-5/+23
* Return the stable `event` field from `/send_join` per MSC3083. (#11413)Patrick Cloke2021-11-291-1/+12
* Add `use_float=true` to ijson calls in Synapse (#11217)Shay2021-11-011-0/+3
* Annotate `log_function` decorator (#10943)reivilibre2021-10-271-4/+18
* Use direct references for configuration variables (part 6). (#10916)Patrick Cloke2021-09-291-1/+1
* Use direct references for configuration variables (part 4). (#10893)Patrick Cloke2021-09-231-1/+3
* Validate the max_rooms_per_space parameter to ensure it is non-negative. (#10...Patrick Cloke2021-08-161-4/+18
* Experimental support for MSC3266 Room Summary API. (#10394)Michael Telatynski2021-08-161-2/+2
* Split `synapse.federation.transport.server` into multiple files. (#10590)Patrick Cloke2021-08-166-2158/+2218
* Support federation in the new spaces summary API (MSC2946). (#10569)Patrick Cloke2021-08-162-0/+50
* Convert Transaction and Edu object to attrs (#10542)Patrick Cloke2021-08-062-11/+2
* Update the MSC3083 support to verify if joins are from an authorized server. ...Patrick Cloke2021-07-261-1/+29
* Add type hints to synapse.federation.transport.client. (#10408)Patrick Cloke2021-07-261-201/+298
* Add type hints to additional servlet functions (#10437)Patrick Cloke2021-07-211-11/+2
* Use inline type hints in various other places (in `synapse/`) (#10380)Jonathan de Jong2021-07-152-17/+15
* Add type hints to get_domain_from_id and get_localpart_from_id. (#10385)Patrick Cloke2021-07-131-24/+72
* Add additional types to the federation transport server. (#10213)Patrick Cloke2021-06-281-114/+474
* Improve validation for `send_{join,leave,knock}` (#10225)Richard van der Hoff2021-06-241-6/+6
* Expose opentracing trace id in response headers (#10199)Richard van der Hoff2021-06-181-0/+3
* Remove the experimental flag for knocking and use stable prefixes / endpoints...Patrick Cloke2021-06-152-44/+5
* Implement knock feature (#6739)Sorunome2021-06-092-7/+107
* Add type hints to the federation server transport. (#10080)Patrick Cloke2021-06-081-69/+163
* Rewrite the KeyRing (#10035)Erik Johnston2021-06-021-1/+3
* Merge branch 'master' into developAndrew Morgan2021-06-011-0/+7
|\
| * Allow response of `/send_join` to be larger. (#10093)Erik Johnston2021-05-281-0/+7
* | Set opentracing priority before setting other tags (#10092)Richard van der Hoff2021-05-281-1/+2
* | Merge tag 'v1.35.0rc2' into developErik Johnston2021-05-271-1/+1
|\|
| * Pass the origin when calculating the spaces summary over GET. (#10079)Patrick Cloke2021-05-271-1/+1
* | Remove the experimental spaces enabled flag. (#10063)Patrick Cloke2021-05-261-7/+6
|/
* Don't hammer the database for destination retry timings every ~5mins (#10036)Erik Johnston2021-05-211-1/+1
* Use ijson to parse the response to `/send_join`, reducing memory usage. (#9958)Erik Johnston2021-05-201-4/+81
* Allow a user who could join a restricted room to see it in spaces summary. (#...Patrick Cloke2021-05-201-1/+1
* Support fetching the spaces summary via GET over federation. (#9947)Patrick Cloke2021-05-112-0/+27
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-143-3/+0
* Fix duplicate logging of exceptions in transaction processing (#9780)Richard van der Hoff2021-04-091-7/+3
* Add type hints to the federation handler and server. (#9743)Patrick Cloke2021-04-061-2/+2
* Spaces summary: call out to other servers (#9653)Richard van der Hoff2021-03-241-1/+34
* Federation API for Space summary (#9652)Richard van der Hoff2021-03-231-9/+58
* Add configs to make profile data more private (#9203)AndrewFerr2021-02-191-4/+3
* Add type hints to groups code. (#9393)Patrick Cloke2021-02-171-2/+39
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-162-96/+54
* Support icons for Identity Providers (#9154)Richard van der Hoff2021-01-201-1/+1
* Add type hints to the crypto module. (#8999)Patrick Cloke2021-01-041-1/+1
* Merge pull request #8858 from matrix-org/rav/sso_uiaRichard van der Hoff2020-12-021-1/+1
|\
| * fix up various test casesRichard van der Hoff2020-12-021-1/+1
* | Apply an IP range blacklist to push and key revocation requests. (#8821)Patrick Cloke2020-12-021-1/+1
|/
* Consistently use room_id from federation request body (#8776)Richard van der Hoff2020-11-191-35/+33
* Add ability for access tokens to belong to one user but grant access to anoth...Erik Johnston2020-10-291-1/+1
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-7/+3
* Fix ratelimiting for federation `/send` requests. (#8342)Erik Johnston2020-09-181-5/+8
* Stop sub-classing object (#8249)Patrick Cloke2020-09-042-3/+3
* Convert federation client to async/await. (#7975)Patrick Cloke2020-07-301-56/+40
* Abort federation requests if the client disconnects early (#7930)Richard van der Hoff2020-07-231-0/+6
* Convert room list handler to async/await. (#7912)Patrick Cloke2020-07-211-8/+2
* Fix some spelling mistakes / typos. (#7811)Patrick Cloke2020-07-092-3/+3
* Merge different Resource implementation classes (#7732)Erik Johnston2020-07-031-5/+1
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-2/+1
* Further improvements to requesting the public rooms list on a homeserver whic...Andrew Morgan2020-05-011-14/+42
* Query missing cross-signing keys on local sig upload (#7289)Andrew Morgan2020-04-221-9/+40
* Revert "Query missing cross-signing keys on local sig upload"Richard van der Hoff2020-04-201-11/+3
* Query missing cross-signing keys on local sig uploadAndrew Morgan2020-04-171-3/+11
* Remove unused federation endpoint (`query_auth`) (#7026)Patrick Cloke2020-03-171-12/+0
* Reduce amount of logging at INFO level. (#6862)Erik Johnston2020-02-061-1/+1
* Fix `room_version` in `on_invite_request` flow (#6827)Richard van der Hoff2020-02-031-2/+2
* Fix sending server up commands from workers (#6811)Erik Johnston2020-01-302-12/+19
* Wake up transaction queue when remote server comes back online (#6706)Erik Johnston2020-01-171-1/+18
* Merge pull request #6349 from matrix-org/babolivier/msc1802Brendan Abolivier2019-12-112-6/+59
|\
| * Merge branch 'develop' into babolivier/msc1802Brendan Abolivier2019-12-053-9/+9
| |\
| * | Fix prefix for v2/send_leaveBrendan Abolivier2019-11-111-0/+2
| * | Add server-side support to the v2 APIBrendan Abolivier2019-11-111-4/+26
| * | Implement v2 API for send_leaveBrendan Abolivier2019-11-111-1/+19
| * | Implement v2 API for send_joinBrendan Abolivier2019-11-111-1/+12
* | | Remove fallback for missing /federation/v1/state_ids API (#6488)Richard van der Hoff2019-12-091-24/+0
| |/ |/|
* | Implementation of MSC2314 (#6176)Amber Brown2019-11-281-3/+3
* | Replace instance variations of homeserver with correct case/spacingAndrew Morgan2019-11-123-6/+6
|/
* Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-311-3/+5
* use %r to __repr__ objectsMichael Kaye2019-10-241-2/+2
* rip out some unreachable codeRichard van der Hoff2019-10-171-11/+0
* Land improved room list based on room stats (#6019)Erik Johnston2019-10-021-0/+8
* Fix exception when resetting retry timingsRichard van der Hoff2019-09-201-1/+1
* Remove origin parameter from add_display_name_to_third_party_invite and add p...Andrew Morgan2019-09-111-1/+1
* Add opentracing to all client servlets (#5983)Jorik Schellekens2019-09-051-1/+5
* Merge pull request #5859 from matrix-org/rei/msc2197reivilibre2019-08-282-15/+67
|\
| * Use MSC2197 on stable prefix as it has almost finished FCPOlivier Wilkinson (reivilibre)2019-08-202-26/+4
| * Add support for inbound MSC2197 requests on unstable Federation APIOlivier Wilkinson (reivilibre)2019-08-151-1/+59
| * Support MSC2197 outbound with unstable prefixOlivier Wilkinson (reivilibre)2019-08-151-15/+31
* | Opentracing across workers (#5771)Jorik Schellekens2019-08-221-15/+28
* | Opentracing misc (#5856)Jorik Schellekens2019-08-161-6/+7
* | Wrap `get_local_public_room_list` call in `maybeDeferred` because itOlivier Wilkinson (reivilibre)2019-08-141-2/+8
|/
* Room Complexity Client Implementation (#5783)Amber Brown2019-07-301-7/+24
* Merge tag 'v1.2.0rc2' into developAndrew Morgan2019-07-241-1/+3
|\
| * Fix servlet metric names (#5734)Jorik Schellekens2019-07-241-1/+3
* | Replace returnValue with return (#5736)Amber Brown2019-07-231-15/+15
|/
* Convert synapse.federation.transport.server to async (#5689)Richard van der Hoff2019-07-181-242/+188
* Add basic opentracing support (#5544)Jorik Schellekens2019-07-111-5/+21
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-042-2/+2
* Split public rooms directory auth config in twoBrendan Abolivier2019-06-241-4/+4
* Run Black. (#5482)Amber Brown2019-06-202-288/+243
* Associate a request_name with each verify request, for loggingRichard van der Hoff2019-06-051-1/+3
* Enforce validity period on server_keys for fed requests. (#5321)Richard van der Hoff2019-06-031-1/+3
* Implement the SHHS complexity API (#5216)Amber Brown2019-05-301-1/+30
* Make all the rate limiting options more consistent (#5181)Amber Brown2019-05-151-5/+1
* add options to require an access_token to GET /profile and /publicRooms on CS...Matthew Hodgson2019-05-081-0/+10
* Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-2/+2
* Make federation endpoints more tolerant of trailing slashes v2 (#4935)Andrew Morgan2019-03-262-8/+8
* Remove trailing slashes from outbound federation requests and retry on 400 (#...Andrew Morgan2019-03-211-7/+14
|\
| * Switch to wrapper function around _send_requestAndrew Morgan2019-03-131-5/+5
| * Cleaner way of implementing trailing slashesAndrew Morgan2019-03-121-5/+10
| * Merge branch 'develop' into anoa/trailing_slashes_clientAndrew Morgan2019-03-111-7/+7
| |\
| * | lintAndrew Morgan2019-03-081-1/+3
| * | Retry certain federation requests on 404Andrew Morgan2019-03-081-5/+5
| * | Remove trailing slashes from outbound federation requestsAndrew Morgan2019-03-081-7/+7
* | | Revert "Make federation endpoints more tolerant of trailing slashes for some ...Erik Johnston2019-03-142-8/+8
| |/ |/|
* | Make federation endpoints more tolerant of trailing slashes for some endpoint...Andrew Morgan2019-03-112-8/+8
|/
* Remove unnecessary dollar signsAndrew Morgan2019-03-041-22/+22
* Make 'event_id' a required parameter in federated state requests (#4741)Amber Brown2019-02-271-2/+2
* Merge branch 'develop' of github.com:matrix-org/synapse into anoa/public_room...Andrew Morgan2019-02-262-124/+241
|\
| * Revert "Prevent showing non-fed rooms in fed /publicRooms"Andrew Morgan2019-02-261-2/+1
| * Merge branch 'develop' of github.com:matrix-org/synapse into anoa/public_room...Erik Johnston2019-02-252-124/+241
| |\
| | * Merge pull request #4420 from matrix-org/jaywink/openid-listenerErik Johnston2019-02-111-42/+95
| | |\
| | | * Document `servlet_groups` parametersJason Robinson2019-01-231-0/+23
| | | * Split federation OpenID userinfo endpoint out of the federation resourceJason Robinson2019-01-231-42/+72
| | * | Implement fallback for V2 invite APIErik Johnston2019-01-281-2/+37
| | * | Require event format version to parse or create eventsErik Johnston2019-01-251-2/+2
| | * | Revert "Require event format version to parse or create events"Erik Johnston2019-01-251-2/+2
| | * | Require event format version to parse or create eventsErik Johnston2019-01-231-2/+2
| | |/
| | * Add /v2/invite federation APIErik Johnston2019-01-151-4/+38
| | * Add groundwork for new versions of federation APIsErik Johnston2019-01-152-67/+71
| | * Remove the unused /pull federation API (#4118)Amber Brown2018-10-311-9/+0
| * | Don't restrict non-fed rooms over client APIsAndrew Morgan2019-02-251-1/+2
| |/
* / Prevent showing non-fed rooms in fed /publicRoomsAndrew Morgan2019-02-261-1/+2
|/
* Fix incorrect truncation in get_missing_eventsRichard van der Hoff2018-10-161-2/+0
* Various cleanups in the federation client code (#4031)Richard van der Hoff2018-10-161-8/+11
* Port federation/ to py3 (#3847)Amber Brown2018-09-122-15/+14
* Merge branch 'master' into developRichard van der Hoff2018-09-061-1/+1
|\
| * Fix origin handling for pushed transactionsRichard van der Hoff2018-09-051-1/+1
* | 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
| |/ |/|
* | include known room versions in outgoing make_joinsRichard van der Hoff2018-08-061-1/+4
* | Enforce compatibility when processing make_join requestsRichard van der Hoff2018-08-031-1/+23
* | Docstrings for BaseFederationServletRichard van der Hoff2018-08-031-0/+47
* | Python 3: Convert some unicode/bytes uses (#3569)Amber Brown2018-08-021-1/+1
|/
* Remove pdu_failures from transactionsTravis Ralston2018-07-301-2/+1
* Update the send_leave path to be an event_idTravis Ralston2018-07-261-2/+2
* run isortAmber Brown2018-07-092-15/+15
* Implementation of server_aclsRichard van der Hoff2018-07-041-2/+6
* More server_name validationRichard van der Hoff2018-07-041-2/+3
* Reject invalid server names (#3480)Richard van der Hoff2018-07-031-22/+44
* Improve exception handling for background processesRichard van der Hoff2018-04-271-3/+10
* 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
* 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
* s/replication_server/federation_serverErik Johnston2018-03-131-1/+1
* Split replication layer into twoErik Johnston2018-03-131-1/+1
* Add federation_domain_whitelist option (#2820)Matthew Hodgson2018-01-222-1/+11
* 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
* 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
* DelintLuke Barnard2017-10-161-0/+2
* Implement GET /groups/$groupId/invited_usersLuke Barnard2017-10-162-1/+30
* Fix typo in invite to groupErik Johnston2017-10-111-1/+1
* Add remove room APIErik Johnston2017-09-262-1/+25
* Add bulk group publicised lookup APIErik Johnston2017-08-092-0/+32