30 Commits

Author SHA1 Message Date
Jonas Platte
ba5bf8cfce
Replace assert_matches by assert_matches2 2023-06-08 11:37:11 +02: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
f3ba40a56f client-api: Use Request::new() in Request::from_url() for get_content_as_filename 2023-05-04 13:12:43 +02:00
Kévin Commaille
67019c7f48 client-api: Fix the type of unused_expires_at for create_mxc_uri 2023-05-04 13:12:43 +02:00
Kévin Commaille
0e5503ed88 client-api: Add filename field for create_content_async 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
fbfb2b2ef9 client-api: Make some test assertions more helpful 2022-06-11 21:53:33 +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
Jonas Platte
4014e6959f
Replace Box<MxcUri> with OwnedMxcUri 2022-04-25 15:16:55 +02: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
5c2c13145d client-api: Deserialize stable names for unstable features 2022-03-21 14:46:13 +01: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
Jonas Platte
e1c9af6d74
client-api: Remove outdated comment 2022-03-08 10:30:06 +01:00
homersimpsons
2ec50bd03c
doc: migrate links from matrix-doc to matrix-spec(-proposals) 2022-03-08 10:24:26 +01: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