1599 Commits

Author SHA1 Message Date
Jonas Platte
69aa77ca5f
Release ruma-common 0.10.0 2022-09-12 20:26:06 +02:00
Jonas Platte
5d516ca544
Release ruma-identifiers-validation 0.9.0 2022-09-12 20:22:17 +02:00
Jonas Platte
e468a45426
events: Add RoomMemberUnsigned with invite_room_state field 2022-09-12 18:33:46 +02:00
Jonas Platte
aa8e48d1c3
events: Allow customizing the unsigned type of state events 2022-09-12 13:10:10 +02:00
Jonas Platte
35d8bdd5a1
events: Move StateUnsigned::_from_parts into a trait 2022-09-12 12:03:29 +02:00
Jonas Platte
9b5b5e7797
events: Remove unused function 2022-09-12 11:51:02 +02:00
Jonas Platte
674137c41d
events: Use CanBeEmpty trait for skipping unsigned serialization 2022-09-12 11:44:05 +02:00
Jonas Platte
24d0b2e2bb
events: Implement content sub-traits for event content enums 2022-09-06 18:35:43 +02:00
Kévin Commaille
35b766f09b events: Add paragraph about replies to edited events. 2022-09-05 13:56:33 +02:00
Jonas Platte
7957dd6adf
events: Replace generic "alias" trait implementations by individual ones
… so that rustdoc lists types implementing them properly.
2022-09-05 11:16:30 +02:00
Jonas Platte
2579544883
events: Expand trait_aliases! macro 2022-09-05 10:35:09 +02:00
Kévin Commaille
6393433882 events: Fix glob definition in PolicyRuleEventContent 2022-09-04 14:43:29 +02:00
Jonas Platte
c745d3baf7
Fix clippy lint 2022-09-02 14:07:28 +02:00
Jonas Platte
1aff2d0764
events: Derive Default for DirectEventContent 2022-09-02 13:37:33 +02:00
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