Commit Graph

  • c61f70727f fix: RelationalLinkedChunk handles Update::Clear. Ivan Enderlin 2024-11-25 17:24:38 +01:00
  • 2abbf58825 feat(common): Implement LinkedChunk::clear. Ivan Enderlin 2024-11-25 15:24:43 +01:00
  • b979b2ea1e doc(common): Fix typos. Ivan Enderlin 2024-11-25 16:40:58 +01:00
  • 24b968ad39 refactor: EventCacheStore::handle_linked_chunk_updates takes a Vec<Update>. Ivan Enderlin 2024-11-25 16:37:47 +01:00
  • faa8aa2b9c fix(base): Move all fields of MemoryStore inside a StdRwLock<_>. Ivan Enderlin 2024-11-25 15:53:28 +01:00
  • db9ee9d87b refactor: Add constructors for Position and ChunkIdentifier. Ivan Enderlin 2024-11-25 15:43:09 +01:00
  • 1dbb494b94 feat(common): RelationalLinkedChunk stores the RoomId. Ivan Enderlin 2024-11-25 10:16:00 +01:00
  • fe52b4cb78 feat(common): EventCacheStore::handle_linked_chunk_updates takes a &RoomId. Ivan Enderlin 2024-11-25 09:51:25 +01:00
  • 5519442ad8 doc(common): Fix a typo. Ivan Enderlin 2024-11-20 16:13:50 +01:00
  • 88363d8033 feat(base): MemoryStore uses RelationalLinkedChunk to store events. Ivan Enderlin 2024-11-20 16:09:03 +01:00
  • fb5d8f29ac feat(common): Implement RelationalLinkedChunk. Ivan Enderlin 2024-11-20 16:06:16 +01:00
  • 912b121d27 feat(timeline): make more errors transparent Benjamin Bouvier 2024-11-21 16:54:43 +01:00
  • 2e975d9b19 fix(base): all EventCacheStoreLock must refer to the same underlying cross-process lock Benjamin Bouvier 2024-11-21 14:23:55 +01:00
  • edc93e62b4 task(sdk): expose the SqliteEventCacheStore from the SDK crate Benjamin Bouvier 2024-11-21 12:41:39 +01:00
  • 9d6ffa951f doc(sdk): Specify how the Client::observe_events works. Ivan Enderlin 2024-11-25 11:01:44 +01:00
  • 079ec023b7 task(oidc): add logs when refreshing an OIDC token Benjamin Bouvier 2024-11-20 15:27:56 +01:00
  • e55a1c7e00 chore: Rework the crypto crate README Damir Jelić 2023-07-28 16:38:30 +02:00
  • ddd737e4d8 docs: Add a tutorial to the crypto crate Damir Jelić 2023-07-28 16:38:19 +02:00
  • 38a15afc9c build (apple): add dynamic type to debug package Mauro Romito 2024-11-22 17:17:43 +01:00
  • fa93daabd2 feat(ffi): Add RoomInfo::join_rule field to bindings Jorge Martín 2024-11-22 09:52:30 +01:00
  • 6b0987385e refactor(room_preview): make RoomPreview use the local known data only for joined rooms Jorge Martín 2024-11-21 17:01:50 +01:00
  • 48fbda844f fix(oidc): make sure we keep track of an ongoing OIDC refresh up to the end Benjamin Bouvier 2024-11-21 11:03:54 +01:00
  • bc70f3c051 refactor: Clean up the Room::compute_display_name() method Damir Jelić 2024-11-21 13:22:53 +01:00
  • d2f255d613 feat(ffi): add a new function helper to create a caption edit Benjamin Bouvier 2024-11-20 15:15:47 +01:00
  • bf86b168d7 feat(timeline): mark media events as editable in the timeline (#4303) Doug 2024-11-21 09:25:32 +00:00
  • e5ca44bb04 feat(base): Add EventCacheStore::handle_linked_chunk_updates. Ivan Enderlin 2024-11-19 10:24:29 +01:00
  • 1f563c964c task: add manual Sync impl for VerificationCache to avoid overflowing evaluation requirements Benjamin Bouvier 2024-11-20 13:07:04 +01:00
  • 9a9730d59e task: move the EventFactory to the matrix-sdk-test crate Benjamin Bouvier 2024-11-19 16:53:50 +01:00
  • af3ce4b32b task: remove the dependency from common to test Benjamin Bouvier 2024-11-19 16:53:08 +01:00
  • 03f0c3a001 task: move the MockClientBuilder to its own mock file Benjamin Bouvier 2024-11-19 16:27:41 +01:00
  • 639833acf1 task: move test_utils.rs to test_utils/mod.rs Benjamin Bouvier 2024-11-19 16:22:01 +01:00
  • 60893d2797 test(send_queue): add tests for editing a caption while media not sent yet Benjamin Bouvier 2024-11-18 16:27:28 +01:00
  • 9e45111d8b feat(send queue): allow updating caption while the media is being sent Benjamin Bouvier 2024-11-18 14:29:53 +01:00
  • 0080f17c1f feat(base): add a way to update a dependent send queue request Benjamin Bouvier 2024-11-18 14:28:19 +01:00
  • fa47af3dd6 refactor!(base): rename StateStore::update_dependent_queued_request to mark_dependent_queued_requests_as_ready Benjamin Bouvier 2024-11-18 14:14:43 +01:00
  • c4ff07124b feat(ffi): allow editing a media caption from the FFI layer Benjamin Bouvier 2024-11-18 12:27:52 +01:00
  • 900cf5d071 room: create edits to add a caption to a media event Benjamin Bouvier 2024-11-18 12:23:35 +01:00
  • 8a6ced0e8f fix(send queue): when adding a local reaction, look for media events in dependent requests too Benjamin Bouvier 2024-11-19 14:27:21 +01:00
  • f20401c657 test(timeline): add an integration test for sending an attachment in the timeline Benjamin Bouvier 2024-11-19 12:40:25 +01:00
  • b987fc1de2 fix(media): include the formatted caption and filename for audio and file attachments too Benjamin Bouvier 2024-11-19 12:40:16 +01:00
  • efeac2ef39 fix(base): clear a room's send queue and dependent event queue after removing it from the state store Benjamin Bouvier 2024-11-19 16:16:21 +01:00
  • 6b80055bd2 fix(utd_hook): Fix regression causing retry to report false late decrypt (#4252) Valere 2024-11-19 16:40:18 +01:00
  • 0af53e99ee feat(room_preview): Compute display name for RoomPreview when possible Jorge Martín 2024-11-19 09:05:52 +01:00
  • bc0c2a6be2 feat(room_preview): Add RoomPreview::heroes field for known rooms Jorge Martín 2024-11-19 09:05:41 +01:00
  • 0b16d488ad chore: Release matrix-sdk version 0.8.0 (#4291) matrix-sdk-ui-0.8.0 matrix-sdk-store-encryption-0.8.0 matrix-sdk-sqlite-0.8.0 matrix-sdk-qrcode-0.8.0 matrix-sdk-indexeddb-0.8.0 matrix-sdk-crypto-0.8.0 matrix-sdk-common-0.8.0 matrix-sdk-base-0.8.0 matrix-sdk-0.8.0 Damir Jelić 2024-11-19 14:11:19 +01:00
  • d40aac89cb fix: Use the DisplayName struct to protect against homoglyph attacks Damir Jelić 2024-11-04 15:30:08 +01:00
  • e4ebeb8a42 feat(base): Introduce a DisplayName struct Damir Jelić 2024-11-04 14:34:05 +01:00
  • 22bbe0c32e Add 'conn_id' field to sync_once span Erik Johnston 2024-11-19 10:30:31 +00:00
  • 05505a5a48 chore(deps): bump codecov/codecov-action from 4 to 5 dependabot[bot] 2024-11-18 14:55:34 +00:00
  • 21bb85ac21 feat(Room): Check if the user is allowed to do a room mention before trying to send a call notify event. (#4271) Timo 2024-11-18 15:15:28 +01:00
  • f1a442bad0 refactor(send queue): use a specialized mutex for locking access to the state store and being_sent Benjamin Bouvier 2024-11-14 16:22:35 +01:00
  • a8a83c3b45 feat(room_preview): Use room directory search as another data source Jorge Martín 2024-11-15 15:50:03 +01:00
  • 47246483fa doc(crypto): Fix typo Tobias Fella 2024-11-16 16:04:56 +01:00
  • 31006ab3bf feat(crypto): pin identity when we withdraw verification Hubert Chathi 2024-11-11 16:46:18 -05:00
  • 3ed5d34f49 feat(ffi): Add support for including captions with file uploads. Doug 2024-11-15 17:27:49 +00:00
  • 232391c6b2 task(send queue): move some assertions back to logged errors Benjamin Bouvier 2024-11-14 17:14:40 +01:00
  • cefd5a27f5 feat(ffi): make RoomPreviewInfo::room_type an enum, not an optional String Jorge Martín 2024-11-14 11:59:10 +01:00
  • 97952902a3 feat(ffi): add RoomPreviewInfo::num_active_members Jorge Martín 2024-11-14 11:58:42 +01:00
  • bf4a2ed297 feat(ffi): add is_direct and fn inviter to RoomPreview Jorge Martín 2024-11-14 11:26:03 +01:00
  • a499988621 task(CI): rename the upload code coverage task to make its name clearer Benjamin Bouvier 2024-11-14 16:24:05 +01:00
  • 0d01cabb8d refactor(widget): get rid of unused limits parameter when constructing a WidgetMachine Benjamin Bouvier 2024-11-14 11:20:10 +01:00
  • f3c0309fbc refactor(widget): get rid of ProcessingContext and inline it in its callers Benjamin Bouvier 2024-11-14 11:17:43 +01:00
  • 8070e3c165 refactor(widget): tidy up and start commenting the widget code Benjamin Bouvier 2024-11-14 10:54:07 +01:00
  • 02c7c2cdfc test(send queue): caching a thumbnail of unknown dimensions removes it from cache after upload Benjamin Bouvier 2024-11-13 14:53:44 +01:00
  • 9b6de4e436 test(send queue): add more tests for cancellation Benjamin Bouvier 2024-11-13 18:00:16 +01:00
  • b7d4be9b65 test(send queue): add a test for cancelling an upload while the thumbnail upload is active Benjamin Bouvier 2024-11-13 17:29:49 +01:00
  • bc86027853 test(send queue): add a test for cancelling a media upload before it's active Benjamin Bouvier 2024-11-13 16:52:09 +01:00
  • 50db563363 feat(send queue): allow aborting media uploads Benjamin Bouvier 2024-11-12 18:06:32 +01:00
  • 8fa07ec22d task(send queue): being_sent is an Option, not a set anymore Benjamin Bouvier 2024-11-12 18:02:12 +01:00
  • 7aa930b81c feat(WidgetDriver): Send state from state sync and not from timeline to widget (#4254) Timo 2024-11-14 14:55:25 +01:00
  • c02d8cee77 feat!(send queue): add a priority field to maintain ordering of sending Benjamin Bouvier 2024-11-13 14:20:12 +01:00
  • 2872af234b test(send queue): add a test for the ordering of media vs other events Benjamin Bouvier 2024-11-13 13:44:37 +01:00
  • d614878436 refactor(sdk): move formatted_caption_from to the SDK, rename it Jorge Martín 2024-11-14 09:38:56 +01:00
  • afaecdc457 feat(ffi): generate formatted captions for send_* media fns Jorge Martín 2024-11-13 16:12:31 +01:00
  • aca83fb4ed refactor: Move Event and Gap into matrix_sdk_base::event_cache. Ivan Enderlin 2024-11-11 17:17:09 +01:00
  • c3e28f7e33 refactor: Move linked_chunk from matrix-sdk to matrix-sdk-common. Ivan Enderlin 2024-11-13 11:19:35 +01:00
  • 949cd78d94 refactor: Move event_cache_store/ to event_cache/store/ in matrix-sdk-base. Ivan Enderlin 2024-11-11 16:51:03 +01:00
  • 99b9c50548 feat(send queue): implement unwedging for media uploads Benjamin Bouvier 2024-11-12 17:10:55 +01:00
  • 371e7bc052 task(tests): move error_too_large to the generic endpoint Benjamin Bouvier 2024-11-12 17:01:54 +01:00
  • 0541ec7e3f refactor(send queue): use SendHandle for media uploads too Benjamin Bouvier 2024-11-12 16:48:49 +01:00
  • 0509236cf8 doc(sdk): Improve documentation of Client::observe_events. Ivan Enderlin 2024-11-13 10:47:40 +01:00
  • 6cef7f20c5 feat(sdk): Implement Client::observe_events and Client::observe_room_events. Ivan Enderlin 2024-11-12 18:01:49 +01:00
  • e798a51709 feat(sdk): Implement EventHandlerContext for tuples. Ivan Enderlin 2024-11-12 15:39:00 +01:00
  • 8f8aad6f4d chore(cargo): Update eyeball-im-util to 0.7.0. Ivan Enderlin 2024-11-13 11:02:13 +01:00
  • af84c79e69 feat(base): Make ObservableMap::stream works on wasm32-unknown-unknown. Ivan Enderlin 2024-11-13 08:22:39 +01:00
  • a920c3fdec fix(ui): Disable share_pos() inside RoomListService. Ivan Enderlin 2024-11-13 09:13:23 +01:00
  • 9dd2d5ee3c task(architecture): address typo in architecture.md file about EncryptionSyncService Benjamin Bouvier 2024-11-12 16:08:19 +01:00
  • f341dc4131 refactor(ffi): remove duplicated fields in media event contents Benjamin Bouvier 2024-11-12 15:00:41 +01:00
  • d446eb933e test: Add a bunch examples to the MatrixMockServer docs Damir Jelić 2024-11-08 15:59:47 +01:00
  • 8f0f0fa4d4 chore(test): Don't require two room IDs in the mock_sync_room method Damir Jelić 2024-11-08 15:56:03 +01:00
  • 36b96ccef2 task(tests): have the test clients use Matrix v1.12 Benjamin Bouvier 2024-11-07 16:36:49 +01:00
  • 5957232e54 task(tests): add a MockClientBuilder to help with creating Clients connected to a MatrixMockServer Benjamin Bouvier 2024-11-07 16:31:46 +01:00
  • 6f60eea9ce task(tests): refactor mock system to use generic endpoints and avoid code duplication Benjamin Bouvier 2024-11-07 16:13:00 +01:00
  • 982c6eab54 feat(send queue): retry uploads if they've failed with transient errors Benjamin Bouvier 2024-11-07 13:39:42 +01:00
  • cfd0c5ce0c feat(media): allow passing a custom RequestConfig to an upload request Benjamin Bouvier 2024-11-07 13:39:28 +01:00
  • 8e2939bd91 refactor!(send queue): move RoomSendQueue::unwedge to the SendHandle type Benjamin Bouvier 2024-11-06 16:09:33 +01:00
  • 66a79729ed test(ci): Re-enable Complement Crypto. Ivan Enderlin 2024-11-12 10:30:09 +01:00
  • bd5f5f3fe0 chore(deps): bump crate-ci/typos from 1.27.0 to 1.27.3 dependabot[bot] 2024-11-11 14:28:12 +00:00
  • 403be3dea0 test(ci): Disable Complement Crypto for a short period of time. Ivan Enderlin 2024-11-11 13:12:08 +01:00
  • 4d39d176d9 fix(ffi): Simplify Client::new constructor. Ivan Enderlin 2024-11-11 11:14:27 +01:00