109 Commits

Author SHA1 Message Date
Kévin Commaille
22e89bde2b events: Make some fields of Candidate optional
For compatiblity with the WebRTC spec.

Notably the last Candidate should only contain the `candidate` field
with an empty string.
2024-03-08 15:12:02 +01:00
Kévin Commaille
6c7fbb5e88 events: Disallow invite->knock membership change 2024-02-28 10:34:52 +01:00
SpiritCroc
631911a1de
events: Add filename and formatted fields to media messages
For MSC2530 media captions
2024-02-27 11:40:56 +01:00
Matthias Ahouansou
1a1c61ee1e events: change type of state_key field of HierarchySpaceChildEvent to OwnedRoomId 2024-02-24 20:30:44 +01:00
Matthias Ahouansou
c00085b520 events: Implement From<JoinRule> for SpaceRoomJoinRule 2024-02-14 14:27:21 +01:00
Stefan Ceriu
68c9bb0930
Add support for MSC2867 - Manually marking rooms as unread 2024-01-26 23:28:11 +00:00
Richard van der Hoff
9d81576af7
events: Correct properties of SecretStorageV1AesHmacSha2Properties
The `key` and `iv` properties of this type are, and have always been, optional according to the spec.
2024-01-18 13:54:39 +00:00
Kévin Commaille
a7e1d7fa49 events: Split method to get power level to redact between own and others events 2024-01-11 16:46:36 +01:00
Kévin Commaille
9d9827c165 events: Add convenience methods about actions to other users according to power levels
Some of these actions are limited by the power level of the other user.
2024-01-02 14:33:09 +01:00
Kévin Commaille
df1a63909a events: Implement From<RoomPowerLevels> for PushConditionPowerLevelsCtx 2023-12-03 13:03:06 +01:00
Jonas Platte
ec54fd99de
Merge branch 'ruma-0.9.x' 2023-11-27 16:19:31 +01:00
Jonas Platte
23c2b9546d
Release ruma-events 0.27.11 2023-11-27 16:17:39 +01:00
Timo
ef9f790928
events: Add CallNotify event as described by MSC4075
https://github.com/matrix-org/matrix-spec-proposals/pull/4075
2023-11-27 16:17:23 +01:00
Timo
8fc12b0324
events: Add CallNotify event as described by MSC4075
https://github.com/matrix-org/matrix-spec-proposals/pull/4075
2023-11-27 15:49:36 +01:00
Jonas Platte
6639c727ae
Merge branch 'ruma-0.9.x' 2023-11-22 20:02:17 +01:00
Jonas Platte
877b1c63fe
Release ruma-events 0.27.10 2023-11-22 19:52:20 +01:00
Jonas Platte
1328e52387
events: Deprecate relations event_id methods 2023-11-16 14:27:23 +01:00
Jonas Platte
740f357e97
events: Don't fail event content parsing on invalid relation 2023-11-16 14:12:55 +01:00
Jonas Platte
b006aa37fa
Release ruma-events 0.27.9 2023-11-15 10:40:41 +01:00
Kévin Commaille
e409d22ea0 Fix fallback text field name for extensible events in RoomMessageEventContentWithoutRelation::make_reply_to_raw() 2023-11-14 19:53:37 +01:00
Jonas Platte
9acc74998c
Release ruma-events 0.27.8 2023-11-09 12:00:47 +01:00
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