24 Commits

Author SHA1 Message Date
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
a6ba268796 client-api: Make UiaaResponse enum exhaustive 2022-11-25 20:50:58 +01:00
Jonas Platte
a8ba82d585 api: Make EndpointError construction infallible
Simplifies error matching and preserves more information for
non-spec-compliant server errors.
2022-11-10 13:10:57 +01:00
Jonas Platte
e271af0140 client-api: Simplify Debug output of uiaa::AuthData 2022-11-01 11:13:36 +01:00
Jonas Platte
c68791a5d8 client-api: Don't include sensitive data in Debug-format of UIAA types 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
Kévin Commaille
cf3aee33f4
client-api: Split uiaa::UserIdentifier::ThirdParty 2022-06-11 22:41:52 +02:00
Jonas Platte
8912182c56
Increase usage of implicit named arguments in format strings 2022-06-03 10:06:28 +02:00
Jonas Platte
24c0a08b2c client-api: Add UserIdentifier::email 2022-05-12 11:47:17 +02:00
Jonas Platte
0661078c17 client-api: Add From impls for UserIdentifier 2022-05-12 11:47:17 +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
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
Kévin Commaille
edc7b97d05
client-api: Fix thirdparty_id_creds according to clarification in spec 2022-02-23 13:29:49 +01:00
Jonathan de Jong
936bb64e84
Update links to spec.matrix.org/v1.2 2022-02-18 19:45:04 +01:00
Kévin Commaille
c5a6cf033f
client-api: Rename UserIdentifier::MatrixId to UserIdOrLocalpart 2022-02-18 14:58:38 +00:00
Jonas Platte
48da0a1a12
client-api: Remove UIAA types m.login.oauth2 and m.login.token
Removed from the specification in v1.1.
2022-02-18 15:50:33 +01:00
Jonathan de Jong
4787bab6ac
client-api: Transition from r0 to versioned endpoints 2022-02-18 11:03:55 +01:00