Jonas Platte
a503dccdcd
base: Apply redaction to latest_event in RoomInfo when applicable
2023-07-17 16:36:37 +02:00
Jonas Platte
0bb7a9de7f
base: Remove wrong documentation
2023-07-17 16:36:37 +02:00
Jonas Platte
8067319208
base: Add BaseRoomInfo::room_version()
2023-07-17 16:36:37 +02:00
Jonas Platte
70421cff54
base: Restrict visibility of RoomInfo#latest_event
2023-07-17 16:36:37 +02:00
Benjamin Bouvier
68a5f70a85
chore: rename App to SyncService
2023-07-17 14:38:38 +02:00
Benjamin Bouvier
a939522b1b
test: add test for computing the limited flag
2023-07-17 13:51:45 +02:00
Benjamin Bouvier
b3183f6315
feat: compute limited approximation client-side
2023-07-17 13:51:45 +02:00
Benjamin Bouvier
2357a09d13
chore: remove spurious feature guarding against "experimental-sliding-sync"
...
The whole file is guarded against this feature.
2023-07-17 13:51:45 +02:00
Mauro
91ea0ee8b1
Add PowerLevels permission checks to room::Joined
...
… and the FFI `Room`. These were previously already available at the `room::Member` level.
2023-07-17 11:43:31 +00:00
Benjamin Bouvier
d98b296fad
feat: reflect that push actions may not be available for a TimelineEvent
...
Before this patch, the inability to compute push actions would result in an empty vector of
push actions, leading to the false assumption that there's no push actions to account for,
while we were unable to compute them properly. This changes things up so that it's now the
user's responsibility to decide what to do when those push actions are missing.
2023-07-17 13:38:33 +02:00
Kévin Commaille
1dea482e43
ui: Expose the kind of a TimelineItem
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-07-14 19:17:17 +02:00
Kévin Commaille
a6a0d722b4
ui: Fix imports behind sliding-sync feature flag
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-07-14 13:05:39 +02:00
Jonas Platte
d82628725f
ci: Remove serverName from setup-matrix-synapse arguments
...
We're getting warnings because this is not a supported parameter.
2023-07-14 12:05:02 +02:00
Benjamin Bouvier
ac51adf1e5
feat: split the SlidingSyncBuilder with_timeouts method into two
...
Following a comment from Jonas in another PR.
2023-07-14 11:29:26 +02:00
Jonas Platte
bfed0907ed
Remove wasm_command_bot
2023-07-14 11:07:47 +02:00
Jonas Platte
b2f7ba33c8
Patch const_panic to not use packed reference
2023-07-14 10:46:52 +02:00
Jonas Platte
6d8764f4e7
Patch const_panic
2023-07-14 10:46:52 +02:00
Jonas Platte
57c5347e81
ffi: Move more types out of UDL
2023-07-14 10:46:52 +02:00
Jonas Platte
9cf1adbfa6
Upgrade UniFFI
2023-07-14 10:46:52 +02:00
Dirk Stolle
0141dab8c9
ci: Update actions/checkout in GitHub Actions workflows to v3
...
Signed-off-by: Dirk Stolle <striezel-dev@web.de >
2023-07-14 10:22:55 +02:00
Dirk Stolle
0461ebe739
Fix some typos
...
Signed-off-by: Dirk Stolle <striezel-dev@web.de >
2023-07-14 10:10:03 +02:00
Jonas Platte
81d28d1f46
ui: Remove read-only mode for timeline
...
It was used when getting the latest message was done through the timeline,
which is no longer the case.
2023-07-13 15:48:56 +02:00
Jonas Platte
d309cb3320
crypto-ffi: Use proc-macro definition of callback interfaces
2023-07-13 14:07:27 +02:00
Jonas Platte
3c2b2756b0
ci: Fix git ref comparison
2023-07-13 13:54:59 +02:00
Jonas Platte
5f924197fd
ffi: Merge impl blocks for sync and async exported methods
2023-07-13 13:13:50 +02:00
Jonas Platte
aee2ef6abf
ffi: Use async-uniffi instead of block_on in app module
2023-07-13 13:13:50 +02:00
Jonas Platte
6f2fee8965
Upgrade UniFFI
2023-07-13 13:13:50 +02:00
Jonas Platte
5abc781e1f
Remove matrix-sdk-crypto-js
...
It now lives in its own repository at
https://github.com/matrix-org/matrix-rust-sdk-crypto-web
2023-07-13 13:11:02 +02:00
Richard van der Hoff
51ba4483c0
Merge pull request #2270 from matrix-org/release-matrix-sdk-crypto-js-0.1.4
...
matrix-sdk-crypto-js v0.1.4
2023-07-12 17:24:16 +01:00
Richard van der Hoff
b62bb90c79
matrix-sdk-crypto-js v0.1.4
matrix-sdk-crypto-js-0.1.4
2023-07-12 16:58:19 +01:00
Richard van der Hoff
a4cece7dd7
crypto: Add OlmMachine::query_keys_for_users ( #2267 )
...
Sometimes we need our key query results to be as up-to-date as possible. Add a mechanism to allow that.
Closes #2263 .
2023-07-12 16:48:34 +01:00
Jonas Platte
ec34036586
ci: Switch to branch-less GitHub pages workflow
2023-07-12 17:47:04 +02:00
Jonas Platte
6e10eb9efb
Remove matrix-sdk-crypto-js
...
It now lives in its own repository at
https://github.com/matrix-org/matrix-rust-sdk-crypto-nodejs
2023-07-12 16:23:37 +02:00
Jonas Platte
a554a92dec
crypto: Re-export vodozemac entirely
2023-07-12 15:14:47 +02:00
Jonas Platte
ccb6d7d05c
Move ruma re-export from matrix-sdk to matrix-sdk-common
...
… since it's also useful for crypto bindings.
2023-07-12 15:14:47 +02:00
Jonas Platte
f6c339a5d2
Enable ruma's new compat-upload-signatures feature
2023-07-12 12:42:31 +02:00
Jonas Platte
63babcd35a
Upgrade Ruma
2023-07-12 12:42:31 +02:00
Jonas Platte
8c3af12e47
test: Rename EventBuilder to SyncResponseBuilder
...
… because that's what it is.
2023-07-12 10:29:29 +02:00
Richard van der Hoff
e1c5f628e7
Merge pull request #2258 from matrix-org/matrix-sdk-crypto-js-0.1.3
...
Fix `receiveSyncChanges` js bindings, and release 0.1.3
2023-07-11 18:12:16 +01:00
Richard van der Hoff
f1def2a458
fix another test
matrix-sdk-crypto-js-0.1.3
2023-07-11 17:19:58 +01:00
Richard van der Hoff
0bd1e65b49
update changelogs
2023-07-11 16:41:45 +01:00
Richard van der Hoff
fd3c4f669d
matrix-sdk-crypto-js v0.1.3
2023-07-11 16:41:22 +01:00
Richard van der Hoff
a3a36291ad
crypto-js Fix return type of receiveSyncChanges
...
https://github.com/matrix-org/matrix-rust-sdk/pull/2142 introduced an
unintended change such that `receiveSyncChanges` returned an array of arrays.
2023-07-11 16:29:17 +01:00
Jonas Platte
0daf3aeb6b
ui: Move echoes to the bottom immediately when retrying
2023-07-11 16:36:26 +02:00
Jonas Platte
9dc6ac45d2
ui: Fix wrong field name
2023-07-11 16:36:26 +02:00
Jonas Platte
53ac8bea14
ffi: Provide tokio context for async exported method
2023-07-11 15:54:38 +02:00
Jonas Platte
01ceec43b1
ui: Use eyeball_im's new entry API
2023-07-11 15:41:34 +02:00
Benjamin Bouvier
43bbd4200e
chore: inline variable and use From<bool> for WithLocking
2023-07-11 14:07:27 +02:00
Benjamin Bouvier
2d9f7d2f89
ffi: remove bindings for manually creating EncryptionSync and RoomList
2023-07-11 14:07:27 +02:00
Benjamin Bouvier
dbc8f0136b
ffi: add bindings for App
2023-07-11 14:07:27 +02:00