Jonas Platte
|
c7e84c5249
|
Fix clippy lints
Automated using `cargo clippy --fix`.
|
2022-10-26 13:38:29 +02:00 |
|
Jonas Platte
|
f22857e682
|
macros: Add request attribute macro
|
2022-10-24 15:28:50 +02:00 |
|
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
|
e7e39a6af1
|
api: Remove method from Request derive attributes
|
2022-10-22 12:24:21 +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 |
|
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 |
|
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 |
|
Jonas Platte
|
3c3c6f388f
|
Merge branch 'ruma-0.7'
|
2022-10-18 09:14:16 +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
|
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 |
|
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
|
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
|
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
|
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
|
2bdbf49535
|
chore: Fix new clippy warnings
|
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
|
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
|
f068c3fb5a
|
directory: Stabilize room_types and room_type for /publicRooms
|
2022-10-01 11:12:13 +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
|
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 |
|
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
|
028eb8a457
|
events: Remove deprecated API
|
2022-09-22 11:50:22 +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
|
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 |
|