- Nov 02, 2017
-
-
Richard van der Hoff authored
We're going to need to use this from places that aren't password auth, so let's move it to a proper class.
-
David Baker authored
Notify auth providers on logout
-
David Baker authored
Allow password_auth_providers to return a callback
-
David Baker authored
Let auth providers get to the database
-
- Nov 01, 2017
-
-
Richard van der Hoff authored
this got broken in the previous commit
-
Richard van der Hoff authored
Provide a hook by which auth providers can be notified of logouts.
-
Richard van der Hoff authored
... so that they have a way to record access tokens.
-
Richard van der Hoff authored
Let password auth providers handle arbitrary login types
-
Richard van der Hoff authored
Provide a hook where password auth providers can say they know about other login types, and get passed the relevant parameters
-
David Baker authored
Move access token deletion into auth handler
-
Matthew Hodgson authored
automatically set default displayname on register
-
David Baker authored
-
David Baker authored
Break dependency of auth_handler on device_handler
-
David Baker authored
Remove the last vestiges of refresh_tokens
-
Matthew Hodgson authored
to avoid clobbering guest user displaynames on registration
-
Richard van der Hoff authored
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.
-
David Baker authored
Log login requests
-
David Baker authored
-
David Baker authored
Carefully though, to avoid logging passwords
-
Matthew Hodgson authored
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.
-
Luke Barnard authored
Modify group room association API to allow modification of is_public
-
Richard van der Hoff authored
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.
-
Richard van der Hoff authored
-
Luke Barnard authored
-
Luke Barnard authored
-
- Oct 31, 2017
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Somewhat open to abuse, but also somewhat unavoidable :/
-
Richard van der Hoff authored
DB schema interface for password auth providers
-
Luke Barnard authored
-
Richard van der Hoff authored
Make the port script drop NUL values in all tables
-
Luke Barnard authored
also includes renamings to make things more consistent.
-
David Baker authored
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.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Provide an interface by which password auth providers can register db schema files to be run at startup
-
David Baker authored
Refactor some logic from LoginRestServlet into AuthHandler
-
Richard van der Hoff authored
Clean up backwards-compat hacks for ldap
-
David Baker authored
Start some documentation on password providers
-
Richard van der Hoff authored
I'm going to need some more flexibility in handling login types in password auth providers, so as a first step, move some stuff from LoginRestServlet into AuthHandler. In particular, we pass everything other than SAML, JWT and token logins down to the AuthHandler, which now has responsibility for checking the login type and fishing the password out of the login dictionary, as well as qualifying the user_id if need be. Ideally SAML, JWT and token would go that way too, but there's no real need for it right now and I'm trying to minimise impact. This commit *should* be non-functional.
-
Richard van der Hoff authored
Document the existing interface, before I start adding new stuff.
-
Richard van der Hoff authored
try to make the backwards-compat flows follow the same code paths as the modern impl. This commit should be non-functional.
-