4710 Commits

Author SHA1 Message Date
Jonas Platte
b741ec3028 Use more descriptive names for properties with one-character-names in the spec 2017-08-04 10:35:56 +02:00
Jonas Platte
fcd2a50f4f UnreadNotificationsCount: Make fields optional 2017-08-03 22:42:08 +02:00
Jonas Platte
b852b15134 Fix grammar in doc comments 2017-08-03 22:16:52 +02:00
Jonas Platte
4a91932ea8 Fix a bunch more deserialization bugs 2017-08-03 22:16:52 +02:00
Jimmy Cuadra
6ef1776aed rustfmt 2017-08-01 18:17:09 -07:00
Jimmy Cuadra
35c2e6edd8 Swap hyper for the http crate. 2017-08-01 18:05:44 -07:00
Jimmy Cuadra
eca6d97690 Merge pull request #14 from jplatte/master
Fix two bytesize bugs (wrong json key, non-optional value that should be optional)
2017-08-01 10:00:05 -07:00
Jonas Platte
5a1ae50eaa Fix wrong json key in receipt event 2017-08-01 18:37:22 +02:00
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