1522 Commits

Author SHA1 Message Date
Kévin Commaille
f9958ae2e3 client-api: Add support for read receipts for threads
According to MSC3771
2022-10-10 20:49:04 +02:00
Kévin Commaille
d3bd86a23e events: Add support for read receipts for threads
According to MSC3771
2022-10-10 20:49:04 +02:00
Kévin Commaille
e6e7e52034 client-api: Send CORP headers by default for media responses
According to MSC3828.
2022-10-10 19:09:39 +02:00
Kévin Commaille
739c35aaca api: Allow to use any HeaderName with the header keyword of ruma_api 2022-10-10 19:09:39 +02:00
Kévin Commaille
b57338c1cf client-api: Add support for notifications for threads
According to MSC 3773
2022-10-10 18:39:55 +02:00
Kévin Commaille
4debc88263 events: Remove unstable-msc2676 cargo feature 2022-10-10 18:23:03 +02:00
Kévin Commaille
99ae790446 events: Remove redundant tests
There are similar tests in the relations module
2022-10-10 18:23:03 +02:00
Kévin Commaille
4e2dac30be events: Stabilize support for event replacements 2022-10-10 18:23:03 +02:00
Kévin Commaille
b695dee787 client-api: Add support for dir parameter to /relations
According to MSC3715
2022-10-10 18:04:04 +02:00
Kévin Commaille
e2e123dd89 client-api: Move Direction to the root of the crate 2022-10-10 18:04:04 +02:00
Kévin Commaille
994136b9b8 events: Add thread-aware methods to RoomMessageEventContent 2022-10-10 17:55:08 +02:00
Kévin Commaille
003f0abebf events: Stabilize current support for threads 2022-10-10 17:55:08 +02:00
Kévin Commaille
279c9d0fa6 state-res: Allow invite->knock membership transition
According to spec clarification
2022-10-10 17:29:08 +02:00
Kévin Commaille
2bdbf49535 chore: Fix new clippy warnings 2022-10-10 17:20:58 +02:00
Nyaaori
68eecf71af state-res: Fix third party invite validation 2022-10-10 17:20:58 +02:00
Jonas Platte
86b58cafb8
Remove workaround for trybuild bug that has been fixed 2022-10-07 10:49:55 +02:00
Kévin Commaille
d55573a555 api: Remove AuthScheme::QueryOnlyAccessToken
It is no longer used by the Appservice API.
2022-10-02 15:08:31 +02:00
Kévin Commaille
19a388a923 appservice-api: Add support for using the Authorization header
According to MSC2832
2022-10-02 15:08:31 +02:00
Kévin Commaille
a7e10770fa client-api: Remove direct association between transaction ID and access token 2022-10-02 13:29:30 +02:00
Kévin Commaille
c7caf65f65 events: Remove ToDevice kind on RoomEncryptedEventContent
There is ToDeviceRoomEncryptedEventContent.
2022-10-01 12:12:26 +02:00
Kévin Commaille
c141b7deb5 events: Stabilize support for private read receipts 2022-10-01 11:21:18 +02:00
Kévin Commaille
489820303e client-api: Stabilize support for private read receipts 2022-10-01 11:21:18 +02:00
Kévin Commaille
f068c3fb5a directory: Stabilize room_types and room_type for /publicRooms 2022-10-01 11:12:13 +02:00
Kévin Commaille
fa64b36c11 client-api: Add support for the threads list API
According to MSC3856
2022-09-30 21:17:20 +02:00
Kévin Commaille
5b25f2f223 push-rule: Stabilize default room server ACL push rule 2022-09-30 19:42:06 +02:00
Kévin Commaille
a091faa7d2 client-api: Remove thread event filters
According to MSC3856
2022-09-30 17:27:28 +02:00
Kévin Commaille
ef2afd9f6e api: Add support for Matrix v1.4 2022-09-30 17:18:08 +02:00
Jonas Platte
715c226975 api: Make select_path and make_endpoint_url methods on Metadata
… and remove #[doc(hidden)] attribute.
2022-09-29 15:49:39 +02:00
Jonas Platte
0b12d200eb api: Add tests for make_endpoint_url 2022-09-29 15:49:39 +02:00
Jonas Platte
8290d712f2 api: Move the majority of endpoint URL building out of macro code 2022-09-29 15:49:39 +02:00
Jonas Platte
a6e23d731e api: Slighty reduce the amount of macro-generated code
By moving format(_args)! usage into a regular fn and calling that from
the proc-macro-generated code.
2022-09-29 15:49:39 +02:00
gnieto
a4a14aa9dc
client-api: Add M_BAD_ALIAS to ErrorKind 2022-09-29 14:37:30 +02:00
Jonas Platte
2dbaf19ded
macros: Refactor ResponseField 2022-09-26 16:03:05 +02:00
Jonas Platte
a59a648d04
macros: Refactor RequestField 2022-09-26 15:48:45 +02:00
Jonas Platte
82dd050277
Update trybuild stderr file 2022-09-24 15:35:19 +02:00
Jonas Platte
ac707e30f0
events: Move ignored_users serde code into ignored_user_list module
… and optimize it.
2022-09-24 11:34:55 +02:00
Jonas Platte
289821aa07
client-api: Remove DeviceLists re-export 2022-09-22 13:21:55 +02:00
Jonas Platte
028eb8a457
events: Remove deprecated API 2022-09-22 11:50:22 +02:00
Jonas Platte
a11c27e7e1
state-res: Update docs 2022-09-22 11:49:17 +02:00
Jonas Platte
97387f36c1
macros: Fix outdated documentation 2022-09-22 11:47:32 +02:00
Jonas Platte
06bc576571
events: Simplify serialize_and_deserialize_from_display_form test
We don't need to test every single event type.
2022-09-22 11:42:49 +02:00
Jonas Platte
c42e150cd6
Merge branch 'ruma-0.7' 2022-09-21 18:37:17 +02:00
Jonas Platte
cee3d2fd0a
Release ruma 0.7.4 2022-09-21 18:36:23 +02:00
Jonas Platte
8f2aca8859
Release ruma-client-api 0.15.1 2022-09-21 18:20:49 +02:00
Benjamin Kampmann
c7975dbea7
client-api: Update sliding sync to latest 2022-09-21 18:19:52 +02:00
Jonas Platte
8fef63ed52
ruma: Glob-reexport ruma-common
Previously this would result in rustdoc showing two `api` modules, but
that is now fixed: https://github.com/rust-lang/rust/issues/83375
2022-09-21 18:19:26 +02:00
Benjamin Kampmann
efc5e61021
client-api: Update sliding sync to latest 2022-09-21 18:11:32 +02:00
Jonas Platte
b715911189
ruma: Glob-reexport ruma-common
Previously this would result in rustdoc showing two `api` modules, but
that is now fixed: https://github.com/rust-lang/rust/issues/83375
2022-09-21 17:28:36 +02:00
Jonas Platte
4fb051ba0f Use Default derive for enums 2022-09-20 13:49:16 +02:00
Jonas Platte
66ff4dbaad Raise MSRV to 1.62 2022-09-20 13:49:16 +02:00