44 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
0b390cc3c9 client-api: Add support for using an existing session to log in another
According to MSC3882
2023-05-25 20:23:07 +02:00
Kévin Commaille
fc7cc74789 docs: Don't use since with the deprecated attribute 2023-02-14 22:50:20 +01:00
HKalbasi
ca99c97a0c
Use #[deprecated] instead of doc comments 2023-02-12 19:18:06 +01: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
digital
c79f9a97e1 client-api: add support for appservice login 2023-01-19 16:12:22 +01:00
digital
6c00e03c19 client-api: correct typos in comments 2023-01-19 16:12:22 +01:00
Jonas Platte
b859d9c8b0
common: Derive Debug via StringEnum derive 2023-01-13 13:49:59 +01:00
Jonas Platte
67cc8e9e9c Box rarely-used variants to reduce enum stack size 2022-12-15 11:46:30 +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
Jonas Platte
d3a8a8c2e0 client-api: Future-proof Debug implementations of login types
Make sure we don't forget to update them when there are new fields.
2022-11-01 11:13:36 +01:00
Jonas Platte
2b624c264e client-api: Simplify Debug output for LoginInfo 2022-11-01 11:13:36 +01:00
Kévin Commaille
045861441a doc: Update Matrix spec links to v1.4 2022-10-21 10:41:20 +02:00
Jonas Platte
bb9742e84c
client-api: Don't include extra field in Debug-format of login::CustomLoginInfo 2022-10-17 17:16:38 +02:00
Jonas Platte
fe2d0c93e2
client-api: Don't include token in Debug-format of login::Token 2022-10-17 17:16:38 +02:00
Jonas Platte
70b0d249a8
client-api: Don't include password in Debug-format of login::Password 2022-10-17 17:16:38 +02:00
Timo Kösters
00315d9c48 client-api: Remove serde aliases 2022-10-12 16:52:26 +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
90f9463c1a client-api: Use borrowed types in refresh_token::v3::Request 2022-07-30 17:03:02 +02:00
Kévin Commaille
64203a3cba client: Remove leftover unstable prefixes
From v1.2 and v1.3
2022-07-28 18:27:14 +02:00
Kévin Commaille
0d71ce17da client-api: Stabilize MSC2918 2022-06-20 17:16:12 +02:00
Kévin Commaille
cf3aee33f4
client-api: Split uiaa::UserIdentifier::ThirdParty 2022-06-11 22:41:52 +02:00
Kévin Commaille
90cef5a50b client-api: Add support for refresh tokens
According to MSC2918
2022-06-11 19:31:09 +02:00
Kévin Commaille
c1d10b1061 client-api: Split some test assertions 2022-06-07 15:30:49 +02:00
Jonas Platte
8912182c56
Increase usage of implicit named arguments in format strings 2022-06-03 10:06:28 +02:00
Jonas Platte
b34bfaf1f6
Replace matches crate with assert_matches 2022-05-24 18:07:29 +02:00
Jonas Platte
4014e6959f
Replace Box<MxcUri> with OwnedMxcUri 2022-04-25 15:16:55 +02:00
Jonas Platte
efc869ce9d client-api: Use new owned ID types 2022-04-20 10:39:36 +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
a6a530dcc8 serde: Rename derive macro Outgoing to Incoming
All it does now is generate `Incoming{Self}` types.
2022-03-22 13:19:03 +01:00
Jonas Platte
5cf42f3a86 serde: Remove the Outgoing trait 2022-03-22 13:19:03 +01:00
Kévin Commaille
117880524f
client-api: Fix sso_login added version 2022-03-14 13:51:30 +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
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
Kévin Commaille
6866b2e5c2
client-api: Add LoginInfo::ApplicationService
According to MSC2778
2022-02-23 17:42:57 +01:00
Kévin Commaille
c5a6cf033f
client-api: Rename UserIdentifier::MatrixId to UserIdOrLocalpart 2022-02-18 14:58:38 +00:00
Jonathan de Jong
4787bab6ac
client-api: Transition from r0 to versioned endpoints 2022-02-18 11:03:55 +01:00
Jonas Platte
ee99486978
client-api: Use new path metadata fields 2022-02-13 11:21:49 +01:00
Jonathan de Jong
397727726e
api: Add multiple path support to OutgoingRequest 2022-02-12 13:44:11 +01:00
Kévin Commaille
b8a741cb30
client-api: Move MSC2858 out of unstable-pre-spec 2022-01-20 13:29:22 +00:00