Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix invite notifications for users without pushers (#12840) | DeepBlueV7.X | 2022-05-30 | 1 | -6/+0 |
| | | | | Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de> Co-authored-by: Brendan Abolivier <github@brendanabolivier.com> | ||||
* | Add some type hints to datastore (#12485) | Dirk Klimpel | 2022-04-27 | 1 | -15/+34 |
| | |||||
* | Replace uses of simple_insert_many with simple_insert_many_values. (#11742) | Patrick Cloke | 2022-01-13 | 1 | -6/+2 |
| | | | | This should be (slightly) more efficient and it is simpler to have a single method for inserting multiple values. | ||||
* | Improve type hints in storage classes. (#11652) | Dirk Klimpel | 2021-12-29 | 1 | -3/+3 |
| | | | By using cast and making ignores more specific. | ||||
* | Require Collections as the parameters for simple_* methods. (#11580) | Patrick Cloke | 2021-12-15 | 1 | -22/+1 |
| | | | | Instead of Iterable since the generators are not allowed due to the potential for their re-use. | ||||
* | Annotate synapse.storage.util (#10892) | David Robertson | 2021-10-08 | 1 | -3/+7 |
| | | | | | Also mark `synapse.streams` as having has no untyped defs Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> | ||||
* | Fix remove_stale_pushers job on SQLite. (#10843) | reivilibre | 2021-09-20 | 1 | -2/+2 |
| | |||||
* | Fix iteration in _remove_deleted_email_pushers background job. (#10734) | Andrew Morgan | 2021-09-01 | 1 | -1/+2 |
| | |||||
* | Remove pushers when deleting 3pid from account (#10581) | Azrenbeth | 2021-08-26 | 1 | -0/+72 |
| | | | | | When a user deletes an email from their account it will now also remove all pushers for that email and that user (even if these pushers were created by a different client) | ||||
* | 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>` | ||||
* | Import HomeServer from the proper module. (#9665) | Patrick Cloke | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | Make deleting stale pushers a background update (#9536) | Erik Johnston | 2021-03-03 | 1 | -0/+52 |
| | |||||
* | Fix SQL delta file taking a long time to run (#9516) | Erik Johnston | 2021-03-02 | 1 | -0/+53 |
| | | | | Fixes #9504 | ||||
* | Ensure pushers are deleted for deactivated accounts (#9285) | Erik Johnston | 2021-02-25 | 1 | -0/+43 |
| | |||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -2/+5 |
| | | | | | | | - 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 | ||||
* | Don't error if deleting a non-existent pusher. (#9121) | Patrick Cloke | 2021-01-25 | 1 | -1/+3 |
| | |||||
* | Ensure we store pusher data as text (#9117) | Richard van der Hoff | 2021-01-15 | 1 | -3/+2 |
| | | | | | I don't think there's any need to use canonicaljson here. Fixes: #4475. | ||||
* | Convert internal pusher dicts to attrs classes. (#8940) | Patrick Cloke | 2020-12-16 | 1 | -36/+57 |
| | | | This improves type hinting and should use less memory. | ||||
* | Add `DeferredCache.get_immediate` method (#8568) | Richard van der Hoff | 2020-10-19 | 1 | -1/+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 | ||||
* | Use `async with` for ID gens (#8383) | Erik Johnston | 2020-09-23 | 1 | -2/+2 |
| | | | This will allow us to hit the DB after we've finished using the generated stream ID. | ||||
* | Make StreamIdGen `get_next` and `get_next_mult` async (#8161) | Erik Johnston | 2020-08-25 | 1 | -2/+2 |
| | | | | This is mainly so that `StreamIdGenerator` and `MultiWriterIdGenerator` will have the same interface, allowing them to be used interchangeably. | ||||
* | Convert pusher databases to async/await. (#8075) | Patrick Cloke | 2020-08-14 | 1 | -49/+46 |
| | |||||
* | Convert misc database code to async (#8087) | Patrick Cloke | 2020-08-14 | 1 | -6/+3 |
| | |||||
* | Rename database classes to make some sense (#8033) | Erik Johnston | 2020-08-05 | 1 | -0/+356 |