summary refs log tree commit diff
path: root/scripts-dev/tail-synapse.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-11-07Return whether a user is an admin within a groupLuke Barnard1-2/+3
2017-11-07Logging and logcontext fixes for LimiterRichard van der Hoff1-7/+17
Add some logging to the Limiter in a similar spirit to the Linearizer, to help debug issues. Also fix a logcontext leak. Also refactor slightly to avoid throwing exceptions.
2017-11-02Make the get_rooms_in_group API more saneLuke Barnard1-3/+1
Return entries with is_public = True when they're public and is_public = False otherwise.
2017-11-02support inhibit_login in /registerRichard van der Hoff1-12/+16
Allow things to pass inhibit_login when registering to ... inhibit logins.
2017-11-02Add more hooks to ModuleApiRichard van der Hoff1-0/+34
add `get_user_by_req` and `invalidate_access_token`
2017-11-02Add a hook for custom rest endpointsRichard van der Hoff3-0/+74
Let the user specify custom modules which can be used for implementing extra endpoints.
2017-11-02Factor _AccountHandler proxy out to ModuleApiRichard van der Hoff3-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-02Factor out _configure_named_resourceRichard van der Hoff1-46/+64
This was a bit of a code vomit, so let's factor it out to preserve some sanity
2017-11-01Fix user-interactive password authRichard van der Hoff1-1/+3
this got broken in the previous commit
2017-11-01Notify auth providers on logoutRichard van der Hoff3-7/+42
Provide a hook by which auth providers can be notified of logouts.
2017-11-01Allow password_auth_providers to return a callbackRichard van der Hoff3-6/+17
... so that they have a way to record access tokens.
2017-11-01Let password auth providers handle arbitrary login typesRichard van der Hoff2-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-01switch to setting default displayname in the storage layerMatthew Hodgson2-10/+5
to avoid clobbering guest user displaynames on registration
2017-11-01Move access token deletion into auth handlerRichard van der Hoff6-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-01Apparently this is pythonDavid Baker1-1/+1
2017-11-01Log login requestsDavid Baker1-0/+10
Carefully though, to avoid logging passwords
2017-11-01automatically set default displayname on registerMatthew Hodgson1-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-01Break dependency of auth_handler on device_handlerRichard van der Hoff3-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-01Fix tests for refresh_token removalRichard van der Hoff1-3/+3
2017-11-01Leave `is_public` as required argument of update_room_group_associationLuke Barnard1-1/+1
2017-11-01Update docs for updating room group associationLuke Barnard2-2/+2
2017-10-31Remove the last vestiges of refresh_tokensRichard van der Hoff5-60/+14
2017-10-31Let auth providers get to the databaseRichard van der Hoff1-0/+16
Somewhat open to abuse, but also somewhat unavoidable :/
2017-10-31