Jonas Platte
c5689f3da5
Replace HashMap with BTreeMap
2020-04-19 16:48:20 +02:00
Jonas Platte
6452401add
Add missing skip_serializing_if = "Option::is_none
2020-04-18 00:27:29 +02:00
Jonas Platte
6ff7d3710b
Replace serde module with ruma-serde, update deps
2020-04-17 23:54:13 +02:00
timokoesters
23dbea1f56
Make join_room_by_id_or_alias deserialization work
2020-04-17 12:14:51 +02:00
Jonas Platte
5ac26cc641
Fix redundant clone
2020-04-16 01:28:35 +02:00
Jonas Platte
adfb5c82fa
Fix unreadable literals
2020-04-16 01:26:34 +02:00
Jonas Platte
6ddb9eca8b
Add serde::opt_ms_since_unix_epoch, use it in device::Device
2020-04-16 00:28:09 +02:00
Jonas Platte
207b77b53d
Update most timestampts to SystemTime
2020-04-16 00:19:11 +02:00
Jonas Platte
206530e10d
Update change log
2020-04-15 23:29:03 +02:00
Jonas Platte
befc55e43a
Update get_contact endpoint to r0.6.0
2020-04-15 23:28:35 +02:00
Jonas Platte
214d6521ef
Update tests for serde::duration
2020-04-15 23:19:00 +02:00
Jonas Platte
c35d38c95f
Fix minor style inconsistencies in serde::duration
2020-04-15 23:12:17 +02:00
Ragotzy.devin
9b5b906868
sync_events/get_message_events: ser/de filters to string
2020-04-14 13:44:16 +02:00
Jonas Platte
d94279efaf
Update README.md again
2020-04-10 17:08:03 +02:00
Jonas Platte
e310c39f15
Update README.md
2020-04-10 00:04:31 +02:00
iinuwa
bcc06ddd49
Update public rooms endpoint
2020-04-08 23:49:59 +02:00
Isaiah Inuwa
aeb4e237b7
Clarify whether password is optional in registration endpoint.
2020-04-07 11:19:20 +02:00
Isaiah Inuwa
9198a549e7
Add structs for User-Interactive Authentication API.
2020-04-07 11:19:20 +02:00
Isaiah Inuwa
ff8427cb93
Add auth_parameters field to AuthenticationData.
2020-04-07 11:19:20 +02:00
Isaiah Inuwa
abcc8ec1d2
Update register endpoint to r0.6.0
2020-04-07 11:19:20 +02:00
iinuwa
dc582758e4
Add server_name parameter to join_room_by_id_or_alias
2020-04-06 17:28:55 +02:00
Jonas Platte
fe92c2940a
Update change log, bump version
2020-04-06 12:35:38 +02:00
timokoesters
d6e4bd9ddc
Fix create_room and sync_events deserialization
2020-04-06 12:23:17 +02:00
Jonas Platte
6fba4a5617
CI: Disable IRC notifications
2020-04-03 19:12:14 +02:00
Jonas Platte
041b737ca3
Bump version
2020-04-03 19:11:57 +02:00
Jonas Platte
4782739b0f
Update change log
2020-04-03 18:38:51 +02:00
Jonas Platte
abc5b5d446
Merge serde attributes
2020-04-03 18:38:16 +02:00
Jonas Platte
cf40608b78
Add missing attribute to timeout field
...
… in sync_events' Request type, plus a regression test
2020-04-03 18:37:25 +02:00
Jonas Platte
0c44e73a78
Bump js_int, add regression test
...
The version bump fixes an issue where `UInt`s or `Duration`s in the
query string would fail
to deserialize
2020-04-03 18:22:52 +02:00
Jonas Platte
9db26e1dda
Update CHANGELOG.md
2020-04-03 14:02:12 +02:00
poljar
3dfb500bba
sync_events: Fix RoomSummary serde attributes
...
* Create an empty heroes vector if the response doesn't contain it.
The heroes map is strictly optional and as is deserialization might fail
for the whole response unless we allow it to be optional.
* Rename the room summary fields during (de)serialization.
2020-04-03 14:01:12 +02:00
Jonas Platte
09ac2404de
Add a test for sync_events::Request serialization
2020-04-03 11:56:49 +02:00
Jonas Platte
ea9b752da9
Reorder sections in change log
2020-03-29 19:44:14 +02:00
Jonas Platte
e2ba8f2d4a
Bump version
2020-03-29 19:28:57 +02:00
Jonas Platte
472ab64a86
Update dependencies
2020-03-29 19:28:28 +02:00
Isaiah Inuwa
67257e15e8
Remove stray TODO comment
2020-03-29 18:58:31 +02:00
Jonas Platte
78744a3a98
Further refine the sync endpoint's types
2020-03-29 18:55:24 +02:00
Isaiah Inuwa
e607587a67
Format code
2020-03-29 18:51:44 +02:00
Isaiah Inuwa
2cced78edf
Update sync endpoint
2020-03-29 18:51:44 +02:00
Akshay
57f5e8d661
Add missing query parameters to members list endpoint
2020-03-27 16:40:40 +01:00
Akshay
ea94bab93e
Remove outdated comment
2020-03-27 15:24:04 +01:00
Ragotzy.devin
1e3769a0f1
impl EndpointError for Error
...
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
2020-03-22 03:08:08 +01:00
iinuwa
122097cfef
Use Duration over UInt for timeouts and similar fields
2020-03-20 11:29:51 +01:00
Damir Jelić
7307c695e0
sync_events: Parse the to-device events.
2020-03-13 16:53:02 +01:00
Jonas Platte
e7526b88cb
Update ruma-events to 0.17.0
2020-03-12 21:38:51 +01: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
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