27 Commits

Author SHA1 Message Date
Jonas Platte
49e4d35db7
Adopt matrix-doc iv description clarification
See https://github.com/matrix-org/matrix-doc/pull/2492
2020-06-09 14:08:49 +02:00
Jonas Platte
74f680f8ed
Add back all commented-out room events 2020-06-07 01:18:42 +02:00
Jonas Platte
5091b9a9a8
Integrate generic event types and EventContent trait with TryFromRaw 2020-06-07 01:11:15 +02:00
Ragotzy.devin
3d01bfa96d
Remove Event, RoomEvent and StateEvent traits 2020-06-07 01:02:49 +02:00
Jonas Platte
3f74ba3270 Box optional sub-structs in avatar and message events
… to heavily decrease the size of some types.
Most importantly: MessageEventContent goes from 640 to 104 bytes in size
2020-06-04 17:48:52 +02:00
Jonas Platte
ca5c65ef10
Revise trait implementations 2020-05-02 14:15:13 +02:00
Jonas Platte
f758a93d70
Update serde attrs in room 2020-05-01 12:38:48 +02:00
Jonas Platte
fd5527da78
Reorder derives (std first) 2020-04-29 22:22:42 +02:00
Jonas Platte
2480bb292a
Replace HashMap with BTreeMap 2020-04-19 17:46:36 +02:00
Jimmy Cuadra
d5b38354d0 Convert m.room.member to the new API. Remove dependency on
ruma-signatures.
2019-07-19 14:58:07 -07:00
Jimmy Cuadra
3e58ad7a8f Convert m.room.message to the new API. 2019-07-19 14:52:49 -07:00
Jimmy Cuadra
21351aaff0 Convert m.room.encrypted to the new API. 2019-07-19 14:52:30 -07:00
Jimmy Cuadra
0f49c5e7f6 Convert m.room.create to the new API. 2019-07-19 14:52:05 -07:00
Jimmy Cuadra
5b505cc501 Convert m.room.canonical_alias to the new API. Reorder additional fields
alphabetically. Remove unused serde attributes.
2019-07-19 14:49:05 -07:00
Jimmy Cuadra
cc107106f0 Continue implementation of m.room.power_levels and add tests. 2019-07-19 14:47:01 -07:00
Jimmy Cuadra
03099b9a8b Add InvalidInput type and convert m.room.name to the new API. 2019-07-19 14:43:24 -07:00
Jimmy Cuadra
afe44b4dda Convert m.room.server_acl to the new API. 2019-07-19 14:42:57 -07:00
Jimmy Cuadra
4212c9f619 Convert m.room.{aliases ,avatar ,encryption ,guest_access,
history_visibility, join_rules, member, pinned_events,
third_party_invite, tombstone, topic} to the new API.
2019-07-19 14:40:48 -07:00
Jimmy Cuadra
22c15277a7 Convert m.call.*, m.room.message.feedback, and m.room.redaction to the new
API.
2019-07-19 14:39:31 -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
c3f48c5be3 Use js_int types for numbers.
Closes #27.
2019-06-16 16:16:37 -07:00
Jimmy Cuadra
a0a9799c81 Add events from the end-to-end encryption module. 2019-06-14 22:14:11 -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
dd2e0afd47 All fields on FileInfo, ImageInfo, and ThumbnailInfo are optional. 2019-06-13 17:32:09 -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
f8e5a80c93 Rename mod.rs files. 2019-06-12 16:22:29 -07:00