Jonas Platte
|
740f357e97
|
events: Don't fail event content parsing on invalid relation
|
2023-11-16 14:12:55 +01:00 |
|
Jonas Platte
|
31331f3165
|
Bring back ruma-events
Co-authored-by: Kévin Commaille <zecakeh@tedomum.fr>
|
2023-08-28 10:23:54 +02:00 |
|
Kévin Commaille
|
c3f9a3cb70
|
common: Merge ruma-events into ruma-common
|
2022-03-04 11:45:07 +00: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
|
f2dca60fc7
|
macros: Rename ruma-events-macros to ruma-macros
|
2022-02-27 13:54:17 +01:00 |
|
Kévin Commaille
|
771f437d9e
|
events: Rename MessageEvent to MessageLikeEvent
|
2022-02-22 20:06:36 +01:00 |
|
Jonathan de Jong
|
936bb64e84
|
Update links to spec.matrix.org/v1.2
|
2022-02-18 19:45:04 +01:00 |
|
Jonas Platte
|
215cb35806
|
Clean up import grouping / ordering
|
2022-02-18 11:20:39 +01:00 |
|
Kévin Commaille
|
cdf383cc45
|
events: Move MSCs to per-msc features
|
2022-02-11 10:18:07 +01:00 |
|
Jonathan de Jong
|
851646dd97
|
events: Fix rustdoc warning
|
2022-02-10 20:24:29 +01:00 |
|
Jonas Platte
|
89ae41166d
|
events: Move new verification events out of unstable-pre-spec
… since they were stabilized with v1.1.
|
2022-01-31 20:43:38 +01:00 |
|
Jonas Platte
|
90fe9edc32
|
events: Remove questionable trait implementations
They weren't really useful for user code.
|
2022-01-31 20:43:38 +01:00 |
|
homersimpsons
|
2d3816d72c
|
ruma-events: Add links to specs in modules docs
|
2021-12-28 14:36:34 +00:00 |
|
Jonas Platte
|
52608cc72c
|
identifiers: Make EventId a DST
|
2021-11-25 22:34:40 +01:00 |
|
Jonas Platte
|
438efee143
|
identifiers: Remove Box<$id> aliases
|
2021-11-25 21:07:14 +01:00 |
|
Jonas Platte
|
271491732e
|
Remove now-redundant doc(cfg) attributes
They are now implied:
https://github.com/rust-lang/rust/pull/89596
|
2021-10-08 11:52:18 +02:00 |
|
Jonas Platte
|
04080085f9
|
events: Include all event type segments in Rust type names
|
2021-10-02 21:25:21 +02:00 |
|
Jonas Platte
|
edbd5a696c
|
events: Use inline code blocks instead of emphasis for type strings
|
2021-10-01 18:35:01 +02:00 |
|
Jonas Platte
|
0101e110f8
|
Rename *ToDeviceEventContent structs to ToDevice*Content
|
2021-10-01 16:48:45 +02:00 |
|
Jonas Platte
|
120f1f3b2a
|
events: Generate event type aliases
|
2021-09-30 00:47:13 +02:00 |
|
Jonas Platte
|
2bf17fd727
|
events: Further clean up tests
|
2021-09-19 19:10:52 +02:00 |
|
Jonas Platte
|
a81880c68f
|
events: Rework Relation serde
Relation types now implement `Deserialize`, `Serialize`.
|
2021-08-21 15:20:15 +02:00 |
|
Jonas Platte
|
6177bfccef
|
events: Add missing ctor / From impl for EncryptedToDeviceEventContent
|
2021-08-11 21:08:24 +02:00 |
|
Jonas Platte
|
b2b8265ded
|
events: Split EncryptedEventContent in two
|
2021-08-11 18:54:25 +02:00 |
|
Jonas Platte
|
7a61c9cd8c
|
Remove trait derives other than Debug from Init structs
|
2021-08-10 15:22:26 +02:00 |
|
Jonas Platte
|
6236b024fd
|
events: Fix new_content serialization in the plain-text part of m.encrypted
|
2021-07-26 13:52:49 +02:00 |
|
Jonas Platte
|
61671f4440
|
events: Add event relation conversions
|
2021-06-20 19:34:29 +02:00 |
|
Jonas Platte
|
84829e23dc
|
events: Remove shared Relation type in favor of more per-event-type ones
|
2021-06-20 19:27:12 +02:00 |
|
Jonas Platte
|
1c31d31be1
|
events: More consistent item ordering for room::encrypted
|
2021-06-20 18:38:06 +02:00 |
|
Jonas Platte
|
090948e04f
|
events: Consistently use relates_to for Relation field name
|
2021-06-20 01:32:29 +02:00 |
|
Devin Ragotzy
|
e05aad184e
|
events: Make all pub structs non_exhaustive
|
2021-06-18 20:53:06 +02:00 |
|
Jonas Platte
|
ec4b719546
|
events: Refactor message relations
* Discard unknown relations
* Move new_content into Relation::Replacement
|
2021-06-17 19:43:23 +02:00 |
|
Devin Ragotzy
|
8252a1a32c
|
Move all content declarations to content trait attribute
|
2021-05-14 12:25:30 +02:00 |
|
Kévin Commaille
|
24154195a0
|
events: Construct EncryptedEventContent from EncryptedEventScheme
|
2021-05-07 09:53:35 +00:00 |
|
Kévin Commaille
|
db76c22180
|
events: Add constructor for EncryptedEventContent
|
2021-05-07 11:34:10 +02:00 |
|
Devin Ragotzy
|
5090c11843
|
Enable non-default clippy lints
|
2021-05-06 11:07:31 +00:00 |
|
Jonas Platte
|
3db0ea7026
|
Move all crates into a new crates directory
|
2021-05-03 15:50:27 +02:00 |
|