Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add report room API (MSC4151) (#17270) | Travis Ralston | 2024-06-12 | 1 | -99/+0 |
| | | | | | | | | https://github.com/matrix-org/matrix-spec-proposals/pull/4151 This is intended to be enabled by default for immediate use. When FCP is complete, the unstable endpoint will be dropped and stable endpoint supported instead - no backwards compatibility is expected for the unstable endpoint. | ||||
* | 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 |
| | |||||
* | Bump ruff from 0.0.277 to 0.0.286 (#16198) | dependabot[bot] | 2023-08-29 | 1 | -1/+1 |
| | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | ||||
* | Make `POST /_matrix/client/v3/rooms/{roomId}/report/{eventId}` endpoint ↵ | Andrew Morgan | 2023-03-21 | 1 | -5/+11 |
| | | | | return 404 if event exists, but the user lacks access (#15300) | ||||
* | Prevent clients from reporting nonexistent events. (#13779) | reivilibre | 2023-02-14 | 1 | -1/+10 |
| | |||||
* | Prefer `type(x) is int` to `isinstance(x, int)` (#14945) | David Robertson | 2023-01-31 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Perfer `type(x) is int` to `isinstance(x, int)` This covered all additional instances I could see where `x` was user-controlled. The remaining cases are ``` $ rg -s 'isinstance.*[^_]int' tests/replication/_base.py 576: if isinstance(obj, int): synapse/util/caches/stream_change_cache.py 136: assert isinstance(stream_pos, int) 214: assert isinstance(stream_pos, int) 246: assert isinstance(stream_pos, int) 267: assert isinstance(stream_pos, int) synapse/replication/tcp/external_cache.py 133: if isinstance(result, int): synapse/metrics/__init__.py 100: if isinstance(calls, (int, float)): synapse/handlers/appservice.py 262: assert isinstance(new_token, int) synapse/config/_util.py 62: if isinstance(p, int): ``` which cover metrics, logic related to `jsonschema`, and replication and data streams. AFAICS these are all internal to Synapse * Changelog | ||||
* | 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 | ||||
* | Additional type hints for client REST servlets (part 4) (#10728) | Patrick Cloke | 2021-09-01 | 1 | -3/+12 |
| | |||||
* | Flatten the synapse.rest.client package (#10600) | reivilibre | 2021-08-17 | 1 | -0/+68 |