49 Commits

Author SHA1 Message Date
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
Jonas Platte
4dfaad104b
Enable clippy lint str_to_string 2021-07-02 23:02:50 +02:00
Jonas Platte
dfd8c60b89
Release ruma-identifiers 0.19.4 2021-06-24 13:38:05 +02:00
Jonas Platte
be4584b475
Release ruma-serde 0.4.1 2021-06-24 13:17:55 +02:00
Jonas Platte
bbd22ab1e0
Release ruma-signatures 0.8.0 2021-06-21 18:08:04 +02:00
Jonas Platte
9f9c3d74f2
Remove unused dependencies 2021-06-21 17:35:51 +02:00
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
Devin Ragotzy
337b1e26ef misc: Allow exhaustive for non api related structs 2021-06-18 22:44:00 +02:00
Jonas Platte
ff03f4c805
Release ruma-identifiers 0.19.3 2021-06-18 13:42:32 +02:00
Jonathan de Jong
97776d7132
signatures: Bump pkcs8 to 0.6.1 proper 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
5fe1876643
Release ruma-identifiers 0.19.2 2021-06-10 15:27:09 +02:00
Devin Ragotzy
1f84de4c7f
ci: Add the --order flag to cargo sort 2021-06-04 20:20:36 +00:00
Jonas Platte
d2d286bf29
Release ruma-signatures 0.7.2 2021-06-01 22:04:36 +02:00
Jonas Platte
6d253c6038
Add missing docs.rs metadata to Cargo manifests 2021-06-01 12:32:29 +02:00
Jonathan de Jong
42bbb81bd2
Tolerate slightly malformed base64
* add in fixes

* cargo fmt and newline

* sort dependencies
2021-05-24 22:31:36 +02:00
Jonas Platte
59b6b83773
client-api: Post PR login / UIAA fallback cleanup 2021-05-21 18:08:38 +02:00
Jonas Platte
48cf21e37c
Release ruma-signatures 0.7.1 2021-05-16 22:55:03 +02:00
Jonas Platte
305b527ae9
Release ruma-identifiers 0.19.1 2021-05-16 21:54:03 +02:00
Jonas Platte
566e03abc1
Release ruma-serde 0.4.0 2021-05-15 19:26:09 +02:00
Devin Ragotzy
5090c11843
Enable non-default clippy lints 2021-05-06 11:07:31 +00:00
Devin Ragotzy
c6aa2e0428 Fix clippy warnings across workspace 2021-05-06 06:16:28 -04:00
Jonas Platte
cf291bd5ba
Clean up lint attributes 2021-05-05 23:39:52 +02:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory 2021-05-03 15:50:27 +02:00