Donough Liu
b03eb0261f
Add more tests for Algorithm and EventType
2020-03-10 22:36:40 +01:00
bors[bot]
e659355313
Merge #61
...
61: chore: Exclude unneeded files r=nox a=ignatenkobrain
Co-authored-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2020-03-10 08:35:20 +00:00
bors[bot]
820c8a0b84
Merge #67
...
67: replace typo in documentation r=nox a=mcginty
It caught me when I was reading it :).
Co-authored-by: Jake McGinty <me@jake.su>
2020-03-10 08:33:32 +00:00
Jake McGinty
12c95203e0
replace typo in documentation
2020-03-10 12:38:30 +09:00
Donough Liu
0ff395fe85
Move EventType and Algorithm outside
2020-03-10 05:52:28 +08:00
iinuwa
21f9922b9e
Update r0::context::get_context::Request and r0::filter::RoomEventFilter
...
* Add lazy-loading options to RoomEventFilter
* Use UInt instead of u8 for get_context limit
* Add filter option to get_context endpoint
* Add more tests
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2020-03-09 22:00:03 +01:00
poljar
f1bc5438b3
room/encrypted: Fix the OlmV1 deserialization
...
A m.room.encrypted event with the algorithm type
"m.olm.v1.curve25519-aes-sha2" will have multiple ciphertext values.
The documentation for the struct field even mentions that the
ciphertext is a map, yet it only expected one body and one message type.
This patch fixes the de-serialization and puts all the available
ciphertext values into a hashmap.
2020-03-09 11:33:08 +01:00
Donough Liu
c346b4f681
Emit error on non-UTF8 characters in path segments
2020-03-07 17:06:24 +01:00
Marcel
c81cc48aeb
Fix missing "m." in serialization of the "m.relates_to" key
2020-02-28 11:38:44 +01:00
iinuwa
8fb01a193e
Add SSO login endpoint
2020-02-26 15:11:32 +01:00
Jonas Platte
19bf8dbd77
Add trailing comma
2020-02-26 15:02:07 +01:00
iinuwa
d36ec95fb7
Export request and response fields as public
2020-02-26 07:39:41 -06:00
Isaiah Inuwa
4b05e7e361
Add request and response parameters for account deactiviation
2020-02-25 20:00:22 -06:00
iinuwa
e16049b5b3
Add invite-by-3pid endpoint
2020-02-22 23:14:10 +01:00
iinuwa
7d677f690e
Add unstable_features to version endpoint
2020-02-22 23:12:34 +01:00
Jonas Platte
9665abbaf2
Make accidentally private things public
2020-02-22 01:51:42 +01:00
Jonas Platte
4939078954
Fix missing #[ruma_api(body)]
2020-02-22 01:51:42 +01:00
Isaiah Inuwa
59bbef5a35
Remove deprecate account bind endpoint.
2020-02-22 01:28:12 +01:00
Jonas Platte
aca4915e8c
Add a login request serialization test
2020-02-22 01:27:46 +01:00
iinuwa
e5e89b8929
Use raw_body
for bytes payload in doc examples.
2020-02-21 06:53:07 -06:00
Jonas Platte
9d7ff18463
Remove collections::only::raw export
2020-02-21 12:18:21 +01:00
iinuwa
fc59bf4b55
Update create room endpoint
2020-02-21 01:15:17 +01:00
Isaiah Inuwa
ab7cb329a4
Update changelog with media endpoints.
2020-02-19 19:54:17 -06:00
Isaiah Inuwa
052b3a199d
Add media preview endpoint.
...
Fixes #39 .
2020-02-19 13:51:46 -06:00
Isaiah Inuwa
ed508c043e
Add missing media endpoints
...
Fixes #73 .
2020-02-19 13:51:23 -06:00
Isaiah Inuwa
bb52edf1e0
Add allow_remote parameter to content fetching endpoint.
...
Fixes #92 .
2020-02-19 12:55:22 -06:00
iinuwa
959e10fd15
Add client config retrieval endpoints
2020-02-19 11:00:12 +01:00
Jonas Platte
411c6e18b4
Update dependencies
2020-02-19 00:49:46 +01:00
Jonas Platte
1c23df55e4
Update ruma-events to 0.16.0
2020-02-19 00:46:16 +01:00
Jonas Platte
096b40c579
Bump version
2020-02-19 00:29:50 +01:00
Jonas Platte
dc45a39c44
Update dependencies
2020-02-19 00:29:25 +01:00
Jonas Platte
ac26770319
Add collection conversion functions
2020-02-18 23:53:54 +01:00
Jonas Platte
3a6d6140a3
Fix clippy warning
2020-02-18 23:32:06 +01:00
Jonas Platte
b4e985e08d
Update change log
2020-02-18 22:11:57 +01:00
Jonas Platte
78eae67fac
Make all room_id's in events (not event content) optional
2020-02-18 22:08:38 +01:00
Jonas Platte
8e9a6ffede
Update ruma-api to 0.14.0
2020-02-18 21:26:41 +01:00
Jonas Platte
557be94f3a
Bump versions
2020-02-18 21:17:18 +01:00
Jonas Platte
a10da82ec0
Fix typo
2020-02-18 21:11:08 +01:00
Jonas Platte
8e7325cdcc
Simplify request path deserialization by removing RequestPath struct
2020-02-18 21:05:21 +01:00
Jonas Platte
9e076858af
Update change logs
2020-02-18 21:02:33 +01:00
Jonas Platte
810bf56874
Add strum::ParseError variant to DeserializationError
2020-02-18 20:58:29 +01:00
Jonas Platte
a7ca7b1e8d
Remove redundant import
2020-02-18 20:51:10 +01:00
Isaiah Inuwa
fc0d8ee8e7
Add send-to-device endpoint
2020-02-18 19:19:10 +01:00
Jonas Platte
6d8a6e8b2e
Sort dependencies in Cargo.toml
2020-02-18 19:18:00 +01:00
iinuwa
0139ebc41a
Add OpenID request token endpoint
2020-02-18 19:15:32 +01:00
Jonas Platte
9861aa20c8
Fix path segments being parsed as JSON
2020-02-17 22:12:18 +01:00
Marcel
81fb260a46
Add support for historical uppercase user IDs
2020-02-17 09:31:46 +01:00
Jonas Platte
a63e73a32d
Update changelog
2020-02-17 01:12:28 +01:00
Jonas Platte
03555a3aed
Replace nth(0) with next()
2020-02-17 01:08:15 +01:00
timokoesters
dffe376aeb
feat: add MatrixError struct
2020-02-16 16:54:09 +01:00