Jonas Platte
|
aa8e48d1c3
|
events: Allow customizing the unsigned type of state events
|
2022-09-12 13:10:10 +02:00 |
|
Jonas Platte
|
674137c41d
|
events: Use CanBeEmpty trait for skipping unsigned serialization
|
2022-09-12 11:44:05 +02:00 |
|
Jonas Platte
|
914e5c21e9
|
events: Rename Any[Sync]RoomEvent to Any[Sync]TimelineEvent
|
2022-08-24 17:43:42 +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
|
635480796d
|
common: Add support for private read receipts
According to MSC2285
|
2022-07-18 11:18:55 +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 |
|
Kévin Commaille
|
8081878934
|
events: Remove m.room.message.feedback
According to MSC3582
|
2022-06-20 18:34:06 +02:00 |
|
Kévin Commaille
|
e0de3d164b
|
events: Make more test assertions more helpful
|
2022-06-14 10:54:18 +02:00 |
|
Kévin Commaille
|
7008161727
|
events: Split more test assertions
|
2022-06-04 17:01:56 +02:00 |
|
Jonas Platte
|
a8e7c47bbe
|
Remove RoomName type
|
2022-06-03 11:40:33 +02:00 |
|
Jonas Platte
|
31d526ebfd
|
events: Clean up location event tests
|
2022-06-03 10:29:18 +02:00 |
|
Jonas Platte
|
8912182c56
|
Increase usage of implicit named arguments in format strings
|
2022-06-03 10:06:28 +02:00 |
|
Jonas Platte
|
73c2963ebd
|
Enforce consistent semicolons after () -typed expressions in blocks
|
2022-06-03 08:40:16 +02:00 |
|
Kévin Commaille
|
906d576a27
|
Implement Improved Signalling for 1:1 VoIP
According to MSC2746
|
2022-05-30 14:09:58 +02:00 |
|
Jonas Platte
|
5f902851af
|
Upgrade to Rust 2021
|
2022-05-27 12:04:23 +02:00 |
|
Kévin Commaille
|
a796b5e54d
|
events: Split more test assertions
|
2022-05-27 11:25:52 +02:00 |
|
Kévin Commaille
|
c3d573e943
|
events: Add support for polls
According to MSC3381
|
2022-05-25 12:03:45 +02:00 |
|
Jonas Platte
|
b34bfaf1f6
|
Replace matches crate with assert_matches
|
2022-05-24 18:07:29 +02:00 |
|
Kévin Commaille
|
1c90770d93
|
events: Split SessionDescription between Answer and Offer
|
2022-05-24 14:40:30 +02:00 |
|
Kévin Commaille
|
74423b7a4e
|
events: Split EventMeta between struct and field attributes
|
2022-05-16 17:08:36 +02:00 |
|
Kévin Commaille
|
1073530ac6
|
events: Add support for type aliases
Allow to use unstable types
|
2022-05-16 13:24:25 +02:00 |
|
Kévin Commaille
|
3ddc4de758
|
macros: Require event module path for event_enum
|
2022-05-04 13:11:54 +02:00 |
|
Jonas Platte
|
ae7461622c
|
events: Update state key types for all state events
… and make it mandatory to specify for state events.
|
2022-04-21 11:16:38 +02:00 |
|
Jonas Platte
|
d8b7886382
|
events: Allow state key type to be customized by content type
|
2022-04-21 11:16:38 +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 |
|
Jonas Platte
|
7de3b4b649
|
events: Rework the event enum hierarchy
|
2022-04-05 14:29:17 +02:00 |
|
Jonas Platte
|
f540bbbc99
|
events: Remove some accessor functions
They will no longer make sense with the new 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 |
|
Jonas Platte
|
26aea3a084
|
common: Consistently use int macros for tests
|
2022-04-04 16:54:17 +02:00 |
|
Jonas Platte
|
abcaa4d3f7
|
events: Remove unnecessary duplication from trybuild testcase
|
2022-04-02 20:31:37 +02:00 |
|
Jonas Platte
|
ff700c7f1a
|
events: Delete duplicated trybuild test invocation
|
2022-04-02 20:31:37 +02:00 |
|
Jonas Platte
|
5ec3ad2290
|
events: Reintroduce *EventContent as trait aliases
|
2022-03-31 18:42:27 +02:00 |
|
Jonas Platte
|
24bd27a3a9
|
Remove origin field from PDUs
It has been removed from the spec, for details see
https://github.com/matrix-org/matrix-spec/pull/998
|
2022-03-30 08:44:40 +02:00 |
|
Kévin Commaille
|
47bb788dc2
|
events: Rename ZoomLevel::value to get
|
2022-03-28 19:39:18 +02:00 |
|
Kévin Commaille
|
f3b2b7bce3
|
events: Rename Amplitude::value to get
|
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
|
f2d35f217c
|
events: Add support for transitional extensible sticker messages
According to MSC3552
|
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
|
ee029901d7
|
events: Spell out 'source' (don't use 'src' abbreviation)
|
2022-03-28 13:22:37 +02:00 |
|
Kévin Commaille
|
685bd34fd4
|
events: Enforce MessageContent to not be empty
|
2022-03-26 11:47:01 +01:00 |
|
Kévin Commaille
|
245bf75276
|
events: Replace Captions with MessageContent
Use a custom serde implementation
|
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
|
e4463dda22
|
events: Replace Thumbnails with a Vec
|
2022-03-26 11:47:01 +01:00 |
|