- Sep 13, 2019
-
-
Amber Brown authored
-
Travis Ralston authored
-
- Sep 12, 2019
-
-
Amber Brown authored
-
Richard van der Hoff authored
Essentially the intention here is to end up blacklisting servers which never respond to federation requests. Fixes https://github.com/matrix-org/synapse/issues/5113.
-
Richard van der Hoff authored
This was intended to introduce an element of jitter; instead it gave you a 30/60 chance of resetting to zero.
-
David Baker authored
-
Sorunome authored
This PR adds the optional `report_stats_endpoint` to configure where stats are reported to, if enabled.
-
Jorik Schellekens authored
* Blow up config if opentracing is missing
-
- Sep 11, 2019
-
-
Jason Robinson authored
This allows support users to be created even on MAU limits via the admin API. Support users are excluded from MAU after creation, so it makes sense to exclude them in creation - except if the whole host is in disabled state. Signed-off-by:
Jason Robinson <jasonr@matrix.org>
-
Andrew Morgan authored
This is a redo of https://github.com/matrix-org/synapse/pull/5897 but with `id_access_token` accepted. Implements [MSC2134](https://github.com/matrix-org/matrix-doc/pull/2134) plus Identity Service v2 authentication ala [MSC2140](https://github.com/matrix-org/matrix-doc/pull/2140). Identity lookup-related functions were also moved from `RoomMemberHandler` to `IdentityHandler`.
-
Richard van der Hoff authored
* remove some unused code * make things which were constants into constants for efficiency and clarity
-
Andrew Morgan authored
Some small fixes to `room_member.py` found while doing other PRs. 1. Add requester to the base `_remote_reject_invite` method. 2. `send_membership_event`'s docstring was out of date and took in a `remote_room_hosts` arg that was not used and no calling function provided.
-
Jorik Schellekens authored
-
Andrew Morgan authored
Two things I missed while implementing [MSC2140](https://github.com/matrix-org/matrix-doc/pull/2140/files#diff-c03a26de5ac40fb532de19cb7fc2aaf7R80). 1. Access tokens should be provided to the identity server as `access_token`, not `id_access_token`, even though the homeserver may accept the tokens as `id_access_token`. 2. Access tokens must be sent to the identity server in a query parameter, the JSON body is not allowed. We now send the access token as part of an `Authorization: ...` header, which fixes both things. The breaking code was added in https://github.com/matrix-org/synapse/pull/5892 Sytest PR: https://github.com/matrix-org/sytest/pull/697
-
Erik Johnston authored
-
Andrew Morgan authored
Remove origin parameter from add_display_name_to_third_party_invite and add params to docstring (#6010) Another small fixup noticed during work on a larger PR. The `origin` field of `add_display_name_to_third_party_invite` is not used and likely was just carried over from the `on_PUT` method of `FederationThirdPartyInviteExchangeServlet` which, like all other servlets, provides an `origin` argument. Since it's not used anywhere in the handler function though, we should remove it from the function arguments.
-
- Sep 10, 2019
-
-
Andrew Morgan authored
-
- Sep 09, 2019
-
-
Amber Brown authored
-
Jason Robinson authored
Previously if the first registered user was a "support" or "bot" user, when the first real user registers, the auto-join rooms were not created. Fix to exclude non-real (ie users with a special user type) users when counting how many users there are to determine whether we should auto-create a room. Signed-off-by:
Jason Robinson <jasonr@matrix.org>
-
Erik Johnston authored
-
- Sep 06, 2019
-
-
Amber Brown authored
-
Andrew Morgan authored
`sid` is required to be part of `three_pid_creds`. We were 500'ing if it wasn't provided instead of returning `M_MISSING_PARAM`.
-
Erik Johnston authored
-
Andrew Morgan authored
-
Andrew Morgan authored
-
Andrew Morgan authored
-
Andrew Morgan authored
Allow Synapse to send registration emails + choose Synapse or an external server to handle 3pid validation (#5987) This is a combination of a few different PRs, finally all being merged into `develop`: * #5875 * #5876 * #5868 (This one added the `/versions` flag but the flag itself was actually [backed out](https://github.com/matrix-org/synapse/commit/891afb57cbdf9867f2848341b29c75d6f35eef5a#diff-e591d42d30690ffb79f63bb726200891) in #5969. What's left is just giving /versions access to the config file, which could be useful in the future) * #5835 * #5969 * #5940 Clients should not actually use the new registration functionality until https://github.com/matrix-org/synapse/pull/5972 is merged. UPGRADE.rst, changelog entries and config file changes should all be reviewed closely before this PR is merged.
-
Erik Johnston authored
-
Erik Johnston authored
-
- Sep 05, 2019
-
-
Jorik Schellekens authored
-
Jorik Schellekens authored
-
Jorik Schellekens authored
Co-Authored-By:
Erik Johnston <erik@matrix.org>
-
Jorik Schellekens authored
-
Jorik Schellekens authored
-
Andrew Morgan authored
-
Jorik Schellekens authored
-
Andrew Morgan authored
Implements `POST /_matrix/client/r0/account/3pid/unbind` from [MSC2140](https://github.com/matrix-org/matrix-doc/blob/dbkr/tos_2/proposals/2140-terms-of-service-2.md#post-_matrixclientr0account3pidunbind).
-
- Sep 04, 2019
-
-
Andrew Morgan authored
Removes the `bind_email` and `bind_msisdn` parameters from the `/register` C/S API endpoint as per [MSC2140: Terms of Service for ISes and IMs](https://github.com/matrix-org/matrix-doc/pull/2140/files#diff-c03a26de5ac40fb532de19cb7fc2aaf7R107).
-
Andrew Morgan authored
Very small code cleanup.
-
Erik Johnston authored
Previously the stats were not being correctly populated.
-