Commit Graph

  • 8f6bc5af77 Fix remaining compiler errors. Jimmy Cuadra 2018-05-11 08:50:39 -07:00
  • 09e377d68e Extract relevant types out of the metadata's fields. Jimmy Cuadra 2018-05-04 20:13:34 -07:00
  • dfaf1c7da1 Rearrange some code. Jimmy Cuadra 2018-05-04 19:39:48 -07:00
  • 5e9a3be5d4 Simplify code with ToTokens::into_tokens. Jimmy Cuadra 2018-05-04 19:31:42 -07:00
  • 2a84e038c4 Remove parse module. Jimmy Cuadra 2018-05-04 18:52:09 -07:00
  • 4c46df9a59 Update strip_serde_attrs, uncomment code. Jimmy Cuadra 2018-05-04 18:50:22 -07:00
  • ab106f75ac ExprStruct --> Response Jimmy Cuadra 2018-05-04 18:46:48 -07:00
  • a1929e38cf ExprStruct --> Request Jimmy Cuadra 2018-05-04 17:30:20 -07:00
  • ba6eef9c76 Switch TryFrom back to From since proc macros must panic on errors. Jimmy Cuadra 2018-05-04 17:07:35 -07:00
  • 4db09dac8d ExprStruct --> Metadata Jimmy Cuadra 2018-05-04 03:52:55 -07:00
  • 17b11d1a25 WIP Jimmy Cuadra 2018-05-04 03:33:08 -07:00
  • 76fb657300
    Merge pull request #2 from digitalatigid/digital-unit-tests-roomalias Jimmy Cuadra 2018-04-05 01:31:44 -07:00
  • 3a4041982c Add unicode compatibility for identifiers Digital 2018-04-04 14:31:16 +02:00
  • b4804ad95a
    Bump itoa dep to 0.4.0 Alex Gaynor 2018-03-19 09:53:30 -04:00
  • acac994a18 r0.3.0/login: Add device_id to request & response Nathan Musoke 2018-01-25 17:13:18 +13:00
  • 3a62aaf4c7 Add m.room.pinned_events Konstantinos Sideris 2017-11-27 17:08:51 +02:00
  • 0635fbae53 Add m.direct event Konstantinos Sideris 2017-01-22 20:56:45 +02:00
  • a9490dbee8 Update matrix events to their latest version Konstantinos Sideris 2017-01-09 17:17:47 +02:00
  • 6fec2ba9ec Merge pull request #7 from jplatte/master Jimmy Cuadra 2017-10-19 15:33:07 -07:00
  • 5df3d4888d Turn homeserver url and room into command line params for hello_world examples Jonas Platte 2017-10-19 23:43:45 +02:00
  • 76d0780f5a Remove aliases for Core and Handle from tokio_core Jonas Platte 2017-10-19 23:29:06 +02:00
  • 4eb8e65248 Return a copy of the session object from log_in, register_* Jonas Platte 2017-10-14 12:33:51 +02:00
  • 71605f0113 Add examples/hello_world_await.rs Jonas Platte 2017-08-31 12:39:17 +02:00
  • 02bbfd8664 Remove unused dependency Jonas Platte 2017-08-31 12:38:58 +02:00
  • 92728e53e8 Add Client::sync() Jonas Platte 2017-08-04 22:00:31 +02:00
  • afa4467448 Remove unused extern crate in hello_world example Jonas Platte 2017-08-04 22:25:58 +02:00
  • ef119f71e8 Apply small change suggested by clippy Jonas Platte 2017-08-04 21:59:15 +02:00
  • 8759d5c864 Refactor Client: use one Rc instead of three Jonas Platte 2017-07-13 15:13:36 +10:00
  • 002745fb2f Remove a few unnecessary clones in hello_worl example Jonas Platte 2017-07-12 17:58:32 +10:00
  • 3dae62ec25 Remove Client lifetime from Futures by using Rc and clones Jonas Platte 2017-07-12 03:25:00 +10:00
  • ceca663d69 Implement Client::register_user Jonas Platte 2017-07-09 21:47:01 +10:00
  • fcd6985618 Add more detailed documentation for Client::log_in Jonas Platte 2017-07-09 21:46:45 +10:00
  • b0199a0489 Merge pull request #23 from musoke/master Jimmy Cuadra 2017-10-17 06:42:06 -07:00
  • 60d0428730 associated_consts stabilized Nathan Musoke 2017-10-17 23:52:05 +13:00
  • 72e6dc7ad7 Merge pull request #22 from tilpner/master Jimmy Cuadra 2017-09-29 00:16:54 -07:00
  • 478106fd42
    Serialize sync_events::Filter untagged tilpner 2017-09-28 20:30:28 +02:00
  • 15bd7d2641
    Pass sync request as query parameters instead of data tilpner 2017-09-28 20:28:24 +02:00
  • 8970e3d83d Bump version to 0.5.0. Jimmy Cuadra 2017-09-08 17:33:18 -07:00
  • 474644ff66 Add a nonexhaustive variant to Error. Jimmy Cuadra 2017-09-08 17:32:42 -07:00
  • 9ff74ba776 Use the crates.io release of http. Jimmy Cuadra 2017-09-08 17:29:19 -07:00
  • 7d919bcee5 Merge pull request #21 from jplatte/master Jimmy Cuadra 2017-08-04 03:56:00 -07:00
  • a51448e09d Merge pull request #15 from jplatte/master Jimmy Cuadra 2017-08-04 03:55:23 -07:00
  • b741ec3028 Use more descriptive names for properties with one-character-names in the spec Jonas Platte 2017-08-04 10:35:56 +02:00
  • fcd2a50f4f UnreadNotificationsCount: Make fields optional Jonas Platte 2017-08-03 22:42:08 +02:00
  • b852b15134 Fix grammar in doc comments Jonas Platte 2017-08-03 22:10:56 +02:00
  • 4a91932ea8 Fix a bunch more deserialization bugs Jonas Platte 2017-08-03 22:10:11 +02:00
  • 6ef1776aed rustfmt Jimmy Cuadra 2017-08-01 18:17:09 -07:00
  • 35c2e6edd8 Swap hyper for the http crate. Jimmy Cuadra 2017-08-01 18:05:44 -07:00
  • eca6d97690 Merge pull request #14 from jplatte/master Jimmy Cuadra 2017-08-01 10:00:05 -07:00
  • 5a1ae50eaa Fix wrong json key in receipt event Jonas Platte 2017-08-01 18:37:22 +02:00
  • 46fa6d21a2 Fix timeline.events type in sync_events response Jonas Platte 2017-07-17 18:57:22 +02:00
  • 491188db2b Make PresenceEventContent::currently_active optional Jonas Platte 2017-07-12 18:28:26 +10:00
  • 61d848d2b5 Add hello_world example Jonas Platte 2017-07-09 20:30:28 +10:00
  • e734de5d44 Implement Client::register_guest Jonas Platte 2017-07-09 18:53:33 +10:00
  • 39bd63d576 Add Client::log_in. Jimmy Cuadra 2017-07-09 01:22:56 -07:00
  • 6d1c167efb Simplify Session and authenticate requests when required. Jimmy Cuadra 2017-07-08 23:25:29 -07:00
  • feaadff8db Pass local imports to the more explicit version of the endpoint macro. Jimmy Cuadra 2017-07-08 22:41:11 -07:00
  • d25b972277 Expose all endpoints from ruma-client-api. Jimmy Cuadra 2017-07-08 17:47:11 -07:00
  • e509f80cdf Use a reference to convert Url into Uri. Jimmy Cuadra 2017-07-07 23:49:34 -07:00
  • da5ce8ee11 Set the path and query string before making a request. Jimmy Cuadra 2017-07-07 23:36:05 -07:00
  • 3b059d1735 Run rustfmt. Jimmy Cuadra 2017-07-07 23:24:37 -07:00
  • 60e4d9a86c Add an API module to expose endpoints. Jimmy Cuadra 2017-07-07 23:20:42 -07:00
  • 86e837d26f Update dependencies, use published ruma crates, add new Client constructors. Jimmy Cuadra 2017-07-07 23:19:12 -07:00
  • 3cbbf10587 Use ruma-api 0.4.0 and ruma-api-macros 0.1.0. Jimmy Cuadra 2017-07-07 01:31:15 -07:00
  • d3265f3251 Use ruma-api 0.4.0 and add missing crate metadata. Jimmy Cuadra 2017-07-07 01:26:51 -07:00
  • 37a5991fda Bump version to 0.4.0. Jimmy Cuadra 2017-07-07 01:19:03 -07:00
  • 863fe814ef Use ruma-api-macros for the voip endpoints. Jimmy Cuadra 2017-07-07 01:08:03 -07:00
  • 0d9d1f8119 Use ruma-api-macros for the typing endpoints. Jimmy Cuadra 2017-07-07 01:02:03 -07:00
  • 995fa6e1ae Use ruma-api-macros for the tag endpoints. Jimmy Cuadra 2017-07-06 23:26:52 -07:00
  • f94cb9d62a Use ruma-api-macros for the server endpoints. Jimmy Cuadra 2017-07-06 22:59:42 -07:00
  • e71760bb65 Use ruma-api-macros for the search endpoints. Jimmy Cuadra 2017-07-06 22:50:56 -07:00
  • fc29d7bf40 Use ruma-api-macros for the redact endpoints. Jimmy Cuadra 2017-07-06 01:11:11 -07:00
  • 651fe9b3e3 Use ruma-api-macros for the receipt endpoints. Jimmy Cuadra 2017-07-06 00:57:29 -07:00
  • beacb5f268 Use ruma-api-macros for the profile endpoints. Jimmy Cuadra 2017-07-05 22:45:33 -07:00
  • a5427a5daf Use UserId instead of String for the login endpoint. Jimmy Cuadra 2017-07-05 20:37:57 -07:00
  • 6aceca259e Add missing docs, fix a bunch of bugs and inconsistencies. Jimmy Cuadra 2017-07-04 22:47:14 -07:00
  • c447a612d3 Use ruma-api-macros for the presence endpoints. Jimmy Cuadra 2017-07-04 16:39:30 -07:00
  • ebb05dc076 Merge pull request #20 from jplatte/more-modules Jimmy Cuadra 2017-07-04 12:09:55 -07:00
  • 351a6dbd0c Add event body to send requests Jonas Platte 2017-07-02 06:42:48 +10:00
  • 5c43a32b00 Use ruma-api-macros for the create_room endpoint Jonas Platte 2017-07-02 06:01:12 +10:00
  • 0a997d28a4 Remove unused serde attributes Jonas Platte 2017-07-01 20:50:39 +10:00
  • a1a9064d28 Squash a bunch of bugs Ross Schulman 2017-07-01 15:57:21 -04:00
  • 3a854bf64a Update lib.rs with newly available calls Ross Schulman 2017-07-01 13:32:11 -04:00
  • a097aa02f2 Port session.rs to ruma_api_macro Ross Schulman 2017-06-30 21:53:30 -04:00
  • f715124190 Implement ruma_api macro Ross Schulman 2017-06-30 18:34:24 -04:00
  • 06ddfdd681 Use ruma-api-macros for the membership endpoints. Jimmy Cuadra 2017-07-03 16:41:25 -07:00
  • 7f78253539 Update ruma-client-macros for bug fix. Jimmy Cuadra 2017-07-01 17:24:00 -07:00
  • 0f32ca01db Add complete documentation. Jimmy Cuadra 2017-07-01 17:22:40 -07:00
  • b292a3e776 Improve test coverage, fix a misplaced comma bug, implement missing newtype body support for responses. Jimmy Cuadra 2017-07-01 16:24:44 -07:00
  • e0bb81ad67 Use ruma-api-macros for the media endpoints. Jimmy Cuadra 2017-07-01 15:39:45 -07:00
  • 84562c4260 Strip serde attributes on aggregate Request and Response types. Jimmy Cuadra 2017-07-01 15:26:03 -07:00
  • dce17dbb64 Add support for header fields in responses. Jimmy Cuadra 2017-07-01 11:29:23 -07:00
  • c0c4b0949a Add missing dev dependency for url. Jimmy Cuadra 2017-06-30 18:33:43 -07:00
  • 4893be93f8 Impl conversion from serde_urlencoded errors. Jimmy Cuadra 2017-06-30 18:14:24 -07:00
  • 6d82e06600 Derive Serialize for RequestPath so the serde attributes get stripped. Jimmy Cuadra 2017-06-30 18:09:34 -07:00
  • 62971e63cd Implement substitution of variables in endpoint paths Jonas Platte 2017-06-30 01:29:23 +10:00
  • 5180297d81 Refactor request module to reduce code duplication Jonas Platte 2017-06-29 19:22:13 +10:00
  • 170e00a487 Implement setting of query parameters Jonas Platte 2017-06-29 07:29:24 +10:00
  • e40496b460 Update dependencies and reorganize modules. Jimmy Cuadra 2017-06-29 04:19:45 -07:00
  • 5f880dfbb1 Use ruma-api-macros for the send endpoints. Jonas Platte 2017-06-29 03:35:41 +10:00