1145 Commits

Author SHA1 Message Date
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
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
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
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
ec74c2d798
Fix MSRV, update CHANGELOG.md 2019-12-12 22:25:35 +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
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
Jonas Platte
e2e0f8ad2b
Update deps, release 0.5.0-alpha.1 2019-12-03 12:06:31 +01:00
Jonas Platte
c455020802
Update r0::account::change_password to r0.6.0 2019-11-29 00:27:29 +01:00
Jonas Platte
e7db530782
Add Default impls, ignore_all ctors to filter types 2019-11-29 00:10:33 +01:00
Jonas Platte
e30c82d248
Update ruma-api, restore request receiving / response sending support 2019-11-28 22:03:17 +01:00
Jonas Platte
f7c6bd7d4e
Update deps, make alpha releases 2019-11-28 21:58:45 +01:00
Jonas Platte
81207890b6
Simplify ruma-api-macros codegen 2019-11-28 21:52:48 +01:00
Jonas Platte
3696516679
Fix support for tuple structs in Outgoing derive 2019-11-28 21:43:50 +01:00
Jonas Platte
9fa1305e65
Incorporate feedback by lu-fennell, Nauxuron 2019-11-27 19:28:54 +01:00
Jonas Platte
7d340942a0
Error when derive(Outgoing) is used on a type with generics 2019-11-27 19:28:54 +01:00
Jonas Platte
6f7eb126f6
Improve tests 2019-11-27 19:28:54 +01:00
Jonas Platte
d94e15e38c
Rename SendRecv to Outgoing 2019-11-27 19:28:54 +01:00
Jonas Platte
4c1d6b4b58
Add documentation for SendRecv 2019-11-27 19:28:54 +01:00
Jonas Platte
f558b55692
Add SendRecv trait + derive macro to allow receiving requests, sending responses 2019-11-27 19:28:54 +01:00
Jonas Platte
e383ae98ea
Revert "Remove server-side functionality"
This reverts commit 958a0a01c47c051eebf493234c314bc101609f63.
2019-11-27 19:28:54 +01:00
Jonas Platte
5729aa1344
Revert "Remove percent-encoding dependency (not currently used)"
This reverts commit 540a69a8e45ff117f0a1bb0272bbc40c526ed12e.
2019-11-27 19:28:53 +01:00
Jonas Platte
14fa10af6b
Update ruma-api-macros/README.md 2019-11-26 00:08:39 +01:00
Jonas Platte
02a9a6494d
Update ruma-api-macro's crate docs 2019-11-26 00:05:36 +01:00