5752 Commits

Author SHA1 Message Date
Jonas Platte
46fa6d21a2 Fix timeline.events type in sync_events response 2017-07-17 18:57:22 +02:00
Jonas Platte
491188db2b Make PresenceEventContent::currently_active optional 2017-07-12 18:28:26 +10:00
Jonas Platte
61d848d2b5 Add hello_world example 2017-07-12 01:25:43 +10:00
Jonas Platte
e734de5d44 Implement Client::register_guest 2017-07-12 01:25:31 +10:00
Jimmy Cuadra
39bd63d576 Add Client::log_in. 2017-07-09 02:09:41 -07:00
Jimmy Cuadra
6d1c167efb Simplify Session and authenticate requests when required. 2017-07-08 23:43:15 -07:00
Jimmy Cuadra
feaadff8db Pass local imports to the more explicit version of the endpoint macro. 2017-07-08 22:41:11 -07:00
Jimmy Cuadra
d25b972277 Expose all endpoints from ruma-client-api. 2017-07-08 18:23:44 -07:00
Jimmy Cuadra
e509f80cdf Use a reference to convert Url into Uri.
See: https://github.com/hyperium/hyper/issues/1089#issuecomment-288842526
2017-07-07 23:49:43 -07:00
Jimmy Cuadra
da5ce8ee11 Set the path and query string before making a request. 2017-07-07 23:36:05 -07:00
Jimmy Cuadra
3b059d1735 Run rustfmt. 2017-07-07 23:24:37 -07:00
Jimmy Cuadra
60e4d9a86c Add an API module to expose endpoints. 2017-07-07 23:20:42 -07:00
Jimmy Cuadra
86e837d26f Update dependencies, use published ruma crates, add new Client constructors. 2017-07-07 23:19:12 -07:00
Jimmy Cuadra
3cbbf10587 Use ruma-api 0.4.0 and ruma-api-macros 0.1.0. 2017-07-07 01:31:15 -07:00
Jimmy Cuadra
d3265f3251 Use ruma-api 0.4.0 and add missing crate metadata. 2017-07-07 01:26:51 -07:00
Jimmy Cuadra
37a5991fda Bump version to 0.4.0. 2017-07-07 01:19:03 -07:00
Jimmy Cuadra
863fe814ef Use ruma-api-macros for the voip endpoints. 2017-07-07 01:08:03 -07:00
Jimmy Cuadra
0d9d1f8119 Use ruma-api-macros for the typing endpoints. 2017-07-07 01:02:03 -07:00
Jimmy Cuadra
995fa6e1ae Use ruma-api-macros for the tag endpoints. 2017-07-06 23:26:52 -07:00
Jimmy Cuadra
f94cb9d62a Use ruma-api-macros for the server endpoints. 2017-07-06 22:59:42 -07:00
Jimmy Cuadra
e71760bb65 Use ruma-api-macros for the search endpoints. 2017-07-06 22:50:56 -07:00
Jimmy Cuadra
fc29d7bf40 Use ruma-api-macros for the redact endpoints. 2017-07-06 01:11:11 -07:00
Jimmy Cuadra
651fe9b3e3 Use ruma-api-macros for the receipt endpoints. 2017-07-06 00:57:29 -07:00
Jimmy Cuadra
beacb5f268 Use ruma-api-macros for the profile endpoints. 2017-07-05 22:45:33 -07:00
Jimmy Cuadra
a5427a5daf Use UserId instead of String for the login endpoint. 2017-07-05 20:37:57 -07:00
Jimmy Cuadra
6aceca259e Add missing docs, fix a bunch of bugs and inconsistencies. 2017-07-04 22:47:14 -07:00
Jimmy Cuadra
c447a612d3 Use ruma-api-macros for the presence endpoints. 2017-07-04 16:39:30 -07:00
Jimmy Cuadra
ebb05dc076 Merge pull request #20 from jplatte/more-modules
Use ruma-api-macros for more endpoints
2017-07-04 12:09:55 -07:00
Jonas Platte
351a6dbd0c Add event body to send requests 2017-07-04 22:02:47 +10:00
Jonas Platte
5c43a32b00 Use ruma-api-macros for the create_room endpoint 2017-07-04 22:02:47 +10:00
Jonas Platte
0a997d28a4 Remove unused serde attributes 2017-07-04 22:02:47 +10:00
Ross Schulman
a1a9064d28 Squash a bunch of bugs 2017-07-04 22:02:47 +10:00
Ross Schulman
3a854bf64a Update lib.rs with newly available calls 2017-07-04 22:02:47 +10:00
Ross Schulman
a097aa02f2 Port session.rs to ruma_api_macro 2017-07-04 22:02:47 +10:00
Ross Schulman
f715124190 Implement ruma_api macro 2017-07-04 22:02:47 +10:00
Jimmy Cuadra
06ddfdd681 Use ruma-api-macros for the membership endpoints. 2017-07-03 16:41:25 -07:00
Jimmy Cuadra
7f78253539 Update ruma-client-macros for bug fix. 2017-07-01 17:24:00 -07:00
Jimmy Cuadra
0f32ca01db Add complete documentation. 2017-07-01 17:22:40 -07:00
Jimmy Cuadra
b292a3e776 Improve test coverage, fix a misplaced comma bug, implement missing newtype body support for responses. 2017-07-01 16:24:44 -07:00
Jimmy Cuadra
e0bb81ad67 Use ruma-api-macros for the media endpoints. 2017-07-01 15:39:45 -07:00
Jimmy Cuadra
84562c4260 Strip serde attributes on aggregate Request and Response types. 2017-07-01 15:26:03 -07:00
Jimmy Cuadra
dce17dbb64 Add support for header fields in responses. 2017-07-01 11:29:23 -07:00
Jimmy Cuadra
c0c4b0949a Add missing dev dependency for url. 2017-06-30 18:33:43 -07:00
Jimmy Cuadra
4893be93f8 Impl conversion from serde_urlencoded errors. 2017-06-30 18:14:24 -07:00
Jimmy Cuadra
6d82e06600 Derive Serialize for RequestPath so the serde attributes get stripped. 2017-06-30 18:09:34 -07:00
Jonas Platte
62971e63cd Implement substitution of variables in endpoint paths 2017-07-01 01:53:19 +10:00
Jonas Platte
5180297d81 Refactor request module to reduce code duplication 2017-07-01 01:53:19 +10:00
Jonas Platte
170e00a487 Implement setting of query parameters 2017-07-01 01:53:19 +10:00
Jimmy Cuadra
e40496b460 Update dependencies and reorganize modules. 2017-06-29 04:33:06 -07:00
Jonas Platte
5f880dfbb1 Use ruma-api-macros for the send endpoints. 2017-06-29 03:35:41 +10:00