240 Commits

Author SHA1 Message Date
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
Jonas Platte
11eba71083 Remove remaining unused imports 2019-08-04 17:43:14 +02:00
Jonas Platte
90b850a60d Update dependencies (except ruma-events) 2019-08-03 19:43:09 +02:00
Jimmy Cuadra
e7e4d04244 Undo the change of storing FilterDefinition in a box.
On second thought, it doesn't make sense to change this just cause of a
clippy warning. We'll wait and see if it ever causes and real problems
before making the API less consistent just to avoid a potential space
saving issue.
2019-07-08 14:24:07 -07:00
Jimmy Cuadra
a16eb7cfe1 Use js_int types for numbers.
See https://github.com/ruma/ruma-events/issues/27 for rationale.
2019-06-16 16:32:56 -07:00
Jimmy Cuadra
4a4c2dd025 Add rustfmt and clippy to CI and address clippy warnings. 2019-06-02 18:14:37 -07:00
Jimmy Cuadra
21c2288d51 Fix serialization error due to url not supporting serde 1.x. 2019-06-02 18:00:23 -07:00
Jimmy Cuadra
94c368d2e6 Correct description of homeserver discovery endpoint. 2019-05-08 09:06:22 +02:00
Jimmy Cuadra
c9b7b986c6 Add logout all endpoint. 2019-05-01 21:23:50 -07:00
Jimmy Cuadra
3037b105c7 Add homeserver discovery endpoint. 2019-05-01 21:14:59 -07:00
Jimmy Cuadra
8f1d4a4d21 Update all spec links to the r0.4.0 version. 2019-05-01 20:46:57 -07:00
Jimmy Cuadra
f9e431b60a
Merge pull request #41 from ruma/simple-spec-updates
Implement some simple spec updates
2019-04-26 15:59:16 -07:00
Jonas Platte
af8fe42259 Update link in get_member_events doc comment
no code changes were necessary even though the spec was updated: we
already specified requires_authentication: true when the spec was
missing that information.
2019-04-22 22:33:37 +02:00
Jonas Platte
85236be89c Update get_filter endpoint to r0.4.0 2019-04-22 22:27:38 +02:00
Jonas Platte
4c3e5d3324 Update create_media_content to r0.4.0 2019-04-22 22:23:36 +02:00
Jonas Platte
7493353c5a Add missing request body to create_media_conent 2019-04-22 22:11:18 +02:00
Jonas Platte
27ec031689 Add /rooms/{roomId}/joined_members endpoint 2019-04-20 18:50:41 +02:00
Jonas Platte
e9febfedbc Add /account/whoami endpoint 2019-04-20 15:08:43 +02:00
Jimmy Cuadra
d5b6e7e322 Remove unused imports. 2019-04-11 18:22:09 -07:00
Jimmy Cuadra
87ae777549 Remove try_from feature. 2019-04-11 18:19:32 -07:00
Jonas Platte
af954220bd Replace serde_derive by re-exports in serde 2019-02-06 20:36:39 +01:00
Jonas Platte
71f6a93d76 r0::sync::sync_events: Fix (de)serialization of filter argument 2019-02-02 22:11:59 +01:00
Florian Jacob
14fbaf698f joined_rooms: new API call
that was added in r0.3.0
2019-01-23 20:22:05 +01:00
Alejandro Domínguez
d48fc54c96 Use folders instead of mods 2019-01-22 18:41:41 +01:00
Jonas Platte
bc968c8e14 Update to Rust 2018 2019-01-13 21:22:37 +01:00
Jonas Platte
f95b4b05bb Use nested imports 2019-01-13 21:13:18 +01:00
Jonas Platte
586bca680d Re-run 'cargo fmt' 2019-01-13 21:12:33 +01:00
Victor Berger
7a7697e9e2 InviteState in Sync response is stripped events 2019-01-08 18:34:40 +01:00
Jimmy Cuadra
9693c10328 Merge remote-tracking branch 'Johni0702/small-fixes' 2018-12-03 19:12:13 -08:00
Jonas Herzig
eb6f2518ef get_supported_versions does not require authentication 2018-09-11 14:13:58 +02:00
Jonas Herzig
ec8198964a get_state_events_for_key::Request::event_type should be of type EventType 2018-09-11 14:14:09 +02:00
Jonas Herzig
07e079bb8d get_subscribed_presences::Response::presence_events should be public 2018-09-11 14:13:58 +02:00
Jörg Sommer
58d06f82a2 Fix Rust's hint about proc_macro
The feature `proc_macro` has been stable since 1.29.0 and no longer
requires an attribute to enable
2018-08-31 14:09:45 +02:00
Jörg Sommer
7112b79859 Add hyper for new version of ruma-api 2018-08-31 14:09:38 +02:00