1435 Commits

Author SHA1 Message Date
Jonas Platte
235e4509d3
events: Add impl From<AnyTimelineEvent> for AnySyncTimelineEvent 2022-09-01 18:11:00 +02:00
Emily Dietrich
9e3ac10c62
client: Mark futures returned by send_matrix_request as Send 2022-08-30 20:49:03 +02:00
Jonas Platte
5ccee2d1b0 Implement Default for IgnoredUserListEventContent 2022-08-25 19:08:24 +02:00
Jonas Platte
914e5c21e9
events: Rename Any[Sync]RoomEvent to Any[Sync]TimelineEvent 2022-08-24 17:43:42 +02:00
Jonas Platte
173eb15147
ruma: Re-export JsOption 2022-08-23 13:28:26 +02:00
Jonas Platte
661f6e60bd
client-api: Reorder fields and ctor parameters for account data endpoints 2022-08-18 18:43:47 +02:00
Jonas Platte
2b4ac40981 Skip serializing None value for room_type fields 2022-08-17 20:45:05 +02:00
Benjamin Kampmann
23a608788b
client-api: Add sliding-sync endpoint
Co-authored-by: Matthew Hodgson <matthew@matrix.org>
2022-08-17 16:16:02 +02:00
Jonas Platte
ccb6babe9e
client-api: Fix type of display_name field in update_device::Request 2022-08-17 13:24:12 +02:00
Jonas Platte
3ddbcd8152 client-api: Use a stronger type for send_state_event::Request::new 2022-08-16 12:50:24 +02:00
Jonas Platte
0bbaeee7cc
ruma: Adjust wording of name spelling note 2022-08-12 19:38:59 +02:00
Jonas Platte
7a54977d92
ruma: Add canonical-json to signatures feature dependencies 2022-08-12 18:03:33 +02:00
Jonas Platte
28f70467ca
macros: Document event type aliases 2022-08-04 13:35:24 +02:00
Kévin Commaille
4bd30eb7e5 common: Add suport for filtering public rooms by room type
According to MSC3827
2022-08-03 10:57:02 +02:00
Kévin Commaille
226502b9bc common: Move RoomNetwork serde in its own file 2022-08-03 10:57:02 +02:00
Jonas Platte
4db337b86a Consistently use dep: syntax for feature > package dependencies
This removes confusing implicit features from optional dependencies.
2022-08-01 15:46:20 +02:00
Jonas Platte
06b5422a30 appservice-api: Remove unused optional features 2022-08-01 15:46:20 +02:00
Jonas Platte
995a7799e8 ruma: Clean up cfg's
Feature dependencies are documented on docs.rs, so it should be clear
that foo-api implies foo-api-c and foo-api-s.
2022-08-01 15:46:20 +02:00
Kévin Commaille
90f9463c1a client-api: Use borrowed types in refresh_token::v3::Request 2022-07-30 17:03:02 +02:00
Kévin Commaille
8e2c4b5cb7 api: Make Clone a supertrait of OutgoingRequest
Allow to retry a request.
2022-07-30 17:02:38 +02:00
Kévin Commaille
04a32fe010 ci: Add unstable-msc2965 to CI features 2022-07-28 18:39:35 +02:00
Kévin Commaille
f5000cb52f client-api: Add support for API scope restriction
According to MSC2967
2022-07-28 18:39:35 +02:00
Kévin Commaille
e0bbf16c3c federation-api: Remove obsolete comment 2022-07-28 18:27:14 +02:00
Kévin Commaille
64203a3cba client: Remove leftover unstable prefixes
From v1.2 and v1.3
2022-07-28 18:27:14 +02:00
Jonas Platte
dbc1c40c5c
serde: Add Raw::from_json_string 2022-07-28 12:49:39 +02:00
Kévin Commaille
6f3d9fd327 events: Support m.html shortcut for MessageContent 2022-07-27 14:31:18 +02:00
Kévin Commaille
ed8990c3fd events: Allow to create custom MessageEventContents 2022-07-27 14:31:18 +02:00
Kévin Commaille
ca8c66c885 ruma: Expose unstable-msc2965 feature 2022-07-20 13:00:54 +02:00
Jonas Platte
2c2a48b665
Remove msrv from .clippy.toml
Clippy now respects the rust-version field in Cargo manifests:
https://github.com/rust-lang/rust-clippy/pull/8774
2022-07-19 21:41:15 +02:00
Jonas Platte
3e34cda48a
client-api: Add more docs to get_message_events::Requests constructors 2022-07-19 18:04:11 +02:00
Jonas Platte
c97f5507b9
client-api: Simplify message::get_message_events::v3::Requests constructors 2022-07-19 17:48:14 +02:00
Jonas Platte
909e80841f
macros: Ensure that crates using ruma_api macro have client and server features 2022-07-19 09:37:38 +02:00
Jonas Platte
b11f09030a
macros: Improve docs note on ruma_api macro 2022-07-19 09:35:47 +02:00
Jonas Platte
da5def6731
client-api: Update message::get_message_events::v3::Request's constructors 2022-07-18 19:04:37 +02:00
Jonas Platte
f4a8a66bde
client-api: Remove get_message_events::Request::new's from parameter 2022-07-18 18:50:28 +02:00
Kévin Commaille
7ec599e83d client-api: Add support for private read receipts
According to MSC2285
2022-07-18 11:18:55 +02:00
Kévin Commaille
635480796d common: Add support for private read receipts
According to MSC2285
2022-07-18 11:18:55 +02:00
Kévin Commaille
2f96fa5548 push: Add push rule to ignore room server ACLs
According to MSC3786
2022-07-16 19:09:15 +02:00
Kévin Commaille
c63f03912b push: Set feature flag per rule instead of per set.
Allows more flexibility when several feature flags change the same set.
2022-07-16 19:09:15 +02:00
Johannes Becker
d80e7c9c32
client-api: Make from optional for get_message_events::Request::new 2022-07-15 18:37:28 +02:00
Jonathan de Jong
8f8937b29e
identifiers: Add Into Box & Arc, and PartialEq Arc (#1235)
* Add Into Box & Arc, and PartialEq Arc

* change into to from

* Apply suggestions from code review

Co-authored-by: Jonas Platte <jplatte@element.io>

Co-authored-by: Jonas Platte <jplatte@element.io>
2022-07-12 10:44:02 +02:00
Doug
e2d0e4cf20 Add unstable prefix for m.authentication. 2022-07-11 12:01:27 +02:00
Kévin Commaille
eb567dac73 identifiers: Separate RoomId URI methods with and without via 2022-07-08 15:49:14 +02:00
Kévin Commaille
fcdb2286c3 events: Remove unnecessary refs 2022-07-08 13:34:19 +02:00
Kévin Commaille
06cd3a3a6c events: Allow clippy::needless_borrow to avoid false positives 2022-07-08 13:34:19 +02:00
Kévin Commaille
efc95da6fa events: Remove needless borrow 2022-07-08 13:34:19 +02:00
Kévin Commaille
a4e6081b41 events: Improve extensible events conversion helpers docs 2022-07-08 13:34:19 +02:00
Kévin Commaille
be2310294a events: Make extensible events conversion helpers private 2022-07-08 13:34:19 +02:00
Kévin Commaille
bda17c3662 events: Avoid unnecessary allocations during conversion 2022-07-08 13:34:19 +02:00
Kévin Commaille
2dacaf2ea0 identifiers: Allow via on RoomId::matrix_to_event_uri() 2022-06-29 14:54:37 +02:00