1729 Commits

Author SHA1 Message Date
Jonas Platte
aa42378c3d
Use ruma_event! macro for CanonicalAliasEvent 2020-04-29 21:31:49 +02:00
Jonas Platte
1a00c1d386
Don't treat literal "null" as JSON
Reverts part of 7972453e9107d9439e90bf1661538c7b935c3ebb
2020-04-29 10:56:58 +02:00
Jonas Platte
a3787cf3b9
Update dependencies 2020-04-29 10:56:19 +02:00
Jonas Platte
a22335c6e7
Remove Cargo.toml left over from serde_urlencoded integration 2020-04-29 10:06:07 +02:00
Ragotzy.devin
7972453e91
urlencoded: (de)serialize nested structs as JSON 2020-04-29 09:58:30 +02:00
Jonas Platte
5a26c38764
Remove uses of deprecated UInt::min_value 2020-04-28 19:57:59 +02:00
Jonas Platte
1c3f8712fa
Make all fields in get_message_event response optional 2020-04-28 19:38:15 +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
Timo Kösters
263f2ffc75
Add get_public_rooms and get_server_keys endpoints 2020-04-26 16:22:08 +02:00
Isaiah Inuwa
762a65ec5e Update search endpoint to r0.6.0 2020-04-25 08:31:55 -05:00
timokoesters
1ca545cba8
Add methods to get version and public key of keypairs 2020-04-25 14:48:15 +02:00
iinuwa
210e3fd4a9
Make display_name of RoomMember optional 2020-04-25 09:30:20 +02:00
Jonas Platte
2e696a114b
Update example in CONTRIBUTING.md 2020-04-25 09:28:08 +02:00
Isaiah Inuwa
a761d59a4c Normalize serde_json imports 2020-04-24 20:45:39 -05:00
Jonas Platte
f4b9841590
Fix json escaping breaking login endpoint 2020-04-24 22:30:22 +02:00
Jonas Platte
f7d6cf9b3f
Replace travis CI with builds.sr.ht 2020-04-24 22:19:30 +02:00
Jonas Platte
c94eecac0c
Switch CI from travis to builds.sr.ht 2020-04-24 21:56:02 +02:00
Jonas Platte
a67ba7a729
Switch CI from travis to builds.sr.ht 2020-04-24 21:54:27 +02:00
Jonas Platte
053d2e94f6
Update CI config 2020-04-24 21:53:42 +02:00
Jonas Platte
bf5ac6314b
Switch CI from travis to builds.sr.ht 2020-04-24 21:45:11 +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
e24826cea5
Simplify CI scripts 2020-04-24 21:40:06 +02:00
Jonas Platte
0efac871bc
Remove the option to disable macro reexport 2020-04-24 21:33:15 +02:00
Jonas Platte
f1789032fd
Remove travis badge from readme 2020-04-24 21:29:57 +02:00
Jonas Platte
0c38d8aca5
Switch CI from travis to builds.sr.ht 2020-04-24 21:03:09 +02:00
Jonas Platte
d85191d511
Remove travis CI 2020-04-24 19:39:25 +02:00
Jonas Platte
3478f8653d
Fix MSRV in README.md, builds.sr.ht manifest 2020-04-24 19:20:01 +02:00
Jonas Platte
172e893573
Remove cargo audit to speed up CI 2020-04-24 18:51:00 +02:00
Jonas Platte
ac44889922
Add builds.sr.ht manifests 2020-04-24 18:49:49 +02:00
Jonas Platte
16acf7f753
CI updates 2020-04-24 18:43:49 +02:00
Jonas Platte
50218e27ab
Add sources to builds.sr.ht manifests 2020-04-24 18:38:37 +02:00
Jonas Platte
1eb5bffbc6
Add builds.sr.ht manifests 2020-04-24 18:29:28 +02:00
Jonas Platte
cb5f8ffc39
Don't use unstable rustfmt options 2020-04-24 12:32:25 +02:00
Jonas Platte
6fa05a1a6f
Update some imports 2020-04-24 12:29:44 +02:00
Jonas Platte
6770ed61c1
Update .gitignore 2020-04-24 12:28:17 +02:00
Jonas Platte
32d95057a6
cargo fmt 2020-04-24 12:17:59 +02:00
Isaiah Inuwa
6e990236c2
Add missing state response field to get_message_events 2020-04-24 12:10:59 +02:00
Jonas Platte
41288b7c73
Fix warnings 2020-04-24 10:11:35 +02:00
Jonas Platte
c6359d1916
Integrate serde_urlencoded fork 2020-04-24 10:09:19 +02:00
Jonas Platte
afb39536eb Add 'urlencoded/' from commit '93a7283991aa9c9b1087803c274953d3072c3dc0'
git-subtree-dir: urlencoded
git-subtree-mainline: 3e4cd7abd4fa3f87c7de3952a10c65928d93979d
git-subtree-split: 93a7283991aa9c9b1087803c274953d3072c3dc0
2020-04-24 09:43:01 +02:00
Devin R
93a7283991
Add support for matrix-style multiple query parameters
This adds support for query strings in which a sequence field of a
`Deserialize` / `Serialize` struct is (de)serialized as
`field=val1&field=val2&field=val3`, instead of the more common
`field[]=val1&field[]=val2&field[]=val3` syntax.
2020-04-24 09:32:37 +02:00
Isaiah Inuwa
aec59b86aa Add M_USER_DEACTIVATED to ErrorKind 2020-04-23 16:01:51 -05:00