195 Commits

Author SHA1 Message Date
Jonas Platte
0101e110f8
Rename *ToDeviceEventContent structs to ToDevice*Content 2021-10-01 16:48:45 +02:00
Jonas Platte
120f1f3b2a
events: Generate event type aliases 2021-09-30 00:47:13 +02:00
Amanda Graven
3b5f3cb5a6
events: Move JoinRulesEventContent.allow into JoinRules 2021-09-28 13:39:58 +00:00
Jonas Platte
b4eac98acc
events: Make OlmV1Keys::ed25519 public
It was never meant to be private.
2021-09-27 19:23:18 +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
Jonas Platte
8b44f279c8
Use server_name! macro in tests 2021-09-23 20:33:45 +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
a9f23f6638
Add allow to JoinRulesEventContent
Co-authored-by: Amanda Graven <amanda@amandag.net>
2021-09-20 21:23:46 +02:00
Jonas Platte
83b66ab8c2
Add allow to JoinRulesEventContent
Co-authored-by: Amanda Graven <amanda@amandag.net>
2021-09-20 20:34:53 +02:00
Jonas Platte
2bf17fd727
events: Further clean up tests 2021-09-19 19:10:52 +02:00
Jonas Platte
9929a3f8d5
events: Clean up some tests 2021-09-19 18:56:12 +02:00
Jonas Platte
4ec9f1aa03
events: Require MessageType to always contain a body 2021-09-17 19:09:17 +02:00
Jonas Platte
a9985d7763
events / state-res: Use RawJsonValue over JsonValue for event content 2021-09-15 20:58:42 +02:00
Jonas Platte
1df1256a86
events: Put pdu module behind an unstable feature flag 2021-09-15 20:58:37 +02:00
Jonas Platte
f214aef8ad
events: Update changelog 2021-09-15 20:36:20 +02:00
Jonas Platte
bb9f95224c
events: Remove RedactedStrippedStateEvent
Stripped state events are never redacted.
2021-09-15 20:36:20 +02:00
Jonathan de Jong
c33920d8ae
Use thiserror in id-validation, add more detail to mxc-uri errors 2021-09-15 20:36:20 +02:00
Jonas Platte
b0e6b22ffe
events: Fix a test 2021-09-15 20:36:15 +02:00
Jonas Platte
0196c53530
events: Remove outdated docs 2021-09-15 20:06:26 +02:00
ftilde
a875f39648
events: Fix quoting of multiline fallback messages
Previously, a '> ' was prepended only to the first line of the quoted
message.
2021-09-11 23:31:15 +02:00
Jonas Platte
46c7e3f811
Clean up and rewrap documentation comments 2021-08-27 21:32:02 +02:00
Jonas Platte
c13737af04
Copy new spec description of MemberEventContent#reason 2021-08-27 10:06:14 +02:00
Jonas Platte
77cf085ab9
events: Don't store extra fields for unknown events in content enums 2021-08-22 13:54:20 +02:00
Jonas Platte
b85e452aec
Release ruma-events 0.24.5 2021-08-21 15:58:54 +02:00
Jonas Platte
a81880c68f
events: Rework Relation serde
Relation types now implement `Deserialize`, `Serialize`.
2021-08-21 15:20:15 +02:00
Adam
d746244241
events: Generate From impls for event (content) enums 2021-08-17 15:44:33 +00:00
Jonas Platte
72538d1de5
events: Update expected output for trybuild test 2021-08-17 13:01:09 +02:00
Jonas Platte
b9486b91fa
events: Truly appease clippy 2021-08-16 23:48:17 +02:00
Jonas Platte
1077889e4e
events: Appease clippy 2021-08-16 23:26:50 +02:00
Jonas Platte
90683f0faa
Release ruma-events 0.24.4 2021-08-16 23:12:35 +02:00
Jonas Platte
f859d543e1
events: Test new prev_content compat code 2021-08-16 23:10:58 +02:00
Jonas Platte
367f4ac0e6
events: Fix UI test failing with compat feature 2021-08-16 23:10:46 +02:00
Jonas Platte
fb0e3008bb
events: Fix test failing with compat feature 2021-08-16 23:10:28 +02:00
Jonas Platte
098339056b
events: Add a compat workaround for prev_content in unsigned 2021-08-16 22:55:27 +02:00
Jonas Platte
f954865d4d
events: Move unsigned types into a new module 2021-08-14 23:36:51 +02:00
Jonas Platte
7e6fcab676
Release ruma-events 0.24.3 2021-08-13 17:16:08 +02:00
Adam
0768f551c3
events: Add unstable support for secret sharing 2021-08-13 14:59:20 +00:00
Jonas Platte
e9cb896bf7
events: Silence clippy lint 2021-08-12 21:36:20 +02:00
Jonas Platte
44a998f70d
events: Remove unnecessary qualification 2021-08-12 21:23:03 +02:00
Jonas Platte
3b0afb520a
events: Optimize deserialization helpers 2021-08-12 20:46:15 +02:00
Jonas Platte
e396092ac0
Release ruma-events 0.24.2 2021-08-11 21:08:46 +02:00
Jonas Platte
6177bfccef
events: Add missing ctor / From impl for EncryptedToDeviceEventContent 2021-08-11 21:08:24 +02:00
Jonas Platte
f4d60f1ecb
Release ruma-events 0.24.1 2021-08-11 20:31:23 +02:00
Jonas Platte
9445e8756a
events: Derive / implement StaticEventContent for all relevant types 2021-08-11 20:31:03 +02:00
Jonas Platte
b2b8265ded
events: Split EncryptedEventContent in two 2021-08-11 18:54:25 +02:00
Jonas Platte
31bed8be9a
events: Update changelog 2021-08-11 18:07:48 +02:00
Jonas Platte
1c5067a916
Release ruma-events 0.24.0 2021-08-11 17:38:10 +02:00