Jonas Platte
46c7e3f811
Clean up and rewrap documentation comments
2021-08-27 21:32:02 +02:00
Jonas Platte
c13737af04
Copy new spec description of MemberEventContent#reason
2021-08-27 10:06:14 +02:00
Jonas Platte
77cf085ab9
events: Don't store extra fields for unknown events in content enums
2021-08-22 13:54:20 +02:00
Jonas Platte
b85e452aec
Release ruma-events 0.24.5
2021-08-21 15:58:54 +02:00
Jonas Platte
a81880c68f
events: Rework Relation serde
...
Relation types now implement `Deserialize`, `Serialize`.
2021-08-21 15:20:15 +02:00
Adam
d746244241
events: Generate From impls for event (content) enums
2021-08-17 15:44:33 +00:00
Jonas Platte
72538d1de5
events: Update expected output for trybuild test
2021-08-17 13:01:09 +02:00
Jonas Platte
b9486b91fa
events: Truly appease clippy
2021-08-16 23:48:17 +02:00
Jonas Platte
1077889e4e
events: Appease clippy
2021-08-16 23:26:50 +02:00
Jonas Platte
90683f0faa
Release ruma-events 0.24.4
2021-08-16 23:12:35 +02:00
Jonas Platte
f859d543e1
events: Test new prev_content compat code
2021-08-16 23:10:58 +02:00
Jonas Platte
367f4ac0e6
events: Fix UI test failing with compat feature
2021-08-16 23:10:46 +02:00
Jonas Platte
fb0e3008bb
events: Fix test failing with compat feature
2021-08-16 23:10:28 +02:00
Jonas Platte
098339056b
events: Add a compat workaround for prev_content in unsigned
2021-08-16 22:55:27 +02:00
Jonas Platte
f954865d4d
events: Move unsigned types into a new module
2021-08-14 23:36:51 +02:00
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
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
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
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
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
1c5067a916
Release ruma-events 0.24.0
2021-08-11 17:38:10 +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
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
Adam
63411165da
Move RoomName
to ruma-identifiers
and use it more
2021-08-10 15:22:47 +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
db755f994e
events: 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
Jonas Platte
ef96b0f381
Add missing Debug implementations
2021-08-10 15:22:04 +02:00
Jonas Platte
565793a37e
events: Add StaticEventContent trait
2021-08-10 01:26:20 +02:00
Jonas Platte
40d3b552da
Release ruma-serde 0.4.2
2021-08-09 19:43:40 +02:00
Adam Blanchet
13af2e235d
client-api: Implement reasons for leaving a room
2021-08-05 21:04:14 +02:00
Adam
e3427ba5d0
Update expected stderr on tests for Rust 1.54
2021-08-02 19:46:01 +00:00
Jonas Platte
2bd2d18db9
Release ruma-events 0.23.3
2021-07-26 15:06:13 +02:00
Jonas Platte
64fc1c794c
Revert "Stop special-casing zero fields in macro code" for ruma-events
...
This partially reverts commit 9b2602649f9e0fcb875404fc86d9c6fdbedd287d.
2021-07-26 15:01:47 +02:00
Jonas Platte
6236b024fd
events: Fix new_content serialization in the plain-text part of m.encrypted
2021-07-26 13:52:49 +02:00
Devin Ragotzy
3101be1f99
Add macro-braces, disallowed-type and import-rename clippy lints
2021-07-22 14:34:30 +02:00
Adam
2e88e48eb3
events: Add constructors for ParentEventContent
and ChildEventContent
2021-07-21 21:49:03 +02:00
Jonas Platte
9b2602649f
Stop special-casing zero fields in macro code
2021-07-09 15:10:22 +02:00
Adam
118ea0f85a
Update endpoints for blurhash implementation
...
* Add blurhash to profile and avatar endpoints.
* Add `blurhash` fields to `GET /_matrix/federation/v1/query/profile`
and `m.room.member`.
* Add `generate_blurhash` field to `PUT /_matrix/media/r0/upload`
2021-07-04 18:38:06 +02:00