393 Commits

Author SHA1 Message Date
Jonas Platte
c00a8cc52e
Update serde attr, add comment 2020-04-30 18:19:35 +02:00
Jonas Platte
0d305d8f24
Update ruma_serde to 0.1.2 2020-04-30 18:07:20 +02:00
Jonas Platte
fd5527da78
Reorder derives (std first) 2020-04-29 22:22:42 +02:00
Jonas Platte
c68df54eef
Simplify impl Deserialize for room::message::MessageEventContent 2020-04-29 22:20:22 +02:00
Jonas Platte
bd22c9d85c
Derive Serialize for types in room::message 2020-04-29 22:03:17 +02:00
Jonas Platte
8944b23a39
Derive Serialize for types in room::encrypted 2020-04-29 21:51:52 +02:00
Jonas Platte
a5603aa949
Derive Serialize for types in key::verification::start 2020-04-29 21:45:55 +02:00
Jonas Platte
146d2715a4
Derive Serialize for types in push_rules 2020-04-29 21:36:05 +02:00
Jonas Platte
aa42378c3d
Use ruma_event! macro for CanonicalAliasEvent 2020-04-29 21:31:49 +02:00
Jonas Platte
9fe1b3f190
Update js_int, serde_json 2020-04-28 14:43:02 +02:00
Jonas Platte
037a4faa6e
Merge serde attributes 2020-04-28 00:30:23 +02:00
Jonas Platte
d837384e58
Make UnsignedData's fields public 2020-04-28 00:30:18 +02:00
Jonas Platte
f783ea6167
Fix unsigned field deserialization 2020-04-28 00:30:05 +02:00
Jonas Platte
ed9888181c
Update change log 2020-04-28 00:08:13 +02:00
Jonas Platte
55340d18c8
Add struct UnsignedData and update unsigned fields to use it 2020-04-28 00:03:48 +02:00
Jonas Platte
66cecdac6b
Move error types into a dedicated error module 2020-04-27 22:57:59 +02:00
Jonas Platte
6c806052f5
Move custom events, Empty struct into their own modules 2020-04-27 20:45:58 +02:00
Jonas Platte
e93c25c7ff
Fix CI scripts 2020-04-24 21:43:13 +02:00
Jonas Platte
a9e3e676fe
Switch CI from travis to builds.sr.ht 2020-04-24 21:41:52 +02:00
Jonas Platte
e23a2d7662
Bump versions 2020-04-22 21:27:41 +02:00
Jonas Platte
eb3a3e2163
Replace EventResult with EventJson, simplify InvalidEvent 2020-04-22 21:24:39 +02:00
poljar
df05e88793
room-messages: Add the ability to send encrypted room messages 2020-04-22 21:23:41 +02:00
Jonas Platte
b7be79c5b4
Fix typo in change log 2020-04-22 12:26:15 +02:00
Jonas Platte
03b7d7e190
Update std::fmt import 2020-04-22 01:44:51 +02:00
Jonas Platte
d30e035d41
Change some lint attributes from deny to warn 2020-04-22 01:20:47 +02:00
Jonas Platte
4a7513eeb5
Update ruma-identifiers, bump version 2020-04-20 17:11:34 +02:00
Jonas Platte
ab92533e7e
Bump versions 2020-04-19 23:15:08 +02:00
Jonas Platte
130c444a9f
Fixup for HashMap to BTreeMap conversion 2020-04-19 23:14:50 +02:00
Jonas Platte
0b362be311
Update change log 2020-04-19 22:18:08 +02:00
Jonas Platte
ba9b9c89e8
Bump version to 0.19.0-rc.2 2020-04-19 20:00:36 +02:00
Jonas Platte
2480bb292a
Replace HashMap with BTreeMap 2020-04-19 17:46:36 +02:00
Jonas Platte
013decf401
Update formatting of lib.rs 2020-04-19 00:23:07 +02:00
Jonas Platte
eaf26fdb0b
Bump versions, update change log 2020-04-17 23:28:02 +02:00
Jonas Platte
c82605c485
Update macro dependencies 2020-04-17 23:27:24 +02:00
Jonas Platte
dc0a9f88ba
Change timestamp types from UInt to SystemTime 2020-04-17 22:43:30 +02:00
Jonas Platte
5768737cbe
Remove needless clone 2020-04-17 22:43:14 +02:00
Jonas Platte
18d84a99cf
Update dependencies 2020-04-17 19:51:41 +02:00
Jonas Platte
5623e71e9b
Fix a typo 2020-04-17 11:57:18 +02:00
Jonas Platte
7709ce96d9
Update README.md 2020-04-10 14:04:45 +02:00
PipsqueakH
a9e1a2b0b0
Replace all remaining manual implementations by derives 2020-04-05 19:37:04 +02:00
Jonas Platte
d9909a1f8b
CI: Disable IRC notifications 2020-04-03 19:13:13 +02:00
Akshay
8915339e56
Rewrite tests to use serde_json::json! instead of raw strings 2020-03-31 16:07:09 +02:00
Jonas Platte
8effddb5ec
Bump versions 2020-03-29 17:07:56 +02:00
Jonas Platte
23655d9cad
Bump dependencies 2020-03-29 17:07:04 +02:00
Jonas Platte
fc7c34c00d
Update change log 2020-03-29 16:59:51 +02:00
Jonas Platte
cba7b161e9
Update unsigned field's type from Option<Value> to Map<String, Value>
* it's guaranteed to always be an object
* `Option` isn't needed because the distinction empty object / missing
  field is not of interest
2020-03-29 15:37:57 +02:00
Jonas Platte
53f76992e5
Update change logs 2020-03-29 14:25:44 +02:00
Akshay
f09ab98f17
Remove manual Serialize impl, use derive macro instead 2020-03-29 13:41:42 +02:00
Ragotzy.devin
8ea971b082
Derive Serialize in ruma_events!, use json EventType string for event_type field
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2020-03-24 14:25:50 +01:00
Ragotzy.devin
14df832005
Remove special handling of custom events 2020-03-24 11:31:47 +01:00