305 Commits

Author SHA1 Message Date
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
Jonas Platte
c50a57387e
Use namespaced cargo features where possible 2022-06-01 15:24:38 +02:00
Jonas Platte
07af61d784
Bump MSRV to 1.60 2022-06-01 14:52:02 +02:00
Kévin Commaille
34b549f89f events: Escape HTML reserved characters in plain text reply fallback 2022-06-01 12:01:04 +02:00
Kévin Commaille
806d389e13 events: Don't send pretty-printed HTML fallback in replies 2022-06-01 12:01:04 +02:00
Kévin Commaille
3c507afc90 events: Refactor reply code 2022-06-01 12:01:04 +02:00
Kévin Commaille
0c67c6b3db docs: Reword docs for StringEnum 2022-05-30 17:17:06 +02:00
Kévin Commaille
240c8bc4b8 macros: Derive as_str() for types that derive StringEnum 2022-05-30 17:17:06 +02:00
Kévin Commaille
7f164b3173 doc: Add doc link to as_str implementations 2022-05-30 17:17:06 +02:00
Kévin Commaille
4d89c7cc08 doc: Use markdown doc for types deriving StringEnum 2022-05-30 17:17:06 +02:00
Kévin Commaille
906d576a27
Implement Improved Signalling for 1:1 VoIP
According to MSC2746
2022-05-30 14:09:58 +02:00
Kévin Commaille
67d6df3dd2
Change changelog 2022-05-30 12:04:35 +02:00
Kévin Commaille
b9f66dba6d
identifiers: Re-export custom parse errors 2022-05-29 11:57:35 +02:00
Jonas Platte
e1ebff0047
Set rust-version for crates/* (excl. ruma-signatures) 2022-05-27 12:05:41 +02:00
Jonas Platte
5f902851af
Upgrade to Rust 2021 2022-05-27 12:04:23 +02:00
Kévin Commaille
a796b5e54d
events: Split more test assertions 2022-05-27 11:25:52 +02:00
Kévin Commaille
c3d573e943
events: Add support for polls
According to MSC3381
2022-05-25 12:03:45 +02:00
Jonas Platte
e50d59f7a4
Split up some test assertions 2022-05-25 09:08:48 +02:00
Jonas Platte
22fbb9ee24
events: Update doctest 2022-05-24 18:18:43 +02:00
Jonas Platte
b34bfaf1f6
Replace matches crate with assert_matches 2022-05-24 18:07:29 +02:00
Kévin Commaille
87346e1c9b events: Allow internal use of deprecated fields 2022-05-24 15:28:43 +02:00
Kévin Commaille
1c90770d93
events: Split SessionDescription between Answer and Offer 2022-05-24 14:40:30 +02:00
Kévin Commaille
baa6dc591e
events: Change BundledAnnotation to a struct 2022-05-24 12:30:27 +00:00