88 Commits

Author SHA1 Message Date
Jonas Platte
2595ca5577
Release ruma-events 0.27.7 2023-10-23 10:51:24 +02:00
Jonas Platte
2b32f54c77
Release ruma-events 0.27.6 2023-10-19 18:05:08 +02:00
Jonas Platte
d6dd046e5a
events: Add m.call.member addition to changelog 2023-10-19 17:52:33 +02:00
Jonas Platte
550f18217b
Release ruma-events 0.27.5 2023-10-12 15:53:41 +02:00
Jonas Platte
07cd993dcf
Release ruma-events 0.27.4 2023-10-12 15:04:35 +02:00
Jonas Platte
fd8e8398ff
events: Add Thread::without_fallback
There was no constructor that initializes the minimal set of required
fields previously.
2023-10-12 14:57:05 +02:00
Jonas Platte
11e38d23dd
Release ruma-events 0.27.3 2023-10-11 15:45:39 +02:00
Jonas Platte
eb38aea012
Release ruma-events 0.27.2 2023-10-11 10:54:57 +02:00
Jonas Platte
446a5815c8
Release ruma-events 0.27.1 2023-10-10 10:44:29 +02:00
Jonas Platte
e7ed90ad0f
events: Add RoomMessageEventContentWithoutRelation::add_mentions 2023-10-10 09:54:11 +02:00
Jonas Platte
440a563355
event: Add reply-making methods to RoomMessageEventWithoutRelation 2023-10-10 09:54:11 +02:00
Jonas Platte
533beb600f
events: Add convenience c'tors to RoomMessageEventContentWithoutRelation 2023-10-09 16:02:07 +02:00
Jonas Platte
5c570b1604
events: Change AddMentions::Yes to only mention the original sender 2023-10-09 14:44:35 +02:00
Jonas Platte
1227db0f08
Release ruma-events 0.27.0 2023-10-05 17:09:02 +02:00
Kévin Commaille
cf4a5d263f events: Add support for custom SecretStorageEncryptionAlgorithm 2023-10-05 10:48:29 +02:00
Kévin Commaille
9696e9083f events: Change SecretStorageEncryptionAlgorithm::V1AesHmacSha2 to a tuple variant
This will facilitate serde when adding a custom variant
2023-10-05 10:48:29 +02:00
Kévin Commaille
22a668e461 events: Rename SecretEncryptionAlgorithm::SecretStorageV1AesHmacSha2 to SecretStorageEncryptionAlgorithm::V1AesHmacSha2
It follows better the namespacing of the algorithm
2023-10-05 10:48:29 +02:00
Damir Jelić
50d28aefbd Rename the key field of the SecretStorageDefaultKeyEventContent to key_id
This makes it clearer that the field does not contain a secret key of
any sort.
2023-09-27 11:09:04 +02:00
Kévin Commaille
5040aa2a93 events: Allow to build reply to raw events 2023-09-20 12:18:21 +02:00
Kévin Commaille
a53bd09b8a events: Make name required in RoomNameEventContent
The wording of the spec was confusing but it is indeed required
2023-09-18 15:05:26 +02:00
Kévin Commaille
4dbda813c9 events: Make via required in space child and parent events
According to a spec clarification
2023-09-15 13:40:07 +02:00
Kévin Commaille
e11d30934b events: Move changelog entries from ruma-common to ruma-events 2023-09-15 12:54:48 +02:00
Kévin Commaille
5c6277f298 events: Restore changelog from before crate was merged into ruma-common 2023-09-15 12:54:48 +02:00
Kévin Commaille
c3f9a3cb70
common: Merge ruma-events into ruma-common 2022-03-04 11:45:07 +00:00
Kévin Commaille
c37a514a89 events: Add support for extensible file events
As defined in MSC3551
2022-03-03 13:55:04 +01:00
Kévin Commaille
99cd70b430 events: Add support for extensible notice and emote events
As defined in MSC1767
2022-03-02 18:09:43 +01:00
Kévin Commaille
f78d3480a5 events: Add support for extensible text event
As defined in MSC1767
2022-03-02 18:09:43 +01:00
Kévin Commaille
771f437d9e
events: Rename MessageEvent to MessageLikeEvent 2022-02-22 20:06:36 +01:00
Jonas Platte
b725865cba
Release ruma-events 0.26.0 2022-02-19 14:53:14 +01:00
Jonas Platte
90fd1d8f0a
Release ruma-events 0.25.0 2022-02-19 01:38:25 +01:00
Kévin Commaille
cdf383cc45 events: Move MSCs to per-msc features 2022-02-11 10:18:07 +01:00
Kévin Commaille
bb80b33bd9 events: Move VerificationRequest's deserialization out of unstable-pre-spec 2022-02-11 10:18:07 +01:00
Jonas Platte
b08e8cff9d
events: Remove custom module
… and shuffle things around so there's still a content type that can be
used for _Custom event enum variants.
2022-02-08 19:12:19 +01:00
Timo Kösters
08d60b3d37
events: Add is_allowed method to RoomServerAclEventContent 2022-01-17 11:47:39 +00:00
Damir Jelić
ee3c8f3335 ruma: Fix a bunch of typos 2021-12-06 11:26:14 +01:00
Jonas Platte
1e9f846722
events: Add accessor methods for RoomMessageEventContent 2021-11-23 10:50:14 +01:00
Jonas Platte
b7334edaf7
events: Update reply ctor argument types 2021-11-18 19:12:08 +01:00
Jonas Platte
4e2fdcb990
events: Remove redacted event content enums
They weren't being used anywhere.
2021-10-06 20:33:40 +02:00
Jonas Platte
234616c69e
events: Update change log 2021-10-02 14:26:31 +02:00
Jonas Platte
0101e110f8
Rename *ToDeviceEventContent structs to ToDevice*Content 2021-10-01 16:48: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
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
f214aef8ad
events: Update changelog 2021-09-15 20:36: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