-
- Downloads
"src/api/client_server/message.rs" did not exist on "f285c89006e48b0644f421ae399f1a8eb47e37f8"
Support MSC3916 by adding unstable media endpoints to `_matrix/client` (#17213)
[MSC3916](https://github.com/matrix-org/matrix-spec-proposals/blob/rav/authentication-for-media/proposals/3916-authentication-for-media.md) adds new media endpoints under `_matrix/client`. This PR adds the `/preview_url`, `/config`, and `/thumbnail` endpoints. `/download` will be added in a follow-up PR once the work for the federation `/download` endpoint is complete (see https://github.com/element-hq/synapse/pull/17172). Should be reviewable commit-by-commit.
Showing
- changelog.d/17213.feature 1 addition, 0 deletionschangelog.d/17213.feature
- synapse/config/experimental.py 4 additions, 0 deletionssynapse/config/experimental.py
- synapse/media/thumbnailer.py 485 additions, 1 deletionsynapse/media/thumbnailer.py
- synapse/rest/client/media.py 205 additions, 0 deletionssynapse/rest/client/media.py
- synapse/rest/media/thumbnail_resource.py 9 additions, 467 deletionssynapse/rest/media/thumbnail_resource.py
- tests/media/test_media_storage.py 80 additions, 81 deletionstests/media/test_media_storage.py
- tests/rest/client/test_media.py 1609 additions, 0 deletionstests/rest/client/test_media.py
Loading
Please register or sign in to comment