1356 Commits

Author SHA1 Message Date
Marcel Hellwig
92f862e279
macros: Generate certain structs only with client or server feature enabled
If neither the client, nor the server feature is enabled the fields are
unused and therefore trigger the dead_code lint.
2022-06-22 14:15:37 +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
Jonas Platte
61282642c0
client-api: Rewrite small test to remove test-only PartialEq impl 2022-06-21 18:02:16 +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
28d0d90ab5 client-api: Add knock_restricted join rule
According to MSC3787
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
fdb45296c5 client-api: Stabilize MSC3316 2022-06-20 17:57:12 +02:00
Kévin Commaille
80a8dcf28a events: Stabilize MSC2675 2022-06-20 17:44:18 +02:00
Kévin Commaille
a077c4ea77 client-api: Stabilize MSC2675 2022-06-20 17:44:18 +02:00
Kévin Commaille
0d71ce17da client-api: Stabilize MSC2918 2022-06-20 17:16:12 +02:00
Kévin Commaille
05a28c8097 client-api: Remove pre-v1.3 note in docs 2022-06-20 16:56:57 +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
fa4ad103f4
client-api: Add missing serde attributes 2022-06-17 12:03:18 +02:00
Doug
aae6fa2843
client-api: Add MSC2965 feature and m.authentication discovery 2022-06-16 18:56:16 +00:00
Jonas Platte
11d926ed17
Fix conditional compilation of criterion 2022-06-15 18:50:57 +02:00
Jonathan de Jong
34863ca80f
client-api: Add support for mutual rooms endpoint (MSC2666) 2022-06-15 11:45:53 +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
635a6e04a0 Add support for timestamp massaging
According to MSC3316
2022-06-14 12:26:47 +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
b66b4a78e8 appservice-api: Make some test assertions more helpful 2022-06-14 10:54:18 +02:00
Kévin Commaille
75cf634413 signatures: Make some test assertions more helpful 2022-06-14 10:01:49 +02:00
Kévin Commaille
2e4e8d82ce federation-api: Make some test assertions more helpful 2022-06-14 10:01:49 +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
cad5e81c68 client-api: Add error kinds encountered for restricted rooms
According to MSC3083
2022-06-12 14:28:12 +02:00
Kévin Commaille
251c1c85d2 docs: Document the use of American spelling 2022-06-12 14:26:07 +02:00
Kévin Commaille
cf3aee33f4
client-api: Split uiaa::UserIdentifier::ThirdParty 2022-06-11 22:41:52 +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
Kévin Commaille
fbfb2b2ef9 client-api: Make some test assertions more helpful 2022-06-11 21:53:33 +02:00
Kévin Commaille
90cef5a50b client-api: Add support for refresh tokens
According to MSC2918
2022-06-11 19:31:09 +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
34ad27bdf5 identifiers-validation: Disallow non-ascii alphanumeric chars in session IDs 2022-06-08 13:31:38 +02:00
Jonas Platte
4b756c5887 identifiers-validation: Simplify localpart_is_fully_conforming 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