2092 Commits

Author SHA1 Message Date
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
Adam
2577225ba5
Add client secret and session ID types 2021-08-10 15:22:24 +02:00
Jonas Platte
ef96b0f381
Add missing Debug implementations 2021-08-10 15:22:04 +02:00
Jonas Platte
0f1c52aaab
Update changelogs 2021-08-10 15:21:47 +02:00
Jonas Platte
cff68ad05a
api: Update changelog 2021-08-10 12:50:13 +02:00
Jonas Platte
99ab5f80c0
Release ruma-client-api 0.11.2 2021-08-10 12:48:21 +02:00
Jonas Platte
f83849f942
Release ruma-api 0.17.2
This is the same as the previously-released ruma-api 0.18.0; releasing
it with that version number was an error and it has been yanked.
2021-08-10 12:42:26 +02:00
Jonas Platte
70b7240be5
Release ruma-client-api 0.11.1 2021-08-10 12:39:26 +02:00
Jonas Platte
65195cad0d
Release ruma-api 0.18.0 2021-08-10 12:38:12 +02:00
Jonas Platte
4e68509faf
client-api: Work around another Element bug 2021-08-10 12:31:08 +02:00
Jonas Platte
565793a37e
events: Add StaticEventContent trait 2021-08-10 01:26:20 +02:00