144 Commits

Author SHA1 Message Date
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
Jonas Platte
4dfaad104b
Enable clippy lint str_to_string 2021-07-02 23:02:50 +02:00
Jonas Platte
752c4808fd
Release ruma-events 0.23.2 2021-06-29 10:37:09 +02:00
Jonas Platte
0f2586f2d3
event: Update changelog 2021-06-29 10:14:56 +02:00
Häcker Felix
653e4c4838
events: Add missing serde rename for Relation emoji 2021-06-27 21:45:46 +02:00
Jonas Platte
b5f963229c
Release ruma-events 0.23.1 2021-06-24 13:43:04 +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
55a7dd4828
Release ruma-events 0.23.0 2021-06-21 16:53:46 +02:00
Jonas Platte
d73ab8add9
events: Add AnyMessageEventContent::relation 2021-06-20 19:34:29 +02:00
Jonas Platte
61671f4440
events: Add event relation conversions 2021-06-20 19:34:29 +02:00
Jonas Platte
84829e23dc
events: Remove shared Relation type in favor of more per-event-type ones 2021-06-20 19:27:12 +02:00
Jonas Platte
1c31d31be1
events: More consistent item ordering for room::encrypted 2021-06-20 18:38:06 +02:00
Jonas Platte
3bb4a3e31e
events: Update changelog 2021-06-20 09:52:16 +02:00
Jonas Platte
05e28f7422
events: Add types for decrypted event payloads 2021-06-20 09:39:48 +02:00
Jonas Platte
090948e04f
events: Consistently use relates_to for Relation field name 2021-06-20 01:32:29 +02:00
Devin Ragotzy
6546add282 Fix typo favourite -> favorite 2021-06-18 22:44:00 +02:00
Devin Ragotzy
e05aad184e events: Make all pub structs non_exhaustive 2021-06-18 20:53:06 +02:00
Jonas Platte
4312085b4a
Release ruma-common 0.5.4 2021-06-18 20:27:32 +02:00
Jonas Platte
ff03f4c805
Release ruma-identifiers 0.19.3 2021-06-18 13:42:32 +02:00
Jonas Platte
f4021d0ab0
events: Rename & hide verification enum Custom variants 2021-06-17 19:43:24 +02:00
Jonas Platte
349a57ffc7
events: Rename & hide event enum Custom variant 2021-06-17 19:43:23 +02:00
Jonas Platte
ec4b719546
events: Refactor message relations
* Discard unknown relations
* Move new_content into Relation::Replacement
2021-06-17 19:43:23 +02:00
Jonas Platte
2c8af1e17f
events: Import items from original location, not private s in a parent mod 2021-06-17 19:43:23 +02:00
Jonas Platte
dfce734974
events: Clean up verification relations 2021-06-17 19:43:23 +02:00
Jonas Platte
e3084b1f91
events: Clean up reaction event 2021-06-17 19:43:23 +02:00
Jonas Platte
750fe3f1f6
events: Remove ruma-common reexports 2021-06-17 19:43:23 +02:00
Jonas Platte
f179a5c771
events: Drop M prefix from enum variants 2021-06-17 19:43:23 +02:00
Jonas Platte
fbe038ff7a
events: Update changelog 2021-06-17 19:43:23 +02:00