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
Kévin Commaille
e97e46e623
chore: Fix URLs to old spec
2023-05-04 13:04:57 +02:00
Kévin Commaille
d98903e46c
chore: Work around new rustfmt bug
2023-05-04 13:04:57 +02:00
Kévin Commaille
b50037affc
events: Implement sanitize on MessageType
2023-04-27 19:19:37 +02:00
Jonas Platte
1224dd3810
events: Add more convenient power level action checks to RoomPowerLevels
2023-04-27 12:20:11 +02:00
Kévin Commaille
4105169577
push: Panic on Regex construction error
2023-04-24 17:00:01 +02:00
Kévin Commaille
ed7c26ff9f
push: Use bytes Regex to fix regex construction
...
Due to a new error detected in the regex crate.
2023-04-24 17:00:01 +02:00
Jonas Platte
4c85fe9c78
Replace compat feature with more fine-grained compat-* features
...
… and document them.
2023-04-20 14:00:27 +02:00
Jonas Platte
89e398fd06
events: Add back relations accessors for message-like event enums
2023-04-18 11:33:54 +02:00
Jonas Platte
0bbad284f3
events: Add RoomRedactionUnsigned
2023-04-18 11:16:56 +02:00
Jonas Platte
fea6299935
Fix broken doc comment
...
Thanks clippy!
2023-04-12 19:19:17 +02:00
Jonas Platte
1229fa4461
events: Add FullStateEventContent::redact
2023-04-11 16:16:32 +02:00
Kévin Commaille
2ccc0323f6
push: Add support for event_property_contains push condition
...
According to MSC3966
2023-04-11 16:12:05 +02:00
Kévin Commaille
2e7b67bb23
push: Add support for event_property_is push condition
...
According to MSC3758
2023-04-11 16:12:05 +02:00
Kévin Commaille
82b4257bfe
push: Split push conditions tests
2023-04-11 16:12:05 +02:00
Kévin Commaille
33fa1b48ed
push: Collect a bigger subset of JSON values in FlattenedJson
2023-04-11 16:12:05 +02:00
Kévin Commaille
cdfcdecaf8
push: Move FlattenedJson to its own module
2023-04-11 16:12:05 +02:00
Kévin Commaille
ef374ea6b0
push: Escape dots and backslashes in field name for event_match condition
...
According to MSC3873
2023-04-11 11:18:20 +02:00
Jonas Platte
e61e0ccf6b
Implement MSC3925
...
… without a feature flag because it is a breaking change, so the feature
would have to be non-additive, which is a no-go.
Limited support for the previous replacement format is kept.
2023-03-15 14:49:51 +01:00
Jonas Platte
19d44489c3
events: Split bundled relations into two types
...
One for message-like events, one for state events.
2023-03-15 14:49:49 +01:00
Kévin Commaille
8eea3e0549
push: Enable by default .m.rule.tombstone
push rule
...
As defined in the spec.
2023-03-14 12:01:40 +01:00
Kévin Commaille
27a2c07df9
events: Add constants for the verification requests timeouts
2023-03-13 17:12:49 +01:00
Kévin Commaille
a399a4017a
push: Add convenience methods to check if an action triggers a notification or a sound
2023-03-13 13:54:22 +01:00
Kévin Commaille
b6717bc2ea
push: Add convenience method to check if an action is a highlight tweak
2023-03-13 13:36:56 +01:00
Jonas Platte
03a58bcd88
Fix return type of InitialStateEvent::to_raw_any
2023-03-10 12:51:58 +01:00
Jonas Platte
1af28486cc
events: Implement Default for EmptyStateKey
2023-03-10 12:33:55 +01:00
Jonas Platte
4049969d8c
events: Implement Default for InitialStateEvent
...
… where C has an empty state key and implements Default itself.
2023-03-10 12:33:55 +01:00
Kévin Commaille
d56386a636
events: Add link to definition of m.room.encryption recommended defaults
2023-03-10 11:41:53 +01:00