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 |
|
Kévin Commaille
|
9b2117cbf6
|
events: Don't add reply fallback in thread fallback
|
2022-06-22 16:57:59 +02:00 |
|
Jonas Platte
|
195091c051
|
Update clippy issue reference
|
2022-06-21 18:03:46 +02:00 |
|
Jonas Platte
|
f5c734a7b5
|
serde: Remove allow attribute that's no longer needed
|
2022-06-21 18:03:34 +02:00 |
|
Kévin Commaille
|
9a8d7bf475
|
api: Get the default room version for a Matrix version
|
2022-06-21 15:51:55 +02:00 |
|
Kévin Commaille
|
3deae8eac7
|
identifiers: Add MatrixVersionId::V10
According to MSC3604
|
2022-06-21 13:38:34 +02:00 |
|
Kévin Commaille
|
478375f1f7
|
events: Use rename_all for JoinRule variants
|
2022-06-20 19:02:32 +02:00 |
|
Kévin Commaille
|
33a47427c1
|
events: Add knock_restricted join rule
According to MSC3787
|
2022-06-20 19:02:32 +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
|
d729c0f4cd
|
events: Stabilize deserializing stringified integers for PLs
|
2022-06-20 18:01:10 +02:00 |
|
Kévin Commaille
|
80a8dcf28a
|
events: Stabilize MSC2675
|
2022-06-20 17:44:18 +02:00 |
|
Kévin Commaille
|
6bee869b66
|
events: Stabilize MSC3700
|
2022-06-20 16:43:04 +02:00 |
|
Kévin Commaille
|
a940de9e41
|
api: Add MatrixVersion::V1_3
|
2022-06-20 14:10:09 +00:00 |
|
Jonas Platte
|
11d926ed17
|
Fix conditional compilation of criterion
|
2022-06-15 18:50:57 +02:00 |
|
Kévin Commaille
|
70b3d1e55b
|
client-api: Add relations querying endpoint
According to MSC2675
|
2022-06-14 16:39:03 +02:00 |
|
Kévin Commaille
|
03f5b38403
|
events: Add support for knocking in membership_changes
|
2022-06-14 12:14:52 +02:00 |
|
Kévin Commaille
|
524eb90501
|
api: Make some test assertions more helpful
|
2022-06-14 10:54:18 +02:00 |
|
Kévin Commaille
|
536fae523e
|
identifiers: Make more test assertions more helpful
|
2022-06-14 10:54:18 +02:00 |
|
Kévin Commaille
|
e0de3d164b
|
events: Make more test assertions more helpful
|
2022-06-14 10:54:18 +02:00 |
|
Kévin Commaille
|
066d8aee7f
|
api: Make some test assertions more helpful
|
2022-06-14 10:01:49 +02:00 |
|
Kévin Commaille
|
b388202c89
|
serde: Make some test assertions more helpful
|
2022-06-14 10:01:49 +02:00 |
|
Kévin Commaille
|
4799da6e4d
|
identifiers: Make more test assertions more helpful
|
2022-06-14 10:01:49 +02:00 |
|
Kévin Commaille
|
0384035c48
|
events: Make some test assertions more helpful
|
2022-06-14 10:01:49 +02:00 |
|
Kévin Commaille
|
299306d7e2
|
serde: Make some test assertions more helpful
|
2022-06-11 21:53:33 +02:00 |
|
Kévin Commaille
|
08d3e0d43e
|
identifiers: Make some test assertions more helpful
|
2022-06-11 21:53:33 +02:00 |
|
Jonas Platte
|
c3435a39e4
|
identifiers: Improve session_id! error messages
|
2022-06-08 13:31:38 +02:00 |
|
Jonas Platte
|
cb96caa064
|
identifiers: Add session_id macro
|
2022-06-08 13:31:38 +02:00 |
|
Jonas Platte
|
bf670fb814
|
identifiers: Move session ID validation out of separate validation crate
|
2022-06-08 13:31:38 +02:00 |
|
Jonas Platte
|
56cf3ce94c
|
Allow buggy clippy lint on a per-crate basis
The previous method of allowing it through .cargo/config.toml doesn't
seem to work anymore.
|
2022-06-08 11:45:29 +02:00 |
|
Kévin Commaille
|
f158817a7c
|
events: Move extensible event RoomMessageEventContent convertors
|
2022-06-07 17:14:52 +02:00 |
|
Kévin Commaille
|
9ea6c3c6ab
|
events: Move msgtype types in separate files
|
2022-06-07 17:14:52 +02:00 |
|
Kévin Commaille
|
63ec3a43aa
|
common: Split test assertions
|
2022-06-07 12:07:57 +02:00 |
|
Kévin Commaille
|
35d6b90aeb
|
serde: Split test assertions
|
2022-06-07 12:07:57 +02:00 |
|
Kévin Commaille
|
085dc435fa
|
push: Split test assertions
|
2022-06-07 12:07:57 +02:00 |
|
Kévin Commaille
|
191f3aca67
|
events: Split more test assertions
|
2022-06-07 12:07:57 +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 |
|
Jonas Platte
|
c1737eb20d
|
Use weak dependency features where applicable
|
2022-06-01 15:35:06 +02:00 |
|