summary refs log tree commit diff
path: root/synapse/storage/databases/main/profile.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Stop writing to column `user_id` of tables `profiles` and ↵Shay2023-07-181-4/+8
| | | | | | | | | `user_filters`. (#15953) * Revert "Stop writing to column `user_id` of tables `profiles` and `user_filters` (#15787)" This reverts commit f25b0f88081bb436bef914983cff7087b54eba5f. * newsfragement
* Stop writing to column `user_id` of tables `profiles` and `user_filters` ↵Shay2023-07-071-8/+4
| | | | (#15787)
* `N + 3`: Read from column `full_user_id` rather than `user_id` of tables ↵Shay2023-06-021-6/+6
| | | | `profiles` and `user_filters` (#15649)
* Speed up background jobs populate_full_user_id_user_filters and ↵Shay2023-05-311-1/+1
| | | | populate_full_user_id_profiles (#15700)
* Add not null constraint to column `full_user_id` of tables `profiles` and ↵Shay2023-05-161-2/+100
| | | | `user_filters` (#15537)
* Clean up and clarify "Create or modify Account" Admin API documentation (#15544)Andrew Morgan2023-05-051-0/+16
|
* Add column `full_user_id` to tables `profiles` and `user_filters`. (#15458)Shay2023-04-261-7/+35
|
* Remove remaining pieces of groups code. (#12966)Patrick Cloke2022-06-061-105/+2
| | | | | * Remove an unused stream ID generator. * Remove the now unused remote profile cache.
* 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