Jonas Platte
bbdc0b68e8
client-api: Add a compat feature for Synapse's upload-signatures response
2023-07-04 13:11:46 +02:00
Kévin Commaille
86b999055e
client-api: Move SpaceRoomJoinRule to ruma-common
2023-07-04 12:38:45 +02:00
Jonas Platte
c5782ab8aa
Use new owned ID macros throught the codebase
2023-06-20 11:47:50 +02:00
Benjamin Bouvier
1f8f62ecf6
client-api: Add lists
and rooms
to most extensions in sync::v4
...
Signed-off-by: Benjamin Bouvier <public@benj.me>
2023-06-16 10:41:25 +02:00
Jonas Platte
f964656a4d
Upgrade typos-ci, fix typos
2023-06-14 12:47:57 +02:00
Jonas Platte
82bfb2e4d2
client-api: Fix accidentally private response field
2023-06-08 11:37:11 +02:00
Jonas Platte
ba5bf8cfce
Replace assert_matches by assert_matches2
2023-06-08 11:37:11 +02:00
Nicolas Mauri
a2b64c20bc
client-api: Fix the http method of set_pushrule request serialization
...
… by using METADATA.method.
2023-06-05 19:23:20 +00:00
Benjamin Bouvier
e3282d8bfe
client-api: Move the sync v4 bump_event_types
field to the list request
...
… as it's now per-list.
Signed-off-by: Benjamin Bouvier <public@benj.me>
2023-06-01 19:24:05 +02:00
Kévin Commaille
3b722c7faa
client-api: Add support for the appservice ping mechanism
...
According to MSC2659
2023-05-30 20:58:24 +02:00
Kévin Commaille
915da3c983
client-api: Fix missing ErrCode deser variants
2023-05-30 20:58:24 +02:00
Kévin Commaille
38f600c602
docs: Update v1.6 spec links to v1.7
2023-05-30 16:38:30 +02:00
Benjamin Bouvier
89d12fa48a
client-api: Add conn_id
to sync v4 request parameters
...
Signed-off-by: Benjamin Bouvier <public@benj.me>
2023-05-30 11:00:06 +02:00
Kévin Commaille
854d8076ef
client-api: Stabilize async media uploads
2023-05-26 09:27:24 +02:00
Kévin Commaille
ce30aeb775
client-api: Stabilize annotations
2023-05-26 09:26:30 +02:00
Kévin Commaille
93ae0a3379
client-api: Add support for media download redirects
...
According to MSC3860
2023-05-25 20:33:44 +02:00
Kévin Commaille
0b390cc3c9
client-api: Add support for using an existing session to log in another
...
According to MSC3882
2023-05-25 20:23:07 +02:00
Jonathan de Jong
01344edc8d
Update Mutual Rooms (MSC2666) implementation ( #1547 )
2023-05-20 22:24:22 +02:00
Kévin Commaille
10d70c6055
client-api: Fix timeout field in media download endpoint requests
...
According to the stabilization spec PR.
2023-05-04 13:12:43 +02:00
Kévin Commaille
f3ba40a56f
client-api: Use Request::new() in Request::from_url() for get_content_as_filename
2023-05-04 13:12:43 +02:00
Kévin Commaille
67019c7f48
client-api: Fix the type of unused_expires_at for create_mxc_uri
2023-05-04 13:12:43 +02:00
Kévin Commaille
0e5503ed88
client-api: Add filename field for create_content_async
2023-05-04 13:12:43 +02:00
Jonas Platte
54a4223caa
client-api: Fix type of SlidingSyncRoom#invite_state
2023-04-27 19:27:05 +02:00
Jonas Platte
44ed922ba2
events: Remove unnecessary Option around sliding sync extension types
2023-04-27 17:56:29 +02:00
Kévin Commaille
af2407e98a
client-api: Add M_DUPLICATE_ANNOTATION error kind
...
According to MSC2677
2023-04-26 16:02:19 +02:00
Jonas Platte
4c85fe9c78
Replace compat feature with more fine-grained compat-* features
...
… and document them.
2023-04-20 14:00:27 +02:00
Jonas Platte
57b7b2d0f5
Add context to compat attribute
2023-04-20 13:02:30 +02:00
Kévin Commaille
2bf33def5c
client-api: Remove token from keys::get_keys::Request
...
According to a spec clarification.
2023-04-17 16:11:38 +02:00
Kévin Commaille
c1a36a2047
client-api: Mention that backslashes should be escaped in filter event_fields
...
According to MSC3980
2023-04-11 11:18:20 +02:00
Ivan Enderlin
fe3a8ff669
feat(client-api): Support bump_event_types
in sync::sync_events::v4::Request
.
...
This patch updates `sync::sync_events::v4::Request` to add the new
`bump_event_types` field, as described in [MSC3575] (more precisely in
this [diff]).
That's the first step to address https://github.com/matrix-org/matrix-rust-sdk/issues/1728 .
[MSC3575]: https://github.com/matrix-org/matrix-spec-proposals/blob/kegan/sync-v3/proposals/3575-sync.md
[diff]: 35b79f6ebe...5bd13e66df (diff-1f7276cbbee4eeaaca06b07d2fe58312eab735259f2490e28e04710dde77fdccL78)
2023-04-06 14:51:25 +02:00
Jonas Platte
f79c51f18f
Fix a typo
2023-03-15 11:07:27 +01:00
Kévin Commaille
8a3bccaef1
client-api: Fix type of rank in search::search_events::v3::SearchResult
...
It is defined in the spec as a number, not an integer.
2023-03-10 11:19:32 +01:00
kegsay
543c03f8f2
client-api: Use the right EDU types in sliding sync
2023-03-08 13:28:53 +01:00
kegsay
471c46273a
client-api: Fix typo in sliding sync extensions
...
It has always been `receipts` not `receipt`.
2023-03-06 18:42:03 +01:00
Kévin Commaille
44daf84e46
client-api: Allow to convert AnyPushRule(Ref) to PushRule
2023-03-02 11:30:48 +01:00
Ivan Enderlin
2edfe5bc5f
client-api: Add missing sync::sync_events::v4::Response::txn_id
field
...
In the [specification], if the request contains a `txn_id` value, the response
must echo the same `txn_id`. Unfortunately, this field is missing from
`sync::sync_events::v4::Response::txn_id`. This patch addresses that problem by
adding the missing field.
[specification]: 89cf0341b5/proposals/3575-sync.md
2023-03-01 09:02:53 +00:00
Kévin Commaille
ba237a9cfd
client-api: Add convenience constructors for enabling lazy-loading in filters
2023-02-27 20:20:07 +01:00
Jonas Platte
145356217d
Release ruma-client-api 0.16.2
2023-02-16 19:37:28 +01:00
Jonas Platte
b50ef4864c
client-api: Don't serialize None
as null
in report_content
2023-02-16 19:25:07 +01:00
Kévin Commaille
5fae3ff34e
Release ruma-client-api 0.16.1
2023-02-15 12:59:01 +01:00
Kévin Commaille
a859567487
docs: Migrate spec links to v1.6
2023-02-15 09:59:05 +01:00
Kévin Commaille
fc7cc74789
docs: Don't use since with the deprecated attribute
2023-02-14 22:50:20 +01:00
Kévin Commaille
9f92794294
client-api: Move get_event_by_timestamp out of unstable-msc3030
...
According to Matrix 1.6
2023-02-14 22:05:37 +01:00
HKalbasi
ca99c97a0c
Use #[deprecated]
instead of doc comments
2023-02-12 19:18:06 +01:00
Kévin Commaille
e653912e22
xtask: Disallow linking to the latest spec when a link uses a non-unique ID
...
These IDs can change from one version to the other if another heading
with the same name is added before, so the link would not
point to the proper part of the spec anymore.
2023-02-12 12:39:24 +01:00
Kévin Commaille
f159776f52
chore: Make all applicable spec links use the latest spec instead of a specific version
2023-02-12 12:39:24 +01:00
Benjamin Kampmann
6cd3935280
client-api: Fix event type inside sync_events::v4 required_state fields
2023-02-08 09:03:31 +01:00
Jonas Platte
a6c8a4eddd
Release ruma-client-api 0.16.0
2023-02-01 14:02:40 +01:00
Jonas Platte
b6f0a43fa3
Use workspace dependencies for path dependencies
2023-02-01 12:37:45 +01:00
Benjamin Kampmann
00045e559f
client-api: Upgrade to Sliding Sync JSON Layout 0.99
...
… and implement typing and receipt extensions.
2023-01-31 12:48:47 +00:00