815 Commits

Author SHA1 Message Date
Jonas Platte
20d38e1622
events: Add From<MessageType> for RoomMessageEventContentWithoutRelation 2023-07-12 11:58:22 +02:00
Jonas Platte
9cf1257142
events: Add RoomMessageEventContentWithoutRelation::new 2023-07-12 11:40:21 +02:00
Kévin Commaille
f8ac66ca25 events: Add support for intentional mentions
According to MSC3952
2023-07-10 13:12:17 +02:00
Kévin Commaille
07bc06038f events: Keep data of unknown relations 2023-07-06 17:05:25 +02:00
Benjamin Bouvier
2c8ece6bf2
events: Parse TagInfo::order as a f64 or a stringified f64 2023-07-06 14:34:43 +02:00
Jonas Platte
650792bcb5
Upgrade konst to 0.3.5 2023-07-05 11:12:02 +02:00
Jonas Platte
a45ad6b41e
Upgrade indexmap to 2.0 2023-07-05 11:12:01 +02:00
Jonas Platte
775484c408
events: Add emote convenience constructors
… the same ones we have for text and notice msgtypes.
2023-07-05 10:36:41 +02:00
Kévin Commaille
77d94caf11 chore: Use workspace-defined MSRV 2023-07-04 15:40:37 +02:00
Kévin Commaille
c8e61a2ee7 events: Implement Deserialize for encrypted::Relation 2023-07-04 15:31:05 +02:00
Kévin Commaille
86b999055e client-api: Move SpaceRoomJoinRule to ruma-common 2023-07-04 12:38:45 +02:00
Kévin Commaille
c77f08024a chore: Fix new clippy lints 2023-07-04 11:55:25 +02:00
Kévin Commaille
2b68cb6eec events: Add AssetType::Pin 2023-06-23 12:41:37 +02:00
Kévin Commaille
d0f11f0075 events: Reintroduce MSC3488 fallback behavior in LocationMessageEventContent 2023-06-23 12:41:37 +02:00
Kévin Commaille
e017e65277 events: Improve compatibility of generated and stripped plain reply fallback 2023-06-23 12:32:24 +02:00
Kévin Commaille
9b694cdfa8 events: Add methods to compute poll results 2023-06-23 10:36:23 +02:00
Kévin Commaille
8d2521874d events: Put use behind feature flag 2023-06-23 10:36:23 +02:00
Kévin Commaille
09bc835936 events: Fix outdated docs 2023-06-23 09:40:23 +02:00
Jonas Platte
c5782ab8aa
Use new owned ID macros throught the codebase 2023-06-20 11:47:50 +02:00
Jonas Platte
e71c224308
Fix expansion of owned identifier creation macros 2023-06-20 11:06:18 +02:00
Kévin Commaille
f261f2ebed push: Add convenience methods for the different actions of a push rule 2023-06-16 11:05:14 +02:00
Kévin Commaille
3cbc1c5038 events: Re-enable clippy::needless_update 2023-06-16 09:16:09 +02:00
Kévin Commaille
af437bc642 events: Re-enable clippy::needless_borrow lint
It seems false positives have been fixed.
2023-06-16 09:16:09 +02:00
Jonas Platte
f964656a4d
Upgrade typos-ci, fix typos 2023-06-14 12:47:57 +02:00
Jonas Platte
ba16ce40cc
Make html sanitization types pub(crate)
Makes it more obvious when reading that they're not part of the public API.
2023-06-14 12:20:45 +02:00
Jonas Platte
fe2d62a5ee
Remove unused pub visibility 2023-06-14 12:20:15 +02:00
Jonas Platte
beded100ac
events: Fix documentation for a few functions 2023-06-13 17:25:11 +02:00
Jonas Platte
b183677ef5
events: Add builder-style methods to media event content structs 2023-06-13 17:15:10 +02:00
Jonas Platte
c1fa8d9406
events: Streamline constructors of media event content structs 2023-06-13 17:15:09 +02:00
Jonas Platte
59fd881521
Fix unused warnings under certain cfg 2023-06-08 11:37:11 +02:00
Jonas Platte
ba5bf8cfce
Replace assert_matches by assert_matches2 2023-06-08 11:37:11 +02:00
Jonas Platte
a8670e7fdf
identifiers: Add owned_* ID construction macros 2023-06-07 14:55:18 +02:00
Jonas Platte
00e619daa2
identifiers: Use intra-doc links for macros 2023-06-07 14:45:23 +02:00
Kévin Commaille
07ea09548f events: Stabilize VoIP signalling improvements 2023-06-06 10:44:48 +02:00
Kévin Commaille
b1680bd398 push: Link to the spec for dot-separated path definition 2023-05-30 16:38:55 +02:00
Kévin Commaille
38f600c602 docs: Update v1.6 spec links to v1.7 2023-05-30 16:38:30 +02:00
Kévin Commaille
766fba75f9 push: Add support for intentional mentions push rules
According to MSC3952
2023-05-26 14:39:58 +02:00
Kévin Commaille
f8ed83aa53 push: Collect empty objects in FlattenedJson 2023-05-26 14:39:58 +02:00
Kévin Commaille
3f28f2a6f1 events: Use a string for SessionDescription's type
A clarification in MSC2746 / Matrix 1.7 explains that the `type` field
should not be validated but passed as-is to the WebRTC API.
It
    also avoids an unnecessary conversion between the WebRTC API
and the Ruma type.
2023-05-26 11:45:50 +02:00
Kévin Commaille
60ed2c7b9a events: Add missing version field to CallNegotiateEventContent 2023-05-26 10:55:37 +02:00
Kévin Commaille
2d697fcc95 events: Stabilize annotations and reactions 2023-05-26 09:26:30 +02:00
Kévin Commaille
0bec1ad507 push: Stabilize event_property_contains 2023-05-26 09:26:09 +02:00
Kévin Commaille
b8668f863b push: Stabilize event_property_is 2023-05-26 09:26:09 +02:00
Kévin Commaille
5f20a3292c docs: Fix links for v1.7 2023-05-25 19:28:33 +02:00
Kévin Commaille
dc68190adc api: Add initial support for Matrix 1.7 2023-05-25 19:28:33 +02:00
Kévin Commaille
2296f16ea0 api: Allow to have an endpoint both defined and deprecated in Matrix 1.0 2023-05-25 16:53:56 +02:00
Kévin Commaille
6df78e8aee events: Move CalCapabilities behind feature unstable-msc2747 2023-05-24 17:53:32 +02:00
Jonas Platte
f45a09e958
Appease clippy 2023-05-24 10:41:24 +02:00
Kévin Commaille
6a77b4c9e4 push: Remove the DontNotify and Coalesce variants of push::Action
According to MSC3987.
2023-05-04 13:44:54 +02:00
Kévin Commaille
b27e54c7ed serde: Add deser functions for Duration from milliseconds 2023-05-04 13:12:43 +02:00