345 Commits

Author SHA1 Message Date
Jonas Platte
d6dd046e5a
events: Add m.call.member addition to changelog 2023-10-19 17:52:33 +02:00
Jonas Platte
b2f977303f
events: Remove created_ts from call::member::MembershipInit 2023-10-19 17:52:21 +02:00
Timo
7567fd63b5
events: Add CallMemberEvent
Signed-off-by: Timo K <toger5@hotmail.de>
2023-10-19 17:46:42 +02:00
Jonas Platte
550f18217b
Release ruma-events 0.27.5 2023-10-12 15:53:41 +02:00
Jonas Platte
f0f63086d5
events: Add html_favicon_url and html_logo_url for docs 2023-10-12 15:44:14 +02:00
Jonas Platte
e658b8b128
Remove 'www.' from ruma.io URLs 2023-10-12 15:44:00 +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
2708baeed8
events: Make docs for Thread constructors a bit more comprehensible 2023-10-12 14:53:23 +02:00
Jonas Platte
a3f8c97b33
events: Add a test case for reply to threaded message fallback 2023-10-12 12:47:53 +02:00
Jonas Platte
6dff2f37d1
events: Remove redundant import 2023-10-12 12:36:59 +02:00
Jonas Platte
11e38d23dd
Release ruma-events 0.27.3 2023-10-11 15:45:39 +02:00
Kévin Commaille
9c385a707f events: Improve compatibility of unstable voice messages
Use the same parameters as Element clients.
2023-10-11 15:42:32 +02:00
Jonas Platte
eb38aea012
Release ruma-events 0.27.2 2023-10-11 10:54:57 +02:00
Alfonso Grillo
530d0afdc8
events: Add unstable voice message types initializers 2023-10-11 08:28:00 +00: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
0f023c5222
events: Move RoomMessageEventContentWithoutRelation into separate module 2023-10-09 16:00:28 +02:00
Jonas Platte
25d0b3ce59
events: Move message relation types into separate module 2023-10-09 15:59:49 +02:00
Jonas Platte
cf59d6ecb1
events: Re-group imports, re-exports in room::message 2023-10-09 15:55:08 +02:00
Jonas Platte
9b1f7363a0
events: Move replacement body text generation to MessageType
… from RoomMessageEventContent.
2023-10-09 15:26:27 +02:00
Jonas Platte
9b94117bf2
events: Move reply fallback generation to MessageType
… from RoomMessageEventContent.
2023-10-09 15:12:52 +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
935ac70e28
events: Add missing track_caller attribute
Without this one, the `#[track_caller]` in `make_reply_to` and
`make_reply_to_raw` were pointless.
2023-10-09 13:57:31 +02:00
Michael Hollister
7b898bf376
events: Added shared_history flag to room key events
Signed-off-by: Michael Hollister <michael@futo.org>
Co-authored-by: Kévin Commaille <76261501+zecakeh@users.noreply.github.com>
2023-10-06 09:37:29 +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ć
7474f3e9ef Add a From SecretName implementation for GlobalAccountDataEventType
The secret names are reused as event types for the account data events
which get uploaded as part of the secret storage key/value store.
2023-09-28 14:38:17 +02:00
Damir Jelić
51d104c56c Add a constructor for SecretStorageDefaultKeyEventContent 2023-09-27 11:09:04 +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
Jonas Platte
bc48eb2162
events: Ensure that all public items are documented 2023-09-20 11:52:25 +02:00
Jonas Platte
5907544166
events: Add ReplacementMetadata
… to allow creating replacements without having the full original event.
2023-09-20 11:37:39 +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
ae537afb0d events: Clarify default value of suggested in SpaceChildEventContent 2023-09-15 13:40:07 +02:00
Kévin Commaille
2ad291ceb0 events: Use the default value of canonical in SpaceParentEventContent's constructor 2023-09-15 13:40:07 +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
18195e0a6e events: Allow replacement unstable poll start events to have no fallback 2023-09-15 13:19:22 +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
6da56dc541 events: Add compat feature to send empty string to unset room name 2023-09-13 17:28:57 +02:00
Jonas Platte
f266ea90e7
events: Fix missing feature dependency 2023-09-12 15:53:14 +02:00
Jonas Platte
dad3c70d9d
events: Fix missing re-export of new unstable types 2023-09-12 15:53:07 +02:00
Jonas Platte
a8180722f4
events: Add support for voice messages as implemented by Element Web 2023-09-12 10:20:38 +02:00
Kévin Commaille
b4853aa8fa events: Add method on RoomMessageEventContent to apply a replacement 2023-09-04 14:11:33 +02:00
Kévin Commaille
ba973c98f1 html: Expose sanitize API on Html 2023-08-29 11:19:48 +02:00