Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Opentracing misc (#5856) | Jorik Schellekens | 2019-08-16 | 1 | -6/+7 |
| | | | | | | | | | | | Add authenticated_entity and servlet_names tags. Functionally: - Add a tag for authenticated_entity - Add a tag for servlet_names Stylistically: Moved to importing methods directly from opentracing. | ||||
* | Wrap `get_local_public_room_list` call in `maybeDeferred` because it | Olivier Wilkinson (reivilibre) | 2019-08-14 | 1 | -2/+8 |
| | | | | | | | is cached and so does not always return a `Deferred`. `await` does not silently pass-through non-Deferreds like `yield` used to. Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | Room Complexity Client Implementation (#5783) | Amber Brown | 2019-07-30 | 1 | -7/+24 |
| | |||||
* | Merge tag 'v1.2.0rc2' into develop | Andrew Morgan | 2019-07-24 | 1 | -1/+3 |
|\ | | | | | | | | | | | | | Bugfixes -------- - Fix a regression introduced in v1.2.0rc1 which led to incorrect labels on some prometheus metrics. ([\#5734](https://github.com/matrix-org/synapse/issues/5734)) | ||||
| * | Fix servlet metric names (#5734) | Jorik Schellekens | 2019-07-24 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | * Fix servlet metric names Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * Remove redundant check * Cover all return paths | ||||
* | | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -15/+15 |
|/ | |||||
* | Convert synapse.federation.transport.server to async (#5689) | Richard van der Hoff | 2019-07-18 | 1 | -242/+188 |
| | | | | | | | | | | | | | | | | * Convert BaseFederationServlet._wrap to async Empirically, this fixes some lost stacktraces. It should be safe because the wrapped function is called from JsonResource._async_render, which is already async. * Convert the rest of synapse.federation.transport.server to async We may as well do the whole file while we're here. * changelog * flake8 | ||||
* | Add basic opentracing support (#5544) | Jorik Schellekens | 2019-07-11 | 1 | -5/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Configure and initialise tracer Includes config options for the tracer and sets up JaegerClient. * Scope manager using LogContexts We piggy-back our tracer scopes by using log context. The current log context gives us the current scope. If new scope is created we create a stack of scopes in the context. * jaeger is a dependency now * Carrier inject and extraction for Twisted Headers * Trace federation requests on the way in and out. The span is created in _started_processing and closed in _finished_processing because we need a meaningful log context. * Create logcontext for new scope. Instead of having a stack of scopes in a logcontext we create a new context for a new scope if the current logcontext already has a scope. * Remove scope from logcontext if logcontext is top level * Disable tracer if not configured * typo * Remove dependence on jaeger internals * bools * Set service name * :Explicitely state that the tracer is disabled * Black is the new black * Newsfile * Code style * Use the new config setup. * Generate config. * Copyright * Rename config to opentracing * Remove user whitelisting * Empty whitelist by default * User ConfigError instead of RuntimeError * Use isinstance * Use tag constants for opentracing. * Remove debug comment and no need to explicitely record error * Two errors a "s(c)entry" * Docstrings! * Remove debugging brainslip * Homeserver Whitlisting * Better opentracing config comment * linting * Inclue worker name in service_name * Make opentracing an optional dependency * Neater config retreival * Clean up dummy tags * Instantiate tracing as object instead of global class * Inlcude opentracing as a homeserver member. * Thread opentracing to the request level * Reference opetnracing through hs * Instantiate dummy opentracin g for tests. * About to revert, just keeping the unfinished changes just in case * Revert back to global state, commit number: 9ce4a3d9067bf9889b86c360c05ac88618b85c4f * Use class level methods in tracerutils * Start and stop requests spans in a place where we have access to the authenticated entity * Seen it, isort it * Make sure to close the active span. * I'm getting black and blue from this. * Logger formatting Co-Authored-By: Erik Johnston <erik@matrix.org> * Outdated comment * Import opentracing at the top * Return a contextmanager * Start tracing client requests from the servlet * Return noop context manager if not tracing * Explicitely say that these are federation requests * Include servlet name in client requests * Use context manager * Move opentracing to logging/ * Seen it, isort it again! * Ignore twisted return exceptions on context exit * Escape the scope * Scopes should be entered to make them useful. * Nicer decorator names * Just one init, init? * Don't need to close something that isn't open * Docs make you smarter | ||||
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 2 | -2/+2 |
| | |||||
* | Split public rooms directory auth config in two | Brendan Abolivier | 2019-06-24 | 1 | -4/+4 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 2 | -288/+243 |
| | |||||
* | Associate a request_name with each verify request, for logging | Richard van der Hoff | 2019-06-05 | 1 | -1/+3 |
| | | | | | | | Also: * rename VerifyKeyRequest->VerifyJsonRequest * calculate key_ids on VerifyJsonRequest construction * refactor things to pass around VerifyJsonRequests instead of 4-tuples | ||||
* | Enforce validity period on server_keys for fed requests. (#5321) | Richard van der Hoff | 2019-06-03 | 1 | -1/+3 |
| | | | | | | | | When handling incoming federation requests, make sure that we have an up-to-date copy of the signing key. We do not yet enforce the validity period for event signatures. | ||||
* | Implement the SHHS complexity API (#5216) | Amber Brown | 2019-05-30 | 1 | -1/+30 |
| | |||||
* | Make all the rate limiting options more consistent (#5181) | Amber Brown | 2019-05-15 | 1 | -5/+1 |
| | |||||
* | add options to require an access_token to GET /profile and /publicRooms on ↵ | Matthew Hodgson | 2019-05-08 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | CS API (#5083) This commit adds two config options: * `restrict_public_rooms_to_local_users` Requires auth to fetch the public rooms directory through the CS API and disables fetching it through the federation API. * `require_auth_for_profile_requests` When set to `true`, requires that requests to `/profile` over the CS API are authenticated, and only returns the user's profile if the requester shares a room with the profile's owner, as per MSC1301. MSC1301 also specifies a behaviour for federation (only returning the profile if the server asking for it shares a room with the profile's owner), but that's currently really non-trivial to do in a not too expensive way. Next step is writing down a MSC that allows a HS to specify which user sent the profile query. In this implementation, Synapse won't send a profile query over federation if it doesn't believe it already shares a room with the profile's owner, though. Groups have been intentionally omitted from this commit. | ||||
* | Collect room-version variations into one place (#4969) | Richard van der Hoff | 2019-04-01 | 1 | -2/+2 |
| | | | | Collect all the things that make room-versions different to one another into one place, so that it's easier to define new room versions. | ||||
* | Make federation endpoints more tolerant of trailing slashes v2 (#4935) | Andrew Morgan | 2019-03-26 | 2 | -8/+8 |
| | | | Redo of https://github.com/matrix-org/synapse/pull/4840 | ||||
* | Remove trailing slashes from outbound federation requests and retry on 400 ↵ | Andrew Morgan | 2019-03-21 | 1 | -7/+14 |
|\ | | | | | | | | | (#4840) As per #3622, we remove trailing slashes from outbound federation requests. However, to ensure that we remain backwards compatible with previous versions of Synapse, if we receive a HTTP 400 with `M_UNRECOGNIZED`, then we are likely talking to an older version of Synapse in which case we retry with a trailing slash appended to the request path. | ||||
| * | Switch to wrapper function around _send_request | Andrew Morgan | 2019-03-13 | 1 | -5/+5 |
| | | |||||
| * | Cleaner way of implementing trailing slashes | Andrew Morgan | 2019-03-12 | 1 | -5/+10 |
| | | |||||
| * | Merge branch 'develop' into anoa/trailing_slashes_client | Andrew Morgan | 2019-03-11 | 1 | -7/+7 |
| |\ | |||||
| * | | lint | Andrew Morgan | 2019-03-08 | 1 | -1/+3 |
| | | | |||||
| * | | Retry certain federation requests on 404 | Andrew Morgan | 2019-03-08 | 1 | -5/+5 |
| | | | |||||
| * | | Remove trailing slashes from outbound federation requests | Andrew Morgan | 2019-03-08 | 1 | -7/+7 |
| | | | |||||
* | | | Revert "Make federation endpoints more tolerant of trailing slashes for some ↵ | Erik Johnston | 2019-03-14 | 2 | -8/+8 |
| |/ |/| | | | | | | | | | endpoints (#4793)" This reverts commit 290552fd836f4ae2dc1d893a7f72f7fff85365d3. | ||||
* | | Make federation endpoints more tolerant of trailing slashes for some ↵ | Andrew Morgan | 2019-03-11 | 2 | -8/+8 |
|/ | | | | | endpoints (#4793) Server side of a solution towards #3622. | ||||
* | Remove unnecessary dollar signs | Andrew Morgan | 2019-03-04 | 1 | -22/+22 |
| | | | | | A dollar sign is already appended to the end of each PATH, so there's no need to add one in the PATH declaration as well. | ||||
* | Make 'event_id' a required parameter in federated state requests (#4741) | Amber Brown | 2019-02-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | * make 'event_id' a required parameter in federated state requests As per the spec: https://matrix.org/docs/spec/server_server/r0.1.1.html#id40 Signed-off-by: Joseph Weston <joseph@weston.cloud> * add changelog entry for bugfix Signed-off-by: Joseph Weston <joseph@weston.cloud> * Update server.py | ||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Andrew Morgan | 2019-02-26 | 2 | -124/+241 |
|\ | | | | | | | anoa/public_rooms_federate_develop | ||||
| * | Revert "Prevent showing non-fed rooms in fed /publicRooms" | Andrew Morgan | 2019-02-26 | 1 | -2/+1 |
| | | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2019-02-25 | 2 | -124/+241 |
| |\ | | | | | | | | | | anoa/public_rooms_federate | ||||
| | * | Merge pull request #4420 from matrix-org/jaywink/openid-listener | Erik Johnston | 2019-02-11 | 1 | -42/+95 |
| | |\ | | | | | | | | | New listener resource for the federation API "openid/userinfo" endpoint | ||||
| | | * | Document `servlet_groups` parameters | Jason Robinson | 2019-01-23 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | | Signed-off-by: Jason Robinson <jasonr@matrix.org> | ||||
| | | * | Split federation OpenID userinfo endpoint out of the federation resource | Jason Robinson | 2019-01-23 | 1 | -42/+72 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the OpenID userinfo endpoint to be active even if the federation resource is not active. The OpenID userinfo endpoint is called by integration managers to verify user actions using the client API OpenID access token. Without this verification, the integration manager cannot know that the access token is valid. The OpenID userinfo endpoint will be loaded in the case that either "federation" or "openid" resource is defined. The new "openid" resource is defaulted to active in default configuration. Signed-off-by: Jason Robinson <jasonr@matrix.org> | ||||
| | * | | Implement fallback for V2 invite API | Erik Johnston | 2019-01-28 | 1 | -2/+37 |
| | | | | | | | | | | | | | | | | | | | | If the room version is either 1 or 2 then a server should retry failed `/v2/invite` requests with the v1 API | ||||
| | * | | Require event format version to parse or create events | Erik Johnston | 2019-01-25 | 1 | -2/+2 |
| | | | | |||||
| | * | | Revert "Require event format version to parse or create events" | Erik Johnston | 2019-01-25 | 1 | -2/+2 |
| | | | | |||||
| | * | | Require event format version to parse or create events | Erik Johnston | 2019-01-23 | 1 | -2/+2 |
| | |/ | |||||
| | * | Add /v2/invite federation API | Erik Johnston | 2019-01-15 | 1 | -4/+38 |
| | | | |||||
| | * | Add groundwork for new versions of federation APIs | Erik Johnston | 2019-01-15 | 2 | -67/+71 |
| | | | |||||
| | * | Remove the unused /pull federation API (#4118) | Amber Brown | 2018-10-31 | 1 | -9/+0 |
| | | | |||||
| * | | Don't restrict non-fed rooms over client APIs | Andrew Morgan | 2019-02-25 | 1 | -1/+2 |
| |/ | |||||
* / | Prevent showing non-fed rooms in fed /publicRooms | Andrew Morgan | 2019-02-26 | 1 | -1/+2 |
|/ | |||||
* | Fix incorrect truncation in get_missing_events | Richard van der Hoff | 2018-10-16 | 1 | -2/+0 |
| | | | | | | | | | It's quite important that get_missing_events returns the *latest* events in the room; however we were pulling event ids out of the database until we got *at least* 10, and then taking the *earliest* of the results. We also shouldn't really be relying on depth, and should be checking the room_id. | ||||
* | Various cleanups in the federation client code (#4031) | Richard van der Hoff | 2018-10-16 | 1 | -8/+11 |
| | | | | | | | | | | | | | | - Improve logging: log things in the right order, include destination and txids in all log lines, don't log successful responses twice - Fix the docstring on TransportLayerClient.send_transaction - Don't use treq.request, which is overcomplicated for our purposes: just use a twisted.web.client.Agent. - simplify the logic for setting up the bodyProducer - fix bytes/str confusions | ||||
* | Port federation/ to py3 (#3847) | Amber Brown | 2018-09-12 | 2 | -15/+14 |
| | |||||
* | Merge branch 'master' into develop | Richard van der Hoff | 2018-09-06 | 1 | -1/+1 |
|\ | |||||
| * | Fix origin handling for pushed transactions | Richard van der Hoff | 2018-09-05 | 1 | -1/+1 |
| | | | | | | | | | | Use the actual origin for push transactions, rather than whatever the remote server claimed. | ||||
* | | Merge pull request #3735 from matrix-org/travis/federation-spelling | Richard van der Hoff | 2018-08-22 | 1 | -1/+1 |
|\ \ | | | | | | | limt -> limit | ||||
| * | | limt -> limit | Travis Ralston | 2018-07-31 | 1 | -1/+1 |
| | | | |||||
* | | | Log more detail when we fail to authenticate request | Erik Johnston | 2018-08-21 | 1 | -3/+3 |
| | | | |||||
* | | | Don't log exceptions when failing to fetch server keys | Erik Johnston | 2018-08-21 | 1 | -2/+2 |
| |/ |/| | | | | | | | Not being able to resolve or connect to remote servers is an expected error, so we shouldn't log at ERROR with stacktraces. | ||||
* | | include known room versions in outgoing make_joins | Richard van der Hoff | 2018-08-06 | 1 | -1/+4 |
| | | |||||
* | | Enforce compatibility when processing make_join requests | Richard van der Hoff | 2018-08-03 | 1 | -1/+23 |
| | | | | | | | | | | | | Reject make_join requests from servers which do not support the room version. Also include the room version in the response. | ||||
* | | Docstrings for BaseFederationServlet | Richard van der Hoff | 2018-08-03 | 1 | -0/+47 |
| | | | | | | | | ... to save me reverse-engineering this stuff again. | ||||
* | | Python 3: Convert some unicode/bytes uses (#3569) | Amber Brown | 2018-08-02 | 1 | -1/+1 |
|/ | |||||
* | Remove pdu_failures from transactions | Travis Ralston | 2018-07-30 | 1 | -2/+1 |
| | | | The field is never read from, and all the opportunities given to populate it are not utilized. It should be very safe to remove this. | ||||
* | Update the send_leave path to be an event_id | Travis Ralston | 2018-07-26 | 1 | -2/+2 |
| | | | It's still not used, however the parameter is an event ID not a transaction ID. | ||||
* | run isort | Amber Brown | 2018-07-09 | 2 | -15/+15 |
| | |||||
* | Implementation of server_acls | Richard van der Hoff | 2018-07-04 | 1 | -2/+6 |
| | | | | | ... as described at https://docs.google.com/document/d/1EttUVzjc2DWe2ciw4XPtNpUpIl9lWXGEsy2ewDS7rtw. | ||||
* | More server_name validation | Richard van der Hoff | 2018-07-04 | 1 | -2/+3 |
| | | | | | | | | We need to do a bit more validation when we get a server name, but don't want to be re-doing it all over the shop, so factor out a separate parse_and_validate_server_name, and do the extra validation. Also, use it to verify the server name in the config file. | ||||
* | Reject invalid server names (#3480) | Richard van der Hoff | 2018-07-03 | 1 | -22/+44 |
| | | | | | Make sure that server_names used in auth headers are sane, and reject them with a sensible error code, before they disappear off into the depths of the system. | ||||
* | Improve exception handling for background processes | Richard van der Hoff | 2018-04-27 | 1 | -3/+10 |
| | | | | | | | | | | | | | | | | | | There were a bunch of places where we fire off a process to happen in the background, but don't have any exception handling on it - instead relying on the unhandled error being logged when the relevent deferred gets garbage-collected. This is unsatisfactory for a number of reasons: - logging on garbage collection is best-effort and may happen some time after the error, if at all - it can be hard to figure out where the error actually happened. - it is logged as a scary CRITICAL error which (a) I always forget to grep for and (b) it's not really CRITICAL if a background process we don't care about fails. So this is an attempt to add exception handling to everything we fire off into the background. | ||||
* | fix federation_domain_whitelist | Matthew Hodgson | 2018-04-13 | 1 | -6/+6 |
| | | | | we were checking the wrong server_name on inbound requests | ||||
* | revert last to PR properly | Matthew Hodgson | 2018-04-13 | 1 | -6/+6 |
| | |||||
* | correctly auth inbound federation_domain_whitelist reqs | Matthew Hodgson | 2018-04-13 | 1 | -6/+6 |
| | |||||
* | Ensure slashes are escaped | Erik Johnston | 2018-04-10 | 1 | -1/+1 |
| | |||||
* | URL quote path segments over federation | Erik Johnston | 2018-04-10 | 1 | -48/+80 |
| | |||||
* | pep8 | Luke Barnard | 2018-04-06 | 1 | -1/+1 |
| | |||||
* | Fix federation client `set_group_joinable` typo | Luke Barnard | 2018-04-06 | 1 | -1/+1 |
| | |||||
* | Implement group join API | David Baker | 2018-04-06 | 2 | -0/+31 |
| | |||||
* | use PUT instead of POST for federating groups/m.join_policy | Krombel | 2018-04-06 | 2 | -2/+2 |
| | |||||
* | Use "/settings/" (plural) | Luke Barnard | 2018-04-05 | 2 | -2/+2 |
| | |||||
* | Use join_policy API instead of joinable | Luke Barnard | 2018-04-03 | 2 | -6/+6 |
| | | | | | | | | | | | | | | | | | The API is now under /groups/$group_id/setting/m.join_policy and expects a JSON blob of the shape ```json { "m.join_policy": { "type": "invite" } } ``` where "invite" could alternatively be "open". | ||||
* | pep8 | David Baker | 2018-03-28 | 1 | -2/+1 |
| | |||||
* | Add joinability for groups | David Baker | 2018-03-28 | 2 | -0/+37 |
| | | | | | Adds API to set the 'joinable' flag, and corresponding flag in the table. | ||||
* | s/replication_server/federation_server | Erik Johnston | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | Split replication layer into two | Erik Johnston | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | Add federation_domain_whitelist option (#2820) | Matthew Hodgson | 2018-01-22 | 2 | -1/+11 |
| | | | | | | Add federation_domain_whitelist gives a way to restrict which domains your HS is allowed to federate with. useful mainly for gracefully preventing a private but internet-connected HS from trying to federate to the wider public Matrix network | ||||
* | Add brackets | Erik Johnston | 2017-11-09 | 1 | -2/+4 |
| | |||||
* | Have an explicit API to update room config | Erik Johnston | 2017-11-08 | 2 | -1/+36 |
| | |||||
* | Revert "Modify group room association API to allow modification of is_public" | Erik Johnston | 2017-11-08 | 2 | -7/+6 |
| | |||||
* | Update docs for updating room group association | Luke Barnard | 2017-11-01 | 1 | -1/+1 |
| | |||||
* | Flake8 | Luke Barnard | 2017-10-31 | 1 | -3/+4 |
| | |||||
* | Modify group room association API to allow modification of is_public | Luke Barnard | 2017-10-31 | 2 | -4/+4 |
| | | | | also includes renamings to make things more consistent. | ||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2017-10-24 | 1 | -3/+3 |
|\ | | | | | | | erikj/group_fed_update_profile | ||||
| * | replace 'except:' with 'except Exception:' | Richard van der Hoff | 2017-10-23 | 1 | -3/+3 |
| | | | | | | | | what could possibly go wrong | ||||
* | | Correctly wire in update group profile over federation | Erik Johnston | 2017-10-23 | 2 | -11/+31 |
|/ | |||||
* | Fix typo | Erik Johnston | 2017-10-19 | 1 | -1/+1 |
| | |||||
* | Fix typo in group attestation handling | Erik Johnston | 2017-10-19 | 1 | -1/+1 |
| | |||||
* | Delint | Luke Barnard | 2017-10-16 | 1 | -0/+2 |
| | |||||
* | Implement GET /groups/$groupId/invited_users | Luke Barnard | 2017-10-16 | 2 | -1/+30 |
| | |||||
* | Fix typo in invite to group | Erik Johnston | 2017-10-11 | 1 | -1/+1 |
| | |||||
* | Add remove room API | Erik Johnston | 2017-09-26 | 2 | -1/+25 |
| | |||||
* | Add bulk group publicised lookup API | Erik Johnston | 2017-08-09 | 2 | -0/+32 |
| | |||||
* | Add update group profile API | Erik Johnston | 2017-07-20 | 1 | -0/+12 |
| | |||||
* | Comments | Erik Johnston | 2017-07-18 | 1 | -1/+1 |
| | |||||
* | Comments | Erik Johnston | 2017-07-18 | 1 | -0/+40 |
| | |||||
* | Fix typos | Erik Johnston | 2017-07-18 | 1 | -2/+2 |
| | |||||
* | Correctly parse query params | Erik Johnston | 2017-07-18 | 1 | -19/+19 |
| | |||||
* | Add client apis | Erik Johnston | 2017-07-18 | 1 | -9/+187 |
| | |||||
* | Comments | Erik Johnston | 2017-07-18 | 1 | -15/+19 |
| | |||||
* | Add local group server support | Erik Johnston | 2017-07-17 | 2 | -0/+121 |
| | |||||
* | Ensure category and role ids are non-null | Erik Johnston | 2017-07-14 | 1 | -0/+24 |
| | |||||
* | Comments | Erik Johnston | 2017-07-13 | 1 | -0/+8 |
| | |||||
* | Add summary APIs to federation | Erik Johnston | 2017-07-13 | 1 | -11/+223 |
| | |||||
* | Add group summary APIs | Erik Johnston | 2017-07-12 | 1 | -0/+17 |
| | |||||
* | Add federation API for adding room to group | Erik Johnston | 2017-07-11 | 1 | -0/+18 |
| | |||||
* | Comment | Erik Johnston | 2017-07-11 | 2 | -0/+26 |
| | |||||
* | Initial group server implementation | Erik Johnston | 2017-07-10 | 2 | -1/+176 |
| | |||||
* | Separate federation servlet into different lists | Erik Johnston | 2017-07-05 | 1 | -8/+16 |
| | |||||
* | Use preserve_fn and add logs | Erik Johnston | 2017-05-05 | 1 | -1/+3 |
| | |||||
* | Always mark remotes as up if we receive a signed request from them | Erik Johnston | 2017-05-05 | 1 | -0/+7 |
| | |||||
* | Try harder when sending leave events | Richard van der Hoff | 2017-04-21 | 1 | -1/+19 |
| | | | | | When we're rejecting invites, ignore the backoff data, so that we have a better chance of not getting the room out of sync. | ||||
* | Fix some lies, and other clarifications, in docstrings | Richard van der Hoff | 2017-04-21 | 1 | -0/+20 |
| | | | | | The documentation on get_json has been wrong ever since the very first commit to synapse... | ||||
* | Ignore backoff history for invites, aliases, and roomdirs | Richard van der Hoff | 2017-03-23 | 1 | -1/+5 |
| | | | | | Add a param to the federation client which lets us ignore historical backoff data for federation queries, and set it for a handful of operations. | ||||
* | push federation retry limiter down to matrixfederationclient | Richard van der Hoff | 2017-03-23 | 1 | -0/+1 |
| | | | | | rather than having to instrument everywhere we make a federation call, make the MatrixFederationHttpClient manage the retry limiter. | ||||
* | Implement device key caching over federation | Erik Johnston | 2017-01-26 | 2 | -0/+34 |
| | |||||
* | limit total timeout for get_missing_events to 10s | Matthew Hodgson | 2016-12-31 | 1 | -2/+3 |
| | |||||
* | Add new API appservice specific public room list | Erik Johnston | 2016-12-06 | 2 | -3/+25 |
| | |||||
* | Support filtering remote room lists | Erik Johnston | 2016-09-16 | 1 | -1/+4 |
| | |||||
* | Pass since/from parameters over federation | Erik Johnston | 2016-09-15 | 2 | -3/+16 |
| | |||||
* | Add a timeout parameter for end2end key queries. | Mark Haines | 2016-09-12 | 1 | -2/+4 |
| | | | | | | | | | | 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. | ||||
* | Add federation /version API | Erik Johnston | 2016-08-05 | 1 | -1/+17 |
| | |||||
* | Change the way we specify if we require auth or not | Erik Johnston | 2016-08-05 | 1 | -40/+55 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/state_ids_api | Erik Johnston | 2016-08-04 | 1 | -3/+1 |
|\ | |||||
| * | E2E keys: Make federation query share code with client query | Richard van der Hoff | 2016-08-02 | 1 | -3/+1 |
| | | | | | | | | | | Refactor the e2e query handler to separate out the local query, and then make the federation handler use it. | ||||
* | | Add /state_ids federation API | Erik Johnston | 2016-08-03 | 2 | -0/+34 |
|/ | | | | | The new API only returns the event_ids for the state, as most requesters will already have the vast majority of the events already. | ||||
* | Linearize some federation endpoints based on (origin, room_id) | Erik Johnston | 2016-06-17 | 1 | -1/+1 |
| | |||||
* | Disable responding with canonical json for federation | Erik Johnston | 2016-06-17 | 1 | -1/+1 |
| | |||||
* | Fix up federation PublicRoomList | Erik Johnston | 2016-06-08 | 1 | -1/+1 |
| | |||||
* | Enable auth on federation PublicRoomList | Erik Johnston | 2016-06-08 | 1 | -5/+0 |
| | |||||
* | pep8 | David Baker | 2016-06-01 | 1 | -1/+3 |
| | |||||
* | Basic, un-cached support for secondary_directory_servers | David Baker | 2016-05-31 | 2 | -1/+13 |
| | |||||
* | Fix c+p fail | David Baker | 2016-05-31 | 1 | -17/+0 |
| | |||||
* | Add federation room list servlet | David Baker | 2016-05-31 | 1 | -1/+64 |
| | |||||
* | Add an openidish mechanism for proving to third parties that you own a given ↵ | Mark Haines | 2016-05-05 | 1 | -1/+46 |
| | | | | user_id | ||||
* | Fix typo in event_auth servlet path | Erik Johnston | 2016-04-29 | 1 | -1/+1 |
| | |||||
* | Lower timeout for make_membership_event | Erik Johnston | 2016-04-15 | 1 | -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 things | Erik Johnston | 2016-03-23 | 1 | -14/+14 |
| | |||||
* | Use parse_json_object_from_request to parse JSON out of request bodies | Mark Haines | 2016-03-11 | 1 | -2/+2 |
| | |||||
* | Add profile information to invites | Erik Johnston | 2016-03-04 | 1 | -0/+1 |
| | |||||
* | Allow third_party_signed to be specified on /join | Daniel Wagner-Hall | 2016-02-23 | 1 | -1/+11 |
| | |||||
* | Remove redundated BaseHomeServer | Erik Johnston | 2016-01-26 | 3 | -84/+54 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 3 | -3/+3 |
| | |||||
* | Host /unstable and /r0 versions of r0 APIs | Daniel Wagner-Hall | 2015-12-01 | 1 | -1/+1 |
| | |||||
* | Only retry federation requests for a long time for background requests | Erik Johnston | 2015-11-17 | 1 | -0/+1 |
| | |||||
* | Exchange 3pid invites for m.room.member invites | Daniel Wagner-Hall | 2015-11-05 | 2 | -3/+52 |
| | |||||
* | Allow rejecting invites | Daniel Wagner-Hall | 2015-10-20 | 2 | -2/+42 |
| | | | | | This is done by using the same /leave flow as you would use if you had already accepted the invite and wanted to leave. | ||||
* | Implement third party identifier invites | Daniel Wagner-Hall | 2015-10-01 | 2 | -3/+4 |
| | |||||
* | Get the end-to-end key federation working | Mark Haines | 2015-07-24 | 2 | -8/+8 |
| | |||||
* | Add federation support for end-to-end key requests | Mark Haines | 2015-07-23 | 2 | -0/+90 |
| | |||||
* | Log more when we have processed the request | Erik Johnston | 2015-06-15 | 1 | -0/+1 |
| | |||||
* | Log where a request came from in federation | Erik Johnston | 2015-06-02 | 1 | -0/+2 |
| | |||||
* | Merge pull request #156 from matrix-org/erikj/join_perf | Mark Haines | 2015-05-22 | 1 | -2/+4 |
|\ | | | | | Make joining #matrix:matrix.org over federation quicker | ||||
| * | Add doc strings | Erik Johnston | 2015-05-22 | 1 | -0/+2 |
| | | |||||
| * | Add a timeout param to get_event | Erik Johnston | 2015-05-19 | 1 | -2/+2 |
| | | |||||
* | | Log origin and stats of incoming transactions | Erik Johnston | 2015-05-22 | 1 | -0/+8 |
|/ | |||||
* | Add missing servlet to list | Erik Johnston | 2015-03-19 | 1 | -0/+1 |
| | |||||
* | Count incoming HTTP requests per servlet that responds | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -0/+4 |
| | |||||
* | Appease pep8 | Paul "LeoNerd" Evans | 2015-03-05 | 1 | -19/+27 |
| | |||||
* | Append a $ on PATH at registration time, meaning each PATH attribute doesn't ↵ | Paul "LeoNerd" Evans | 2015-03-05 | 1 | -13/+14 |
| | | | | need it | ||||
* | Slightly neater(?) arrangement of authentication wrapper for HTTP servlet ↵ | Paul "LeoNerd" Evans | 2015-03-05 | 1 | -25/+37 |
| | | | | methods | ||||
* | Remove the dead 'rate_limit_origin' method from TransportLayerServer | Paul "LeoNerd" Evans | 2015-03-05 | 1 | -6/+0 |
| | |||||
* | Move federation API responding code out of weird mix of lambdas into ↵ | Paul "LeoNerd" Evans | 2015-03-05 | 1 | -170/+130 |
| | | | | Servlet-style methods on instances | ||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into batched_get_pdu | Erik Johnston | 2015-03-02 | 2 | -3/+23 |
|\ | |||||
| * | Make the federation server ratelimiting configurable. | Erik Johnston | 2015-03-02 | 1 | -5/+5 |
| | | |||||
| * | Move federation rate limiting out of transport layer | Erik Johnston | 2015-02-27 | 2 | -204/+4 |
| | | |||||
| * | Document FederationRateLimiter | Erik Johnston | 2015-02-27 | 1 | -8/+51 |
| | | |||||
| * | Initial implementation of federation server rate limiting | Erik Johnston | 2015-02-26 | 2 | -5/+182 |
| | | |||||
* | | Implement and use new batched get missing pdu | Erik Johnston | 2015-02-23 | 2 | -0/+50 |
|/ | |||||
* | Blunty replace json with simplejson | Erik Johnston | 2015-02-11 | 1 | -1/+1 |
| | |||||
* | Apply sanity to the transport client interface. Convert 'make_join' and ↵ | Erik Johnston | 2015-02-04 | 1 | -26/+16 |
| | | | | 'send_join' to accept iterables of destinations | ||||
* | Initial implementation of auth conflict resolution | Erik Johnston | 2015-01-29 | 2 | -1/+36 |
| | |||||
* | Finish renaming "context" to "room_id" in federation codebase | Mark Haines | 2015-01-16 | 2 | -29/+19 |
| | |||||
* | Fold _do_request_for_transaction into the methods that called it since it ↵ | Mark Haines | 2015-01-16 | 1 | -44/+11 |
| | | | | was a trivial wrapper around client.get_json | ||||
* | Split transport layer into client and server parts | Mark Haines | 2015-01-16 | 3 | -0/+647 |