Commit Graph

4428 Commits

Author SHA1 Message Date
Jonas Platte
b2b8265ded events: Split EncryptedEventContent in two 2021-08-11 18:54:25 +02:00
Jonas Platte
31bed8be9a events: Update changelog 2021-08-11 18:07:48 +02:00
Jonas Platte
da5e631640 Release ruma-state-res 0.3.0 2021-08-11 17:56:10 +02:00
Jonas Platte
f8ea3d6ff8 Release ruma-appservice-api 0.4.0 2021-08-11 17:53:43 +02:00
Jonas Platte
6734cf3bf4 Release ruma-push-gateway-api 0.3.0 2021-08-11 17:52:48 +02:00
Jonas Platte
c4427c36b6 Release ruma-identity-service-api 0.3.0 2021-08-11 17:51:49 +02:00
Jonas Platte
6ee7a5beae Release ruma-federation-api 0.3.0 2021-08-11 17:51:15 +02:00
Jonas Platte
459fd09a31 Release ruma-client-api 0.12.0 2021-08-11 17:49:01 +02:00
Jonas Platte
db57fa2a45 Update ruma-*-api changelogs 2021-08-11 17:41:05 +02:00
Jonas Platte
1c5067a916 Release ruma-events 0.24.0 2021-08-11 17:38:10 +02:00
Jonas Platte
7f457d6463 Release ruma-api 0.18.1 2021-08-11 17:34:45 +02:00
Jonas Platte
dbc0c40ec9 Release ruma-signatures 0.9.0 2021-08-11 17:30:28 +02:00
Jonas Platte
7602570e21 Release ruma-common 0.6.0 2021-08-11 17:24:41 +02:00
Jonas Platte
e6b48fb564 Release ruma-identifiers 0.20.0 2021-08-11 17:16:28 +02:00
Jonas Platte
39822f9c16 Release ruma-identifiers-validation 0.5.0 2021-08-11 17:14:37 +02:00
Jonas Platte
12ee10b2c6 Release ruma-serde 0.5.0 2021-08-11 17:10:51 +02:00
Jonas Platte
202fc5132a events: Remove deprecated method NameEventContent::name 2021-08-11 17:06:42 +02:00
Jonas Platte
0d293dec70 ruma: Remove unused allow(deprecated) 2021-08-11 17:05:47 +02:00
Jonas Platte
e27baed854 client-api: Make uiaa::AuthData unconditionally non-exhaustive 2021-08-11 16:59:52 +02:00
Jonas Platte
552fc32b32 client-api: Make uiaa::AuthData more helpful / strongly-typed 2021-08-11 16:38:01 +02:00
Jonas Platte
38eedef9c1 client: Remove unused file 2021-08-10 23:55:11 +02:00
Jonas Platte
7bed18c358 Disable problematic clippy configuration 2021-08-10 15:48:34 +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
b7d0970335 state-res: Remove dead code and stale comments 2021-08-10 15:22:47 +02:00
Devin Ragotzy
318f3186ad state-res: Replace unwraps with expect or errors 2021-08-10 15:22:47 +02:00
Devin Ragotzy
01515aea41 state-res: Fix clippy warnings 2021-08-10 15:22:47 +02:00
Timo Kösters
e31b4d5c98 state-res: Add more information to warnings 2021-08-10 15:22:47 +02:00
Timo Kösters
3a0ee7740f state-res: Change BTreeMap/Set to HashMap/Set 2021-08-10 15:22:47 +02:00
Timo Kösters
d970501c85 state-res: Revert calculating the auth chain in ruma
In a previous commit I moved the auth chain calculation code to ruma
because I thought I could optimize it by only taking auth chains from
conflicted events instead of all events. It turned out that was wrong
and now I removed that algorithm again (the full auth chains are now
passed in as an argument to state_res::resolve again).
2021-08-10 15:22:47 +02:00
Adam
63411165da Move RoomName to ruma-identifiers and use it more 2021-08-10 15:22:47 +02:00
Timo Kösters
57266bf284 client-api: Add serde(default) for generate_blurhash 2021-08-10 15:22:47 +02:00
Timo Kösters
17afbabd92 state-res: Calculate auth_events and fix bug when calculating common events 2021-08-10 15:22:46 +02:00
Devin Ragotzy
b8c54d8e2b state-res: Pass fetch_event closure as owned F not &F 2021-08-10 15:22:46 +02:00
gnieto
5085f3b8fe client-api: Fix inconsistent types on RoomEventFilter
`rooms` and `not_rooms` contained `String` and `RoomId` respectively and
the types have been change to use always `RoomId` as it's more concrete
and is more consistent with the other fields (like `senders` and
`not_senders`).
2021-08-10 15:22:46 +02:00
Jonas Platte
8f4f7d8060 identifiers: Fix unused import without serde feature 2021-08-10 15:22:46 +02:00
Devin Ragotzy
245fe4deea Enable clippy exhaustive_enums lint workspace-wide 2021-08-10 15:22:46 +02:00
Jonas Platte
6ee3955483 Remove most deprecated items 2021-08-10 15:22:46 +02:00
Jonas Platte
d213ee4718 events: Remove / replace previous error types 2021-08-10 15:22:45 +02:00
Adam
976f90a1a2 events: Add RoomName struct to room::name 2021-08-10 15:22:26 +02:00
Devin Ragotzy
ab3d48b576 client-api: Make all pub enums non_exhaustive 2021-08-10 15:22:26 +02:00
Devin Ragotzy
1489b5e1f1 federation/push: Make all pub enums non_exhaustive 2021-08-10 15:22:26 +02:00
Devin Ragotzy
c55dab7122 misc-errors: Allow or make error enums non_exhaustive 2021-08-10 15:22:26 +02:00
Devin Ragotzy
fd310e5b6e identifiers: Make RoomVersionId non_exhaustive 2021-08-10 15:22:26 +02:00
Devin Ragotzy
dc7e0091f6 state-res: Make some room_version enums non_exhaustive 2021-08-10 15:22:26 +02:00
Devin Ragotzy
a4e6cc7c42 state-res: Use closure to fetch unknown events during state-res
state-res: Remove event_map arg from all functions

state-res: Remove get_or_load_event helper func and fix resolve docs
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
Devin Ragotzy
db755f994e events: Make all pub enums non_exhaustive 2021-08-10 15:22:26 +02:00
Devin Ragotzy
74b6a4c9d8 common: Make all pub enums non_exhaustive 2021-08-10 15:22:26 +02:00
Jonas Platte
28e3d0f277 events: Remove key::verification::start::SasV1Content verification 2021-08-10 15:22:26 +02:00
Jonas Platte
7a61c9cd8c Remove trait derives other than Debug from Init structs 2021-08-10 15:22:26 +02:00