Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Port "Allow users to click account renewal links multiple times without ↵ | Andrew Morgan | 2021-04-19 | 1 | -1/+3 |
| | | | | | hitting an 'Invalid Token' page #74" from synapse-dinsic (#9832) This attempts to be a direct port of https://github.com/matrix-org/synapse-dinsic/pull/74 to mainline. There was some fiddling required to deal with the changes that have been made to mainline since (mainly dealing with the split of `RegistrationWorkerStore` from `RegistrationStore`, and the changes made to `self.make_request` in test code). | ||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
| | | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` | ||||
* | Import HomeServer from the proper module. (#9665) | Patrick Cloke | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | Ensure pushers are deleted for deactivated accounts (#9285) | Erik Johnston | 2021-02-25 | 1 | -0/+5 |
| | |||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -4/+2 |
| | | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version | ||||
* | Remove user's avatar URL and displayname when deactivated. (#8932) | Dirk Klimpel | 2021-01-12 | 1 | -2/+16 |
| | | | This only applies if the user's data is to be erased. | ||||
* | Add admin API for logging in as a user (#8617) | Erik Johnston | 2020-11-17 | 1 | -2/+3 |
| | |||||
* | Move additional tasks to the background worker, part 4 (#8513) | Patrick Cloke | 2020-10-13 | 1 | -1/+1 |
| | |||||
* | Remove the deprecated Handlers object (#8494) | Patrick Cloke | 2020-10-09 | 1 | -1/+1 |
| | | | All handlers now available via get_*_handler() methods on the HomeServer. | ||||
* | Add type hints to some handlers (#8505) | Patrick Cloke | 2020-10-09 | 1 | -3/+6 |
| | |||||
* | Simplify super() calls to Python 3 syntax. (#8344) | Patrick Cloke | 2020-09-18 | 1 | -1/+1 |
| | | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py | ||||
* | Follow-up to admin API to re-activate accounts (#7908) | Patrick Cloke | 2020-07-22 | 1 | -4/+18 |
| | |||||
* | Allow accounts to be re-activated from the admin APIs. (#7847) | Patrick Cloke | 2020-07-15 | 1 | -20/+28 |
| | |||||
* | Support handling registration requests across multiple client readers. (#7830) | Patrick Cloke | 2020-07-13 | 1 | -1/+2 |
| | |||||
* | Add `local_current_membership` table (#6655) | Erik Johnston | 2020-01-15 | 1 | -1/+1 |
| | | | | | | | Currently we rely on `current_state_events` to figure out what rooms a user was in and their last membership event in there. However, if the server leaves the room then the table may be cleaned up and that information is lost. So lets add a table that separately holds that information. | ||||
* | Port some admin handlers to async/await (#6559) | Erik Johnston | 2019-12-19 | 1 | -30/+24 |
| | |||||
* | Remove local threepids on account deactivation (#6426) | Andrew Morgan | 2019-11-28 | 1 | -0/+3 |
| | |||||
* | Incorporate review | Brendan Abolivier | 2019-09-27 | 1 | -4/+2 |
| | |||||
* | Update synapse/handlers/deactivate_account.py | Brendan Abolivier | 2019-09-27 | 1 | -1/+3 |
| | | | Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | ||||
* | Update synapse/handlers/deactivate_account.py | Brendan Abolivier | 2019-09-27 | 1 | -1/+1 |
| | | | Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | ||||
* | Lint | Brendan Abolivier | 2019-09-27 | 1 | -3/+1 |
| | |||||
* | Fixup and add some logging | Brendan Abolivier | 2019-09-27 | 1 | -1/+9 |
| | |||||
* | Reject pending invites on deactivation | Brendan Abolivier | 2019-09-27 | 1 | -0/+31 |
| | |||||
* | Implement MSC2290 (#6043) | Andrew Morgan | 2019-09-23 | 1 | -1/+3 |
| | | | | | | | Implements MSC2290. This PR adds two new endpoints, /unstable/account/3pid/add and /unstable/account/3pid/bind. Depending on the progress of that MSC the unstable prefix may go away. This PR also removes the blacklist on some 3PID tests which occurs in #6042, as the corresponding Sytest PR changes them to use the new endpoints. Finally, it also modifies the account deactivation code such that it doesn't just try to deactivate 3PIDs that were bound to the user's account, but any 3PIDs that were bound through the homeserver on that user's account. | ||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -1/+1 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -5/+7 |
| | |||||
* | Don't send renewal emails to deactivated users | Brendan Abolivier | 2019-06-14 | 1 | -0/+6 |
| | |||||
* | Track deactivated accounts in the database (#5378) | Brendan Abolivier | 2019-06-14 | 1 | -0/+4 |
| | |||||
* | Correctly handle id_server param | Erik Johnston | 2019-04-02 | 1 | -0/+1 |
| | |||||
* | Allowing specifying IS to use in unbind API. | Erik Johnston | 2019-04-01 | 1 | -1/+4 |
| | | | | | | | | | | By default the homeserver will use the identity server used during the binding of the 3PID to unbind the 3PID. However, we need to allow clients to explicitly ask the homeserver to unbind via a particular identity server, for the case where the 3PID was bound out of band from the homeserver. Implements MSC915. | ||||
* | Use flags | Erik Johnston | 2019-03-20 | 1 | -0/+1 |
| | |||||
* | Give some more things logcontexts (#4077) | Richard van der Hoff | 2018-10-23 | 1 | -2/+2 |
| | |||||
* | Don't fail requests to unbind 3pids for non supporting ID servers | Erik Johnston | 2018-08-08 | 1 | -2/+11 |
| | | | | | | | | | | Older identity servers may not support the unbind 3pid request, so we shouldn't fail the requests if we received one of 400/404/501. The request still fails if we receive e.g. 500 responses, allowing clients to retry requests on transient identity server errors that otherwise do support the API. Fixes #3661 | ||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -3/+4 |
| | |||||
* | add GDPR erase param to deactivate API | Matthew Hodgson | 2018-06-26 | 1 | -0/+1 |
| | |||||
* | Merge pull request #3441 from matrix-org/erikj/redo_erasure | Erik Johnston | 2018-06-25 | 1 | -1/+6 |
|\ | | | | | Fix user erasure and re-enable | ||||
| * | Revert "Revert "Merge pull request #3431 from ↵ | Erik Johnston | 2018-06-25 | 1 | -1/+6 |
| | | | | | | | | | | | | matrix-org/rav/erasure_visibility"" This reverts commit 1d009013b3c3e814177afc59f066e02a202b21cd. | ||||
* | | Remove all global reactor imports & pass it around explicitly (#3424) | Amber Brown | 2018-06-25 | 1 | -2/+2 |
|/ | |||||
* | Revert "Merge pull request #3431 from matrix-org/rav/erasure_visibility" | Richard van der Hoff | 2018-06-22 | 1 | -6/+1 |
| | | | | | This reverts commit ce0d911156b355c5bf452120bfb08653dad96497, reversing changes made to b4a5d767a94f1680d07edfd583aae54ce422573e. | ||||
* | mark accounts as erased when requested | Richard van der Hoff | 2018-06-12 | 1 | -1/+6 |
| | |||||
* | Fix comment | David Baker | 2018-06-04 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/develop' into dbkr/unbind | David Baker | 2018-05-24 | 1 | -0/+4 |
|\ | |||||
| * | Remove users from user directory on deactivate | David Baker | 2018-05-24 | 1 | -0/+4 |
| | | |||||
* | | pep8 | David Baker | 2018-05-24 | 1 | -3/+6 |
| | | |||||
* | | Hit the 3pid unbind endpoint on deactivation | David Baker | 2018-05-23 | 1 | -1/+21 |
|/ | |||||
* | comment typo | David Baker | 2018-05-22 | 1 | -1/+1 |
| | |||||
* | Catch failure to part user from room | David Baker | 2018-05-10 | 1 | -7/+13 |
| | |||||
* | Many docstrings | David Baker | 2018-05-10 | 1 | -0/+24 |
| | |||||
* | Oops, don't call function passed to run_in_background | David Baker | 2018-05-10 | 1 | -1/+1 |
| | |||||
* | Prefix internal functions | David Baker | 2018-05-09 | 1 | -7/+7 |
| | |||||
* | Indent fail | David Baker | 2018-05-09 | 1 | -1/+1 |
| | |||||
* | Part deactivated users in the background | David Baker | 2018-05-09 | 1 | -1/+34 |
| | | | | | One room at a time so we don't take out the whole server with leave events, and restart at server restart. | ||||
* | Part user from rooms on account deactivate | David Baker | 2018-05-08 | 1 | -1/+15 |
| | | | | | | | This implements this very crudely: this probably isn't viable because parting a user from all their rooms could take a long time, and if the HS gets restarted in that time the process will be aborted. | ||||
* | Delete devices in various logout situations | Richard van der Hoff | 2017-11-29 | 1 | -0/+8 |
| | | | | | | | | | | | | | Make sure that we delete devices whenever a user is logged out due to any of the following situations: * /logout * /logout_all * change password * deactivate account (by the user or by an admin) * invalidate access token from a dynamic module Fixes #2672. | ||||
* | Move deactivate_account into its own handler | Richard van der Hoff | 2017-11-29 | 1 | -0/+44 |
Non-functional refactoring to move deactivate_account. This means that we'll be able to properly deactivate devices and access tokens without introducing a dependency loop. |