summary refs log tree commit diff
path: root/synapse/storage/databases/main/registration.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change account validity config option instances github/anoa/testbla anoa/testblaAndrew Morgan2020-12-301-6/+11
|
* UIA: offer only available auth flowsRichard van der Hoff2020-12-021-0/+25
| | | | | | | During user-interactive auth, do not offer password auth to users with no password, nor SSO auth to users with no SSO. Fixes #7559.
* Add admin API for logging in as a user (#8617)Erik Johnston2020-11-171-0/+2
|
* Add ability for access tokens to belong to one user but grant access to ↵Erik Johnston2020-10-291-9/+39
| | | | | | | | | | another user. (#8616) We do it this way round so that only the "owner" can delete the access token (i.e. `/logout/all` by the "owner" also deletes that token, but `/logout/all` by the "target user" doesn't). A future PR will add an API for creating such a token. When the target user and authenticated entity are different the `Processed request` log line will be logged with a: `{@admin:server as @bob:server} ...`. I'm not convinced by that format (especially since it adds spaces in there, making it harder to use `cut -d ' '` to chop off the start of log lines). Suggestions welcome.
* Add type hints for account validity handler (#8620)Patrick Cloke2020-10-261-2/+2
| | | This also fixes a bug by fixing handling of an account which doesn't expire.
* Type hints for RegistrationStore (#8615)Erik Johnston2020-10-221-73/+83
|
* Move additional tasks to the background worker, part 4 (#8513)Patrick Cloke2020-10-131-26/+26
|
* Fix message duplication if something goes wrong after persisting the event ↵Erik Johnston2020-10-131-1/+5
| | | | | (#8476) Should fix #3365.
* Move additional tasks to the background worker, part 3 (#8489)Patrick Cloke2020-10-091-8/+3
|
* Add type hints to some handlers (#8505)Patrick Cloke2020-10-091-1/+3
|
* Move additional tasks to the background worker (#8458)Patrick Cloke2020-10-071-93/+91
|
* Add support for MSC2697: Dehydrated devices (#8380)Hubert Chathi2020-10-071-1/+31
| | | | This allows a user to store an offline device on the server and then restore it at a subsequent login.
* Add checks for postgres sequence consistency (#8402)Erik Johnston2020-09-281-0/+3
|
* Allow existing users to login via OpenID Connect. (#8345)Tdxdxoz2020-09-251-2/+2
| | | | | | | Co-authored-by: Benjamin Koch <bbbsnowball@gmail.com> This adds configuration flags that will match a user to pre-existing users when logging in via OpenID Connect. This is useful when switching to an existing SSO system.
* Don't push if an user account has expired (#8353)Mathieu Velten2020-09-231-0/+14
|
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-3/+3
| | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py
* Fix incorrect return signatureAndrew Morgan2020-08-281-1/+1
|
* Convert `event_push_actions`, `registration`, and `roommember` datastores to ↵Patrick Cloke2020-08-281-115/+123
| | | | async (#8197)
* Convert simple_delete to async/await. (#8191)Patrick Cloke2020-08-271-15/+14
|
* Convert calls of async database methods to async (#8166)Patrick Cloke2020-08-271-15/+14
|
* Convert simple_update* and simple_select* to async (#8173)Patrick Cloke2020-08-271-10/+12
|
* Convert simple_select_one and simple_select_one_onecol to async (#8162)Patrick Cloke2020-08-261-5/+5
|
* Don't fail /submit_token requests on incorrect session ID if ↵Brendan Abolivier2020-08-241-6/+19
| | | | | | | | | | | | | | | | | | | request_token_inhibit_3pid_errors is turned on (#7991) * Don't raise session_id errors on submit_token if request_token_inhibit_3pid_errors is set * Changelog * Also wait some time before responding to /requestToken * Incorporate review * Update synapse/storage/databases/main/registration.py Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> * Incorporate review Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
* Convert some of the general database methods to async (#8100)Patrick Cloke2020-08-171-5/+3
|
* Add a shadow-banned flag to users. (#8092)Patrick Cloke2020-08-141-1/+8
|
* Remove some unused database functions. (#8085)Patrick Cloke2020-08-141-37/+0
|
* Converts event_federation and registration databases to async/await (#8061)Patrick Cloke2020-08-111-128/+105
|
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-0/+1588