92 Commits

Author SHA1 Message Date
Jonas Platte
ddc2138141
events: Clean up docs 2021-06-14 13:42:44 +02:00
Jonas Platte
5fe1876643
Release ruma-identifiers 0.19.2 2021-06-10 15:27:09 +02:00
Jonas Platte
3a46a5837d
Release ruma-common 0.5.3 2021-06-10 15:25:13 +02:00
Jonas Platte
0ad2e79b84
events: Use str::repeat instead of iter::repeat + collect 2021-06-06 16:34:10 +02:00
Jonas Platte
3cd6dd3dfd
events: Fix import 2021-06-06 15:26:47 +02:00
Devin Ragotzy
1f84de4c7f
ci: Add the --order flag to cargo sort 2021-06-04 20:20:36 +00:00
Jonas Platte
c49eec9867
Release ruma-common 0.5.2 2021-06-01 21:57:37 +02:00
Amanda Graven
97937d384c Typo corrections
The "comforming" typo in the function name at
crates/ruma-identifiers-validation/src/user_id.rs:22:26
was not corrected as that would be a breaking change.
2021-06-01 12:45:34 +02:00
Jonas Platte
6d253c6038
Add missing docs.rs metadata to Cargo manifests 2021-06-01 12:32:29 +02:00
Marcel
087a2b9012
events: Fix copy-paste mistake 2021-05-22 20:24:59 +02:00
Jonas Platte
87856d512b
events: Add missing newline 2021-05-22 15:35:26 +02:00
Jonas Platte
958d3a5812
Release ruma-events 0.22.2 2021-05-20 18:45:52 +02:00
Marcel
a322c8cf08
Add support for spaces 2021-05-20 18:36:35 +02:00
Kévin Commaille
52d8ff1ffd
events: Improve room::message markdown constructors
Only return an html message if some markdown formatting was detected.
2021-05-18 21:28:15 +02:00
Jonas Platte
676548a2fe
events: Fix lints 2021-05-17 17:10:21 +02:00
Jonas Platte
085f082c5b
Release ruma-events 0.22.1 2021-05-17 16:58:57 +02:00
Jonas Platte
aa31418961
events: Implement (de)serialization manually for dummy event content
The derived implementations use `null` as the serialized form of unit structs.
2021-05-17 16:58:37 +02:00
Jonas Platte
68250ae726
Release ruma-events 0.22.0 2021-05-17 00:51:09 +02:00
Jonas Platte
f50254effd
events: Update changelog 2021-05-17 00:50:58 +02:00
Jonas Platte
c12f8700b2
events: Make last remaining types non-exhaustive 2021-05-17 00:28:40 +02:00
Jonas Platte
d8ecf12c1f
events: Remove M prefix from some types 2021-05-17 00:18:34 +02:00
Jonas Platte
0d039a4ebb
events: Make remaining types in key::* non-exhaustive 2021-05-17 00:17:54 +02:00
Jonas Platte
62b68966b7
events: Remove accidental duplicate constructor 2021-05-17 00:03:42 +02:00
Jonas Platte
d7d449656c
events: Make assert_matches! invocations slight more compact 2021-05-16 23:55:46 +02:00
Damir Jelić
698d78a6f3
events: Add support for the QR verification events and methods 2021-05-16 23:49:33 +02:00
Jonas Platte
76c9c56471
events: Make more types non-exhaustive 2021-05-16 23:47:38 +02:00
Jonas Platte
4dd9baa238
Improve consistency in docs 2021-05-16 23:38:19 +02:00
Jonas Platte
d03a7363e6
events: Update definition of DummyToDeviceEventContent
Make it a unit struct instead of a struct struct without fields.
2021-05-16 23:23:19 +02:00
Jonas Platte
aba58909aa
events: Remove questionable trait implementation 2021-05-16 23:21:58 +02:00
Jonas Platte
062c2cc55b
events: Make remaining types in call::* non-exhaustive 2021-05-16 23:16:24 +02:00
Jonas Platte
0ad480a163
Release ruma-common 0.5.1 2021-05-16 23:12:23 +02:00
Jonas Platte
ecf875358c
events: Fix issues from not testing previous commits 2021-05-16 22:53:00 +02:00
Jonas Platte
55df2aa26a
events: Make remaining types in room::* non-exhaustive 2021-05-16 22:45:48 +02:00
Jonas Platte
504c7ad06e
events: Remove non-exhaustive attribute from enum with hidden variant 2021-05-16 22:36:57 +02:00
Jonas Platte
01f20b17c0
events: Make remaining types in room::message non-exhaustive 2021-05-16 22:36:06 +02:00
Jonas Platte
7626135faf
events: Make fields of doc(hidden) struct private 2021-05-16 22:34:24 +02:00
Jonas Platte
61a033db58
Improve documentation 2021-05-16 22:07:00 +02:00
Jonas Platte
305b527ae9
Release ruma-identifiers 0.19.1 2021-05-16 21:54:03 +02:00
Jonas Platte
2ada8690f8
events: Make FileMessageEventContent non-exhaustive 2021-05-16 00:14:23 +02:00
Jonas Platte
f77b49d4b8
events: Make more types non-exhaustive in room::message 2021-05-15 22:20:48 +02:00
Jonas Platte
566e03abc1
Release ruma-serde 0.4.0 2021-05-15 19:26:09 +02:00
Jonas Platte
54cf81e9ab
events: Make room::member types non-exhaustive 2021-05-15 18:42:14 +02:00
Jonas Platte
67deaeb0fc
events: Improve RawExt documentation 2021-05-15 15:27:42 +02:00
Jonas Platte
89b169faf3
events: Fix redacted tests 2021-05-15 15:20:17 +02:00
Jonas Platte
ab850d8237
events: Remove marker trait
It was not used anywhere.
2021-05-15 15:06:31 +02:00
Jonas Platte
37899db3c5
events: Borrow raw JSON in EventContent::from_parts 2021-05-15 15:02:27 +02:00
Jonas Platte
60d4ea027f
Use serde_json::Result alias 2021-05-15 15:02:02 +02:00
Jonas Platte
9b38538579
events: Simplify RawExt
* Remove redundant where clause
* Clean up documentation
2021-05-15 14:58:41 +02:00
Devin Ragotzy
34134267c6
events: Generate redact method for content enums
… and remove redacted content structs non-room events
2021-05-15 12:51:20 +00:00
Jonas Platte
4aec2d5ff0
events: Introduce AnyRedacted[Sync]RoomEvent
… and use it to implement Redact for Any[Sync]RoomEvent.
2021-05-15 13:55:57 +02:00