244 Commits

Author SHA1 Message Date
Jonas Platte
50a194c532
signatures: Update changelog 2021-06-21 17:29:05 +02:00
Jonas Platte
fc99c32c3d
signatures: Upgrade pkcs8 2021-06-21 17:28:55 +02:00
Jonas Platte
55a7dd4828
Release ruma-events 0.23.0 2021-06-21 16:53:46 +02:00
Jonas Platte
1eb2f39593
identifiers: Remove allow attribute
Seems to no longer be necessary.
2021-06-21 12:24:05 +02:00
Jonas Platte
59161b842b
identifiers: Use fewer transmutes for ServerName 2021-06-21 12:23:52 +02:00
Jonas Platte
e308c70aa7
identifiers: Get rid of pointless copy in ToOwned implementations 2021-06-21 12:15:04 +02:00
Jonas Platte
d73ab8add9
events: Add AnyMessageEventContent::relation 2021-06-20 19:34:29 +02:00
Jonas Platte
61671f4440
events: Add event relation conversions 2021-06-20 19:34:29 +02:00
Jonas Platte
84829e23dc
events: Remove shared Relation type in favor of more per-event-type ones 2021-06-20 19:27:12 +02:00
Jonas Platte
1c31d31be1
events: More consistent item ordering for room::encrypted 2021-06-20 18:38:06 +02:00
Jonas Platte
5db8373117
api: Add missing anonymous lifetime 2021-06-20 12:27:51 +02:00
Jonas Platte
d467eaf621
api: Ignore SendAccessToken::Always on non-client-api endpoints 2021-06-20 12:17:17 +02:00
Jonas Platte
3bb4a3e31e
events: Update changelog 2021-06-20 09:52:16 +02:00
Jonas Platte
05e28f7422
events: Add types for decrypted event payloads 2021-06-20 09:39:48 +02:00
Jonas Platte
090948e04f
events: Consistently use relates_to for Relation field name 2021-06-20 01:32:29 +02:00
Devin Ragotzy
6546add282 Fix typo favourite -> favorite 2021-06-18 22:44:00 +02:00
Devin Ragotzy
337b1e26ef misc: Allow exhaustive for non api related structs 2021-06-18 22:44:00 +02:00
Devin Ragotzy
6d0ff8b876 federation: Remove ctor in favor of Init struct 2021-06-18 21:02:14 +02:00
Devin Ragotzy
030f23b9e9 federation: Make all pub structs non_exhaustive 2021-06-18 21:02:14 +02:00
Devin Ragotzy
fae5385753 state-res: Make all pub structs non_exhaustive 2021-06-18 20:53:06 +02:00
Devin Ragotzy
e05aad184e events: Make all pub structs non_exhaustive 2021-06-18 20:53:06 +02:00
Jonas Platte
4312085b4a
Release ruma-common 0.5.4 2021-06-18 20:27:32 +02:00
Jonas Platte
ecad815a5b
federation-api: Make bind_callback forwards compatible with add'l medium support 2021-06-18 14:02:40 +02:00
Jonas Platte
ff03f4c805
Release ruma-identifiers 0.19.3 2021-06-18 13:42:32 +02:00
Jonas Platte
e5c93ab928
identifiers: Fix up Rc / Arc conversions 2021-06-18 13:40:32 +02:00
Devin Ragotzy
5d0803f63d
app/identity: Make all pub structs non_exhaustive 2021-06-18 11:15:51 +00:00
Devin Ragotzy
757ab5273c
client-api: Make all pub structs non_exhaustive 2021-06-18 11:09:19 +00:00
Devin Ragotzy
626b5a5d06
common: Make all pub structs non_exhaustive 2021-06-18 11:00:35 +00:00
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
b51b0c54f9
federation-api: Use Raw for messages in transactions::edu 2021-06-17 19:43:23 +02:00
Jonas Platte
dd1fc704bd
client-api: Use Raw for messages in send_event_to_device 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
7b742f1b4c
client-api: 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
28de60a90a
client-api: Use Raw in create_room::Request's initial_state field 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
Jonathan de Jong
97776d7132
signatures: Bump pkcs8 to 0.6.1 proper 2021-06-17 19:43:22 +02:00
Timo Kösters
c198cf6e9f
federation-api: Improve claim_keys endpoint 2021-06-17 19:43:22 +02:00
Jonas Platte
2538b23c26
signatures: Make Algorithm non-exhaustive 2021-06-17 19:43:22 +02:00
Jonas Platte
3f520bf907
signatures: Rename UnknownAlgorithm => UnsupportedAlgorithm 2021-06-17 19:43:22 +02:00
Jonas Platte
4c31b83543
signatures: Add missing newlines 2021-06-17 19:43:22 +02:00
Jonathan de Jong
cc50f8b8dc
Convert ruma-signatures error story into thiserror 2021-06-17 19:43:22 +02:00
Jonathan de Jong
b6f0cb9715
signatures: Replace ring with ed25519-dalek 2021-06-17 19:43:22 +02:00
Jonas Platte
de737f30e7
events: Refactor macro code
Use Option::zip which was not possible with the previous MSRV.
2021-06-17 19:43:22 +02:00