1513 Commits

Author SHA1 Message Date
Jonas Platte
dff84efb0c
api: Remove authentication from Request derive attributes 2022-10-22 12:25:27 +02:00
Jonas Platte
c9bd9bf00b
api: Remove NonAuthRequest traits 2022-10-22 12:24:22 +02:00
Jonas Platte
1989e0350d
api: Remove error_ty from Request and Response derive attributes 2022-10-22 12:24:22 +02:00
Jonas Platte
e7e39a6af1
api: Remove method from Request derive attributes 2022-10-22 12:24:21 +02:00
Jonas Platte
70c5e84107
macros: Remove unnecessary self:: qualitication 2022-10-22 11:29:58 +02:00
Jonas Platte
ec31badd84
api: Replace path fields in Metadata with new VersionHistory type
Co-authored-by: Jonathan de Jong <jonathan@automatia.nl>
2022-10-22 11:17:55 +02:00
Jonas Platte
451a50a77b
api: Add missing cfg for test 2022-10-22 11:12:52 +02:00
Jonas Platte
6642686b58
macros: Remove unused custom keywords 2022-10-22 11:12:52 +02:00
gnieto
dcff5a0737
events: Make name on SecretStorageKeyEventContent optional
The spec has the `name` field marked as optional.

See: https://spec.matrix.org/v1.4/client-server-api/#key-storage
2022-10-22 08:29:13 +00:00
Kévin Commaille
045861441a doc: Update Matrix spec links to v1.4 2022-10-21 10:41:20 +02:00
Kévin Commaille
2fe7265188 doc: Fix sanitize feature name 2022-10-21 10:40:33 +02:00
Kévin Commaille
a3675e61bf events: Add method to construct a replacement 2022-10-21 10:40:33 +02:00
Jonas Platte
764e96a254
api: Enforce consistent path field order 2022-10-20 20:51:09 +02:00
Jonas Platte
6ec01bfdb4
client-api: Reorder path fields 2022-10-20 20:51:09 +02:00
Kévin Commaille
21bda6678d events: Enable more markdown syntax
Enable markdown extensions that produces spec-compliant HTML.
2022-10-19 21:44:33 +02:00
Kévin Commaille
a710229d9d events: Fix markdown content detection
Encoded HTML entities would be detected as a change.
Use the parsed events instead to check if markdown syntax was detected.
2022-10-19 21:44:33 +02:00
Kévin Commaille
7ab6e3ed02 federation-api: Add the event field to RoomState
According to MSC3083
2022-10-19 12:17:41 +02:00
Emelie Graven
27f27d5298
feat: Add MSC3202 types for E2EE appservices 2022-10-18 12:26:48 +02:00
Jonas Platte
3c3c6f388f
Merge branch 'ruma-0.7' 2022-10-18 09:14:16 +02:00
Jonas Platte
bc67b9aae3
Release ruma-client-api 0.15.3 2022-10-18 09:12:14 +02:00
Jonas Platte
67b2ec7d34
Release ruma-common 0.10.5 2022-10-18 09:09:59 +02:00
Kévin Commaille
7c0f7ba5f1 events: Make Replacement generic over the parent type
Because the new content must be of the same type.
2022-10-17 20:27:49 +02:00
Kévin Commaille
7c802c89ca events: Remove conversions between extensible types and room messages
They are more difficult to implement and use with
generic replacements, for little gain.
2022-10-17 20:27:49 +02:00
Kévin Commaille
ec853e968a events: Generate structs without relation for events that can be replaced 2022-10-17 20:27:49 +02:00
Jonas Platte
6ec7fc09ea
Merge branch 'ruma-0.7' 2022-10-17 18:05:42 +02:00
Jonas Platte
c8dacdbbab
Release ruma-client-api 0.15.2 2022-10-17 18:03:29 +02:00
Jonas Platte
7dd567a7c7
client-api: Don't include extra field in Debug-format of login::CustomLoginInfo 2022-10-17 18:01:40 +02:00
Jonas Platte
88a6e9995d
client-api: Don't include token in Debug-format of login::Token 2022-10-17 18:01:39 +02:00
Jonas Platte
d14cd4e697
client-api: Don't include password in Debug-format of login::Password 2022-10-17 18:01:39 +02:00
Jonas Platte
146c237ec4
macros: Allow opt-out of Debug deriving for incoming types 2022-10-17 18:01:39 +02:00
Jonas Platte
83d60d1fab
Release ruma-common 0.10.4 2022-10-17 17:27:27 +02:00
Kévin Commaille
bd6ba8b9ee
identifiers: Fix MatrixToUri parsing for non-url-encoded room aliases 2022-10-17 17:20:40 +02:00
Jonas Platte
bb9742e84c
client-api: Don't include extra field in Debug-format of login::CustomLoginInfo 2022-10-17 17:16:38 +02:00
Jonas Platte
fe2d0c93e2
client-api: Don't include token in Debug-format of login::Token 2022-10-17 17:16:38 +02:00
Jonas Platte
70b0d249a8
client-api: Don't include password in Debug-format of login::Password 2022-10-17 17:16:38 +02:00
Jonas Platte
cc514a2b6c
macros: Allow opt-out of Debug deriving for incoming types 2022-10-17 17:16:38 +02:00
Timo Kösters
fba6f70c2d federation-api: Remove serde aliases for blurhashes 2022-10-12 16:52:26 +02:00
Timo Kösters
00315d9c48 client-api: Remove serde aliases 2022-10-12 16:52:26 +02:00
Timo Kösters
d6b858c5fa
client-api: Add missing default attribute to create_receipt::Request#thread 2022-10-12 10:46:02 +02:00
Kévin Commaille
b538234bce chore: Fix new docs warnings 2022-10-12 10:31:23 +02:00
Kévin Commaille
c2c4555133 identifiers: Fix MatrixToUri parsing for non-url-encoded room aliases 2022-10-10 23:03:58 +02:00
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