Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correctly mention previous copyright (#16820) | Erik Johnston | 2024-01-23 | 1 | -0/+1 |
| | | | | | During the migration the automated script to update the copyright headers accidentally got rid of some of the existing copyright lines. Reinstate them. | ||||
* | Update license headers | Patrick Cloke | 2023-11-21 | 1 | -10/+16 |
| | |||||
* | Don't wake up destination transaction queue if they're not due for retry. ↵ | Erik Johnston | 2023-09-04 | 1 | -4/+3 |
| | | | | (#16223) | ||||
* | Describe which rate limiter was hit in logs (#16135) | David Robertson | 2023-08-30 | 1 | -2/+1 |
| | |||||
* | Support MSC3814: Dehydrated Devices Part 2 (#16010) | Shay | 2023-08-08 | 1 | -13/+0 |
| | |||||
* | Support MSC3814: Dehydrated Devices (#15929) | Shay | 2023-07-24 | 1 | -2/+106 |
| | | | | | | Signed-off-by: Nicolas Werner <n.werner@famedly.com> Co-authored-by: Nicolas Werner <n.werner@famedly.com> Co-authored-by: Nicolas Werner <89468146+nico-famedly@users.noreply.github.com> Co-authored-by: Hubert Chathi <hubert@uhoreg.ca> | ||||
* | Remove legacy code of single user device resync api (#15418) | Alok Kumar Singh | 2023-04-21 | 1 | -6/+8 |
| | | | | | * Removed single-user resync usage and updated it to use multi-user counterpart Signed-off-by: Alok Kumar Singh alokaks601@gmail.com | ||||
* | Batch up replication requests to request the resyncing of remote users's ↵ | reivilibre | 2023-01-10 | 1 | -1/+1 |
| | | | | devices. (#14716) | ||||
* | Improve logging and opentracing for to-device message handling (#14598) | Richard van der Hoff | 2022-12-06 | 1 | -14/+22 |
| | | | | | | | A batch of changes intended to make it easier to trace to-device messages through the system. The intention here is that a client can set a property org.matrix.msgid in any to-device message it sends. That ID is then included in any tracing or logging related to the message. (Suggestions as to where this field should be documented welcome. I'm not enthusiastic about speccing it - it's very much an optional extra to help with debugging.) I've also generally improved the data we send to opentracing for these messages. | ||||
* | 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 |