Kévin Commaille
b8668f863b
push: Stabilize event_property_is
2023-05-26 09:26:09 +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
Kévin Commaille
5f20a3292c
docs: Fix links for v1.7
2023-05-25 19:28:33 +02:00
Kévin Commaille
dc68190adc
api: Add initial support for Matrix 1.7
2023-05-25 19:28:33 +02:00
Kévin Commaille
631c4e6733
federation-api: Move create_join_event::v1 test as integration test
...
Otherwise cargo check always complains that we are using
a deprecated const.
See https://github.com/rust-lang/rust/issues/47238
2023-05-25 16:53:56 +02:00
Kévin Commaille
9dd55ae3bc
federation-api: Deprecate v1/send_join and v1/send_leave
...
According to a spec clarification
2023-05-25 16:53:56 +02:00
Kévin Commaille
2296f16ea0
api: Allow to have an endpoint both defined and deprecated in Matrix 1.0
2023-05-25 16:53:56 +02:00
Kévin Commaille
d78c3e11f1
signatures: Remove age_ts from reference hash calculation
...
According to a spec clarification
2023-05-24 20:08:20 +02:00
Kévin Commaille
6df78e8aee
events: Move CalCapabilities behind feature unstable-msc2747
2023-05-24 17:53:32 +02:00
Kévin Commaille
77454b70e9
identity-service-api: Fix format of keys in store_invitation::v2::PublicKeys
...
According to a spec clarification
Co-authored-by: Jonas Platte <jplatte@element.io>
2023-05-24 09:04:36 +00:00
Jonas Platte
f45a09e958
Appease clippy
2023-05-24 10:41:24 +02:00
Jonas Platte
486ecc2b68
Upgrade yap to 0.10.0
2023-05-24 09:58:19 +02:00
Jonathan de Jong
01344edc8d
Update Mutual Rooms (MSC2666) implementation ( #1547 )
2023-05-20 22:24:22 +02:00
Kévin Commaille
dcbb5ec432
client: Upgrade hyper-rustls dependency
2023-05-19 19:55:23 +02:00
Kévin Commaille
6a77b4c9e4
push: Remove the DontNotify and Coalesce variants of push::Action
...
According to MSC3987.
2023-05-04 13:44:54 +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
b27e54c7ed
serde: Add deser functions for Duration from milliseconds
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
Kévin Commaille
e97e46e623
chore: Fix URLs to old spec
2023-05-04 13:04:57 +02:00
Kévin Commaille
d98903e46c
chore: Work around new rustfmt bug
2023-05-04 13:04:57 +02:00
Jonas Platte
d5b0cc608f
Add user ID localpart emptiness check
2023-05-02 15:09:23 +02:00
Jonas Platte
54a4223caa
client-api: Fix type of SlidingSyncRoom#invite_state
2023-04-27 19:27:05 +02:00
Kévin Commaille
b50037affc
events: Implement sanitize on MessageType
2023-04-27 19:19:37 +02:00
Jonas Platte
44ed922ba2
events: Remove unnecessary Option around sliding sync extension types
2023-04-27 17:56:29 +02:00
Jonas Platte
1224dd3810
events: Add more convenient power level action checks to RoomPowerLevels
2023-04-27 12:20:11 +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
cb512f01d6
macros: Fix weird indentation
2023-04-24 17:02:23 +02:00
Jonas Platte
53622f8ce0
macros: Upgrade syn to 2.0
2023-04-24 17:02:23 +02:00
Kévin Commaille
4105169577
push: Panic on Regex construction error
2023-04-24 17:00:01 +02:00
Kévin Commaille
ed7c26ff9f
push: Use bytes Regex to fix regex construction
...
Due to a new error detected in the regex crate.
2023-04-24 17:00:01 +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
Jonas Platte
89e398fd06
events: Add back relations accessors for message-like event enums
2023-04-18 11:33:54 +02:00
Jonas Platte
0bbad284f3
events: Add RoomRedactionUnsigned
2023-04-18 11:16:56 +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
Jonas Platte
fea6299935
Fix broken doc comment
...
Thanks clippy!
2023-04-12 19:19:17 +02:00
Jonas Platte
1229fa4461
events: Add FullStateEventContent::redact
2023-04-11 16:16:32 +02:00
Kévin Commaille
2ccc0323f6
push: Add support for event_property_contains push condition
...
According to MSC3966
2023-04-11 16:12:05 +02:00
Kévin Commaille
2e7b67bb23
push: Add support for event_property_is push condition
...
According to MSC3758
2023-04-11 16:12:05 +02:00
Kévin Commaille
82b4257bfe
push: Split push conditions tests
2023-04-11 16:12:05 +02:00
Kévin Commaille
33fa1b48ed
push: Collect a bigger subset of JSON values in FlattenedJson
2023-04-11 16:12:05 +02:00
Kévin Commaille
cdfcdecaf8
push: Move FlattenedJson to its own module
2023-04-11 16:12:05 +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
Kévin Commaille
ef374ea6b0
push: Escape dots and backslashes in field name for event_match condition
...
According to MSC3873
2023-04-11 11:18:20 +02:00
Ivan Enderlin
66f417c3f2
chore: Make Clippy happy.
2023-04-06 14:51:25 +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
e61e0ccf6b
Implement MSC3925
...
… without a feature flag because it is a breaking change, so the feature
would have to be non-additive, which is a no-go.
Limited support for the previous replacement format is kept.
2023-03-15 14:49:51 +01:00