Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update license headers | Patrick Cloke | 2023-11-21 | 1 | -10/+16 |
| | |||||
* | Recheck if remote device is cached before requesting it (#16252) | Erik Johnston | 2023-09-07 | 1 | -2/+2 |
| | | | | This fixes a bug where we could get stuck re-requesting the device over replication again and again. | ||||
* | Cache device resync requests over replication (#16241) | David Robertson | 2023-09-04 | 1 | -1/+1 |
| | |||||
* | Clarify comment on key uploads over replication (#16016) | Shay | 2023-07-27 | 1 | -2/+2 |
| | |||||
* | Remove legacy code of single user device resync api (#15418) | Alok Kumar Singh | 2023-04-21 | 1 | -57/+0 |
| | | | | | * Removed single-user resync usage and updated it to use multi-user counterpart Signed-off-by: Alok Kumar Singh alokaks601@gmail.com | ||||
* | Bump black from 22.12.0 to 23.1.0 (#15103) | dependabot[bot] | 2023-02-22 | 1 | -1/+0 |
| | |||||
* | Wait for streams to catch up when processing HTTP replication. (#14820) | Erik Johnston | 2023-01-18 | 1 | -7/+3 |
| | | | | This should hopefully mitigate a class of races where data gets out of sync due a HTTP replication request racing with the replication streams. | ||||
* | Batch up replication requests to request the resyncing of remote users's ↵ | reivilibre | 2023-01-10 | 1 | -1/+73 |
| | | | | devices. (#14716) | ||||
* | Add a type hint for `get_device_handler()` and fix incorrect types. (#14055) | Patrick Cloke | 2022-11-22 | 1 | -3/+8 |
| | | | | | This was the last untyped handler from the HomeServer object. Since it was being treated as Any (and thus unchecked) it was being used incorrectly in a few places. | ||||
* | Remove need for `worker_main_http_uri` setting to use /keys/upload. (#14400) | realtyem | 2022-11-16 | 1 | -0/+67 |
| | |||||
* | Remove `HomeServer.get_datastore()` (#12031) | Richard van der Hoff | 2022-02-23 | 1 | -1/+1 |
| | | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733 | ||||
* | Add missing type hints to synapse.replication.http. (#11856) | Patrick Cloke | 2022-02-08 | 1 | -4/+10 |
| | |||||
* | Add type hints for most `HomeServer` parameters (#11095) | Sean Quah | 2021-10-22 | 1 | -2/+6 |
| | |||||
* | 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>` | ||||
* | Simplify super() calls to Python 3 syntax. (#8344) | Patrick Cloke | 2020-09-18 | 1 | -1/+1 |
| | | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py | ||||
* | Convert replication code to async/await. (#7987) | Patrick Cloke | 2020-08-03 | 1 | -1/+1 |
| | |||||
* | Fixup docs | Erik Johnston | 2019-11-26 | 1 | -1/+5 |
| | |||||
* | Fix caching devices for remote servers in worker. | Erik Johnston | 2019-11-05 | 1 | -0/+69 |
When the `/keys/query` API is hit on client_reader worker Synapse may decide that it needs to resync some remote deivces. Usually this happens on master, and then gets cached. However, that fails on workers and so it falls back to fetching devices from remotes directly, which may in turn fail if the remote is down. |