98 Commits

Author SHA1 Message Date
Kévin Commaille
36d181daac
federation-api: Move cross-signing properties of get_keys::Response out of unstable-pre-spec
Part of #808
2022-02-10 14:52:24 +01:00
Kévin Commaille
69134c21e5
federation-api: Move knock out of unstable-pre-spec 2022-02-10 13:43:14 +00:00
Jonas Platte
39041286b9
Move from_raw_json_value to ruma-serde
… and remove unnecessary copies of it.
2022-02-02 20:58:47 +01:00
Jonas Platte
21ef0a3c63
federation-api: Use TransactionId for DirectDeviceContent#message_id 2022-01-29 02:11:22 +01:00
Jonathan de Jong
3b32577276
federation-api: Support MSC3618 2022-01-17 12:08:24 +01:00
Jonas Platte
ef6728abde
Add a TransactionId type 2022-01-16 23:17:23 +01:00
Jonas Platte
4c859c5aeb
Introduce a Base64 type and use it where applicable 2022-01-13 16:22:21 +01:00
Jonas Platte
ee977b48f0
Make the inner type of _Custom enum variants unusable
The variant itself would be private if possible, this is the solution
closest to that.
2022-01-13 11:38:48 +01:00
Jonas Platte
9621b83d49
Use doc_auto_cfg for automatic cfg documentation 2022-01-02 19:22:42 +01:00
Jonas Platte
d3679c1902
federation-api: Use Raw around CrossSigningKey, DeviceKeys, OneTimeKey 2021-12-14 15:37:00 +01:00
Jonas Platte
6b76d7813e
identifiers: Shorten RoomVersionId variant names 2021-11-26 01:07:26 +01:00
Jonas Platte
5852658da5
identifiers: Make KeyId a DST 2021-11-26 00:40:44 +01:00
Jonas Platte
3ce578f384
identifiers: Make UserId a DST 2021-11-26 00:40:40 +01:00
Jonas Platte
2d4dbfe42f
identifiers: Make RoomId 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
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
Kevin Jones
21487aacdc
federation-api: Fix version discovery endpoint 2021-10-19 15:39:09 +00: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
52bea1d9b4
Update server-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
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
237b423996
Release ruma-api 0.18.5 2021-09-21 18:55:29 +02:00
Jonas Platte
8079e1c155
Release ruma-api 0.18.4 2021-09-21 11:33:18 +02:00
Jonas Platte
e2d9bf5eba ruma-events 0.24.6
Improvements:
 
 * Add (unstable) support for [MSC3083](https://github.com/matrix-org/matrix-doc/blob/main/proposals/3083-restricted-rooms.md)
 -----BEGIN PGP SIGNATURE-----
 
 iIwEABYIADQWIQSYRl0lv78dXawPPq7MFU3g4wt8ZwUCYUjgYBYcanBsYXR0ZStn
 aXRAcG9zdGVvLmRlAAoJEMwVTeDjC3xnvF8A/0s7gcm4pijTII7wrIOxB0eWSUgc
 TSxXIOYpsiDcswnUAP9+PLx+ziy0oxtbPcWK5bil7JBcYwM1tlqIM+d9qlgiCQ==
 =W1O9
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iIwEABYIADQWIQSYRl0lv78dXawPPq7MFU3g4wt8ZwUCYUjgkBYcanBsYXR0ZStn
 aXRAcG9zdGVvLmRlAAoJEMwVTeDjC3xnrOkBALaAq5RRXvD2xdBD2Q6H9xEPsd/x
 KSknkjMjqgCJq2g8AQCql0S5QpH8PsmOKDmMO9X6lIHnnaqUxpSOOHIm83VKAA==
 =9Aii
 -----END PGP SIGNATURE-----

Merge tag 'ruma-events-0.24.6'

ruma-events 0.24.6

Improvements:

* Add (unstable) support for [MSC3083](https://github.com/matrix-org/matrix-doc/blob/main/proposals/3083-restricted-rooms.md)
2021-09-20 21:27:12 +02:00
Jonas Platte
d07cacb61d
Release ruma-events 0.24.6 2021-09-20 21:25:27 +02:00
Jonas Platte
ca49cf802d
federation: Borrow more request fields 2021-09-19 19:59:18 +02:00
Jonas Platte
36bc8bf73a
federation-api: Replace Raw<Pdu> with Box<RawJsonValue> 2021-09-15 20:36:20 +02:00
Jonas Platte
6abf9f7d99
Release ruma-federation-api 0.3.1 2021-09-01 15:21:49 +02:00
Jonas Platte
1d6b84d522
federation-api: Fix request query deserialization for get_remote_server_keys_batch 2021-09-01 15:21:18 +02:00
Jonas Platte
a03955a778
federation-api: Fix request body (de)serialization 2021-09-01 15:18:51 +02:00
Jonas Platte
dc842f028f
Add missing commas 2021-08-30 17:34:20 +02:00
Jonas Platte
b85e452aec
Release ruma-events 0.24.5 2021-08-21 15:58:54 +02:00
Jonas Platte
7a581038e3
Release ruma-api 0.18.3 2021-08-18 19:29:40 +02:00
Jonas Platte
15553e1da9
federation-api: Add a test for v1 /send_join response serialization
Co-authored-by: Timo Kösters <timo@koesters.xyz>
2021-08-17 00:20:10 +02:00
Jonas Platte
90683f0faa
Release ruma-events 0.24.4 2021-08-16 23:12:35 +02:00
Jonas Platte
7ac3c369cc
Release ruma-api 0.18.2 2021-08-16 22:22:19 +02:00
Jonas Platte
7e6fcab676
Release ruma-events 0.24.3 2021-08-13 17:16:08 +02:00
Jonas Platte
e396092ac0
Release ruma-events 0.24.2 2021-08-11 21:08:46 +02:00
Jonas Platte
f4d60f1ecb
Release ruma-events 0.24.1 2021-08-11 20:31:23 +02:00
Jonas Platte
6ee7a5beae
Release ruma-federation-api 0.3.0 2021-08-11 17:51:15 +02:00
Jonas Platte
db57fa2a45
Update ruma-*-api changelogs 2021-08-11 17:41:05 +02:00
Jonas Platte
1c5067a916
Release ruma-events 0.24.0 2021-08-11 17:38:10 +02:00
Jonas Platte
7f457d6463
Release ruma-api 0.18.1 2021-08-11 17:34:45 +02:00
Jonas Platte
7602570e21
Release ruma-common 0.6.0 2021-08-11 17:24:41 +02:00
Jonas Platte
e6b48fb564
Release ruma-identifiers 0.20.0 2021-08-11 17:16:28 +02:00