367 Commits

Author SHA1 Message Date
Jonas Platte
7e6fcab676
Release ruma-events 0.24.3 2021-08-13 17:16:08 +02:00
Adam
0768f551c3
events: Add unstable support for secret sharing 2021-08-13 14:59:20 +00:00
Jonas Platte
c24890f82b
events: Refactor Event derive 2021-08-13 00:16:31 +02:00
Jonas Platte
e9cb896bf7
events: Silence clippy lint 2021-08-12 21:36:20 +02:00
Jonas Platte
44a998f70d
events: Remove unnecessary qualification 2021-08-12 21:23:03 +02:00
Jonas Platte
3b0afb520a
events: Optimize deserialization helpers 2021-08-12 20:46:15 +02:00
Jonas Platte
4e72c374b9
api-macros: Small refactor 2021-08-12 11:59:00 +02:00
Jonas Platte
e396092ac0
Release ruma-events 0.24.2 2021-08-11 21:08:46 +02:00
Jonas Platte
6177bfccef
events: Add missing ctor / From impl for EncryptedToDeviceEventContent 2021-08-11 21:08:24 +02:00
Jonas Platte
ea2ee79aa0
Release ruma 0.3.0 2021-08-11 20:57:26 +02:00
Jonas Platte
1961f7829e
Release ruma-client 0.7.0 2021-08-11 20:42:59 +02:00
Jonas Platte
f4d60f1ecb
Release ruma-events 0.24.1 2021-08-11 20:31:23 +02:00
Jonas Platte
9445e8756a
events: Derive / implement StaticEventContent for all relevant types 2021-08-11 20:31:03 +02:00
Jonas Platte
a30279b83f
events: Refactor EventContent derive code 2021-08-11 19:26:54 +02:00
Jonas Platte
11fea54173
events: Disallow more than one event kind attribute
… and also raise an error if there's multiple type attributes (extra
ones used to be ignored).
2021-08-11 19:19:16 +02:00
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