Commit Graph

  • e7e4d04244 Undo the change of storing FilterDefinition in a box. Jimmy Cuadra 2019-07-08 14:24:07 -07:00
  • c25d76e20f Treat deserialization failure as a validation failure. Jimmy Cuadra 2019-07-08 03:29:47 -07:00
  • 733dfa7ef3 Implement FromStr and TryFrom<&str> for content types. Jimmy Cuadra 2019-06-28 12:47:41 -07:00
  • b0c1997016 Fix typo in Cargo.toml. Jimmy Cuadra 2019-06-24 13:02:54 -07:00
  • 065cb770af Remove unnecessary for loops. Jimmy Cuadra 2019-06-22 00:17:50 -07:00
  • a65a618930 Run rustfmt. Jimmy Cuadra 2019-06-21 17:18:06 -07:00
  • db70792f03 Alphabetize struct fields. Jimmy Cuadra 2019-06-21 17:14:08 -07:00
  • 3bad559980 Add serialization and deserialization tests. Jimmy Cuadra 2019-06-21 17:00:28 -07:00
  • e34ea05445 Skip serializing options. Jimmy Cuadra 2019-06-21 16:33:53 -07:00
  • d9039db8df Convert from JSON using impl FromStr and impl TryFrom<&'a str> rather than an inherent from_str method. Jimmy Cuadra 2019-06-20 22:10:04 -07:00
  • e13acb4d7d Fix copy/paste error. Jimmy Cuadra 2019-06-20 17:08:38 -07:00
  • 553d9c05cd Add support for events with custom types. Jimmy Cuadra 2019-06-20 16:53:35 -07:00
  • 44a13e6515 Add span information to token streams when possible. Jimmy Cuadra 2019-06-19 23:50:06 -07:00
  • 52754f617c Import Event trait in Serialize impl so event_type can be called. Jimmy Cuadra 2019-06-19 23:36:16 -07:00
  • f663c79250 Remove extra commas from generated code. Jimmy Cuadra 2019-06-19 23:36:01 -07:00
  • ce2a3817cf Rename ParseError to FromStrError and add InvalidEvent. Jimmy Cuadra 2019-06-18 00:51:30 -07:00
  • 4423275ce2 Implement RoomEvent and StateEvent when applicable. Jimmy Cuadra 2019-06-19 22:40:58 -07:00
  • be0f1d0363 Add inherent impl with from_str method. Jimmy Cuadra 2019-06-19 21:14:49 -07:00
  • 78e25552fb Implement Serialize and Event. Jimmy Cuadra 2019-06-19 16:52:49 -07:00
  • 3b65905784 Generate content types and raw module. Jimmy Cuadra 2019-06-19 16:08:43 -07:00
  • a5834ea192 Combine and sort common and custom fields using a Vec<Field>. Jimmy Cuadra 2019-06-19 15:40:29 -07:00
  • 2f54ee3e32 Implement generation of structs. Jimmy Cuadra 2019-06-18 17:54:50 -07:00
  • 48d6ef7ead Split parsing and generation into separate modules. Jimmy Cuadra 2019-06-18 16:59:48 -07:00
  • 65bd8e86cc ruma-events-macros Jimmy Cuadra 2019-06-18 16:34:45 -07:00
  • e9df06b30b Turn off nightly feature for proc-macro2. Jimmy Cuadra 2019-06-17 17:19:31 -07:00
  • 0f3fbec8b7 Add crates.io categories. [ci skip] Jimmy Cuadra 2019-06-16 16:52:28 -07:00
  • 5461c20875 Add crates.io categories. [ci skip] Jimmy Cuadra 2019-06-16 16:51:11 -07:00
  • 9a5858cae8 Add crates.io categories. [ci skip] Jimmy Cuadra 2019-06-16 16:50:06 -07:00
  • 2eeb90ed55 Add crates.io categories. [ci skip] Jimmy Cuadra 2019-06-16 16:46:02 -07:00
  • 1b0be0d0e7 Add crates.io categories. [ci skip] Jimmy Cuadra 2019-06-16 16:45:02 -07:00
  • aa9d546b1b Add crates.io categories. [ci skip] Jimmy Cuadra 2019-06-16 16:42:46 -07:00
  • 77e5976ba6 Add crates.io categories. [ci skip] Jimmy Cuadra 2019-06-16 16:41:59 -07:00
  • a16eb7cfe1 Use js_int types for numbers. Jimmy Cuadra 2019-06-16 16:32:56 -07:00
  • c3f48c5be3 Use js_int types for numbers. Jimmy Cuadra 2019-06-16 16:16:37 -07:00
  • bc7683af96 Bump version to 0.13.1. Jimmy Cuadra 2019-06-16 01:30:42 -07:00
  • 9506c565e0 Add support for room version 5. Jimmy Cuadra 2019-06-16 01:29:54 -07:00
  • 04cdc96b8b Add m.push_rules. Jimmy Cuadra 2019-06-15 03:26:50 -07:00
  • 9b17d5729a Use a consistent style for the name of the library. Jimmy Cuadra 2019-06-15 00:07:44 -07:00
  • f4b7204f31 Derive PartialEq where possible. Jimmy Cuadra 2019-06-15 00:03:32 -07:00
  • a0ee826828 Add E2EE events to EventType and collections types. Jimmy Cuadra 2019-06-14 23:12:18 -07:00
  • a0a9799c81 Add events from the end-to-end encryption module. Jimmy Cuadra 2019-06-14 22:14:11 -07:00
  • 12212789b3 Future-proof enums with a __Nonexhaustive variant. Jimmy Cuadra 2019-06-14 17:30:29 -07:00
  • add7ef0d8b Add blank lines to make type definitions easier to read. Jimmy Cuadra 2019-06-14 14:02:03 -07:00
  • 8b6aeddcd6 Fix broken tests. Jimmy Cuadra 2019-06-13 17:48:52 -07:00
  • 7eb9384bd6 Add status_msg field to m.presence. Jimmy Cuadra 2019-06-13 17:35:41 -07:00
  • c745db7eba Fields in m.receipt are optional. Jimmy Cuadra 2019-06-13 17:34:03 -07:00
  • dd2e0afd47 All fields on FileInfo, ImageInfo, and ThumbnailInfo are optional. Jimmy Cuadra 2019-06-13 17:13:24 -07:00
  • 110234827e Add a note about m.room.member's invite_room_state data. Jimmy Cuadra 2019-06-13 17:06:42 -07:00
  • 7530342637 Adjust some default values. Jimmy Cuadra 2019-06-13 16:59:22 -07:00
  • 4661547e21 Add the m.server_notice* message type. Jimmy Cuadra 2019-06-13 01:50:13 -07:00
  • 668e8b2239 Add m.room.tombstone. Jimmy Cuadra 2019-06-13 01:34:05 -07:00
  • 9836222b73 Add m.room.server_acl. Jimmy Cuadra 2019-06-13 01:24:00 -07:00
  • 9ad9776033 Add m.sticker. Jimmy Cuadra 2019-06-13 00:59:14 -07:00
  • 0fdf51598f Add m.ignored_user_list. Jimmy Cuadra 2019-06-13 00:43:54 -07:00
  • f8e5a80c93 Rename mod.rs files. Jimmy Cuadra 2019-06-12 16:22:29 -07:00
  • ba2538dda9 Update existing events for spec r0.5.0 and add m.fully_read and m.room.message.feedback. Jimmy Cuadra 2019-06-12 16:20:10 -07:00
  • 9f43f37f41 Clarify the units of origin_server_ts. Jimmy Cuadra 2019-06-12 13:31:45 -07:00
  • f9347bf57f Bump dependencies. Jimmy Cuadra 2019-06-12 13:24:43 -07:00
  • d5ce34d301 Address clippy warnings. Jimmy Cuadra 2019-06-12 13:16:52 -07:00
  • 262b84022c Bump version to 0.5.0. Jimmy Cuadra 2019-06-12 13:11:33 -07:00
  • 82a20e23da Bump dependencies. Jimmy Cuadra 2019-06-12 13:11:06 -07:00
  • 557ac4b485 Use the name and description fields to generate better documentation. Jimmy Cuadra 2019-06-12 13:06:35 -07:00
  • 0b75d2f1c3 Run rustfmt. Jimmy Cuadra 2019-06-12 13:03:47 -07:00
  • 3b383d78b7 Bump version to 0.8.0. Jimmy Cuadra 2019-06-12 12:59:11 -07:00
  • 432dbf94c8 Revise the error type to hide lower-level errors. Jimmy Cuadra 2019-06-12 12:37:55 -07:00
  • 9805750f83 Bump dependencies. Jimmy Cuadra 2019-06-12 12:21:39 -07:00
  • 6de32b1b9c Bump version to 0.13.0. Jimmy Cuadra 2019-06-03 12:14:34 -07:00
  • b37bb53495 Add DeviceId. Jimmy Cuadra 2019-06-03 12:13:11 -07:00
  • 9011423eea Consistently use localpart instead of opaque_id and use homeserver_host instead of server_name. Jimmy Cuadra 2019-06-03 12:11:57 -07:00
  • fb8039ac6d Support event ID formats for all room versions. Jimmy Cuadra 2019-06-03 11:52:15 -07:00
  • 6d9b3c7bf2 Add RoomVersionId. Jimmy Cuadra 2019-06-03 10:21:57 -07:00
  • 44de3bcb4d Move each type into its own module. Jimmy Cuadra 2019-06-03 08:57:56 -07:00
  • e3b453c468 Add rustfmt and clippy to CI and address clippy warnings. Jimmy Cuadra 2019-06-02 19:12:05 -07:00
  • 1f7ac74adb Add rustfmt and clippy to CI and address clippy warnings. Jimmy Cuadra 2019-06-02 18:57:28 -07:00
  • 16347d7209 Add rustfmt and clippy to CI and address clippy warnings. Jimmy Cuadra 2019-06-02 18:42:36 -07:00
  • 4a4c2dd025 Add rustfmt and clippy to CI and address clippy warnings. Jimmy Cuadra 2019-06-02 18:14:37 -07:00
  • 21c2288d51 Fix serialization error due to url not supporting serde 1.x. Jimmy Cuadra 2019-06-02 18:00:23 -07:00
  • 585d22a612 Run clippy on all targets and all features and fix clippy warning. Jimmy Cuadra 2019-06-02 17:37:46 -07:00
  • 66be8d1a98 Run clippy on all targets and all features. Jimmy Cuadra 2019-06-02 17:36:22 -07:00
  • 6a09f1f754 Add rustfmt and clippy to CI and address clippy warnings. Jimmy Cuadra 2019-06-02 17:35:26 -07:00
  • a52e0da7c1 Add clippy lints and add rustfmt and clippy to CI. Jimmy Cuadra 2019-06-02 13:16:54 -07:00
  • 8e38761ad5 Add clippy to CI. Jimmy Cuadra 2019-06-02 13:12:34 -07:00
  • 8699dc7708 Revise the error type to hide lower-level errors. Jimmy Cuadra 2019-06-02 10:47:10 -07:00
  • 5eac184768 Add crate documentation. Jimmy Cuadra 2019-06-02 10:31:35 -07:00
  • 15dd1b5b54 Add a session accessor to the client. Jimmy Cuadra 2019-06-02 09:49:56 -07:00
  • 71e1df7063 Add clippy lints. Jimmy Cuadra 2019-06-02 09:40:00 -07:00
  • 97b42c9d10 Run rustfmt. Jimmy Cuadra 2019-06-02 09:32:06 -07:00
  • 815c54f2b9 Make ClientData private. Jimmy Cuadra 2019-06-02 09:30:50 -07:00
  • 2e0376a8a4 Use stable Rust on Travis. Jimmy Cuadra 2019-06-02 09:14:55 -07:00
  • 2047c980ef Use stable Rust on Travis. Jimmy Cuadra 2019-06-02 09:14:15 -07:00
  • dc7d71c79c Use stable Rust on Travis. Jimmy Cuadra 2019-06-02 09:13:45 -07:00
  • 95aea3b401 Use stable Rust on Travis. Jimmy Cuadra 2019-06-02 09:13:24 -07:00
  • a92e71f873 Use stable Rust on Travis. Jimmy Cuadra 2019-06-02 09:12:50 -07:00
  • 68c446ca64 Use stable Rust on Travis. Jimmy Cuadra 2019-06-02 09:11:56 -07:00
  • 949249ea49 Use stable Rust on Travis. Jimmy Cuadra 2019-06-02 09:11:29 -07:00
  • 92fcb5181f Fix typos. Jimmy Cuadra 2019-06-02 04:13:08 -07:00
  • 7059bc4ff3 Add missing closing doc test marker. Jimmy Cuadra 2019-06-01 03:06:38 -07:00
  • 94c368d2e6 Correct description of homeserver discovery endpoint. Jimmy Cuadra 2019-05-08 09:06:22 +02:00
  • c3a5741f5e Make trait imports more readable (#18) GondwanaNuna 2019-05-03 09:42:25 -07:00
  • c9b7b986c6 Add logout all endpoint. Jimmy Cuadra 2019-05-01 21:23:50 -07:00