summary refs log tree commit diff
path: root/synapse/storage/databases/main/deviceinbox.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve performance of `remove_{hidden,deleted}_devices_from_device_inbox` ↵Brendan Abolivier2021-11-251-146/+63
| | | | | (#11421) Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Add type hints to some storage classes (#11307)Patrick Cloke2021-11-111-16/+36
|
* Clarifications and small fixes to to-device related code (#11247)Andrew Morgan2021-11-091-3/+20
| | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* Delete messages for hidden devices from `device_inbox` (#11199)Dirk Klimpel2021-11-021-0/+89
|
* Stop synapse from saving messages in device_inbox for hidden devices. (#10097)JohannesKleine2021-11-011-2/+6
| | | Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
* Fix comments referencing v1.46.0 from PR #10969. (#11212)Dirk Klimpel2021-10-291-1/+1
| | | | #10969 was merged after 1.46.0rc1 was cut and will be included in v1.47.0rc1 instead.
* Delete messages from `device_inbox` table when deleting device (#10969)Dirk Klimpel2021-10-271-1/+91
| | | Fixes: #9346
* Add type hints for most `HomeServer` parameters (#11095)Sean Quah2021-10-221-3/+6
|
* Remove unnecessary parentheses around tuples returned from methods (#10889)Andrew Morgan2021-09-231-3/+3
|
* [pyupgrade] `synapse/` (#10348)Jonathan de Jong2021-07-191-3/+1
| | | | | | | | | This PR is tantamount to running ``` pyupgrade --py36-plus --keep-percent-format `find synapse/ -type f -name "*.py"` ``` Part of #9744
* Add debug logging for issue #9533 (#9959)Richard van der Hoff2021-05-111-0/+18
| | | | | Hopefully this will help us track down where to-device messages are getting lost/delayed.
* 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>`
* Add a type hints for service notices to the HomeServer object. (#9675)Patrick Cloke2021-03-241-3/+3
|
* Fix some typos.Patrick Cloke2021-02-121-1/+1
|
* Allow moving account data and receipts streams off master (#9104)Erik Johnston2021-01-181-3/+1
|
* Allow running sendToDevice on workers (#9044)Erik Johnston2021-01-071-32/+115
|
* Some cleanups to device inbox store. (#9041)Erik Johnston2021-01-071-49/+58
|
* Use `async with` for ID gens (#8383)Erik Johnston2020-09-231-2/+2
| | | This will allow us to hit the DB after we've finished using the generated stream ID.
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-2/+2
| | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py
* Convert additional database code to async/await. (#8195)Patrick Cloke2020-08-281-6/+6
|
* Make StreamIdGen `get_next` and `get_next_mult` async (#8161)Erik Johnston2020-08-251-2/+2
| | | | This is mainly so that `StreamIdGenerator` and `MultiWriterIdGenerator` will have the same interface, allowing them to be used interchangeably.
* Convert account data, device inbox, and censor events databases to ↵Patrick Cloke2020-08-121-45/+49
| | | | async/await (#8063)
* Reduce unnecessary whitespace in JSON. (#7372)David Vo2020-08-071-5/+4
|
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-0/+476