Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-11-02 | Add more hooks to ModuleApi | Richard van der Hoff | 1 | -0/+34 | |
add `get_user_by_req` and `invalidate_access_token` | |||||
2017-11-02 | Add a hook for custom rest endpoints | Richard van der Hoff | 3 | -0/+74 | |
Let the user specify custom modules which can be used for implementing extra endpoints. | |||||
2017-11-02 | Factor _AccountHandler proxy out to ModuleApi | Richard van der Hoff | 3 | -70/+83 | |
We're going to need to use this from places that aren't password auth, so let's move it to a proper class. | |||||
2017-11-02 | Factor out _configure_named_resource | Richard van der Hoff | 1 | -46/+64 | |
This was a bit of a code vomit, so let's factor it out to preserve some sanity | |||||
2017-11-01 | Fix user-interactive password auth | Richard van der Hoff | 1 | -1/+3 | |
this got broken in the previous commit | |||||
2017-11-01 | Notify auth providers on logout | Richard van der Hoff | 3 | -7/+42 | |
Provide a hook by which auth providers can be notified of logouts. | |||||
2017-11-01 | Allow password_auth_providers to return a callback | Richard van der Hoff | 3 | -6/+17 | |
... so that they have a way to record access tokens. | |||||
2017-11-01 | Let password auth providers handle arbitrary login types | Richard van der Hoff | 2 | -32/+139 | |
Provide a hook where password auth providers can say they know about other login types, and get passed the relevant parameters | |||||
2017-11-01 | switch to setting default displayname in the storage layer | Matthew Hodgson | 2 | -10/+5 | |
to avoid clobbering guest user displaynames on registration | |||||
2017-11-01 | Move access token deletion into auth handler | Richard van der Hoff | 6 | -27/+62 | |
Also move duplicated deactivation code into the auth handler. I want to add some hooks when we deactivate an access token, so let's bring it all in here so that there's somewhere to put it. | |||||
2017-11-01 | Apparently this is python | David Baker | 1 | -1/+1 | |
2017-11-01 | Log login requests | David Baker | 1 | -0/+10 | |
Carefully though, to avoid logging passwords | |||||
2017-11-01 | automatically set default displayname on register | Matthew Hodgson | 1 | -1/+8 | |
to avoid leaking ugly MXIDs and cluttering up the timeline with displayname changes as well as membership joins for autojoin rooms (e.g. the status autojoin rooms), automatically set the displayname to match the localpart of the mxid upon registration. | |||||
2017-11-01 | Break dependency of auth_handler on device_handler | Richard van der Hoff | 3 | -13/+6 | |
I'm going to need to make the device_handler depend on the auth_handler, so I need to break this dependency to avoid a cycle. It turns out that the auth_handler was only using the device_handler in one place which was an edge case which we can more elegantly handle by throwing an error rather than fixing it up. | |||||
2017-11-01 | Fix tests for refresh_token removal | Richard van der Hoff | 1 | -3/+3 | |
2017-11-01 | Leave `is_public` as required argument of update_room_group_association | Luke Barnard | 1 | -1/+1 | |
2017-11-01 | Update docs for updating room group association | Luke Barnard | 2 | -2/+2 | |
2017-10-31 | Remove the last vestiges of refresh_tokens | Richard van der Hoff | 5 | -60/+14 | |
2017-10-31 | Let auth providers get to the database | Richard van der Hoff | 1 | -0/+16 | |
Somewhat open to abuse, but also somewhat unavoidable :/ | |||||
2017-10-31 | Flake8 | Luke Barnard | 2 | -5/+9 | |
2017-10-31 | Modify group room association API to allow modification of is_public | Luke Barnard | 6 | -19/+25 | |
also includes renamings to make things more consistent. | |||||
2017-10-31 | Make the port script drop NUL values in all tables | David Baker | 1 | -7/+19 | |
Postgres doesn't support NULs in strings so it makes the script throw an exception and stop if any values contain \0. Drop them with appropriate warning. | |||||
2017-10-31 | fix tests | Richard van der Hoff | 1 | -0/+1 | |
2017-10-31 | DB schema interface for password auth providers | Richard van der Hoff | 3 | -0 |