967 Commits

Author SHA1 Message Date
Jonas Platte
9be124f826
Bump versions 2020-03-20 11:51:45 +01:00
Jonas Platte
220d733cc1
Bump dependencies 2020-03-20 11:50:13 +01:00
iinuwa
122097cfef
Use Duration over UInt for timeouts and similar fields 2020-03-20 11:29:51 +01:00
Ragotzy.devin
6a0ab987b5
Enable deserialization of unsuccessful responses
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
2020-03-17 01:07:12 +01:00
Damir Jelić
7307c695e0 sync_events: Parse the to-device events. 2020-03-13 16:53:02 +01:00
Jonas Platte
e7526b88cb
Update ruma-events to 0.17.0 2020-03-12 21:38:51 +01:00
Jonas Platte
6f5e25cb7d
Update dependencies 2020-03-12 21:38:27 +01:00
bors[bot]
e659355313
Merge #61
61: chore: Exclude unneeded files r=nox a=ignatenkobrain



Co-authored-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2020-03-10 08:35:20 +00:00
bors[bot]
820c8a0b84
Merge #67
67: replace typo in documentation r=nox a=mcginty

It caught me when I was reading it :).

Co-authored-by: Jake McGinty <me@jake.su>
2020-03-10 08:33:32 +00:00
Jake McGinty
12c95203e0 replace typo in documentation 2020-03-10 12:38:30 +09:00
iinuwa
21f9922b9e
Update r0::context::get_context::Request and r0::filter::RoomEventFilter
* Add lazy-loading options to RoomEventFilter
* Use UInt instead of u8 for get_context limit
* Add filter option to get_context endpoint
* Add more tests

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2020-03-09 22:00:03 +01:00
Donough Liu
c346b4f681
Emit error on non-UTF8 characters in path segments 2020-03-07 17:06:24 +01:00
iinuwa
8fb01a193e
Add SSO login endpoint 2020-02-26 15:11:32 +01:00
Jonas Platte
19bf8dbd77
Add trailing comma 2020-02-26 15:02:07 +01:00
iinuwa
d36ec95fb7
Export request and response fields as public 2020-02-26 07:39:41 -06:00
Isaiah Inuwa
4b05e7e361 Add request and response parameters for account deactiviation 2020-02-25 20:00:22 -06:00
iinuwa
e16049b5b3
Add invite-by-3pid endpoint 2020-02-22 23:14:10 +01:00
iinuwa
7d677f690e
Add unstable_features to version endpoint 2020-02-22 23:12:34 +01:00
Jonas Platte
9665abbaf2
Make accidentally private things public 2020-02-22 01:51:42 +01:00
Jonas Platte
4939078954
Fix missing #[ruma_api(body)] 2020-02-22 01:51:42 +01:00
Isaiah Inuwa
59bbef5a35 Remove deprecate account bind endpoint. 2020-02-22 01:28:12 +01:00
Jonas Platte
aca4915e8c
Add a login request serialization test 2020-02-22 01:27:46 +01:00
iinuwa
e5e89b8929
Use raw_body for bytes payload in doc examples. 2020-02-21 06:53:07 -06:00
iinuwa
fc59bf4b55
Update create room endpoint 2020-02-21 01:15:17 +01:00
Isaiah Inuwa
ab7cb329a4 Update changelog with media endpoints. 2020-02-19 19:54:17 -06:00
Isaiah Inuwa
052b3a199d Add media preview endpoint.
Fixes #39.
2020-02-19 13:51:46 -06:00
Isaiah Inuwa
ed508c043e Add missing media endpoints
Fixes #73.
2020-02-19 13:51:23 -06:00
Isaiah Inuwa
bb52edf1e0 Add allow_remote parameter to content fetching endpoint.
Fixes #92.
2020-02-19 12:55:22 -06:00
iinuwa
959e10fd15
Add client config retrieval endpoints 2020-02-19 11:00:12 +01:00
Jonas Platte
411c6e18b4
Update dependencies 2020-02-19 00:49:46 +01:00
Jonas Platte
1c23df55e4
Update ruma-events to 0.16.0 2020-02-19 00:46:16 +01:00
Jonas Platte
8e9a6ffede
Update ruma-api to 0.14.0 2020-02-18 21:26:41 +01:00
Jonas Platte
557be94f3a
Bump versions 2020-02-18 21:17:18 +01:00
Jonas Platte
8e7325cdcc
Simplify request path deserialization by removing RequestPath struct 2020-02-18 21:05:21 +01:00
Jonas Platte
9e076858af
Update change logs 2020-02-18 21:02:33 +01:00
Jonas Platte
810bf56874
Add strum::ParseError variant to DeserializationError 2020-02-18 20:58:29 +01:00
Jonas Platte
a7ca7b1e8d
Remove redundant import 2020-02-18 20:51:10 +01:00
Isaiah Inuwa
fc0d8ee8e7
Add send-to-device endpoint 2020-02-18 19:19:10 +01:00
Jonas Platte
6d8a6e8b2e
Sort dependencies in Cargo.toml 2020-02-18 19:18:00 +01:00
iinuwa
0139ebc41a
Add OpenID request token endpoint 2020-02-18 19:15:32 +01:00
Jonas Platte
9861aa20c8
Fix path segments being parsed as JSON 2020-02-17 22:12:18 +01:00
Jonas Platte
a63e73a32d
Update changelog 2020-02-17 01:12:28 +01:00
timokoesters
dffe376aeb feat: add MatrixError struct 2020-02-16 16:54:09 +01:00
Emily
1c2ab9e768 Fix r0::session::get_login_types::Response
The previous version was expecting one level of nesting too many, i.e.:

    {"type": {"type": "m.login.password"}}

This is a breaking change, so bump the version number too.
2020-02-14 00:33:52 +00:00
bors[bot]
bf16076bce Merge #64
64: Add Error::source r=nox a=AnderEnder

As discussed in https://github.com/nox/serde_urlencoded/pull/63 `Error::source` was added in `1.30.0`

This PR implements `Error::source`

Co-authored-by: Andrii Radyk <ander.ender@gmail.com>
2020-02-10 11:15:28 +00:00
Jonas Platte
a811a709ec
Implement Debug for Incoming types 2020-02-10 10:54:56 +01:00
Jonas Platte
45b64aabf5
Remove outdated parts from comments 2020-02-09 21:20:47 +01:00
Jonas Platte
fc2d6f354a
Actually bump the version 2020-02-08 23:07:32 +01:00
Jonas Platte
16de378bb2
Bump MSRV 2020-02-08 22:39:37 +01:00
Jonas Platte
a9abdbc5e9
Fix typo in changelog 2020-02-08 22:38:34 +01:00