Jonas Platte
429e5a5bbe
Update create_room::CreationContent
2020-05-26 10:12:35 +02:00
Jonas Platte
9643dbc27f
Update type of canonical_alias in PublicRoomsChunk
2020-05-26 09:54:25 +02:00
Isaiah Inuwa
4cf4aa6ef7
Add room information query endpoint.
2020-05-24 22:40:33 -05:00
Jonas Platte
07689ecb8b
Use event_type enum in r0::room::create_room::InitialStateEvent
2020-05-24 15:54:22 +02:00
Jonas Platte
9e198132d0
Make avatar_url in set_avatar_url request optional
2020-05-24 15:53:23 +02:00
Jonas Platte
851ffea6d2
Bump version
2020-05-23 23:51:41 +02:00
Ragotzy.devin
91011be2a0
Add test to verify urlencoded deserializer works with serde attributes
2020-05-23 23:41:49 +02:00
Jonas Platte
18ba86ac27
Update tests/url_deserialize.rs
2020-05-23 21:40:42 +02:00
Jonas Platte
6b60606b30
Update deserialization error messages
2020-05-23 18:58:40 +02:00
Jonas Platte
964aae00ff
Add additional tests to val_or_vec
2020-05-23 18:47:11 +02:00
Alejandro Domínguez
2151711f64
Add NonAuthEndpoint trait
...
This is a way to mark any type implementing `Endpoint` as not
requiring authentication information through the type system.
This is useful for clients that build on top of the ruma crates
to check this condition at compile time, avoiding a runtime error.
2020-05-23 16:20:55 +02:00
Isaiah Inuwa
e4c7a81a7c
Use SystemTime for timestamp fields
2020-05-23 08:02:47 -05:00
Isaiah Inuwa
250da9281a
Restructure modules.
2020-05-22 23:50:41 -05:00
iinuwa
26307b6894
Add endpoints for joining rooms
2020-05-23 00:23:01 +02:00
Jonas Platte
fa8a45ed9f
Update changelog, bump version
2020-05-22 17:59:30 +02:00
Guillem Nieto
866885bb38
Update changelog
2020-05-22 16:29:27 +02:00
Guillem Nieto
fe80737c58
Change Device fields according to the spec
...
Fields `ip` and `last_seen` should be named `last_seen_ip` and
`last_seen_ts` according to the spec.
https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-devices
2020-05-22 16:29:27 +02:00
Guillem Nieto
195bff8c05
Fix build
...
- Add required documentation to `devices` field
- Import `UserId` on `sync_events`
2020-05-22 15:12:49 +02:00
Jonas Platte
b5fa684dfc
Update sync_events::DeviceLists field types
2020-05-21 23:36:07 +02:00
Jonas Platte
6d93ec1d1a
Fix accidentally-private field
2020-05-21 23:29:56 +02:00
Jonas Platte
b5f436d511
Expand explanation comment for unsafe code
2020-05-19 22:22:44 +02:00
Jonas Platte
af0a304594
Fix building on 1.36.0
2020-05-19 22:22:19 +02:00
Timo Kösters
3a3ccabbf2
Fix get_content_thumbnail response
2020-05-19 18:45:38 +02:00
Jonas Platte
a42b335bfe
Update dependencies
2020-05-19 12:37:03 +02:00
Jonas Platte
88ca0cf4f8
Bump dependencies, version
2020-05-19 12:33:36 +02:00
Jonas Platte
e05b30d008
Query string deserialization: Allow multiple values for one key
2020-05-18 01:10:05 +02:00
Jonas Platte
0e627a8ac1
Update url_deserialize tests
2020-05-17 22:02:32 +02:00
Jonas Platte
89dcb5710b
Add another test for sync_events request deserialization
2020-05-17 18:54:35 +02:00
Jonas Platte
519ab3ff0a
Implement Display for r0::keys::AlgorithmAndDeviceId
2020-05-17 18:53:22 +02:00
Jonas Platte
48c5fb1a73
Update deps, bump version to 0.2.1
2020-05-15 11:51:11 +02:00
Jonas Platte
17783661da
Rename nested struct serialization tests
2020-05-15 11:50:01 +02:00
Jonas Platte
338ef529e1
Forbid serializing nested lists
2020-05-15 11:49:48 +02:00
Jonas Platte
73a46d6b21
Revert 'impl Sink for &mut ValueSink
instead of for ValueSink
'
...
This reverts commit 2032fc2, which was never actually necessary
2020-05-15 11:45:16 +02:00
Jonas Platte
7aa27c2a2d
More serialization test updates
2020-05-15 00:56:05 +02:00
Jonas Platte
9092f7d6d8
Update serialization tests
2020-05-14 23:12:12 +02:00
Jonas Platte
0c775de766
Add serialization support for sequences
...
Sequences of values for one key are serialized as `key=value1&key=value2`
2020-05-14 22:16:24 +02:00
Jonas Platte
2032fc2a94
impl Sink for &mut ValueSink
instead of for ValueSink
...
preparation for one-key-many-value serialization
2020-05-14 22:11:25 +02:00
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