summary refs log tree commit diff
path: root/synapse/handlers/account_data.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add `StreamKeyType` class and replace string literals with constants (#12567)Andrew Morgan2022-05-161-5/+5
|
* Add a module callback to react to account data changes (#12327)Brendan Abolivier2022-04-011-1/+51
| | | | Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-2/+2
| | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
* Fix docstring on `add_account_data_for_user`. (#11716)reivilibre2022-01-101-1/+1
|
* Add type hints for event streams. (#10856)Patrick Cloke2021-09-211-3/+10
|
* Require type hints in the handlers module. (#10831)Patrick Cloke2021-09-201-2/+2
| | | | | | | Adds missing type hints to methods in the synapse.handlers module and requires all methods to have type hints there. This also removes the unused construct_auth_difference method from the FederationHandler.
* 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>`
* Import HomeServer from the proper module. (#9665)Patrick Cloke2021-03-231-1/+1
|
* Allow moving account data and receipts streams off master (#9104)Erik Johnston2021-01-181-0/+144
|
* Add type hints to some handlers (#8505)Patrick Cloke2020-10-091-3/+11
|
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
|
* Remove unused `get_pagination_rows` methods. (#6557)Erik Johnston2019-12-171-3/+0
| | | Remove unused get_pagination_rows methods
* Port handlers.account_validity to async/await.Erik Johnston2019-12-101-1/+1
|
* Port handlers.account_data to async/await.Erik Johnston2019-12-101-9/+5
|
* Update black to 19.10b0 (#6304)Amber Brown2019-11-011-3/+4
| | | * update version of black and also fix the mypy config being overridden
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-2/+2
| | | | | Python will return a tuple whether there are parentheses around the returned values or not. I'm just sick of my editor complaining about this all over the place :)
* Replace returnValue with return (#5736)Amber Brown2019-07-231-2/+2
|
* Run Black. (#5482)Amber Brown2019-06-201-15/+8
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Add API for setting account_data globaly or on a per room basisMark Haines2015-12-011-1/+20
|
* s/private_user_data/account_data/Mark Haines2015-11-181-0/+46