Jimmy Cuadra
4be050b19a
Convert m.tag and m.typing to the new API.
2019-07-19 14:35:21 -07:00
Jimmy Cuadra
1f3e33c77d
Convert m.dummy, m.forwarded_room_key, m.presence, m.room_key_request,
...
and m.sticker to the new API.
2019-07-19 14:33:40 -07:00
Jimmy Cuadra
ce2a3817cf
Rename ParseError to FromStrError and add InvalidEvent.
2019-06-19 22:45:20 -07:00
Jimmy Cuadra
1b0be0d0e7
Add crates.io categories. [ci skip]
2019-06-16 16:45:02 -07:00
Jimmy Cuadra
c3f48c5be3
Use js_int types for numbers.
...
Closes #27 .
2019-06-16 16:16:37 -07:00
Jimmy Cuadra
04cdc96b8b
Add m.push_rules.
2019-06-15 03:26:50 -07:00
Jimmy Cuadra
9b17d5729a
Use a consistent style for the name of the library.
2019-06-15 00:07:44 -07:00
Jimmy Cuadra
f4b7204f31
Derive PartialEq where possible.
2019-06-15 00:03:32 -07:00
Jimmy Cuadra
a0ee826828
Add E2EE events to EventType and collections types.
2019-06-14 23:12:18 -07:00
Jimmy Cuadra
a0a9799c81
Add events from the end-to-end encryption module.
2019-06-14 22:14:11 -07:00
Jimmy Cuadra
12212789b3
Future-proof enums with a __Nonexhaustive variant.
...
This can be replaced with the #[non_exhaustive] compiler attribute once
it's stabilized.
2019-06-14 18:18:47 -07:00
Jimmy Cuadra
add7ef0d8b
Add blank lines to make type definitions easier to read.
2019-06-14 14:02:03 -07:00
Jimmy Cuadra
8b6aeddcd6
Fix broken tests.
2019-06-13 17:48:52 -07:00
Jimmy Cuadra
7eb9384bd6
Add status_msg field to m.presence.
2019-06-13 17:44:49 -07:00
Jimmy Cuadra
c745db7eba
Fields in m.receipt are optional.
2019-06-13 17:34:03 -07:00
Jimmy Cuadra
dd2e0afd47
All fields on FileInfo, ImageInfo, and ThumbnailInfo are optional.
2019-06-13 17:32:09 -07:00
Jimmy Cuadra
110234827e
Add a note about m.room.member's invite_room_state data.
2019-06-13 17:06:42 -07:00
Jimmy Cuadra
7530342637
Adjust some default values.
2019-06-13 16:59:22 -07:00
Jimmy Cuadra
4661547e21
Add the m.server_notice* message type.
2019-06-13 01:50:13 -07:00
Jimmy Cuadra
668e8b2239
Add m.room.tombstone.
2019-06-13 01:34:05 -07:00
Jimmy Cuadra
9836222b73
Add m.room.server_acl.
2019-06-13 01:24:00 -07:00
Jimmy Cuadra
9ad9776033
Add m.sticker.
2019-06-13 00:59:14 -07:00
Jimmy Cuadra
0fdf51598f
Add m.ignored_user_list.
2019-06-13 00:43:54 -07:00
Jimmy Cuadra
f8e5a80c93
Rename mod.rs files.
2019-06-12 16:22:29 -07:00
Jimmy Cuadra
ba2538dda9
Update existing events for spec r0.5.0 and add m.fully_read and
...
m.room.message.feedback.
2019-06-12 16:20:10 -07:00
Jimmy Cuadra
9f43f37f41
Clarify the units of origin_server_ts.
2019-06-12 13:31:45 -07:00
Jimmy Cuadra
f9347bf57f
Bump dependencies.
2019-06-12 13:24:43 -07:00
Jimmy Cuadra
16347d7209
Add rustfmt and clippy to CI and address clippy warnings.
2019-06-02 18:42:36 -07:00
Jimmy Cuadra
dc7d71c79c
Use stable Rust on Travis.
2019-06-02 09:13:45 -07:00
Jimmy Cuadra
92fcb5181f
Fix typos.
2019-06-02 04:16:25 -07:00
Jimmy Cuadra
5930e30d96
Bump version to 0.12.0.
2019-04-11 17:59:07 -07:00
Jimmy Cuadra
b138ac47b2
Update dependencies.
2019-04-11 17:58:18 -07:00
Jimmy Cuadra
d0040fecdd
Add note about minimum Rust version.
2019-04-11 17:29:30 -07:00
Jimmy Cuadra
ae69e71620
Remove try_from feature.
2019-04-08 17:07:54 -07:00
Jonas Platte
407d6efc06
Merge pull request #25 from florianjacob/null-absent-empty
...
Properly handle CanonicalAliasEvent and NameEvent content being absent, null or empty
2019-02-11 14:07:06 +01:00
Florian Jacob
01156ad661
Properly handle CanonicalAliasEvent and NameEvent content being absent, null or empty,
...
which is allowed by the spec to show those events were deleted:
https://matrix.org/docs/spec/client_server/r0.4.0.html#m-room-canonical-alias
https://matrix.org/docs/spec/client_server/r0.4.0.html#m-room-canonical-alias
2019-02-11 13:50:07 +01:00
Jimmy Cuadra
f7aa8edd5f
Bump version to 0.11.1.
2019-02-06 16:09:22 -08:00
Jimmy Cuadra
df63ab3df9
Merge pull request #24 from ruma/serde-derive-feature
...
Replace serde_derive by re-exports in serde
2019-02-06 13:41:01 -08:00
Jonas Platte
7f18e1c32e
Replace serde_derive by re-exports in serde
2019-02-06 20:12:30 +01:00
Jimmy Cuadra
9d5449b219
Merge pull request #23 from ruma/rust-2018
...
Update to Rust 2018
2019-01-16 08:02:50 -08:00
Jonas Platte
1b2cd339cb
Update to Rust 2018
2019-01-16 00:13:10 +01:00
Jonas Platte
6f093f70ed
Use nested imports, misc. import changes
...
* Bring imports into a consistent order (std, crates, internal)
* Replace super::super-imports by crate-relative ones
2019-01-16 00:13:10 +01:00
Jimmy Cuadra
179a06040d
Merge pull request #22 from ruma/stripped-add-sender
...
StrippedStateContent: Add sender field
2019-01-09 14:51:05 -08:00
Jonas Platte
af5a8932e3
StrippedStateContent: Add sender field
2019-01-08 19:37:55 +01:00
Victor Berger
e9fc9b03fd
Make room_id optional
...
This field can be absent in some contextes, notably in the responses
to the /sync endpoint, where the events are summarised in the initial
sync of a client.
Fixes #19
2019-01-08 18:27:33 +01:00
Jimmy Cuadra
6240c25160
Bump version to 0.11.0.
2018-12-03 20:29:08 -08:00
Jimmy Cuadra
c222c03fb1
Update dependencies.
2018-12-03 20:27:38 -08:00
Jimmy Cuadra
0696334186
Merge pull request #18 from florianjacob/fix-presence-events
...
Apply upcoming spec change to m.presence event representation,
2018-12-03 20:21:31 -08:00
Florian Jacob
af3a14e3b4
Apply upcoming spec change to m.presence event representation,
...
making ruma-client more interoperable with synapse.
See https://github.com/matrix-org/matrix-doc/pull/1137 for the details
of the spec change.
Fixes https://github.com/ruma/ruma-client-api/issues/27
2018-09-01 12:22:30 +02:00
Jimmy Cuadra
eb46147942
Bump version to 0.10.0.
2018-05-19 00:12:28 -07:00