Jonas Platte
a892d7f654
Update dependencies
2020-06-01 01:19:56 +02:00
Jonas Platte
f6f0b58a1c
Update change log
2020-06-01 00:44:46 +02:00
Jonas Platte
584aab3979
Use ruma-events from git
...
so people using this crate from git don't have breakage in r0::push
2020-05-31 23:31:18 +02:00
Jonas Platte
da4abacf69
Use Ruleset type from ruma_events in get_pushrules endpoints
2020-05-31 23:24:37 +02:00
Jonas Platte
80726d0546
Use PushCondition from ruma_events instead of declaring a separate one
2020-05-31 23:23:52 +02:00
Jonas Platte
1696c47430
Add CI
2020-05-31 20:43:28 +02:00
Jonas Platte
07040a18c8
Fixup for 7b30c2b
...
(forgot RoomVersionId)
2020-05-30 20:04:19 +02:00
Jonas Platte
cf1a1de151
Support room version 6
2020-05-30 20:00:34 +02:00
Jonas Platte
7b30c2bb3e
Update how TryFrom implementation are generated
...
… and remove TryFrom<Cow<'_, str>> implementations
2020-05-30 19:28:06 +02:00
Jonas Platte
5861457f3b
Remove diesel integration
2020-05-30 19:10:21 +02:00
Jonas Platte
96ca638474
Change most usages of String to Box<str>
2020-05-30 18:31:08 +02:00
iinuwa
c725288cd0
Use RoomId instead of String for room visibility endpoints
2020-05-27 13:53:28 +02:00
iinuwa
b064daf23d
Add room visibility endpoints
2020-05-26 14:19:10 +02:00
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