This website requires JavaScript.
b5bda577dd
chore(sdk): Remove useless imports or fix unused code.
Ivan Enderlin
2024-02-22 08:27:54 +01:00
6593e32582
ffi: fix one clippy warning about ToOwned
Benjamin Bouvier
2024-02-20 21:39:53 +01:00
d3612ce35b
event cache: give each RoomEventCache a sdk::Room
Benjamin Bouvier
2024-02-20 21:15:03 +01:00
bd6d0e959a
backups: Better logs for decryption errors for backed up room keys
Damir Jelić
2024-02-21 13:00:35 +01:00
cced512ad4
Keep the raw notification event around for further processing
Benjamin Kampmann
2024-02-17 20:25:55 +00:00
06359b1166
fix(sdk): Race condition, doc, and Wasm in EventCache
Ivan Enderlin
2024-02-21 12:14:41 +01:00
10098d20c5
test(common): Add tests for spawn and JoinHandle::abort.
Ivan Enderlin
2024-02-21 12:01:08 +01:00
e4c8d6b708
chore(test): Remove a useless import.
Ivan Enderlin
2024-02-21 12:00:50 +01:00
6c6a8e2e77
chore(common): Remove useless import.
Ivan Enderlin
2024-02-21 10:54:31 +01:00
dcf0069753
export: Provide a streamed way to export keys
Andy Balaam
2024-02-20 14:26:33 +00:00
f0354d1fc5
export: Move existing export_room_keys method to Store
Andy Balaam
2024-02-20 13:45:42 +00:00
6634735065
ffi: Let the auth service use a proxy as well
Damir Jelić
2024-02-20 14:32:48 +01:00
59c468c758
Switch user ignoring/unignoring methods to full async
Stefan Ceriu
2024-02-20 14:14:18 +02:00
c6e93b06a3
Log ignored user list event deserialization errors
Stefan Ceriu
2024-02-20 13:06:41 +02:00
89033cd13a
Fixes #3141 - Expose ignored users on the FFI layer
Stefan Ceriu
2024-02-20 12:23:35 +02:00
88a70f472f
Discard session API and bindings for Room (#2941 )
Valere
2024-02-20 13:36:55 +01:00
fafd1a403c
fix: Use from macro on wrapped error.
Doug
2024-02-20 12:10:43 +00:00
371cc24031
fix: Update Swift test, remove pub access on sanitize_server_name
Doug
2024-02-19 16:30:29 +00:00
2538ba68c5
ffi: Expose more server discovery errors.
Doug
2024-02-19 15:46:12 +00:00
14e93e8c0c
ffi: Use server_name_or_homeserver_url directly.
Doug
2024-02-19 10:18:30 +00:00
54bdb7791c
ffi: Add extra logs to Client::process_session_change
Jorge Martín
2024-02-20 09:40:18 +01:00
2f97bc2bae
feat(sdk): Improve performance of EventCacheInner::for_room.
Ivan Enderlin
2024-02-19 20:08:28 +01:00
7e3e8fff55
feat(common): Implement JoinHandle::abort on wasm32-u-u.
Ivan Enderlin
2024-02-19 18:15:52 +01:00
8d878b6785
fix(sdk): Fix a race condition in EventCacheInner::for_room.
Ivan Enderlin
2024-02-19 14:59:56 +01:00
add06bf897
doc(sdk): Add some documentation about the EventCache.
Ivan Enderlin
2024-02-19 14:52:48 +01:00
e5b07aa827
chore(sdk): Move EventCache::drop_handles inside EventCacheInner.
Ivan Enderlin
2024-02-19 14:33:52 +01:00
814d78708e
feat(sdk): EventCache uses matrix_sdk_common::executor::spawn.
Ivan Enderlin
2024-02-19 14:25:25 +01:00
88d7a2fe28
feat(ui,ffi): Add the favourite room list filter
Ivan Enderlin
2024-02-19 13:45:37 +01:00
5386e9e838
event cache: have a single EventCache instance per Client, at most (#3136 )
Benjamin Bouvier
2024-02-19 13:39:31 +01:00
9e6252cb2d
doc(ui): Add missing copyright headers.
Ivan Enderlin
2024-02-19 13:33:11 +01:00
12d5f51051
feat(ffi): Add the favourite room list filter.
Ivan Enderlin
2024-02-19 13:18:51 +01:00
c7d34bd65e
doc(ui): Add documentation for matrix_sdk_ui::room_list_service::filters.
Ivan Enderlin
2024-02-19 11:55:58 +01:00
900a6d1382
feat(ui): Add the favourite filter.
Ivan Enderlin
2024-02-19 11:55:21 +01:00
9228ad2f59
chore: Update changelog
Doug
2024-02-16 11:38:16 +00:00
7d9ee71245
More rusty 🦀
Doug
2024-02-15 15:50:38 +00:00
c1c8bfda4e
Fix: Feature flags on CI
Doug
2024-02-15 15:40:18 +00:00
1fb717968e
fix: Store the details and the error separately.
Doug
2024-02-15 15:22:27 +00:00
e69591dad3
fix: Address PR comments.
Doug
2024-02-15 15:06:03 +00:00
ee8e9ef528
sdk: Add tests for server_name_or_homeserver_url
Doug
2024-02-14 15:35:27 +00:00
7cbc3e587d
sdk: Add server_name_or_homeserver_url to ClientBuilder
Doug
2024-02-14 15:35:14 +00:00
aeba46a0eb
indexeddb: fix incorrect key used for next batch token
maan2003
2024-02-14 20:45:01 +05:30
11074d8f4d
event cache: listen to all the room updates at once!
Benjamin Bouvier
2024-02-12 18:52:19 +01:00
a6c133369f
sdk: add a mechanism to get all room updates at once
Benjamin Bouvier
2024-02-12 18:07:45 +01:00
6a81ceced0
event cache: move store trait and memory impl to a new store file
Benjamin Bouvier
2024-02-12 16:50:00 +01:00
ffc7648ce6
ui: rename "event graph" to "event cache"
Benjamin Bouvier
2024-02-12 16:39:14 +01:00
fd395a82c5
sdk: add docs for the DeduplicatingHandler data structure
Benjamin Bouvier
2024-02-15 15:46:32 +01:00
15afd1f690
sdk: deduplicate requests to send a read receipt
Benjamin Bouvier
2024-02-15 16:41:16 +01:00
1e24fbc72d
rrrepl: use Timeline::mark_as_read there too
Benjamin Bouvier
2024-02-15 17:12:54 +01:00
32afc56005
ffi: Expose the method to add additional certs in the bindings
Damir Jelić
2024-02-14 09:57:34 +01:00
7e61a6dd31
sdk: Re-expose the reqwest method to add certs through the ClientBuilder
Damir Jelić
2024-02-14 09:38:53 +01:00
cae3b38c35
ffi: Expose the suggested role constructor.
Doug
2024-02-08 12:54:56 +00:00
c36cb1b424
ffi: Include users in the RoomPowerLevels state
Doug
2024-02-08 12:54:11 +00:00
315a29f568
Reneable the correct backup download strategy for the bindings
Damir Jelić
2024-02-14 18:44:18 +01:00
74931768e5
ffi : expose room_info is_favourite
ganfra
2024-02-13 16:36:14 +01:00
7eb3c30a3c
timeline: remove the thread parameter from mark_as_read
Benjamin Bouvier
2024-02-13 15:49:57 +01:00
7e99e812dd
ffi/sdk: rename mark_read into set_unread_flag
Benjamin Bouvier
2024-02-12 16:15:21 +01:00
e97b7838c5
ffi: use the Timeline::mark_as_read function in mark_as_read_and_send_read_receipt
Benjamin Bouvier
2024-02-12 16:07:13 +01:00
8eb3fdc9e4
timeline: add a test that sending a reaction to the latest timeline event item isn't the same as marking as read
Benjamin Bouvier
2024-02-12 16:01:53 +01:00
8536e2b2a3
timeline: add a mark_as_read function to send a read receipt for the actual latest event
Benjamin Bouvier
2024-02-12 15:10:04 +01:00
060eaeffc0
key backup: test that the upload moves from the error state back to the idle state immediately
Benjamin Bouvier
2024-02-12 19:14:20 +01:00
b177bd9783
sdk: put all the e2ee-related Client fields under a new EncryptionData struct
Benjamin Bouvier
2024-02-12 17:13:50 +01:00
6fa487fad8
sdk: comment each sub-field of ClientInner
Benjamin Bouvier
2024-02-12 16:55:59 +01:00
12444d3dc1
docs: Clarify some doc comments.
Denis Kasak
2024-02-12 16:52:00 +01:00
ed5d97e052
docs: Fix doc comment for Account::signed_one_time_keys.
Denis Kasak
2024-01-09 16:03:51 +01:00
cff844ac74
Add debug logging when sessions get rotated (#3106 )
kegsay
2024-02-12 16:31:41 +00:00
70e38755fa
recovery: comment and simplify all_known_secrets_available
Benjamin Bouvier
2024-02-09 17:53:53 +01:00
c20e6aeca7
ffi: configure encryption settings only when it's needed
Benjamin Bouvier
2024-02-09 17:47:27 +01:00
53d723d149
ffi: avoid having two clients alive at the same time
Benjamin Bouvier
2024-02-09 17:31:31 +01:00
5cb587a60b
sliding_sync: Use assert_next_eq for tests
Timo Kösters
2024-02-12 11:31:17 +01:00
354f9de257
test: refactor integration test code to avoid Box::leak
Benjamin Bouvier
2024-02-12 10:55:05 +01:00
9d04b23f45
sliding_sync: Refactor for code review
Timo Kösters
2024-01-30 17:21:36 +01:00
73edf6b734
sliding_sync: Documentation for RoomInfoUpdate and cargo fmt
Timo Kösters
2024-01-23 17:41:49 +01:00
5114474829
sliding_sync: Only emit manual room list update when late decryption happens
Timo Kösters
2024-01-23 17:18:28 +01:00
91331bea51
sliding_sync: More documentation for roominfo sender/receiver
Timo Kösters
2024-01-23 16:04:56 +01:00
79f97504f8
sliding_sync: Refactor delayed decryption test
Timo Kösters
2024-01-23 15:27:28 +01:00
50ed681a4e
sliding_sync: Refactor roominfo sender/receiver code
Timo Kösters
2024-01-23 10:47:24 +01:00
910887fbc6
sliding_sync: Add test for delayed decryption roominfo updates
Timo Kösters
2024-01-23 10:07:03 +01:00
304bd910f0
sliding_sync: Add test to make sure stream updates are in correct order
Timo Kösters
2024-01-16 11:53:54 +01:00
e87a7954a0
sliding_sync: Refactor roominfo update receiver
Timo Kösters
2024-01-16 11:03:24 +01:00
d2b02ec2e8
sliding_sync: Trigger room list update when room info changes
Timo Kösters
2024-01-15 12:29:36 +01:00
d84387d12e
Merge pull request #3118 from progval/shrink-decrypted-media
Andy Balaam
2024-02-12 10:06:00 +00:00
368b585124
Preallocate vector storing decrypted files
Val Lorentz
2024-02-10 09:53:13 +01:00
7bbd07cc77
Allow references to MediaEventContent
Val Lorentz
2024-02-10 09:26:03 +01:00
008330a744
Merge pull request #3111 from Hywan/fix-base-notable-tags
Ivan Enderlin
2024-02-09 17:37:14 +01:00
1052c8db15
Merge branch 'main' into fix-base-notable-tags
Ivan Enderlin
2024-02-09 17:03:30 +01:00
3e04590ded
sdk: rename Client::handle_sync_response to call_sync_response_handlers
Benjamin Bouvier
2024-02-08 18:03:00 +01:00
ce2d8212eb
sdk: rename other {Joined,Invited,Left}Room to {0}Update
Benjamin Bouvier
2024-02-08 18:00:27 +01:00
5ad9090dc8
sdk: rename sync::Rooms to RoomUpdates
Benjamin Bouvier
2024-02-08 17:58:40 +01:00
b15829a9fd
sdk: add comment and make it clear that some functions are tests
Benjamin Bouvier
2024-02-08 17:43:31 +01:00
bebb733607
nit: change favorite to favourite in a few places
Benjamin Bouvier
2024-02-09 11:37:50 +01:00
e872babd40
read receipts: add the room id in the instrumentation of send_single_receipt
Benjamin Bouvier
2024-02-09 11:00:14 +01:00
bcb125a09b
test(sdk): Revisit the tests for notable tags.
Ivan Enderlin
2024-02-09 09:44:40 +01:00
65774aa90b
chore(base): Remove warnings when e2e-encryption is disabled.
Ivan Enderlin
2024-02-09 09:27:02 +01:00
868bb9a8d9
fix(base) Client::receive_sync_response overwrites RoomInfo.
Ivan Enderlin
2024-02-08 18:49:32 +01:00
61c7a96e36
doc(base): Add missing documentation.
Ivan Enderlin
2024-02-08 16:43:34 +01:00
e6dadf2b0d
chore(base): Clean up tests.
Ivan Enderlin
2024-02-08 15:53:11 +01:00
75454de284
test(base): Test Room::is_favourite and ::is_low_priority.
Ivan Enderlin
2024-02-08 15:52:39 +01:00
8b298dfd2f
chore(base): Rename NotableTags to RoomNotableTags.
Ivan Enderlin
2024-02-08 15:27:48 +01:00
31ba7b82d8
doc(sdk,base,ffi): Improve documentation and rename favorite to favourite.
Ivan Enderlin
2024-02-08 15:25:41 +01:00
71f4af9cdd
feat(base,sdk,ffi): Remove RoomNotableTags.
Ivan Enderlin
2024-02-08 15:17:17 +01:00