1145 Commits

Author SHA1 Message Date
Jonas Platte
e55527fee6
Merge, re-group imports in urlencoded 2020-05-14 22:08:55 +02:00
Jonas Platte
4d702558bb
Update deps, bump versions 2020-05-14 13:07:14 +02:00
Jonas Platte
981a3aebe2
Bump version again
to 0.2.0 this time, since the revert to plain serde_urlencoded logic was actually a breaking change
2020-05-13 23:00:01 +02:00
Jonas Platte
a9579a4729
Bump version 2020-05-13 21:42:16 +02:00
Jonas Platte
01562cb7ac
Revert urlencoded to plain serde_urlencoded logic temporarily 2020-05-13 21:38:42 +02:00
Jonas Platte
62bf717e62
Update sync_events tests 2020-05-10 12:09:43 +02:00
Jonas Platte
890cf13973
Bump MSRV (due to bytes dependency) 2020-05-07 20:36:57 +02:00
Jonas Platte
74d1b833cd
Add change log 2020-05-07 20:31:59 +02:00
Jonas Platte
8770e914f6
Update dependencies 2020-05-07 20:30:47 +02:00
Jonas Platte
a742ef47df
Use BTreeMap instead of HashMap 2020-05-07 20:30:26 +02:00
Jonas Platte
c28645b945
Update change log 2020-05-07 14:43:29 +02:00
Jonas Platte
7a22bc7a45
Add comments to explain required event_id fields 2020-05-07 14:42:30 +02:00
Damir Jelić
e36e9a68ac message/state: The event id is required in the response when sending events. 2020-05-06 09:57:13 +02:00
Jonas Platte
ecb498be67
Bump version 2020-05-05 23:10:58 +02:00
Jonas Platte
55df111a97
Canonicalize spec links 2020-05-05 23:10:29 +02:00
Jonas Platte
2bb96b5a2b
Use serde_json::value::RawValue instead of serde_json::Value in most endpoints 2020-05-05 22:51:46 +02:00
Jonas Platte
b10e5e9ed1
Add get_media_preview module declaration 2020-05-05 22:51:16 +02:00
Damir Jelić
7d80a7f23d sync_events: Make all fields in the response optional except next_batch.
As per spec only the next_batch token is required in a sync response.

This patch makes all of them optional and creates default values when
parsing a response. Serialization is skipped for all of them if they are
empty containers.
2020-05-05 15:31:24 +02:00
Damir Jelić
5cedf1a963 keys: Make the device display name optional. 2020-05-05 15:31:24 +02:00
poljar
56f2054df5
to_device: Use a RawValue for sending to-device messages 2020-05-05 11:55:41 +02:00
Jonas Platte
fc626d0869
Whitespace and comment wrapping adjustments 2020-05-05 00:41:51 +02:00
Jonas Platte
3db0abe4cc
Update change log 2020-05-05 00:16:48 +02:00
Jonas Platte
ae8a629823
Remove dependency on the url crate 2020-05-05 00:16:43 +02:00
Jonas Platte
1ca24515ad
Update remaining r0.4.0 modules to r0.6.0 2020-05-05 00:11:04 +02:00
Jonas Platte
97255eff60
Import push::Action tests from ruma-events 2020-05-04 22:59:32 +02:00
Jonas Platte
e759c3821e
Bump version 2020-05-04 18:55:34 +02:00
Jonas Platte
ebd4af10c5
Update join_room_by_id_or_alias 2020-05-04 18:43:51 +02:00
Jonas Platte
e5adfe1181
Rename r0::{client_exchange => to_device} 2020-05-04 18:42:37 +02:00
Jonas Platte
f2c8a7b5df
Update dependencies 2020-05-04 18:41:14 +02:00
Jonas Platte
d99812364f
Silence clippy warning 2020-05-04 18:38:15 +02:00
Jonas Platte
b809db81f4
Update create_message_event, create_state_event_* 2020-05-04 18:34:52 +02:00
Jonas Platte
78717b71bf
Update change log 2020-05-04 18:24:16 +02:00
Jonas Platte
d560ed76ca
Bump versions 2020-05-04 18:16:53 +02:00
Jonas Platte
4211eb4497
Annotate .unwrap()s 2020-05-04 18:14:55 +02:00
Jonas Platte
fb265db5eb
Update dependencies 2020-05-04 18:14:50 +02:00
Akshay
3428e9dd92
Migrate to ruma-serde from serde_urlencoded 2020-05-04 17:46:24 +02:00
Jonas Platte
bc9b43e03f
Update dependencies, use push::Action from ruma-common 2020-05-02 18:52:16 +02:00
Jonas Platte
cf2747cc70
Fix HighlightTweak deserialization 2020-05-01 23:40:26 +02:00
Jonas Platte
25f302f491
Add is_true 2020-05-01 23:33:01 +02:00
Jonas Platte
89f0594a68
Make string comparison PartialEq impls work 2020-05-01 23:02:06 +02:00
Jonas Platte
657721b1e6
Add push::Action 2020-05-01 20:32:12 +02:00
Jonas Platte
bfa96cd49f
Initial commit 2020-05-01 17:15:07 +02:00
Jonas Platte
06f8374250
sync_events: make account_data optional 2020-05-01 13:52:49 +02:00
iinuwa
dbb60142cf
Sync endpoint touchups
* Add account_data to sync endpoint.
* Update RoomSummary not to serialize empty optional fields
2020-05-01 11:33:20 +02:00
Jonas Platte
2fb17f30be
Bump version 2020-04-30 17:55:36 +02:00
Jonas Platte
3471e9c46e
Move serde_json_eq into submodule, always compile 2020-04-30 17:55:20 +02:00
Jonas Platte
06f6ca82b2
Bump version 2020-04-30 17:24:09 +02:00
Jonas Platte
f664a0132d
Import some things from ruma-events 2020-04-30 17:23:50 +02:00
Jonas Platte
ccbf216f39
Replace serde_json::Map by BTreeMap 2020-04-30 17:10:56 +02:00
Jonas Platte
15cb930102
Update formatting of change log 2020-04-30 15:29:44 +02:00