summary refs log tree commit diff
path: root/synapse/storage/databases/main/receipts.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve appservice handler to send only the most recent read receipts when ↵Will Hunt2020-11-181-1/+6
| | | | | | | | | | | | | | | | | | | no stream_id is stored. (#8744) * Make this line debug (it's noisy) * Don't include from_key for presence if we are at 0 * Limit read receipts for all rooms to 100 * changelog.d/8744.bugfix * Allow from_key to be None * Update 8744.bugfix * The from_key is superflous * Update comment
* Add `DeferredCache.get_immediate` method (#8568)Richard van der Hoff2020-10-191-10/+1
| | | | | | | | | | | * Add `DeferredCache.get_immediate` method A bunch of things that are currently calling `DeferredCache.get` are only really interested in the result if it's completed. We can optimise and simplify this case. * Remove unused 'default' parameter to DeferredCache.get() * another get_immediate instance
* Send some ephemeral events to appservices (#8437)Will Hunt2020-10-151-0/+55
| | | Optionally sends typing, presence, and read receipt information to appservices.
* Use `async with` for ID gens (#8383)Erik Johnston2020-09-231-1/+1
| | | 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
* Switch metaclass initialization to python 3-compatible syntax (#8326)Jonathan de Jong2020-09-161-5/+3
|
* Convert additional databases to async/await (#8199)Patrick Cloke2020-09-011-5/+9
|
* Convert simple_update* and simple_select* to async (#8173)Patrick Cloke2020-08-271-3/+5
|
* Convert simple_select_one and simple_select_one_onecol to async (#8162)Patrick Cloke2020-08-261-2/+4
|
* Make StreamIdGen `get_next` and `get_next_mult` async (#8161)Erik Johnston2020-08-251-2/+1
| | | | This is mainly so that `StreamIdGenerator` and `MultiWriterIdGenerator` will have the same interface, allowing them to be used interchangeably.
* Convert receipts and events databases to async/await. (#8076)Patrick Cloke2020-08-141-36/+46
|
* Convert misc database code to async (#8087)Patrick Cloke2020-08-141-3/+2
|
* 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/+591