353 Commits

Author SHA1 Message Date
Jonas Platte
f4021d0ab0
events: Rename & hide verification enum Custom variants 2021-06-17 19:43:24 +02:00
Jonas Platte
349a57ffc7
events: Rename & hide event enum Custom variant 2021-06-17 19:43:23 +02:00
Jonas Platte
ec4b719546
events: Refactor message relations
* Discard unknown relations
* Move new_content into Relation::Replacement
2021-06-17 19:43:23 +02:00
Jonas Platte
2c8af1e17f
events: Import items from original location, not private s in a parent mod 2021-06-17 19:43:23 +02:00
Jonas Platte
dfce734974
events: Clean up verification relations 2021-06-17 19:43:23 +02:00
Jonas Platte
e3084b1f91
events: Clean up reaction event 2021-06-17 19:43:23 +02:00
Jonas Platte
750fe3f1f6
events: Remove ruma-common reexports 2021-06-17 19:43:23 +02:00
Jonas Platte
f179a5c771
events: Drop M prefix from enum variants 2021-06-17 19:43:23 +02:00
Jonas Platte
fbe038ff7a
events: Update changelog 2021-06-17 19:43:23 +02:00
Damir Jelić
06478b96c4
events: Fix the name of the qr code scan verification method 2021-06-17 19:43:22 +02:00
Jonas Platte
e622803679
Use bool::then to simplify some code 2021-06-17 19:43:22 +02:00
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