Jason Volk
2d2deb4ca7
structured Mxc type
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-16 00:37:51 +00:00
Jason Volk
3f06ade0fd
Revert "Revert "optimize for optional static response headers zero-copy zero-alloc""
...
This reverts commit 6bdc5ad326029e84fe05ed2591d9ba442bab8ff5.
Revert "Revert "Fix assumptions about header value types""
This reverts commit 03037f6c92ffb43388022d288e5a36f20a8559dd.
2024-08-15 05:20:21 +00:00
Jason Volk
6e5e96cba3
add missing ContentDisposition header; fix non-upstreamed ContentDisposition strong type
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-15 01:07:28 +00:00
strawberry
69b2bc4b8c
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-08-14 01:47:43 -04:00
strawberry
6bdc5ad326
Revert "optimize for optional static response headers zero-copy zero-alloc"
...
This reverts commit fd11fee88d937d69f557fa3d6ef09639c7b2e2f7.
2024-08-14 01:46:35 -04:00
Jason Volk
fd11fee88d
optimize for optional static response headers zero-copy zero-alloc
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-12 22:59:57 +00:00
Kévin Commaille
586668806e
client-api: Move some media types and helpers to ruma-common
...
Without breaking changes.
2024-07-16 15:02:45 +02:00
strawberry
9a5bfad849
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-06-30 11:54:39 -04:00
Kévin Commaille
ba76e0ee3a
client-api: Stabilize support for animated thumbnails
...
According to Matrix 1.11
2024-06-22 10:58:13 +02:00
Kévin Commaille
46781d70ef
client-api: Deprecate non-authenticated media endpoints
...
According to MSC3916 / Matrix 1.11
2024-06-21 17:55:34 +02:00
strawberry
b8f30d4da4
add content_disposition to /thumbnail
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-05-05 15:30:30 -04:00
strawberry
b10df150a2
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-05-01 15:25:44 -04:00
Kévin Commaille
19a29934fa
client-api: Add unstable support for animated thumbnails
...
According to MSC2705
2024-04-27 16:15:21 +02:00
Jason Volk
eb970d044d
client-api: Add cache-control header to media responses.
2024-04-05 11:34:47 -04:00
Kévin Commaille
854d8076ef
client-api: Stabilize async media uploads
2023-05-26 09:27:24 +02:00
Kévin Commaille
93ae0a3379
client-api: Add support for media download redirects
...
According to MSC3860
2023-05-25 20:33:44 +02:00
Kévin Commaille
10d70c6055
client-api: Fix timeout field in media download endpoint requests
...
According to the stabilization spec PR.
2023-05-04 13:12:43 +02:00
Kévin Commaille
f159776f52
chore: Make all applicable spec links use the latest spec instead of a specific version
2023-02-12 12:39:24 +01:00
Jonas Platte
b859d9c8b0
common: Derive Debug via StringEnum derive
2023-01-13 13:49:59 +01:00
Jonas Platte
3211fccab0
Remove borrowing in requests
2022-11-28 14:02:35 +01:00
Jonas Platte
ae3394a6df
api: Turn metadata name and description fields into docstrings
2022-11-12 10:17:24 +01:00
Jonas Platte
80c060cb69
Remove usage of ruma_api!
2022-11-12 10:17:24 +01:00
Kévin Commaille
045861441a
doc: Update Matrix spec links to v1.4
2022-10-21 10:41:20 +02:00
Jonas Platte
6ec01bfdb4
client-api: Reorder path fields
2022-10-20 20:51:09 +02:00
Timo Kösters
00315d9c48
client-api: Remove serde aliases
2022-10-12 16:52:26 +02:00
Kévin Commaille
e6e7e52034
client-api: Send CORP headers by default for media responses
...
According to MSC3828.
2022-10-10 19:09:39 +02:00
Kévin Commaille
739c35aaca
api: Allow to use any HeaderName with the header keyword of ruma_api
2022-10-10 19:09:39 +02:00
Kévin Commaille
240c8bc4b8
macros: Derive as_str()
for types that derive StringEnum
2022-05-30 17:17:06 +02:00
Charlotte
ddc5279b6e
client-api: Implement asynchronous uploads (MSC2246)
...
https://github.com/matrix-org/matrix-spec-proposals/pull/2246
2022-05-28 20:49:05 +00:00
Kévin Commaille
688d5bf47a
docs: Improve string enums documentation
...
Mention the conversion from string.
2022-04-10 14:48:09 +02:00
Jonas Platte
571fa90b8d
identifiers: Rename Error to IdParseError
...
… because it's now exported from the ruma-common crate root.
2022-03-28 12:22:28 +02:00
Kévin Commaille
bdcf07be87
common: Merge ruma-serde into ruma-common
2022-03-10 12:11:00 +01:00
Kévin Commaille
088d1872b7
common: Merge ruma-identifiers into ruma-common
2022-03-09 17:46:51 +00:00
Kévin Commaille
f32dcb9254
common: Merge ruma-api into ruma-common
2022-03-03 14:01:51 +01:00
Jonathan de Jong
4787bab6ac
client-api: Transition from r0 to versioned endpoints
2022-02-18 11:03:55 +01:00