Commit Graph

4391 Commits

Author SHA1 Message Date
Devin Ragotzy
6546add282 Fix typo favourite -> favorite 2021-06-18 22:44:00 +02:00
Devin Ragotzy
650d960b85 Enable linting for non-exhaustive structs 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
5a7e2cddcf Apply MSRV to all crates (we no longer depend on ring) 2021-06-17 19:43:24 +02: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
Jonas Platte
e622803679 Use bool::then to simplify some code 2021-06-17 19:43:22 +02:00
Jonas Platte
7fbb0ade77 Bump MSRV to 1.50 2021-06-17 19:43:22 +02:00
Devin Ragotzy
ce6fd1e65e state-res: Use unique over dedup, remove Vec -> BTreeSet conversions 2021-06-17 19:43:21 +02:00
Jonas Platte
282ffd9c6d client-api: Fix clippy lint 2021-06-17 16:39:14 +02:00
Jonas Platte
ed7f673d0e client-api: Reorder send_message_event Request fields
So path params are in the order they occur in the path.
2021-06-15 09:56:56 +02:00
Sivaram Konanki
8f6a7aeedc identifiers: Add Arc, Rc conversions to ServerName, DeviceId and KeyName 2021-06-14 13:47:18 +00:00
Jonas Platte
ddc2138141 events: Clean up docs 2021-06-14 13:42:44 +02:00
Adam
c8f780dbbb identity-service-api: Add sign_invitation_ed25519 2021-06-13 21:31:30 +00:00
Jonas Platte
5ca2d9eeab identifiers: Disable buggy lint 2021-06-12 12:35:09 +02:00
Jonas Platte
d586c88321 identifiers: Fix unnecessary qualification 2021-06-12 11:53:37 +02:00
Jonas Platte
8a42c1e136 identifiers: Use from_raw / into_raw instead of transmute for opaque type conversion 2021-06-12 11:46:16 +02:00
Jonas Platte
c5653c672d identifiers: Don't avoid prelude in hygienic crate-internal macros
It's pointless.
2021-06-12 11:45:36 +02:00
Adam
ef7dd6dd84 identity-service-api: Add 3PID bind endpoint 2021-06-10 19:59:37 +02:00