4922 Commits

Author SHA1 Message Date
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
8dfe42e846
Fix client impl bounds 2019-12-16 21:56:05 +01:00
Jonas Platte
19219dea6b
Update dependencies 2019-12-16 21:11:31 +01:00
Jonas Platte
dd16d0f2f0
Allow *all* m.room.power_levels fields to be absent 2019-12-16 21:10:55 +01:00
Dimitris Apostolou
4a221a3bfb
Fix typos 2019-12-15 22:41:42 +02: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
Jonas Platte
370c56ef31
Use quote::format_ident! 2019-12-13 20:42:20 +01:00
Jonas Platte
af7333203a
Use quote::format_ident! 2019-12-13 20:30:12 +01:00
Jonas Platte
69a8f35dbe
Update change log 2019-12-13 12:13:12 +01:00
Jonas Platte
9063f4c526
Update change logs 2019-12-13 12:08:35 +01:00
Jonas Platte
c0390aba0d
Remove useless Result, native_tls dependency 2019-12-13 00:00:09 +01:00
Jonas Platte
5e2f965058
Fix doctests 2019-12-12 23:59:48 +01:00
Jonas Platte
ec74c2d798
Fix MSRV, update CHANGELOG.md 2019-12-12 22:25:35 +01:00
Jonas Platte
7208e66dff
Update dependencies, release 0.3.0-beta.2 2019-12-12 21:18:40 +01:00
Jonas Platte
83493de30c
Update ruma-api to 0.12.0, release 0.5.0 2019-12-12 21:17:12 +01:00
Jonas Platte
08a3d820be
Release ruma-api-macros 0.9.0, ruma-api 0.12.0 2019-12-12 20:48:40 +01:00
Jonas Platte
32733cf782
Further simplify deserialization 2019-12-10 22:42:46 +01:00
Jonas Platte
d120f77635
Simplify deserialization 2019-12-10 11:54:09 +01:00
Jonas Platte
11841f91b8
Remove regex, once_cell deps 2019-12-10 11:41:30 +01:00
Jonas Platte
7fa1407d76
Update set of allowed characters in UserId localpart 2019-12-09 17:43:15 +01:00
Jonas Platte
d68c59974d
Bump MSRV 2019-12-03 22:11:17 +01:00
Jonas Platte
fcd1b204eb
Update dependencies 2019-12-03 21:40:37 +01:00
Jonas Platte
9e097539e4
Remove outdated conditionals from .travis.yml 2019-12-03 20:47:38 +01:00
Jonas Platte
634eb5f13e
Update http to 0.2.0 2019-12-03 12:14:43 +01:00
Jonas Platte
e8462be7f2
Use exact version requirement for ruma-api-macros dependency 2019-12-03 12:09:00 +01:00