Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing types to opentracing. (#13345) | Patrick Cloke | 2022-07-21 | 1 | -1/+1 |
| | | | After this change `synapse.logging` is fully typed. | ||||
* | Revert "Make all `process_replication_rows` methods async (#13304)" (#13312) | Erik Johnston | 2022-07-18 | 1 | -4/+2 |
| | | | This reverts commit 5d4028f217f178fcd384d5bfddd92225b4e78c51. | ||||
* | Make all `process_replication_rows` methods async (#13304) | Nick Mills-Barrett | 2022-07-17 | 1 | -2/+4 |
| | | | | | More prep work for asyncronous caching, also makes all process_replication_rows methods consistent (presence handler already is so). Signed off by Nick @ Beeper (@Fizzadar) | ||||
* | Replace noop background updates with DELETE. (#12954) | Patrick Cloke | 2022-06-13 | 1 | -11/+0 |
| | | | | Removes the `register_noop_background_update` and deletes the background updates directly in a delta file. | ||||
* | Add some type hints to datastore (#12485) | Dirk Klimpel | 2022-04-27 | 1 | -23/+56 |
| | |||||
* | Reduce to-device queries for /sync. (#12163) | Erik Johnston | 2022-03-04 | 1 | -0/+3 |
| | |||||
* | Fix to-device being dropped in limited sync in SQLite. (#11966) | Erik Johnston | 2022-02-11 | 1 | -1/+4 |
| | | | | | | | | | If ther are more than 100 to-device messages pending for a device `/sync` will only return the first 100, however the next batch token was incorrectly calculated and so all other pending messages would be dropped. This is due to `txn.rowcount` only returning the number of rows that *changed*, rather than the number *selected* in SQLite. | ||||
* | Send to-device messages to application services (#11215) | Andrew Morgan | 2022-02-01 | 1 | -39/+237 |
| | | | Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | ||||
* | Replace uses of simple_insert_many with simple_insert_many_values. (#11742) | Patrick Cloke | 2022-01-13 | 1 | -14/+16 |
| | | | | 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 | -2/+2 |
| | | | By using cast and making ignores more specific. | ||||
* | Type hint the constructors of the data store classes (#11555) | Sean Quah | 2021-12-13 | 1 | -1/+6 |
| | |||||
* | Improve performance of `remove_{hidden,deleted}_devices_from_device_inbox` ↵ | Brendan Abolivier | 2021-11-25 | 1 | -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 Cloke | 2021-11-11 | 1 | -16/+36 |
| | |||||
* | Clarifications and small fixes to to-device related code (#11247) | Andrew Morgan | 2021-11-09 | 1 | -3/+20 |
| | | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | ||||
* | Delete messages for hidden devices from `device_inbox` (#11199) | Dirk Klimpel | 2021-11-02 | 1 | -0/+89 |
| | |||||
* | Stop synapse from saving messages in device_inbox for hidden devices. (#10097) | JohannesKleine | 2021-11-01 | 1 | -2/+6 |
| | | | Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | ||||
* | Fix comments referencing v1.46.0 from PR #10969. (#11212) | Dirk Klimpel | 2021-10-29 | 1 | -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 Klimpel | 2021-10-27 | 1 | -1/+91 |
| | | | Fixes: #9346 | ||||
* | Add type hints for most `HomeServer` parameters (#11095) | Sean Quah | 2021-10-22 | 1 | -3/+6 |
| | |||||
* | Remove unnecessary parentheses around tuples returned from methods (#10889) | Andrew Morgan | 2021-09-23 | 1 | -3/+3 |
| | |||||
* | [pyupgrade] `synapse/` (#10348) | Jonathan de Jong | 2021-07-19 | 1 | -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 Hoff | 2021-05-11 | 1 | -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 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>` | ||||
* | Add a type hints for service notices to the HomeServer object. (#9675) | Patrick Cloke | 2021-03-24 | 1 | -3/+3 |
| | |||||
* | Fix some typos. | Patrick Cloke | 2021-02-12 | 1 | -1/+1 |
| | |||||
* | Allow moving account data and receipts streams off master (#9104) | Erik Johnston | 2021-01-18 | 1 | -3/+1 |
| | |||||
* | Allow running sendToDevice on workers (#9044) | Erik Johnston | 2021-01-07 | 1 | -32/+115 |
| | |||||
* | Some cleanups to device inbox store. (#9041) | Erik Johnston | 2021-01-07 | 1 | -49/+58 |
| | |||||
* | 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. | ||||
* | 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 | ||||
* | Convert additional database code to async/await. (#8195) | Patrick Cloke | 2020-08-28 | 1 | -6/+6 |
| | |||||
* | 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 account data, device inbox, and censor events databases to ↵ | Patrick Cloke | 2020-08-12 | 1 | -45/+49 |
| | | | | async/await (#8063) | ||||
* | 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/+476 |