128 Commits

Author SHA1 Message Date
Jonas Platte
e1ebff0047
Set rust-version for crates/* (excl. ruma-signatures) 2022-05-27 12:05:41 +02:00
Jonas Platte
5f902851af
Upgrade to Rust 2021 2022-05-27 12:04:23 +02:00
Jonas Platte
2257b4daf9
Derive Eq for types where it makes sense 2022-05-23 18:40:34 +02:00
Jonas Platte
6805f67d75
signatures: Remove PartialEq impl for Ed25519Verifier 2022-05-23 18:30:32 +02:00
Jonas Platte
e1c35b3d7f
Release ruma-common 0.9.2 2022-05-09 12:51:17 +02:00
Jonas Platte
a36da216ec
Release ruma-common 0.9.1 2022-05-06 17:19:57 +02:00
Jonas Platte
94545fd52c
Release ruma-signatures 0.11.0 2022-04-28 17:51:22 +02:00
Jonas Platte
4e8d88617d
Release ruma-common 0.9.0 2022-04-28 16:38:08 +02:00
Jonathan de Jong
cc72ddb689
Implement MSC2870 (Protect server ACLs from redaction) 2022-04-27 10:22:43 +02:00
Jonas Platte
6100a0fa12 Use new owned ID types in more places 2022-04-20 10:39:36 +02:00
Jonas Platte
d855ec33d6 identifiers: Update ToOwned implementations to use new types
… and a lot of changes that cascaded from that.
2022-04-20 10:39:36 +02:00
Jonas Platte
571fa90b8d
identifiers: Rename Error to IdParseError
… because it's now exported from the ruma-common crate root.
2022-03-28 12:22:28 +02:00
Kévin Commaille
5cc3656c27 signatures: Remove empty example 2022-03-21 14:23:57 +01:00
Timo Kösters
83e46b6aea
state-res: Fix restricted joins 2022-03-14 15:02:21 +01:00
Kévin Commaille
bdcf07be87
common: Merge ruma-serde into ruma-common 2022-03-10 12:11:00 +01:00
Kévin Commaille
088d1872b7
common: Merge ruma-identifiers into ruma-common 2022-03-09 17:46:51 +00:00
Jonas Platte
93b200d1a3
Release ruma-signatures 0.10.0 2022-02-19 14:56:15 +01:00
Jonas Platte
2ed51f1d54
Release ruma-identifiers 0.22.0 2022-02-19 14:28:28 +01:00
Jonas Platte
2b7f873eeb
signatures: Update changelog 2022-02-19 01:32:53 +01:00
Jonas Platte
fec52a0218
Release ruma-identifiers 0.21.0 2022-02-19 01:07:23 +01:00
Jonas Platte
38881dd6af
Release ruma-serde 0.6.0 2022-02-19 01:01:17 +01:00
Jonathan de Jong
936bb64e84
Update links to spec.matrix.org/v1.2 2022-02-18 19:45:04 +01:00
Jonas Platte
41d6bcc2a6
Format code in doc comments 2022-02-18 11:33:16 +01:00
Jonas Platte
215cb35806
Clean up import grouping / ordering 2022-02-18 11:20:39 +01:00
Jonas Platte
ebb09589f9
Remove authors field from Cargo manifests
It's no longer necessary and authorship is much better tracked with git.
2022-02-12 13:46:44 +01:00
Jonas Platte
2f84fdbd76
serde: Wrap base64::DecodeError to make base64 a private dependency 2022-02-12 00:36:20 +01:00
Jonas Platte
8d15c3d0f9
signatures: Merge SplitError into Error 2022-02-11 23:55:04 +01:00
Kévin Commaille
2da8a34ff4
signatures: Move Room v9 allowed content keys out of unstable-pre-spec
Part of #849
2022-02-10 18:11:29 +01:00
Jonas Platte
e9994b89c8
identifiers: Move room versions 8, 9 out of unstable-spec
… since v1.2 is out!
2022-02-02 23:06:39 +01:00
Jonathan de Jong
e4d8761222
signatures: Add redact_content function 2022-02-02 14:27:27 +01:00
Jonas Platte
1a4e464422
Move restricted join rules and room versions 8, 9 from unstable-pre-spec to unstable-spec 2022-02-01 20:47:37 +01:00
Jonathan de Jong
bdf4a86770
signatures: Add redact_in_place 2022-02-01 15:03:22 +01:00
Jonas Platte
b7bcecbb77
serde: Fix lots of issues from previous commit 2022-01-23 14:10:57 +01:00
Jonas Platte
4c859c5aeb
Introduce a Base64 type and use it where applicable 2022-01-13 16:22:21 +01:00
Jonas Platte
2f732bf9c2
signatures: Implement room version 9 redaction change 2021-12-17 18:58:40 +01:00
Jonas Platte
881f64fd64
signatures: Simplify imports 2021-11-27 01:26:02 +01:00
Jonas Platte
6b76d7813e
identifiers: Shorten RoomVersionId variant names 2021-11-26 01:07:26 +01:00
Jonas Platte
3ce578f384
identifiers: Make UserId a DST 2021-11-26 00:40:40 +01:00
Jonas Platte
52608cc72c
identifiers: Make EventId a DST 2021-11-25 22:34:40 +01:00
Jonas Platte
438efee143
identifiers: Remove Box<$id> aliases 2021-11-25 21:07:14 +01:00
Jonas Platte
1bb9298059
Update clippy configuration 2021-10-19 14:34:51 +02:00
Jonas Platte
aa5fdf9d22
Merge serde attributes and improve docs 2021-10-08 12:49:13 +02:00
Jonathan de Jong
c33920d8ae
Use thiserror in id-validation, add more detail to mxc-uri errors 2021-09-15 20:36:20 +02:00
Jonas Platte
dbc0c40ec9
Release ruma-signatures 0.9.0 2021-08-11 17:30:28 +02:00
Jonas Platte
e6b48fb564
Release ruma-identifiers 0.20.0 2021-08-11 17:16:28 +02:00
Jonas Platte
12ee10b2c6
Release ruma-serde 0.5.0 2021-08-11 17:10:51 +02:00
Jonas Platte
3c76fa1492
signatures: Fix verify_json and sign_json enforcing PDU size limits
These functions are used for request signatures too.
2021-08-10 15:22:47 +02:00
Devin Ragotzy
c55dab7122
misc-errors: Allow or make error enums non_exhaustive 2021-08-10 15:22:26 +02:00
Devin Ragotzy
96567a295e
signatures: Fix canonical json functions to now return Result
signatures: Fix canonical json functions to now return Result
2021-08-10 15:22:26 +02:00
Jonas Platte
40d3b552da
Release ruma-serde 0.4.2 2021-08-09 19:43:40 +02:00