Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused receipt datastore methods. (#12632) | Patrick Cloke | 2022-05-05 | 1 | -54/+0 |
| | | | The last usage was removed in 5a1dd297c3ce105a7f516d9d9fe87b94b9d356c8 (#8059). | ||||
* | Implement changes to MSC2285 (hidden read receipts) (#12168) | Šimon Brandner | 2022-05-04 | 1 | -32/+110 |
| | | | | | * Changes hidden read receipts to be a separate receipt type (instead of a field on `m.read`). * Updates the `/receipts` endpoint to accept `m.fully_read`. | ||||
* | Improve the docstrings for the receipts store. (#12581) | Patrick Cloke | 2022-04-28 | 1 | -5/+51 |
| | |||||
* | Prefill more stream change caches. (#12372) | Erik Johnston | 2022-04-05 | 1 | -1/+12 |
| | |||||
* | Add some type hints to datastore. (#12255) | Dirk Klimpel | 2022-03-28 | 1 | -12/+25 |
| | |||||
* | Type hint the constructors of the data store classes (#11555) | Sean Quah | 2021-12-13 | 1 | -2/+11 |
| | |||||
* | Add a constant for receipt types (m.read). (#11531) | Patrick Cloke | 2021-12-08 | 1 | -33/+68 |
| | | | And expand some type hints in the receipts storage module. | ||||
* | Add type hints for most `HomeServer` parameters (#11095) | Sean Quah | 2021-10-22 | 1 | -2/+5 |
| | |||||
* | Add type hints for event streams. (#10856) | Patrick Cloke | 2021-09-21 | 1 | -3/+3 |
| | |||||
* | Combine `LruCache.invalidate` and `invalidate_many` (#9973) | Richard van der Hoff | 2021-05-27 | 1 | -4/+2 |
| | | | | | | | | | | * Make `invalidate` and `invalidate_many` do the same thing ... so that we can do either over the invalidation replication stream, and also because they always confused me a bit. * Kill off `invalidate_many` * changelog | ||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -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 Eastwood | 2021-02-16 | 1 | -3/+4 |
| | | | | | | | - 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 | ||||
* | Fix some typos. | Patrick Cloke | 2021-02-12 | 1 | -3/+3 |
| | |||||
* | Fix receipts or account data not being sent down sync (#9193) | Erik Johnston | 2021-01-21 | 1 | -2/+2 |
| | | | | | Introduced in #9104 This wasn't picked up by the tests as this is all fine the first time you run Synapse (after upgrading), but then when you restart the wrong value is pulled from `stream_positions`. | ||||
* | Allow moving account data and receipts streams off master (#9104) | Erik Johnston | 2021-01-18 | 1 | -37/+71 |
| | |||||
* | Improve appservice handler to send only the most recent read receipts when ↵ | Will Hunt | 2020-11-18 | 1 | -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 Hoff | 2020-10-19 | 1 | -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 Hunt | 2020-10-15 | 1 | -0/+55 |
| | | | Optionally sends typing, presence, and read receipt information to appservices. | ||||
* | Use `async with` for ID gens (#8383) | Erik Johnston | 2020-09-23 | 1 | -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 Cloke | 2020-09-18 | 1 | -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 Jong | 2020-09-16 | 1 | -5/+3 |
| | |||||
* | Convert additional databases to async/await (#8199) | Patrick Cloke | 2020-09-01 | 1 | -5/+9 |
| | |||||
* | Convert simple_update* and simple_select* to async (#8173) | Patrick Cloke | 2020-08-27 | 1 | -3/+5 |
| | |||||
* | Convert simple_select_one and simple_select_one_onecol to async (#8162) | Patrick Cloke | 2020-08-26 | 1 | -2/+4 |
| | |||||
* | Make StreamIdGen `get_next` and `get_next_mult` async (#8161) | Erik Johnston | 2020-08-25 | 1 | -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 Cloke | 2020-08-14 | 1 | -36/+46 |
| | |||||
* | Convert misc database code to async (#8087) | Patrick Cloke | 2020-08-14 | 1 | -3/+2 |
| | |||||
* | Reduce unnecessary whitespace in JSON. (#7372) | David Vo | 2020-08-07 | 1 | -5/+4 |
| | |||||
* | Rename database classes to make some sense (#8033) | Erik Johnston | 2020-08-05 | 1 | -0/+591 |