Commit Graph

  • 49252b5342 test: Restore Complement Crypto. Ivan Enderlin 2024-09-03 11:36:01 +02:00
  • d8b0f9f3d7 crypto: add cryptostore integ test Richard van der Hoff 2024-08-27 22:24:12 +01:00
  • 1de99161e2 indexeddb: implement get_inbound_group_sessions_for_device_batch Richard van der Hoff 2024-08-28 19:11:48 +01:00
  • 675f576343 indexeddb: add new index on inbound_group_sessions Richard van der Hoff 2024-08-29 12:39:59 +01:00
  • 7cf8e9eb9b indexeddb: add new fields to InboundGroupSessionIndexedDbObject Richard van der Hoff 2024-08-27 22:25:14 +01:00
  • 7bcc920514 sqlite: add get_inbound_group_sessions_for_device_batch Richard van der Hoff 2024-08-27 22:40:47 +01:00
  • 12653fb2b6 sqlite: add new curve_key and sender_data_type columns Richard van der Hoff 2024-08-27 22:39:46 +01:00
  • eeaf31ce53 crypto: implement MemoryStore::get_inbound_group_sessions_for_device_batch Richard van der Hoff 2024-08-27 22:28:31 +01:00
  • 228a117ccb crypto: add get_inbound_group_sessions_for_device_batch to CryptoStore Richard van der Hoff 2024-08-27 22:23:22 +01:00
  • 3f408a9a36 crypto: Create a SenderDataType enum Andy Balaam 2024-08-02 11:17:37 +01:00
  • 7f4e79e2a3 Add link to SQLite docs Kévin Commaille 2024-09-02 16:07:50 +02:00
  • 7807ed8bda sqlite: Update last access time first to force write transaction Kévin Commaille 2024-09-02 15:28:05 +02:00
  • f8dd5c76d2 crypto: Add tests for sender_data after receiving megolm sessions Richard van der Hoff 2024-08-09 12:26:20 +01:00
  • 6068d3e870 crypto: Pull out Session::build_encrypted_event Richard van der Hoff 2024-08-08 18:24:10 +01:00
  • 76d161ac9a crypto: expose SenderDataFinder::find_using_device_data Richard van der Hoff 2024-08-30 16:04:41 +01:00
  • ca42657abb crypto: Log the received device keys on an encrypted olm message Richard van der Hoff 2024-08-09 12:51:36 +01:00
  • 4636a9177e chore(sdk): Rename HomeserverConfig variants. Ivan Enderlin 2024-09-02 14:29:03 +02:00
  • 5e662e855d fix(sdk): Don't subscribe to already subscribed rooms. Ivan Enderlin 2024-09-02 10:16:11 +02:00
  • 513c80df5e timeline: add comment to TimelineFocus::PinnedEvents Benjamin Bouvier 2024-08-29 16:52:31 +02:00
  • 956dda1073 timeline: rename TimelineInner to TimelineController Benjamin Bouvier 2024-08-29 16:48:43 +02:00
  • de6016de1e timeline: remove Inner in TimelineInnerStateTransaction Benjamin Bouvier 2024-08-29 16:44:46 +02:00
  • 72f42a46d8 timeline: remove Inner in TimelineInnerState Benjamin Bouvier 2024-08-29 16:43:38 +02:00
  • 03a4cc46ad timeline: remove Inner in TimelineInnerSettings Benjamin Bouvier 2024-08-29 16:42:40 +02:00
  • 63ca064f93 timeline: remove Inner in TimelineInnerMetadata Benjamin Bouvier 2024-08-29 16:42:05 +02:00
  • a19cb24567 fix(sdk): Sliding sync discovers the proxy on the server, not the homserver. Ivan Enderlin 2024-09-02 13:42:41 +02:00
  • 99c44ee883 fix(sdk): Don't confuse server and homeserver. Ivan Enderlin 2024-09-02 11:48:22 +02:00
  • d0c5d87a96 doc(sdk): Improve documentation of HomeserverConfig. Ivan Enderlin 2024-09-02 11:44:18 +02:00
  • 222be6983c test(sdk): Test HomeserverConfig::discover. Ivan Enderlin 2024-09-02 11:38:04 +02:00
  • f3bc24e98f chore(sdk): Extract HomeserverConfig & co. in its own module. Ivan Enderlin 2024-09-02 10:45:45 +02:00
  • 22a19e26d3 feat(sdk): Add Client::server. Ivan Enderlin 2024-08-28 20:02:54 +02:00
  • b9628301ec timeline: beef up comment around TimelineEventContext::should_add_new_items Benjamin Bouvier 2024-08-29 16:40:50 +02:00
  • b4683c0ff5 timeline: reinterpret LiveTimelineUpdatesAllowed as TimelineFocusKind Benjamin Bouvier 2024-08-29 16:39:37 +02:00
  • cb3c5ab1ce timeline: move the decision to add a timeline item upwards Benjamin Bouvier 2024-08-29 16:31:50 +02:00
  • 8c5ffc9a96 timeline: don't clear the internal counter in presence of local echoes Benjamin Bouvier 2024-08-29 18:01:06 +02:00
  • 9ec46ddf2c timeline(tests): use the EventFactory in more tests Benjamin Bouvier 2024-08-29 17:24:11 +02:00
  • bfb04f2ddd event factory: allow having unsigned data too Benjamin Bouvier 2024-08-29 17:19:42 +02:00
  • eecd00cd98 indexeddb: Pass the db transaction into do_schema_upgrade closures Andy Balaam 2024-08-02 11:44:05 +01:00
  • b8d90286aa testing: enforce a test_ prefix for tests Benjamin Bouvier 2024-08-29 17:42:33 +02:00
  • 424d01d964 Revert "doc(sdk): Update CHANGELOG.md." Kévin Commaille 2024-08-31 14:36:41 +02:00
  • 84e4552da7 Revert "feat(sdk): Remove NotificationSettings::subscribe_to_changes." Kévin Commaille 2024-08-31 14:33:45 +02:00
  • c4624cc863 timeline: add local echo handling for *all* timelines Benjamin Bouvier 2024-08-29 15:10:10 +02:00
  • c3973589c8 timeline(test): add an integration test for non-live timelines not handling local echoes Benjamin Bouvier 2024-08-29 15:09:32 +02:00
  • 224292ab3e testing: remove EventBuilder::make_sync_reaction which is unused Benjamin Bouvier 2024-08-29 15:27:40 +02:00
  • 0311f30182 timeline: get rid of one use of sync_timeline_event Benjamin Bouvier 2024-08-29 15:24:39 +02:00
  • 0877445273 timeline: add assert_let_timeout for testing purposes Benjamin Bouvier 2024-08-29 15:24:31 +02:00
  • 7f02447c78 indexeddb: remove InboundGroupSessionIndexedDbObject::new Richard van der Hoff 2024-08-27 21:07:10 +01:00
  • 308d658224 indexeddb: add InboundGroupSessionIndexedDbObject::from_session Richard van der Hoff 2024-08-27 21:06:04 +01:00
  • 9808ad7d16 indexeddb: fix a typo in a comment Richard van der Hoff 2024-08-27 12:25:44 +01:00
  • 06fc220268 ffi: use the send queue when sending an edit with Room::edit Benjamin Bouvier 2024-08-28 17:57:24 +02:00
  • f399f229ae send queue: remove outdated comment Benjamin Bouvier 2024-08-28 17:55:50 +02:00
  • a8b38d271e sqlite: Merge init and run_migrations for SqliteEventCacheStore Kévin Commaille 2024-08-27 12:03:45 +02:00
  • 66e901bb9b sqlite: Make migrations atomic Kévin Commaille 2024-08-27 11:54:39 +02:00
  • 9edca06d3b http client: don't infinitely retry network failures if there's no retry limit Benjamin Bouvier 2024-08-28 16:56:58 +02:00
  • 47444cc671 sdk-base: hack to avoid over-recursion when evaluating Send/Sync bounds in rustc Benjamin Bouvier 2024-08-27 18:00:27 +02:00
  • e1fe1ca129 timeline: add support for local reactions to local echoes Benjamin Bouvier 2024-08-26 12:20:58 +02:00
  • 6181387776 timeline: allow reactions in local|remote event timeline items Benjamin Bouvier 2024-08-21 18:22:24 +02:00
  • 81a75508dc send queue: early return if there are no dependent events to handle Benjamin Bouvier 2024-08-13 10:36:31 +02:00
  • f6faf6267e send queue: add integration test for sending and aborting reactions Benjamin Bouvier 2024-08-13 10:29:56 +02:00
  • 25db0b2cc0 send queue: handle reactions in the send queue Benjamin Bouvier 2024-07-22 17:49:52 +02:00
  • 2d6aec7319 send queue: put a LocalEcho's event content into a new enum Benjamin Bouvier 2024-07-22 17:49:08 +02:00
  • d17a49e827 sqlite: Add more methods to SqliteKeyValueStoreAsyncConnExt Kévin Commaille 2024-08-26 15:15:55 +02:00
  • 1321e92b30 sqlite: Rename SqliteObjectStoreExt to SqliteKeyValueStoreAsyncConnExt Kévin Commaille 2024-08-26 15:07:48 +02:00
  • 6e62f8b269 sqlite: Rename utils::ConnectionExt to SqliteKeyValueStoreConnExt Kévin Commaille 2024-08-26 15:01:06 +02:00
  • 6e369aecc9 sqlite: Rename SqliteConn to SqliteAsyncConn and SqliteObjectExt to SqliteAsyncConnExt Kévin Commaille 2024-08-26 14:10:04 +02:00
  • ece33059e1 indexeddb: Reinstate crypto store integration tests Richard van der Hoff 2024-08-27 22:08:29 +01:00
  • 468ee53644 sliding sync version(chore): address review comments Benjamin Bouvier 2024-08-27 16:43:25 +02:00
  • 067b1e0020 feat(ffi): Add Client::available_sliding_sync_versions. Ivan Enderlin 2024-08-27 14:24:58 +02:00
  • 96c7f36d75 feat(sdk): Add Client::available_sliding_sync_versions. Ivan Enderlin 2024-08-27 14:19:23 +02:00
  • 01f88f1c4b test: Disable Complement Crypto for a short period. Ivan Enderlin 2024-08-26 17:23:09 +02:00
  • 9e5b06902d test(sdk): Add 2 more tests for auto-discovery of sliding sync. Ivan Enderlin 2024-08-26 17:20:39 +02:00
  • 245f011fb6 test(sdk): Restore disabled tests. Ivan Enderlin 2024-08-26 17:08:08 +02:00
  • e1f623cf56 feat: Use the new sliding_sync::VersionBuilder. Ivan Enderlin 2024-08-26 16:18:38 +02:00
  • 01fd365f67 feat(sdk): Add sliding_sync::VersionBuilder. Ivan Enderlin 2024-08-26 16:10:23 +02:00
  • 875f59133b feat(sdk): ClientBuilder extracts get_supported_versions. Ivan Enderlin 2024-08-26 15:57:58 +02:00
  • de8537f8b0 feat: Use sliding_sync::Version everywhere. Ivan Enderlin 2024-08-23 15:23:14 +02:00
  • d9ffe2867f feat(sdk): Add sliding_sync::Version. Ivan Enderlin 2024-08-23 15:22:53 +02:00
  • b908fa78b9 The length param from Truncate was not being exposed Daniel Salinas 2024-08-23 11:37:35 -04:00
  • f568e8c4d3 sdk: Handle a clippy warning Kévin Commaille 2024-08-27 12:10:33 +02:00
  • 8005515ec5 common: generate wasm bindings for ShieldStateCode on wasm architectures (#3888) Richard van der Hoff 2024-08-27 12:02:37 +01:00
  • 758171931d refactor collect_session_recipients in advance of some behavioural changes (#3884) Hubert Chathi 2024-08-27 06:59:38 -04:00
  • 47671a182d Expose login with email + password on the client Daniel Salinas 2024-08-23 11:40:37 -04:00
  • b9d49b85c3 sqlite: Use transaction for chunked queries Kévin Commaille 2024-08-25 12:09:19 +02:00
  • 5753c53ea7 test utils: use a macro for assert_next_with_timeout Benjamin Bouvier 2024-08-26 16:29:36 +02:00
  • fe143ffbed sqlite: Remove SqliteObjectEventCacheStoreExt trait Kévin Commaille 2024-08-23 09:53:40 +02:00
  • 25e406f669 sqlite: Remove unused path field Kévin Commaille 2024-08-23 09:49:43 +02:00
  • 154f86aa20 sqlite: Rename deadpool_sqlite::Object to SqliteConn consistently Kévin Commaille 2024-08-23 09:46:18 +02:00
  • c769e32b41 ffi: Expose the new cache store path to the bindings. matrix-sdk-ffi/20240827 Doug 2024-08-23 11:18:49 +01:00
  • c78639d880 sdk-ui: fix pinned events benchmark Jorge Martín 2024-08-21 14:28:10 +02:00
  • af5107f529 sdk: add RequestConfig to Room::event_with_context to match Room::event, save its results to the event cache too. Jorge Martín 2024-08-21 14:27:43 +02:00
  • d6d9cd129a sdk: add fn RoomEventCache::save_events to save several events using the same RwLock for the cache, which should be faster Jorge Martín 2024-08-21 14:21:44 +02:00
  • d1d4c6417c sdk-ui: fix and add new pinned events tests. Jorge Martín 2024-08-21 14:26:35 +02:00
  • d5630bc5cd sdk-ui: load pinned events with their related events Jorge Martín 2024-08-21 14:18:41 +02:00
  • 8a6ac05519 sdk-ui: enable handling new synced timeline events for TimelineFocus::PinnedEvents Jorge Martín 2024-08-21 14:11:50 +02:00
  • a3262740ac sdk-ui: handle events related to a pinned event in TimelineEventHandler Jorge Martín 2024-08-21 14:10:45 +02:00
  • fb63c8dfbc crypto: Move should_recalculate_sender_data to OlmMachine Andy Balaam 2024-08-22 11:22:25 +01:00
  • e01c1aecbb crypto: Add variants to SenderData to represent different verification states Hubert Chathi 2024-08-19 18:20:34 -04:00
  • 6e5601db1f Enable web-sys features for tests Kévin Commaille 2024-08-23 11:45:14 +02:00
  • 5586a81703 chore: Use ruma::time instead of instant Kévin Commaille 2024-08-23 11:26:05 +02:00
  • be133886b7 sdk-ui: remove dependency to async_trait \o/ Benjamin Bouvier 2024-08-22 16:02:17 +02:00
  • 6fb38179a4 room edit: don't use async_trait for EventSource either Benjamin Bouvier 2024-08-22 14:16:23 +02:00