173 Commits

Author SHA1 Message Date
Jonas Platte
1e88e3f90c
Remove redundant import 2020-02-08 21:28:27 +01:00
Jonas Platte
01dd745a06
Update login endpoint to r0.6.0 2020-01-28 20:36:39 +01: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
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
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
Karl Linderhed
4a0e0e8bfe Add get_username_availibility endpoint 2020-01-03 23:23:40 +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
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
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
iinuwa
0a31182e59 Add room event endpoint 2019-12-24 22:45:16 +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
ec74c2d798
Fix MSRV, update CHANGELOG.md 2019-12-12 22:25:35 +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
Aaron DeVore
6e665efd1c Add contains_url to RoomEventFilter (r0.3.0 compatibility) 2019-11-24 23:52:25 +01:00
Wim de With
2ae14de8e5 Add application service extension
The application service specification defines a single extension for the
client-server API. This endpoint can only be used by application
services.
2019-11-24 16:41:41 +01:00
Aaron DeVore
886715b886 Add filter optional query param to /messages (r0.3.0 compatibility) 2019-11-23 12:03:55 +01:00
Jonas Platte
44387425ba
Bump MSRV 2019-11-22 11:08:29 +01:00
Wim de With
5a84d9ba26 Add third party network endpoints 2019-11-21 14:26:41 +01:00
Wim de With
48dcfe9315 Add user directory endpoints 2019-11-14 13:42:22 +01:00
Jonas Platte
d140eff324
Fix wrong parameter type in get_message_events 2019-11-11 22:55:37 +01:00
Jonas Platte
6026d960ce
Update get_content_thumbnail to r0.6.0 2019-11-11 21:11:07 +01:00
Jonas Platte
122aeccf96
Fix ruma_api attributes in r0::directory::* 2019-11-11 21:09:30 +01:00
Jonas Platte
4e319ae27e
Compact more serde attributes 2019-11-11 20:30:25 +01:00
Jonas Platte
71fc531897
Compact serde attributes 2019-11-11 20:22:54 +01:00
Jonas Platte
776ef79253
Rewrite r0.6.0 back to form without ending
since the server redirects to that form, even though some links refer to the .html form
2019-11-11 20:22:05 +01:00
Jonas Platte
2748142f41
Update doc comment URLs
* create_alias: No changes, bump to r0.6.0
* get_public_rooms_filtered: Use canonical URL
2019-11-11 20:13:09 +01:00
Jonas Platte
c56469eba5
Update public room list endpoints to r0.6.0 2019-11-11 19:54:24 +01:00
Jonas Platte
6ae72856d7 Remove #![deny(warnings)], #![warn(clippy::…)] 2019-10-31 22:38:01 +01:00
Jonas Platte
ad582de058 Allow clippy warning use_self 2019-10-29 20:49:09 +01:00
Jonas Platte
134738f676 Remove stuff only needed for server-side usage 2019-10-17 00:41:18 +02:00
Jonas Platte
98e0bad1b1 Update to the new ruma-events API 2019-08-15 23:25:01 +02:00
Jonas Platte
05f181d9f1 Make serde_json::Value usage consistent 2019-08-09 00:36:56 +02:00
Jonas Platte
6a5af6bf8b Make inclusion lists in event filters optional
to be able to distinguish between no inclusion list (everything is
included) and an empty inclusion list (nothing is included)
2019-08-05 20:55:38 +02:00