Kévin Commaille
|
d98903e46c
|
chore: Work around new rustfmt bug
|
2023-05-04 13:04:57 +02:00 |
|
Kévin Commaille
|
fbf99fcc53
|
events: Update types according to changes in MSC3554
|
2023-02-27 20:28:38 +01:00 |
|
Kévin Commaille
|
8477efb2ef
|
events: Update types according to changes in MSCs 1767, 3954, 3955 and 3956
|
2023-02-27 20:28:38 +01:00 |
|
Kévin Commaille
|
32901da35f
|
events: Reorganize tests
Move tests to the proper files, streamline test names and remove
duplicates.
|
2023-02-23 19:31:08 +01:00 |
|
Kévin Commaille
|
699c2daf39
|
events: Remove mixed types and conversion functions for extensible events
Mixed types have been removed from MSC1767.
|
2023-02-09 16:25:51 +01:00 |
|
Jonas Platte
|
cdabe8e52d
|
events: Remove Serialize impls for all event types except ToDeviceEvent
|
2022-12-15 10:41:30 +01:00 |
|
Kévin Commaille
|
aeaa4af776
|
events: Move relations under events::room::message to events::relation
|
2022-11-25 22:33:37 +01:00 |
|
Jonas Platte
|
c7e84c5249
|
Fix clippy lints
Automated using `cargo clippy --fix`.
|
2022-10-26 13:38:29 +02:00 |
|
Jonas Platte
|
674137c41d
|
events: Use CanBeEmpty trait for skipping unsigned serialization
|
2022-09-12 11:44:05 +02:00 |
|
Kévin Commaille
|
6f3d9fd327
|
events: Support m.html shortcut for MessageContent
|
2022-07-27 14:31:18 +02:00 |
|
Kévin Commaille
|
ed8990c3fd
|
events: Allow to create custom MessageEventContents
|
2022-07-27 14:31:18 +02:00 |
|
Kévin Commaille
|
7008161727
|
events: Split more test assertions
|
2022-06-04 17:01:56 +02:00 |
|
Jonas Platte
|
5f902851af
|
Upgrade to Rust 2021
|
2022-05-27 12:04:23 +02:00 |
|
Jonas Platte
|
b34bfaf1f6
|
Replace matches crate with assert_matches
|
2022-05-24 18:07:29 +02:00 |
|
Jonas Platte
|
7de3b4b649
|
events: Rework the event enum hierarchy
|
2022-04-05 14:29:17 +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
|
685bd34fd4
|
events: Enforce MessageContent to not be empty
|
2022-03-26 11:47:01 +01:00 |
|
Kévin Commaille
|
93b4114a82
|
events: Deref MessageContent to a slice
|
2022-03-26 11:47:01 +01:00 |
|
Kévin Commaille
|
12523cd741
|
common: Add support for transitional extensible text messages
|
2022-03-21 13:16:44 +01:00 |
|
Jonas Platte
|
ada3108a96
|
common: Move prev_content into unsigned
|
2022-03-16 16:30:29 +01:00 |
|
Kévin Commaille
|
1f53f38b4f
|
common: Add support for translatable text content.
According to MSC3554
|
2022-03-16 13:12:58 +01:00 |
|
Kévin Commaille
|
088d1872b7
|
common: Merge ruma-identifiers into ruma-common
|
2022-03-09 17:46:51 +00:00 |
|
Kévin Commaille
|
c3f9a3cb70
|
common: Merge ruma-events into ruma-common
|
2022-03-04 11:45:07 +00:00 |
|