Jonas Platte
a38f78e2d3
identifiers: Move opaque identifier declarations out of macro
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
206c25e7e7
identifiers: Add more PartialEq implementations
2021-11-25 21:07:14 +01:00
Jonas Platte
ce947741cb
identifiers: Reduce macro code duplication
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
c38084432f
identifiers: Borrow mxid in sign_invitation_ed25519 Request
2021-11-25 21:07:03 +01:00
Jonas Platte
e9c1425acd
client-api: Add missing reference to request parameter type
2021-11-24 21:36:24 +01:00
Isaiah Inuwa
370d59a9bc
client: Use constructor for non-exhaustive LoginInfo struct
2021-11-23 23:02:27 -06:00
Jonas Platte
1e9f846722
events: Add accessor methods for RoomMessageEventContent
2021-11-23 10:50:14 +01:00
Jonas Platte
897146e369
events: Fix some docs being on wrong constructor
2021-11-19 10:49:11 +01:00
Jonas Platte
49e5d45ac9
events: Improve usability and docs of m.room.message
reply constructors
2021-11-18 22:51:58 +01:00
Jonas Platte
24950b208e
events: Stop relying on UserId Debug format
2021-11-18 21:41:10 +01:00
Jonas Platte
824ef40bd9
events: Move message reply helper functions into a separate module
2021-11-18 20:20:43 +01:00
Jonas Platte
1a87403ba2
Rewrite some Display & Debug implementations
...
To delete in a more obvious way and to include debug formatting for
Debug impls (i.e. enclose the string in quotes).
2021-11-18 19:49:40 +01:00
Jonas Platte
3959ec4abb
events: Fix a typo
2021-11-18 19:32:02 +01:00
Jonas Platte
b7334edaf7
events: Update reply ctor argument types
2021-11-18 19:12:08 +01:00
Andy Balaam
b4226f882b
identifiers: Document how to create a DeviceId
2021-11-18 16:57:01 +01:00
Devin Ragotzy
7fbfe59091
state-res: Minor fixes & doc updates
2021-11-15 23:08:12 +01:00
Devin Ragotzy
44db63657f
state-res: Change most RoomVersion constructor functions to constants
2021-11-15 23:04:47 +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
Devin Ragotzy
bdce12b07e
state-res: Add some docs and fix a typo
2021-11-12 14:40:43 +01:00
Devin Ragotzy
0e1cf5b3f6
state-res: Add info for room version 7, 8, and 9
2021-11-12 14:40:26 +01:00
Niklas Dusenlund
a100cf9728
client-api: Align endpoint name with module name
2021-11-11 00:44:02 +01:00
Jonas Platte
6d244cd236
federation-api: Add note about minimum_valid_until_ts field type
2021-11-09 22:12:23 +01:00
gnieto
b60df453dc
federation-api: Remove unneeded parameter on get_remote_server_keys_batch
...
The `minimum_valid_until_ts` parameter is not needed on this endpoint
(https://matrix.org/docs/spec/server_server/r0.1.4#post-matrix-key-v2-query ).
2021-11-09 22:09:48 +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
ac6ecc3e5e
push-gateway-api: Make data field of Device not an Option
...
All fields of the inner type are optional themselves.
2021-11-05 12:57:26 +01:00
Jonas Platte
103b9df6c2
common: Add unstable support for default_payload field in PusherData
2021-11-05 12:49:43 +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
Imbolc
795fde03dd
serde: Add test for empty_string_as_none
with absent field
2021-11-02 21:10:49 +00:00
Jonas Platte
c00518599e
Update example on ruma_serde::empty_string_as_none
2021-11-02 14:37:45 +01:00
Jonas Platte
56801780b6
Fix clippy lints
2021-10-29 23:11:24 +02:00
Jonas Platte
a2570e1648
common: Fix unnecessary .to_string()
call
2021-10-29 23:00:37 +02:00
Jonas Platte
bccbde6f83
api: Remove {Request,Response}DeserializationError
2021-10-29 22:44:15 +02:00
Jonas Platte
5a96cbf322
Silence buggy clippy lint
2021-10-29 22:41:14 +02:00
Jonas Platte
0c1e1df8ad
events: Fix test
...
… wasn't failing CI because `#[test]` attribute was missing.
2021-10-29 22:13:44 +02:00
Jonas Platte
3ea16b6d09
events: Update comment, silence lint
2021-10-29 22:13:26 +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
401c0b07b3
Fix clippy warnings
2021-10-19 22:15:59 +02:00
Jonas Platte
0e49b70d65
Raise MSRV to 1.55
...
Otherwise `cargo check` errors on the `-Wclippy::…` arguments from
`.cargo/config.toml`.
Usage as a dependency continues to work with 1.53 for now, but since
it's not changed this could soon change.
2021-10-19 21:36:39 +02:00