4432 Commits

Author SHA1 Message Date
Jimmy Cuadra
cea0421523 Reword some documentation. 2019-07-19 15:06:47 -07:00
Jimmy Cuadra
7eadc017a5 Convert collections modules to the new API. 2019-07-19 14:59:45 -07:00
Jimmy Cuadra
bce1e91469 Add FromStr and TryFrom impls for m.ignored_user_list types. 2019-07-19 14:59:45 -07:00
Jimmy Cuadra
b003699048 Remove unnecessary crate:: prefixes. 2019-07-19 14:59:45 -07:00
Jimmy Cuadra
ebc6579d81 Convert the stripped mod to the new API. 2019-07-19 14:59:45 -07:00
Jimmy Cuadra
30c58ab563 Update m.key.verification.mac to work without ruma-signatures. 2019-07-19 14:58:49 -07:00
Jimmy Cuadra
d5b38354d0 Convert m.room.member to the new API. Remove dependency on
ruma-signatures.
2019-07-19 14:58:07 -07:00
Jimmy Cuadra
596fc3c3df Convert m.push_rules to the new API. 2019-07-19 14:57:39 -07:00
Jimmy Cuadra
7d1701ccce Implement FromStr for content types. 2019-07-19 14:56:38 -07:00
Jimmy Cuadra
8c8f1790f1 Clarify how InvalidInput differs from InvalidEvent. 2019-07-19 14:55:42 -07:00
Jimmy Cuadra
0f55729478 Handle both deserialization and validation errors in FromStr impls. 2019-07-19 14:54:31 -07:00
Jimmy Cuadra
4e363bc2c5 Convert m.key.verification.start to the new API. 2019-07-19 14:53:54 -07:00
Jimmy Cuadra
5c2e0e62a9 Implement Serialize for EncryptedEventContent. 2019-07-19 14:53:19 -07:00
Jimmy Cuadra
3e58ad7a8f Convert m.room.message to the new API. 2019-07-19 14:52:49 -07:00
Jimmy Cuadra
8b59318629 Sort the unsigned field alphabetically in Serialize impls. 2019-07-19 14:52:49 -07:00
Jimmy Cuadra
21351aaff0 Convert m.room.encrypted to the new API. 2019-07-19 14:52:30 -07:00
Jimmy Cuadra
0f49c5e7f6 Convert m.room.create to the new API. 2019-07-19 14:52:05 -07:00
Jimmy Cuadra
5b505cc501 Convert m.room.canonical_alias to the new API. Reorder additional fields
alphabetically. Remove unused serde attributes.
2019-07-19 14:49:05 -07:00
Jimmy Cuadra
71646445d5 Sort fields of ServerAclEvent alphabetically. 2019-07-19 14:48:38 -07:00
Jimmy Cuadra
406a007678 Add more tests. 2019-07-19 14:47:59 -07:00
Jimmy Cuadra
cc107106f0 Continue implementation of m.room.power_levels and add tests. 2019-07-19 14:47:01 -07:00
Jimmy Cuadra
090a91f78b Add new macros for implementing event traits. Fix Serialize impl for
NameEventContent. Convert m.room.power_levels to the new API.
2019-07-19 14:44:16 -07:00
Jimmy Cuadra
03099b9a8b Add InvalidInput type and convert m.room.name to the new API. 2019-07-19 14:43:24 -07:00
Jimmy Cuadra
afe44b4dda Convert m.room.server_acl to the new API. 2019-07-19 14:42:57 -07:00
Jimmy Cuadra
eaddc6dce2 Use str::parse for conversion from JSON. 2019-07-19 14:42:57 -07:00
Jimmy Cuadra
4212c9f619 Convert m.room.{aliases ,avatar ,encryption ,guest_access,
history_visibility, join_rules, member, pinned_events,
third_party_invite, tombstone, topic} to the new API.
2019-07-19 14:40:48 -07:00
Jimmy Cuadra
22c15277a7 Convert m.call.*, m.room.message.feedback, and m.room.redaction to the new
API.
2019-07-19 14:39:31 -07:00
Jimmy Cuadra
20d2482108 Convert m.key.verification.{accept,cancel,key,mac,request} and
m.room_key to the new API.
2019-07-19 14:37:21 -07:00
Jimmy Cuadra
3c70dac634 Convert m.fully_read to the new API. 2019-07-19 14:37:01 -07:00
Jimmy Cuadra
4be050b19a Convert m.tag and m.typing to the new API. 2019-07-19 14:35:21 -07:00
Jimmy Cuadra
1f3e33c77d Convert m.dummy, m.forwarded_room_key, m.presence, m.room_key_request,
and m.sticker to the new API.
2019-07-19 14:33:40 -07:00
Jimmy Cuadra
11493dede4 Bump version to 0.6.0. 2019-07-19 14:02:53 -07:00
Jimmy Cuadra
3e492f7f14
Merge pull request #19 from ruma/update-ruma-api
Update to new ruma-api
2019-07-19 14:00:47 -07:00
Jonas Platte
be79a80467 Update to new ruma-api 2019-07-19 21:59:27 +02:00
Jimmy Cuadra
5d0b4dd833 Bump version to 0.9.0. 2019-07-19 12:30:38 -07:00
Jimmy Cuadra
f3b0000c18
Merge pull request #19 from ruma/fewer-deps
Remove futures and hyper dependencies
2019-07-19 12:29:30 -07:00
Jonas Platte
169b6cb9f9 Remove futures and hyper dependencies 2019-07-18 23:22:53 +02:00
Jimmy Cuadra
dce3f62e81 Bump version to 0.5.0. 2019-07-12 04:19:32 -07:00
Jimmy Cuadra
c2ad08a9f6 Update dependencies. 2019-07-12 04:18:06 -07:00
Jimmy Cuadra
798a2387cf Add example for canonical_json. 2019-07-12 04:10:44 -07:00
Jimmy Cuadra
31d5c42a75 Remove docs about signatures, maps, and sets. 2019-07-12 04:04:17 -07:00
Jimmy Cuadra
b867e3230a Remove serde dependency. 2019-07-12 03:56:09 -07:00
Jimmy Cuadra
daf160324c Add PublicKey{Map,Set} and make the Signature versions private. 2019-07-12 03:50:49 -07:00
Jimmy Cuadra
593d0e469b Determine Verifier automatically so verifier types don't need to be public. 2019-07-12 03:23:49 -07:00
Jimmy Cuadra
8da921cffa Always use the term "public key" instead of "verify key." 2019-07-12 03:09:44 -07:00
Jimmy Cuadra
04004547da Remove references to "server names." 2019-07-12 03:05:13 -07:00
Jimmy Cuadra
972388a019 Document error conditions for redact. 2019-07-12 02:55:49 -07:00
Jimmy Cuadra
d578292471 Rename to_canonical_json to canonical_json. 2019-07-12 02:53:21 -07:00
Jimmy Cuadra
a8b8e70c2d Check content hash during event verification. 2019-07-12 02:16:26 -07:00
Jimmy Cuadra
fe90cdabf9 Change verify_json to use the same interface as verify_event. 2019-07-11 01:08:34 -07:00