summary refs log tree commit diff
path: root/synapse/storage/databases/main/profile.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Database storage profile passes mypy (#11342)David Robertson2021-11-151-4/+8
| | | | | | It already seems to pass mypy. I wonder what changed, given that it was on the exclusion list. So this commit consists of me ensuring `--disallow-untyped-defs` passes and a minor fixup to a function that returned either `True` or `None`.
* Annotate `log_function` decorator (#10943)reivilibre2021-10-271-1/+1
| | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* Fix deactivate a user if he does not have a profile (#10252)Dirk Klimpel2021-07-061-4/+4
|
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-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>`
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-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 Klimpel2021-01-121-1/+1
| | | This only applies if the user's data is to be erased.
* 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.
* Add type hints to profile and base handlers. (#8609)Patrick Cloke2020-10-211-3/+3
|
* Move additional tasks to the background worker, part 4 (#8513)Patrick Cloke2020-10-131-41/+41
|
* Convert additional databases to async/await part 2 (#8200)Patrick Cloke2020-09-011-2/+4
|
* Convert calls of async database methods to async (#8166)Patrick Cloke2020-08-271-4/+6
|
* Convert simple_update* and simple_select* to async (#8173)Patrick Cloke2020-08-271-6/+12
|
* Convert simple_select_one and simple_select_one_onecol to async (#8162)Patrick Cloke2020-08-261-7/+10
|
* Convert appservice, group server, profile and more databases to async (#8066)Patrick Cloke2020-08-121-13/+8
|
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-0/+178