Jonas Platte
|
b7b7d043f3
|
events: Add RoomMessageEventContent::make_reply_to
… and deprecate reply constructors.
|
2022-09-14 10:02:25 +02:00 |
|
Jonas Platte
|
69aa77ca5f
|
Release ruma-common 0.10.0
|
2022-09-12 20:26:06 +02:00 |
|
Jonas Platte
|
5d516ca544
|
Release ruma-identifiers-validation 0.9.0
|
2022-09-12 20:22:17 +02:00 |
|
Jonas Platte
|
e468a45426
|
events: Add RoomMemberUnsigned with invite_room_state field
|
2022-09-12 18:33:46 +02:00 |
|
Jonas Platte
|
aa8e48d1c3
|
events: Allow customizing the unsigned type of state events
|
2022-09-12 13:10:10 +02:00 |
|
Jonas Platte
|
35d8bdd5a1
|
events: Move StateUnsigned::_from_parts into a trait
|
2022-09-12 12:03:29 +02:00 |
|
Jonas Platte
|
9b5b5e7797
|
events: Remove unused function
|
2022-09-12 11:51:02 +02:00 |
|
Jonas Platte
|
674137c41d
|
events: Use CanBeEmpty trait for skipping unsigned serialization
|
2022-09-12 11:44:05 +02:00 |
|
Kévin Commaille
|
35b766f09b
|
events: Add paragraph about replies to edited events.
|
2022-09-05 13:56:33 +02:00 |
|
Jonas Platte
|
7957dd6adf
|
events: Replace generic "alias" trait implementations by individual ones
… so that rustdoc lists types implementing them properly.
|
2022-09-05 11:16:30 +02:00 |
|
Jonas Platte
|
2579544883
|
events: Expand trait_aliases! macro
|
2022-09-05 10:35:09 +02:00 |
|
Kévin Commaille
|
6393433882
|
events: Fix glob definition in PolicyRuleEventContent
|
2022-09-04 14:43:29 +02:00 |
|
Jonas Platte
|
c745d3baf7
|
Fix clippy lint
|
2022-09-02 14:07:28 +02:00 |
|
Jonas Platte
|
1aff2d0764
|
events: Derive Default for DirectEventContent
|
2022-09-02 13:37:33 +02:00 |
|
Jonas Platte
|
235e4509d3
|
events: Add impl From<AnyTimelineEvent> for AnySyncTimelineEvent
|
2022-09-01 18:11:00 +02:00 |
|
Jonas Platte
|
5ccee2d1b0
|
Implement Default for IgnoredUserListEventContent
|
2022-08-25 19:08:24 +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
|
4bd30eb7e5
|
common: Add suport for filtering public rooms by room type
According to MSC3827
|
2022-08-03 10:57:02 +02:00 |
|
Kévin Commaille
|
226502b9bc
|
common: Move RoomNetwork serde in its own file
|
2022-08-03 10:57:02 +02:00 |
|
Jonas Platte
|
4db337b86a
|
Consistently use dep: syntax for feature > package dependencies
This removes confusing implicit features from optional dependencies.
|
2022-08-01 15:46:20 +02:00 |
|
Kévin Commaille
|
8e2c4b5cb7
|
api: Make Clone a supertrait of OutgoingRequest
Allow to retry a request.
|
2022-07-30 17:02:38 +02:00 |
|
Jonas Platte
|
dbc1c40c5c
|
serde: Add Raw::from_json_string
|
2022-07-28 12:49:39 +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
|
7ec599e83d
|
client-api: Add support for private read receipts
According to MSC2285
|
2022-07-18 11:18:55 +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
|
2f96fa5548
|
push: Add push rule to ignore room server ACLs
According to MSC3786
|
2022-07-16 19:09:15 +02:00 |
|
Kévin Commaille
|
c63f03912b
|
push: Set feature flag per rule instead of per set.
Allows more flexibility when several feature flags change the same set.
|
2022-07-16 19:09:15 +02:00 |
|
Kévin Commaille
|
eb567dac73
|
identifiers: Separate RoomId URI methods with and without via
|
2022-07-08 15:49:14 +02:00 |
|
Kévin Commaille
|
fcdb2286c3
|
events: Remove unnecessary refs
|
2022-07-08 13:34:19 +02:00 |
|
Kévin Commaille
|
06cd3a3a6c
|
events: Allow clippy::needless_borrow to avoid false positives
|
2022-07-08 13:34:19 +02:00 |
|
Kévin Commaille
|
efc95da6fa
|
events: Remove needless borrow
|
2022-07-08 13:34:19 +02:00 |
|
Kévin Commaille
|
a4e6081b41
|
events: Improve extensible events conversion helpers docs
|
2022-07-08 13:34:19 +02:00 |
|
Kévin Commaille
|
be2310294a
|
events: Make extensible events conversion helpers private
|
2022-07-08 13:34:19 +02:00 |
|
Kévin Commaille
|
bda17c3662
|
events: Avoid unnecessary allocations during conversion
|
2022-07-08 13:34:19 +02:00 |
|
Kévin Commaille
|
2dacaf2ea0
|
identifiers: Allow via on RoomId::matrix_to_event_uri()
|
2022-06-29 14:54:37 +02:00 |
|
Kévin Commaille
|
4883a3154c
|
identifiers: Make matrix URI ctors generic over owned parameters
Avoid unnecessary cloning
|
2022-06-29 14:54:37 +02:00 |
|
Kévin Commaille
|
cbcf9b0a7b
|
identifiers: Implement From<Owned*Id> for MatrixId
|
2022-06-29 14:54:37 +02:00 |
|
Jonas Platte
|
08002e2640
|
Fix unstable-msc2870
|
2022-06-29 10:31:25 +02:00 |
|
Jonas Platte
|
2e8b3e7e79
|
Fix clippy lints
|
2022-06-29 10:15:39 +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
|
506a7bdf2e
|
push: Fix regex for word boundaries
|
2022-06-24 17:32:34 +02:00 |
|
Kévin Commaille
|
1e220a05bf
|
push: Fix word matching without wildcards
Don't match non-ASCII alphanumeric characters
|
2022-06-24 17:32:34 +02:00 |
|
Kévin Commaille
|
d192184b3c
|
push: Allow wildcards when matching words
|
2022-06-23 15:57:54 +02:00 |
|
Jonas Platte
|
7c2ea3f33a
|
common: Improve comments / docs
|
2022-06-23 10:18:26 +02:00 |
|
Jonas Platte
|
a4a95e74fa
|
Address review feedback and finish canonical JSON move
|
2022-06-23 10:18:26 +02:00 |
|
Jonas Platte
|
940450b953
|
[WIP] Move redaction from ruma-signatures to ruma-common
|
2022-06-23 10:18:26 +02:00 |
|
Jonas Platte
|
402b2764fb
|
common: Move CanonicalJson out of serde mod and behind a Cargo feature
|
2022-06-23 10:18:26 +02:00 |
|
Jonas Platte
|
ad8ed13b74
|
common: Simplify reply construction
|
2022-06-22 17:08:01 +02:00 |
|
Kévin Commaille
|
8fc6a55877
|
events: Add reply fallback to emotes
|
2022-06-22 16:57:59 +02:00 |
|