Jonas Platte
ab6a364e42
events: Use type aliases inside enums
2021-10-01 19:49:25 +02:00
Jonas Platte
eff770d1d6
events: Generate initial event type aliases
2021-10-01 19:37:52 +02:00
Jonas Platte
678d3cd4ee
events: Small documentation improvements
2021-10-01 19:37:52 +02:00
Jonas Platte
802c83f38b
events: Fix redacted event type aliases
2021-10-01 18:41:11 +02:00
Jonas Platte
edbd5a696c
events: Use inline code blocks instead of emphasis for type strings
2021-10-01 18:35:01 +02:00
Jonas Platte
0101e110f8
Rename *ToDeviceEventContent
structs to ToDevice*Content
2021-10-01 16:48:45 +02:00
Jonas Platte
6b575ca0a2
events: Fix missing space in docs
2021-10-01 14:26:17 +02:00
Jonas Platte
de2b415020
state-res: Silence buggy clippy lint
2021-09-30 21:49:39 +02:00
Jonas Platte
a887dd7387
api-macros: Replace if-then-panic with assert
2021-09-30 20:14:09 +02:00
Jonas Platte
bb581e9252
events: Generate more event type aliases
2021-09-30 20:11:32 +02:00
Jonas Platte
120f1f3b2a
events: Generate event type aliases
2021-09-30 00:47:13 +02:00
Jonas Platte
f0dff1c29a
events: Link to main content struct from redacted content struct docs
2021-09-29 00:30:39 +02:00
Amanda Graven
3b5f3cb5a6
events: Move JoinRulesEventContent.allow into JoinRules
2021-09-28 13:39:58 +00:00
Jonas Platte
c6144c2299
state-res: Fix state-res tests
...
Before, they wouldn't compile with the unstable-exhaustive-types feature
active on ruma-state-res, but not on ruma-events.
2021-09-28 14:27:42 +02:00
Jonas Platte
00ae571636
serde: Add missing period in docs
2021-09-28 14:22:17 +02:00
Johannes Becker
e2386b7b64
client-api: Add custom variant to LoginInfo
2021-09-28 11:23:11 +02:00
Jonas Platte
1e48e97cf5
serde: Fix docs for JsonObject
2021-09-27 19:57:06 +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
Jonas Platte
b4eac98acc
events: Make OlmV1Keys::ed25519 public
...
It was never meant to be private.
2021-09-27 19:23:18 +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
27a3e70465
events: Don't return body as part of MessageType::data
2021-09-27 13:01:50 +02:00
Jonas Platte
af250cf108
Merge JsonObject type aliases
2021-09-27 12:55:31 +02:00
Jonas Platte
fde518ea89
events: Adjust docs for MessageType::data
2021-09-27 12:52:47 +02:00
gnieto
cd4344115d
federation-api: Make device name field in DeviceListUpdateContent optional
...
According to the spec, `device_display_name` should be absent if the
device does not have any display name. This also changes the `DeviceListUpdateContent`
constructor and it initializes this field with a None.
2021-09-26 11:27:12 +02:00
Jonas Platte
7cbffe35da
identifiers: Add matrix.to URL formatting
2021-09-23 21:12:57 +02:00
Jonas Platte
8b44f279c8
Use server_name! macro in tests
2021-09-23 20:33:45 +02:00
Jonas Platte
fe5d31a9a6
identifiers: Improve readability of one more method
2021-09-23 20:33:28 +02:00
Jonas Platte
e147308277
identifiers: Improve readability of server_name methods
2021-09-23 18:54:03 +02:00
Jonas Platte
27a2e1f97f
identifiers: Merge more impl blocks
2021-09-23 18:50:09 +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
a2254562b9
identifiers: Rewrap doc comment
2021-09-22 13:40:34 +02:00
Jonas Platte
ef0e9c77c3
identifiers: Merge impl blocks
2021-09-22 13:40:01 +02: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
Jonas Platte
1350f65dcb
client-api: Fix compat workaround for Element
2021-09-21 13:40:44 +02:00
Jonas Platte
8079e1c155
Release ruma-api 0.18.4
2021-09-21 11:33:18 +02:00
Jonas Platte
d16db420e3
api: Stop adding Content-Type
to requests without any fields
2021-09-21 11:32:18 +02:00