Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Additional constants for EDU types. (#12884) | Patrick Cloke | 2022-05-27 | 1 | -3/+3 |
| | | | Instead of hard-coding strings in many places. | ||||
* | Add `StreamKeyType` class and replace string literals with constants (#12567) | Andrew Morgan | 2022-05-16 | 1 | -3/+3 |
| | |||||
* | 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 | ||||
* | Clarifications and small fixes to to-device related code (#11247) | Andrew Morgan | 2021-11-09 | 1 | -4/+27 |
| | | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | ||||
* | Use direct references for some configuration variables (#10798) | Patrick Cloke | 2021-09-13 | 1 | -2/+2 |
| | | | | Instead of proxying through the magic getter of the RootConfig object. This should be more performant (and is more explicit). | ||||
* | Use inline type hints in `handlers/` and `rest/`. (#10382) | Jonathan de Jong | 2021-07-16 | 1 | -1/+1 |
| | |||||
* | Fix `m.room_key_request` to-device messages (#9961) | Richard van der Hoff | 2021-05-11 | 1 | -6/+27 |
| | | | fixes #9960 | ||||
* | 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>` | ||||
* | Improve tracing for to device messages (#9686) | Erik Johnston | 2021-04-01 | 1 | -15/+20 |
| | |||||
* | Make RateLimiter class check for ratelimit overrides (#9711) | Erik Johnston | 2021-03-30 | 1 | -2/+3 |
| | | | | | | | This should fix a class of bug where we forget to check if e.g. the appservice shouldn't be ratelimited. We also check the `ratelimit_override` table to check if the user has ratelimiting disabled. That table is really only meant to override the event sender ratelimiting, so we don't use any values from it (as they might not make sense for different rate limits), but we do infer that if ratelimiting is disabled for the user we should disabled all ratelimits. Fixes #9663 | ||||
* | Import HomeServer from the proper module. (#9665) | Patrick Cloke | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | Ratelimit cross-user key sharing requests. (#8957) | Patrick Cloke | 2021-02-19 | 1 | -2/+22 |
| | |||||
* | 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 | ||||
* | Ensure the user ID is serialized in the payload instead of used as an ↵ | Patrick Cloke | 2021-01-18 | 1 | -1/+1 |
| | | | | instance name. (#9130) | ||||
* | Allow running sendToDevice on workers (#9044) | Erik Johnston | 2021-01-07 | 1 | -8/+23 |
| | |||||
* | Ensure that remote users' device list resyncing always happens on master (#9043) | Erik Johnston | 2021-01-07 | 1 | -4/+13 |
| | | | Currently `DeviceMessageHandler` only ever exists on master, but that is about to change. | ||||
* | Add type hints to some handlers (#8505) | Patrick Cloke | 2020-10-09 | 1 | -8/+17 |
| | |||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
| | |||||
* | Use the JSON encoder without whitespace in more places. (#8124) | Patrick Cloke | 2020-08-20 | 1 | -3/+2 |
| | |||||
* | Convert the device message and pagination handlers to async/await. (#7678) | Patrick Cloke | 2020-06-16 | 1 | -15/+10 |
| | |||||
* | Resync remote device list when detected as stale. (#6786) | Erik Johnston | 2020-01-30 | 1 | -2/+8 |
| | |||||
* | Detect unknown remote devices and mark cache as stale (#6776) | Erik Johnston | 2020-01-28 | 1 | -2/+55 |
| | | | | We just mark the fact that the cache may be stale in the database for now. | ||||
* | Remove usage of deprecated logger.warn method from codebase (#6271) | Andrew Morgan | 2019-10-31 | 1 | -1/+1 |
| | | | Replace every instance of `logger.warn` with `logger.warning` as the former is deprecated. | ||||
* | Link the send loop with the edus contexts | Jorik Schellekens | 2019-09-05 | 1 | -4/+1 |
| | | | | | | The contexts were being filtered too early so the send loop wasn't being linked to them unless the destination was whitelisted. | ||||
* | Opentrace device lists (#5853) | Jorik Schellekens | 2019-09-03 | 1 | -1/+5 |
| | | | Trace device list changes. | ||||
* | Propagate opentracing contexts through EDUs (#5852) | Jorik Schellekens | 2019-08-22 | 1 | -6/+21 |
| | | | | | Propagate opentracing contexts through EDUs Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -4/+3 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -2/+1 |
| | |||||
* | Split out edu/query registration to a separate class | Erik Johnston | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | Sanity checking for user ids | Richard van der Hoff | 2018-01-17 | 1 | -3/+11 |
| | | | | | | | | Check the user_id passed to a couple of APIs for validity, to avoid "IndexError: list index out of range" exception which looks scary and results in a 500 rather than a more useful error. Fixes #1432, among other things | ||||
* | Use new federation_sender DI | Erik Johnston | 2016-11-16 | 1 | -2/+2 |
| | |||||
* | Add a new method to enqueue the device messages rather than sending a dummy EDU | Mark Haines | 2016-09-07 | 1 | -7/+3 |
| | |||||
* | Send device messages over federation | Mark Haines | 2016-09-06 | 1 | -0/+121 |