1729 Commits

Author SHA1 Message Date
Jonas Platte
542bef8c4a
Split the Error type in two 2020-02-07 01:04:23 +01:00
Jonas Platte
01dd745a06
Update login endpoint to r0.6.0 2020-01-28 20:36:39 +01:00
Andrii Radyk
ed2b92f98b add Error::source 2020-01-20 23:07:27 +01:00
Isaiah Inuwa
b4692ec2a2 Update changelog for room upgrade endpoint. 2020-01-18 14:56:35 -06:00
Isaiah Inuwa
8b752bba85 Add room upgrade endpoint. 2020-01-18 14:54:44 -06:00
Karlinde
505721bdad Add endpoints for push notifications 2020-01-14 21:58:28 +01:00
iinuwa
0314384c60 Add content reporting endpoint 2020-01-14 15:20:31 +01:00
Jonas Platte
4a37625ea9
Update change log 2020-01-13 23:26:10 +01:00
iinuwa
4bc52af69a Add missing 3PID endpoints 2020-01-13 23:22:09 +01:00
Jonas Platte
258fbf5a01
Use #[ruma_api(raw_body)] for r0::media::{get,create}_media 2020-01-13 20:20:17 +01:00
Jonas Platte
8a7e533fed
Update ruma_api! documentation 2020-01-13 20:13:08 +01:00
Jonas Platte
3b294baf07
Update change logs, bump versions 2020-01-13 20:04:15 +01:00
Jonas Platte
246de19790
Update get_presence to r0.6.0 2020-01-13 11:47:00 +01:00
iinuwa
097bd6a86c Add/update endpoints for requesting account management tokens 2020-01-09 12:45:28 +01:00
Jonas Platte
86aa04bc59
Implement #[ruma_api(raw_body)] 2020-01-06 23:27:31 +01:00
Jonas Platte
b6394a32b7
ruma_client_api: Simplify Response::init_fields 2020-01-06 12:20:48 +01:00
Karl Linderhed
4a0e0e8bfe Add get_username_availibility endpoint 2020-01-03 23:23:40 +01:00
Karl Linderhed
806eec754b Update changelog 2020-01-03 23:23:40 +01:00
iinuwa
3ec3a6e2f2 Add contributor guide 2020-01-03 16:04:32 +01:00
Karl Linderhed
a35f8a7f85 Add endpoint for getting supported login types 2020-01-03 14:02:07 +01:00
Karlinde
bc03dc6f2e Add endpoints for key management 2020-01-03 00:49:29 +01:00
Karlinde
c0e8e3a84c Add endpoint for getting server capabilities 2020-01-02 11:37:14 +01:00
Karlinde
b3a26c499a Add endpoint for setting read markers 2020-01-02 11:31:54 +01:00
stoically
3128351031
Rename event_type when deserializing custom events 2020-01-01 20:20:13 +01:00
Jonas Platte
61bdd1ba96
Reduce usage of ruma_events::collections::only
in the case of get_message_events this intentionally changes a type
2019-12-31 17:11:48 +01:00
Jonas Platte
26d7e2f04d
Limit events in sync_events::Presence to PresenceEvents 2019-12-31 17:09:15 +01:00
Jonas Platte
d2ae618822
Move things done after 0.5.0 to [unreleased] in change log 2019-12-31 00:53:00 +01:00
iinuwa
301d38c104 Refactor send and sync modules
This commit moves the message, member and state event endpoints from the
send and sync modules to make interaction with those events more
consistent with how other events are used, for example,
`r0::<event type>::<create, get, update, delete>_event`.
2019-12-26 15:44:45 +01:00
Isaiah Inuwa
f434c70e87 Update summary of room module.
Now that the `r0::room` module includes more endpoints than just
`create_room`, the doc string should reflect that.
2019-12-25 16:43:12 +01:00
Isaiah Inuwa
23611df0c2 Document removal of presence list endpoints. 2019-12-25 16:43:12 +01:00
iinuwa
0a31182e59 Add room event endpoint 2019-12-24 22:45:16 +01:00
Jonas Platte
aa9b3178d2
Merge pull request #57 from iinuwa/feature/devices-endpoint
Add devices endpoints
2019-12-24 21:58:04 +01:00
Isaiah Inuwa
16a8aa70d6 Use DeviceId identifier consistently. 2019-12-24 10:15:56 -05:00
Isaiah Inuwa
d025c3e26e Make style and naming convention for devices endpoint consistent. 2019-12-24 10:12:45 -05:00
Isaiah Inuwa
f58f4c073b Formatting fixes. 2019-12-24 00:20:59 -05:00
Isaiah Inuwa
f6bc55bd39 Use DeviceId instead of String. 2019-12-24 00:20:59 -05:00
Isaiah Inuwa
523e58a801 Add device endpoints. 2019-12-24 00:20:31 -05:00
Isaiah Inuwa
d749f7ebc1 Add delete_devices endpoint. 2019-12-23 22:46:42 -05:00
Isaiah Inuwa
f964dd3ede Remove presence lists.
Presence lists were removed in 0.5.0.
2019-12-21 22:41:51 +01:00
Jonas Platte
c7d7212b00
Clean up previous commit, update tests 2019-12-17 11:50:56 +01:00
Jonas Platte
dd16d0f2f0
Allow *all* m.room.power_levels fields to be absent 2019-12-16 21:10:55 +01:00
Jonas Platte
7d3cfd769e
ID deserialization: Borrow from the deserializer if possible
… by using Cow<'_, str> instead of String
2019-12-15 20:40:51 +01:00
Jonas Platte
2a0414cd60
Remove unnecessary explicit lifetimes 2019-12-15 20:39:03 +01:00
Jonas Platte
1a3f6ed0b6
Derive Serialize, Deserialize impls for some enums 2019-12-15 20:26:06 +01:00
Jonas Platte
98f85df276
Remove unnecessary explicit lifetimes 2019-12-15 20:23:57 +01:00
Jonas Platte
2754e14003
Update changelog 2019-12-15 19:33:41 +01:00
Jonas Platte
88fcdb6f9b
Update changelog, release 0.14.1 2019-12-14 18:19:30 +01:00
Jonas Platte
f21f4b4733
Replace .err().unwrap() with .unwrap_err() 2019-12-14 16:00:11 +01:00
Jonas Platte
874b32a53b
Update changelog 2019-12-14 15:59:05 +01:00
Jonas Platte
d19d9c054f
Support historical user IDs 2019-12-14 15:58:23 +01:00