- Jul 28, 2016
-
-
Erik Johnston authored
-
Erik Johnston authored
-
- Jul 21, 2016
-
-
Erik Johnston authored
-
David Baker authored
Implement GET /device/{deviceId}
-
David Baker authored
Preserve device_id from first call to /register
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
David Baker authored
GET /devices endpoint
-
Richard van der Hoff authored
device_id may only be passed in the first call to /register, so make sure we fish it out of the register `params` rather than the body of the final call.
-
- Jul 20, 2016
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
(pick up PR #938 in the hope of fixing the UTs)
-
Richard van der Hoff authored
Record device_id in client_ips
-
Erik Johnston authored
-
David Baker authored
Register a device_id in the /v2/register flow.
-
Richard van der Hoff authored
implement a GET /devices endpoint which lists all of the user's devices. It also returns the last IP where we saw that device, so there is some dancing to fish that out of the user_ips table.
-
Richard van der Hoff authored
Record the device_id when we add a client ip; it's somewhat redundant as we could get it via the access_token, but it will make querying rather easier.
-
Richard van der Hoff authored
Fix some more comments on some things
-
Richard van der Hoff authored
This doesn't cover *all* of the registration flows, but it does cover the most common ones: in particular: shared_secret registration, appservice registration, and normal user/pass registration. Pull device_id from the registration parameters. Register the device in the devices table. Associate the device with the returned access and refresh tokens. Profit.
-
Erik Johnston authored
Add metrics for psutil derived memory usage
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
Don't notify pusher pool for backfilled events
-
Erik Johnston authored
-
Richard van der Hoff authored
Type annotations
-
David Baker authored
Further registration refactoring
-
Erik Johnston authored
Feature: Add filter to /messages. Add 'contains_url' to filter.
-
Erik Johnston authored
-
- Jul 19, 2016
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Add some type annotations to help PyCharm (in particular) to figure out the types of a bunch of things.
-
Richard van der Hoff authored
* `RegistrationHandler.appservice_register` no longer issues an access token: instead it is left for the caller to do it. (There are two of these, one in `synapse/rest/client/v1/register.py`, which now simply calls `AuthHandler.issue_access_token`, and the other in `synapse/rest/client/v2_alpha/register.py`, which is covered below). * In `synapse/rest/client/v2_alpha/register.py`, move the generation of access_tokens into `_create_registration_details`. This means that the normal flow no longer needs to call `AuthHandler.issue_access_token`; the shared-secret flow can tell `RegistrationHandler.register` not to generate a token; and the appservice flow continues to work despite the above change.
-
David Baker authored
rest/client/v2_alpha/register.py: Refactor flow somewhat.
-
Richard van der Hoff authored
Add device_id support to /login
-
Richard van der Hoff authored
-
Richard van der Hoff authored
This is meant to be an *almost* non-functional change, with the exception that it fixes what looks a lot like a bug in that it only calls `auth_handler.add_threepid` and `add_pusher` once instead of three times. The idea is to move the generation of the `access_token` out of `registration_handler.register`, because `access_token`s now require a device_id, and we only want to generate a device_id once registration has been successful.
-
Richard van der Hoff authored
device_id should be text, not bigint.
-
Mark Haines authored
Update docstring on Handlers.
-
Mark Haines authored
-
Mark Haines authored
To indicate it is deprecated.
-