Jonas Platte
2d4dbfe42f
identifiers: Make RoomId a DST
2021-11-26 00:04:28 +01:00
Jonas Platte
b0db5e94e1
identifiers: Make RoomAliasId a DST
2021-11-26 00:04:28 +01:00
Jonas Platte
ec605a0959
identifiers: Make MxcUri a DST
2021-11-26 00:04:28 +01:00
Jonas Platte
52608cc72c
identifiers: Make EventId a DST
2021-11-25 22:34:40 +01:00
Jonas Platte
c73eb7dce3
identifiers: Make DeviceKeyId a DST
2021-11-25 21:07:14 +01:00
Jonas Platte
438efee143
identifiers: Remove Box<$id> aliases
2021-11-25 21:07:14 +01:00
Jonas Platte
e9c1425acd
client-api: Add missing reference to request parameter type
2021-11-24 21:36:24 +01:00
Kévin Commaille
746e0a026d
client-api: Rename r0::uiaa::authorize_fallback to get_uiaa_fallback_page
2021-11-13 23:39:32 +01:00
Kévin Commaille
2d7b206fe5
client-api: Add AuthType for m.login.sso
2021-11-13 20:15:56 +01:00
Niklas Dusenlund
a100cf9728
client-api: Align endpoint name with module name
2021-11-11 00:44:02 +01:00
Callum Brown
975efcd2ee
client-api: Add registration token validity checking endpoint
2021-11-09 12:30:30 +00:00
Jonas Platte
a9ecd7f397
client-api: Break up the ill-named contacts module
2021-11-09 11:41:21 +01:00
Jonas Platte
44e8db7878
client-api: Feature-gate function that's only required for compat feature
2021-11-03 18:42:45 +01:00
Jonas Platte
21d3d75172
client-api: Fix up previous botched PRs
2021-11-03 18:31:38 +01:00
Jonas Platte
347ae72531
client-api: Revert change of serialized name of thredparty_id_creds under compat feature
2021-11-03 18:26:31 +01:00
Jonas Platte
8b0687b08c
client-api: Add support for deserializing thirdparty_id_creds from an object
2021-11-03 18:23:05 +01:00
Jonas Platte
076420d798
client-api: Fix serde attributes
2021-11-03 18:13:58 +01:00
Jonas Platte
d4df8ac76d
client-api: Change serialized name of thirdparty_id_creds in compat mode
2021-11-03 18:08:37 +01:00
Jonas Platte
0ea6dca815
client-api: Support alternative name for thirdparty_id_creds fields
2021-11-03 18:05:35 +01:00
Jonas Platte
bccbde6f83
api: Remove {Request,Response}DeserializationError
2021-10-29 22:44:15 +02:00
Jonas Platte
f634be9838
client-api: Add missing periods in docs
2021-10-28 21:32:14 +02:00
Jonas Platte
e7f01ca55a
client-api: Use Raw for create_room::Request::creation_content
2021-10-24 00:43:49 +02:00
Jonas Platte
cda6119224
client-api: Fix unused import
2021-10-15 21:04:31 +02:00
Jonas Platte
58cdcae1f9
client-api: Fix login request deserialization
2021-10-15 17:09:02 +02:00
Jonas Platte
b3af33f1fc
client-api: Consistently use outer attributes for cfg-conditional modules
2021-10-08 12:50:41 +02:00
Jonas Platte
aa5fdf9d22
Merge serde attributes and improve docs
2021-10-08 12:49:13 +02:00
Jonas Platte
271491732e
Remove now-redundant doc(cfg) attributes
...
They are now implied:
https://github.com/rust-lang/rust/pull/89596
2021-10-08 11:52:18 +02:00
Devin Ragotzy
bdcfc12ac7
Update client-server spec links
2021-10-06 10:48:08 +02:00
Jonas Platte
04080085f9
events: Include all event type segments in Rust type names
2021-10-02 21:25:21 +02:00
Jonas Platte
678d3cd4ee
events: Small documentation improvements
2021-10-01 19:37:52 +02:00
Johannes Becker
e2386b7b64
client-api: Add custom variant to LoginInfo
2021-09-28 11:23:11 +02:00
Jonas Platte
031dedebc9
client-api: Fix small mistakes in IncomingAuthData::new docs
2021-09-27 19:51:10 +02:00
Jonas Platte
d92e7b4ca7
client-api: Remove no-op attribute
2021-09-27 19:49:47 +02:00
Johannes Becker
224d8a18e8
client-api: Add IncomingAuthData::new and IncomingAuthData::to_outgoing
2021-09-27 16:57:34 +00:00
Jonas Platte
5d36a97b59
client-api: Make fields of doc(hidden) structs private
2021-09-27 13:30:17 +02:00
Jonas Platte
8f88386125
client-api: Add data accessor to [Incoming]AuthData
2021-09-27 13:26:56 +02:00
Jonas Platte
6353e06bd5
client-api: make ThirdpartyIdCredentials an owned type
2021-09-27 13:25:16 +02:00
Jonas Platte
af250cf108
Merge JsonObject type aliases
2021-09-27 12:55:31 +02:00
Jonas Platte
79cbce00cc
client-api: Update change log
2021-09-23 18:20:51 +02:00
Niklas Kunz
efd5ad52fa
client-api: Add the reason field for remaining endpoints (MSC2367)
2021-09-23 16:18:49 +00:00
Jonas Platte
a7be60d9eb
client-api: Use an enum for user-interactive auth stage type
2021-09-23 18:04:30 +02:00
Jonas Platte
36462694e6
client-api: Fix a spec link
2021-09-23 17:55:50 +02:00
Callum Brown
898ec65e77
client-api: Add registration token UIAA type (from MSC3231)
2021-09-22 12:18:03 +00:00
Jonas Platte
237b423996
Release ruma-api 0.18.5
2021-09-21 18:55:29 +02:00
Jonas Platte
4eb5783474
client-api: Move conditionally-used import so it's always used
2021-09-21 18:54:33 +02:00
Jonas Platte
7df5a0f09d
api: Fix inverse condition for sending application/json content-type
2021-09-21 18:54:10 +02:00
Jonas Platte
21e4c90cfa
Revert "client-api: Allow testing sync_events structs for exhaustiveness"
...
This reverts commit c816630058ab625d93ebab294e9e6c02dd9d866c.
Checking match exhaustiveness can now be done through the new
non_exhaustive_omitted_patterns lint.
2021-09-21 15:08:47 +02:00
Jonas Platte
9b8e6e8d96
ruma-client-api 0.12.3
...
* Add a `feature = "compat"` workaround for Element failing on `GET /_matrix/client/r0/account/3pid`
response if the optional `threepids` field is missing
-----BEGIN PGP SIGNATURE-----
iIwEABYIADQWIQSYRl0lv78dXawPPq7MFU3g4wt8ZwUCYUnGGxYcanBsYXR0ZStn
aXRAcG9zdGVvLmRlAAoJEMwVTeDjC3xnXEAA/jR+Jn+XK1TFLY4OhLym8VN+4mxb
YLTg0p5mAsyqSXB8AQCXGpCjyYzV1bBFYRx8J2KMTTt0zWwqYRbsCsrUyP2vDQ==
=LUOM
-----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
iIwEABYIADQWIQSYRl0lv78dXawPPq7MFU3g4wt8ZwUCYUnHmxYcanBsYXR0ZStn
aXRAcG9zdGVvLmRlAAoJEMwVTeDjC3xnn00A/04e0hPc/cnl5Lzb8Tvy6Xmzc/6W
hmRfZdcABHGX0eV7AP4xO/LAeS5qVMfwCo8X0ypPLul+PK9faWgeR0O337ZjAw==
=Skqn
-----END PGP SIGNATURE-----
Merge tag 'ruma-client-api-0.12.3'
ruma-client-api 0.12.3
* Add a `feature = "compat"` workaround for Element failing on `GET /_matrix/client/r0/account/3pid`
response if the optional `threepids` field is missing
2021-09-21 13:52:58 +02:00
Jonas Platte
2f9081cd81
Release ruma-client-api 0.12.3
2021-09-21 13:46:01 +02:00
Jonas Platte
630c1b1d01
client-api: Fix compat workaround for Element
2021-09-21 13:40:52 +02:00