Jonas Platte
|
11d5020565
|
events: Don't require threads to contain m.in_reply_to
|
2023-02-22 14:38:23 +01:00 |
|
Kévin Commaille
|
f159776f52
|
chore: Make all applicable spec links use the latest spec instead of a specific version
|
2023-02-12 12:39:24 +01:00 |
|
Jonas Platte
|
b859d9c8b0
|
common: Derive Debug via StringEnum derive
|
2023-01-13 13:49:59 +01:00 |
|
Flix
|
cf68a4676d
|
events: Make deserialize_relation public
|
2022-12-20 16:03:01 +01:00 |
|
Kévin Commaille
|
aeaa4af776
|
events: Move relations under events::room::message to events::relation
|
2022-11-25 22:33:37 +01:00 |
|
Kévin Commaille
|
dc18b12506
|
events: Fix deserialization without relation
|
2022-11-25 18:40:19 +01:00 |
|
Jonas Platte
|
dd67745e4d
|
events: Add convenience constructors for MessageType
|
2022-11-11 11:06:33 +01:00 |
|
Kévin Commaille
|
045861441a
|
doc: Update Matrix spec links to v1.4
|
2022-10-21 10:41:20 +02:00 |
|
Kévin Commaille
|
a3675e61bf
|
events: Add method to construct a replacement
|
2022-10-21 10:40:33 +02:00 |
|
Kévin Commaille
|
21bda6678d
|
events: Enable more markdown syntax
Enable markdown extensions that produces spec-compliant HTML.
|
2022-10-19 21:44:33 +02:00 |
|
Kévin Commaille
|
a710229d9d
|
events: Fix markdown content detection
Encoded HTML entities would be detected as a change.
Use the parsed events instead to check if markdown syntax was detected.
|
2022-10-19 21:44:33 +02:00 |
|
Kévin Commaille
|
7c0f7ba5f1
|
events: Make Replacement generic over the parent type
Because the new content must be of the same type.
|
2022-10-17 20:27:49 +02:00 |
|
Kévin Commaille
|
ec853e968a
|
events: Generate structs without relation for events that can be replaced
|
2022-10-17 20:27:49 +02:00 |
|
Kévin Commaille
|
4e2dac30be
|
events: Stabilize support for event replacements
|
2022-10-10 18:23:03 +02:00 |
|
Kévin Commaille
|
994136b9b8
|
events: Add thread-aware methods to RoomMessageEventContent
|
2022-10-10 17:55:08 +02:00 |
|
Kévin Commaille
|
003f0abebf
|
events: Stabilize current support for threads
|
2022-10-10 17:55:08 +02:00 |
|
Jonas Platte
|
028eb8a457
|
events: Remove deprecated API
|
2022-09-22 11:50:22 +02:00 |
|
Jonas Platte
|
66ff4dbaad
|
Raise MSRV to 1.62
|
2022-09-20 13:49:16 +02:00 |
|
Jonas Platte
|
b7b7d043f3
|
events: Add RoomMessageEventContent::make_reply_to
… and deprecate reply constructors.
|
2022-09-14 10:02:25 +02:00 |
|
Kévin Commaille
|
cac7e09429
|
events: Add methods to sanitize messages
Can also remove rich reply fallbacks
Behind the `unstable-sanitize` feature.
Co-authored-by: Jonas Platte <jplatte@matrix.org>
|
2022-06-24 19:13:46 +02:00 |
|
Jonas Platte
|
ad8ed13b74
|
common: Simplify reply construction
|
2022-06-22 17:08:01 +02:00 |
|
Kévin Commaille
|
8fc6a55877
|
events: Add reply fallback to emotes
|
2022-06-22 16:57:59 +02:00 |
|
Kévin Commaille
|
9b2117cbf6
|
events: Don't add reply fallback in thread fallback
|
2022-06-22 16:57:59 +02:00 |
|
Kévin Commaille
|
8081878934
|
events: Remove m.room.message.feedback
According to MSC3582
|
2022-06-20 18:34:06 +02:00 |
|
Kévin Commaille
|
f158817a7c
|
events: Move extensible event RoomMessageEventContent convertors
|
2022-06-07 17:14:52 +02:00 |
|
Kévin Commaille
|
9ea6c3c6ab
|
events: Move msgtype types in separate files
|
2022-06-07 17:14:52 +02:00 |
|
Kévin Commaille
|
240c8bc4b8
|
macros: Derive as_str() for types that derive StringEnum
|
2022-05-30 17:17:06 +02:00 |
|
Kévin Commaille
|
4d89c7cc08
|
doc: Use markdown doc for types deriving StringEnum
|
2022-05-30 17:17:06 +02:00 |
|
Jonas Platte
|
489f51e231
|
events: Replace most Box<Id>s with new owned ID types
|
2022-04-20 10:39:36 +02:00 |
|
Jonas Platte
|
d855ec33d6
|
identifiers: Update ToOwned implementations to use new types
… and a lot of changes that cascaded from that.
|
2022-04-20 10:39:36 +02:00 |
|
Kévin Commaille
|
a2df988c23
|
events: Add convenience constructors for threads
|
2022-04-13 20:25:55 +02:00 |
|
Kévin Commaille
|
688d5bf47a
|
docs: Improve string enums documentation
Mention the conversion from string.
|
2022-04-10 14:48:09 +02:00 |
|
Kévin Commaille
|
1e1fa06342
|
events: Fix plain text reply constructors
Send a formatted_body, according to the spec
|
2022-04-05 21:13:25 +02:00 |
|
Jonas Platte
|
d87874314b
|
events: Add 'Original' prefix to unredacted types with a redacted form
|
2022-04-05 14:29:17 +02:00 |
|
Kévin Commaille
|
4ec803c29a
|
events: Fix docs
|
2022-03-28 19:39:18 +02:00 |
|
Kévin Commaille
|
231775fe3e
|
events: Document transitional extensible events
|
2022-03-28 19:39:18 +02:00 |
|
Kévin Commaille
|
aba6328d1c
|
events: Add support for transitional extensible location messages
According to MSC3488
|
2022-03-28 17:37:04 +02:00 |
|
Kévin Commaille
|
c6d11c78a7
|
events: Add support for transitional extensible voice messages
According to MSC3245
|
2022-03-28 17:37:04 +02:00 |
|
Kévin Commaille
|
f3abeed5c1
|
events: Add support for transitional extensible audio messages
According to MSC3246
|
2022-03-28 17:37:04 +02:00 |
|
Kévin Commaille
|
33108d22bc
|
events: Add support for transitional extensible video messages
According to MSC3553
|
2022-03-28 17:37:04 +02:00 |
|
Kévin Commaille
|
e94a8db7f4
|
events: Add support for transitional extensible image messages
According to MSC3552
|
2022-03-28 17:37:04 +02:00 |
|
Kévin Commaille
|
8673d0d3f6
|
events: Add support for transitional extensible file messages
According to MSC3551
|
2022-03-28 17:37:04 +02:00 |
|
Jonas Platte
|
21dead4245
|
events: Clean up leftover 'src' naming
|
2022-03-28 14:04:19 +02:00 |
|
Jonas Platte
|
ee029901d7
|
events: Spell out 'source' (don't use 'src' abbreviation)
|
2022-03-28 13:22:37 +02:00 |
|
Kévin Commaille
|
93b4114a82
|
events: Deref MessageContent to a slice
|
2022-03-26 11:47:01 +01:00 |
|
Kévin Commaille
|
12ee658e96
|
events: Use an enum for a media's source
Have stricter media types that accept either an encrypted or plain file.
Co-authored-by: Jonas Platte <jplatte@element.io>
|
2022-03-22 16:42:42 +01:00 |
|
Kévin Commaille
|
11ef863bf0
|
common: Use Duration in message events
|
2022-03-22 12:14:39 +01:00 |
|
Kévin Commaille
|
12523cd741
|
common: Add support for transitional extensible text messages
|
2022-03-21 13:16:44 +01:00 |
|
Kévin Commaille
|
5f51f9241f
|
common: Add thread relation to Relation
According to MSC3440
|
2022-03-16 12:58:24 +01:00 |
|
Kévin Commaille
|
77ce26701c
|
common: Fix typo in Replacement docs
|
2022-03-15 09:17:21 +01:00 |
|