Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove threepid binding if id server returns 400/404/501 | Erik Johnston | 2019-04-02 | 1 | -9/+10 |
| | |||||
* | Fixup docstrings | Erik Johnston | 2019-04-02 | 1 | -2/+4 |
| | |||||
* | Allowing specifying IS to use in unbind API. | Erik Johnston | 2019-04-01 | 1 | -5/+8 |
| | | | | | | | | | | By default the homeserver will use the identity server used during the binding of the 3PID to unbind the 3PID. However, we need to allow clients to explicitly ask the homeserver to unbind via a particular identity server, for the case where the 3PID was bound out of band from the homeserver. Implements MSC915. | ||||
* | For unbind poke IS used during binding of 3PID | Erik Johnston | 2019-04-01 | 1 | -9/+35 |
| | | | | | | | | This changes the behaviour from using the server specified trusted identity server to using the IS that used during the binding of the 3PID, if known. This is the behaviour specified by MSC1915. | ||||
* | Track IS used to bind 3PIDs | Erik Johnston | 2019-04-01 | 1 | -0/+15 |
| | | | | | This will then be used to know which IS to default to when unbinding the threepid. | ||||
* | sign_request -> build_auth_headers (#4408) | Richard van der Hoff | 2019-01-17 | 1 | -3/+6 |
| | | | | | Just got very confused about the fact that the headers are only an output, not an input. | ||||
* | Log when we 3pid/unbind request fails | Erik Johnston | 2018-08-09 | 1 | -0/+2 |
| | |||||
* | Don't fail requests to unbind 3pids for non supporting ID servers | Erik Johnston | 2018-08-08 | 1 | -9/+21 |
| | | | | | | | | | | Older identity servers may not support the unbind 3pid request, so we shouldn't fail the requests if we received one of 400/404/501. The request still fails if we receive e.g. 500 responses, allowing clients to retry requests on transient identity server errors that otherwise do support the API. Fixes #3661 | ||||
* | Kill off MatrixCodeMessageException | Richard van der Hoff | 2018-08-01 | 1 | -17/+8 |
| | | | | | | | | | | | This code brings the SimpleHttpClient into line with the MatrixFederationHttpClient by having it raise HttpResponseExceptions when a request fails (rather than trying to parse for matrix errors and maybe raising MatrixCodeMessageException). Then, whenever we were checking for MatrixCodeMessageException and turning them into SynapseErrors, we now need to check for HttpResponseExceptions and call to_synapse_error. | ||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -2/+5 |
| | |||||
* | Attempt to be more performant on PyPy (#3462) | Amber Brown | 2018-06-28 | 1 | -1/+1 |
| | |||||
* | Remove run_on_reactor (#3395) | Amber Brown | 2018-06-14 | 1 | -8/+0 |
| | |||||
* | doc fixes | David Baker | 2018-06-05 | 1 | -1/+1 |
| | |||||
* | docstring | David Baker | 2018-06-04 | 1 | -1/+9 |
| | |||||
* | pep8 | David Baker | 2018-05-24 | 1 | -3/+4 |
| | |||||
* | comment | David Baker | 2018-05-24 | 1 | -0/+4 |
| | |||||
* | Hit the 3pid unbind endpoint on deactivation | David Baker | 2018-05-23 | 1 | -0/+35 |
| | |||||
* | Use simplejson throughout | Richard van der Hoff | 2018-03-29 | 1 | -3/+5 |
| | | | | Let's use simplejson rather than json, for consistency. | ||||
* | Revert accidental commit | David Baker | 2017-04-26 | 1 | -4/+4 |
| | |||||
* | Use CodeMessageException subclass instead | David Baker | 2017-04-25 | 1 | -10/+19 |
| | | | | | Parse json errors from get_json client methods and throw special errors. | ||||
* | Propagate errors sensibly from proxied IS requests | David Baker | 2017-04-21 | 1 | -5/+5 |
| | | | | | | When we're proxying Matrix endpoints, parse out Matrix error responses and turn them into SynapseErrors so they can be propagated sensibly upstream. | ||||
* | Support registration / login with phone number | David Baker | 2017-03-13 | 1 | -1/+36 |
| | | | | Changes from https://github.com/matrix-org/synapse/pull/1971 | ||||
* | Revert "Support registration & login with phone number" | Erik Johnston | 2017-03-13 | 1 | -36/+1 |
| | |||||
* | WIP support for msisdn 3pid proxy methods | David Baker | 2017-02-14 | 1 | -1/+36 |
| | |||||
* | requestToken update | David Baker | 2016-06-30 | 1 | -14/+27 |
| | | | | | | Don't send requestToken request to untrusted ID servers Also correct the THREEPID_IN_USE error to add the M_ prefix. This is a backwards incomaptible change, but the only thing using this is the angular client which is now unmaintained, so it's probably better to just do this now. | ||||
* | Add missing param to the log line | Mark Haines | 2016-01-29 | 1 | -1/+2 |
| | |||||
* | Add config option for setting the trusted id servers, disabling checking the ↵ | Mark Haines | 2016-01-29 | 1 | -8/+17 |
| | | | | ID server in integration tests | ||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Reuse a single http client, rather than creating new ones | Mark Haines | 2015-12-02 | 1 | -9/+5 |
| | |||||
* | Add endpoint that proxies ID server request token and errors if the given ↵ | David Baker | 2015-08-04 | 1 | -0/+25 |
| | | | | email is in use on this Home Server. | ||||
* | Add vector.im as trusted ID server | David Baker | 2015-08-03 | 1 | -1/+1 |
| | |||||
* | Accept camelcase + underscores in binding too | David Baker | 2015-04-29 | 1 | -2/+17 |
| | |||||
* | Fix includes | David Baker | 2015-04-29 | 1 | -1/+2 |
| | |||||
* | Accept both camelcase and underscore threepid creds for transition | David Baker | 2015-04-29 | 1 | -4/+19 |
| | |||||
* | Change to https for ID server communication | David Baker | 2015-04-24 | 1 | -3/+2 |
| | |||||
* | Use underscores instead of camelcase for id server stuff | David Baker | 2015-04-24 | 1 | -6/+6 |
| | |||||
* | pep8 | David Baker | 2015-04-17 | 1 | -3/+3 |
| | |||||
* | Return user ID in use error straight away | David Baker | 2015-04-16 | 1 | -1/+24 |
| | |||||
* | Dummy login so we can do the first POST request to get login flows without ↵ | David Baker | 2015-04-15 | 1 | -3/+3 |
| | | | | it just succeeding | ||||
* | Regstration with email in v2 | David Baker | 2015-04-15 | 1 | -0/+66 |