Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-10-12 | Fixup changelog v1.45.0rc1 | Brendan Abolivier | 1 | -2/+2 | |
2021-10-12 | Typo | Brendan Abolivier | 1 | -1/+1 | |
2021-10-12 | Add a link to the upgrade notes | Brendan Abolivier | 1 | -0/+2 | |
2021-10-12 | Fix inconsistent behavior of `get_last_client_by_ip` (#10970) | Sean Quah | 3 | -4/+53 | |
Make `get_last_client_by_ip` return the same dictionary structure regardless of whether the data has been persisted to the database. This change will allow slightly cleaner type hints to be applied later on. | |||||
2021-10-12 | Update upgrade notes | Brendan Abolivier | 1 | -0/+9 | |
2021-10-12 | Fix opentracing and Prometheus metrics for replication requests (#10996) | Sean Quah | 3 | -76/+87 | |
This commit fixes two bugs to do with decorators not instrumenting `ReplicationEndpoint`'s `send_request` correctly. There are two decorators on `send_request`: Prometheus' `Gauge.track_inprogress()` and Synapse's `opentracing.trace`. `Gauge.track_inprogress()` does not have any support for async functions when used as a decorator. Since async functions behave like regular functions that return coroutines, only the creation of the coroutine was covered by the metric and none of the actual body of `send_request`. `Gauge.track_inprogress()` returns a regular, non-async function wrapping `send_request`, which is the source of the next bug. The `opentracing.trace` decorator would normally handle async functions correctly, but since the wrapped `send_request` is a non-async function, the decorator ends up suffering from the same issue as `Gauge.track_inprogress()`: the opentracing span only measures the creation of the coroutine and none of the actual function body. Using `Gauge.track_inprogress()` as a context manager instead of a decorator resolves both bugs. | |||||
2021-10-12 | Add warning about known issues | Brendan Abolivier | 1 | -0/+2 | |
2021-10-12 | Fixup changelog | Brendan Abolivier | 1 | -7/+7 | |
2021-10-12 | 1.45.0rc1 | Brendan Abolivier | 66 | -66/+84 | |
2021-10-12 | Add an approximate difference method to StateFilters (#10825) | reivilibre | 3 | -3/+683 | |
2021-10-11 | disallow-untyped-defs for synapse.push (#11023) | David Robertson | 7 | -10/+28 | |
2021-10-11 | Include the requirements for [mypy,lint] in [dev] (#11034) | reivilibre | 4 | -11/+17 | |
2021-10-11 | Pass through `SynapseError`s that are raised from experimental ↵ | reivilibre | 2 | -0/+10 | |
`check_event_allowed` callback of the module API (#11042) Co-authored-by: Brendan Abolivier <babolivier@matrix.org> | |||||
2021-10-11 | Remove unnecessary list comprehension in `synapse_port_db` to fix linting in ↵ | reivilibre | 2 | -1/+2 | |
CI (#11043) | |||||
2021-10-11 | Release script improvements (#10966) | reivilibre | 2 | -4/+33 | |
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | |||||
2021-10-08 | Refactor MSC2716 `/batch_send` endpoint into separate handler functions (#10974) | Eric Eastwood | 4 | -283/+485 | |
< |