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
e0f373ec74
ci: Only allow spec links with version as whole path segment
2023-05-04 13:04:57 +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
Jonas Platte
21e9af105c
Add a pull request template
2023-04-27 11:50:08 +02:00
Jonas Platte
1c88cef1a1
ci: Use cargo's sparse registry format
2023-04-26 17:38:49 +02:00
Jonas Platte
44393fe171
ci: Remove unnecessary env variable from docs workflows
2023-04-26 17:38:41 +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
Jonas Platte
fd895fab40
Upgrade checkout GitHub action
2023-04-24 17:02:13 +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
0143bd9b9f
Replace other actions-rs GitHub actions
2023-04-20 15:14:37 +02:00
Jonas Platte
38245da1ba
Replace unmaintained actions-rs/toolchain with dtolnay/rust-toolchain
2023-04-20 15:14:37 +02:00
Jonas Platte
927be5f256
Upgrade GitHub actions
2023-04-20 14:00:50 +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
2d23af2f98
Check dependencies more exhaustively, using cargo-deny
2023-04-12 19:11:00 +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
Jonas Platte
326c77aad3
xtask: Silence clippy lint
2023-04-11 13:01:48 +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
Jonas Platte
19d44489c3
events: Split bundled relations into two types
...
One for message-like events, one for state events.
2023-03-15 14:49:49 +01:00
Jonas Platte
0599eb1226
macros: Fix confusing name of local bindings
2023-03-15 12:33:09 +01:00
Jonas Platte
f79c51f18f
Fix a typo
2023-03-15 11:07:27 +01:00
Kévin Commaille
8eea3e0549
push: Enable by default .m.rule.tombstone
push rule
...
As defined in the spec.
2023-03-14 12:01:40 +01:00
Kévin Commaille
27a2c07df9
events: Add constants for the verification requests timeouts
2023-03-13 17:12:49 +01:00
Kévin Commaille
a399a4017a
push: Add convenience methods to check if an action triggers a notification or a sound
2023-03-13 13:54:22 +01:00
Kévin Commaille
b6717bc2ea
push: Add convenience method to check if an action is a highlight tweak
2023-03-13 13:36:56 +01:00
Jonas Platte
03a58bcd88
Fix return type of InitialStateEvent::to_raw_any
2023-03-10 12:51:58 +01:00