Commit Graph

  • 63257e6226 fix(sdk): Remove room unsubscriptions once the server has received them Ivan Enderlin 2023-05-17 11:59:16 +02:00
  • 53c20fcf1a feat(sdk): SlidingSync::add_list has an immediate effect. Ivan Enderlin 2023-05-17 11:27:11 +02:00
  • 1510576ce1 Expose the git description and commit hash in the crypto-ffi bindings Damir Jelić 2023-05-17 11:31:52 +02:00
  • 501b990248 chore(sdk): Rename SlidingSync::unsubscribe_to_room to …_from_room. Ivan Enderlin 2023-05-17 11:29:26 +02:00
  • 405db06495 refactor(crypto): get_or_load never returns crypto error Valere 2023-05-17 11:20:37 +02:00
  • be7e162ce1 Restore timeline integration tests Jonas Platte 2023-05-17 10:29:39 +02:00
  • b7374a78e9 doc(sdk): Update documentation for SlidingSync::(un)subscribe_to_room. Ivan Enderlin 2023-05-17 11:10:03 +02:00
  • d8a9408efe fix(sdk): Remove room unsubscriptions once the server has received them. Ivan Enderlin 2023-05-17 10:14:34 +02:00
  • 9b7122768f chore(sdk): Rename SlidingSync room subscriptions and unsubscriptions API. Ivan Enderlin 2023-05-17 10:01:55 +02:00
  • 5fa2fff8e5 ui: Re-export TLS features Jonas Platte 2023-05-17 09:39:46 +02:00
  • 31e32c307f ui: Add missing copyright headers Jonas Platte 2023-05-16 18:27:48 +02:00
  • d620f83e0d Enable syntax highlighting in sliding_sync README Jonas Platte 2023-05-16 18:26:56 +02:00
  • cfc8effa66 Move timeline API into a new crate Jonas Platte 2023-05-16 14:12:51 +02:00
  • 91d97cd588 sdk: Re-export matrix_sdk_base::crypto Jonas Platte 2023-05-16 13:46:19 +02:00
  • 910022bca6 sdk: Make useful push related methods public Jonas Platte 2023-05-16 13:45:55 +02:00
  • a6fe0bb34d sdk: Merge identical ensure_members, sync_members methods Jonas Platte 2023-05-16 12:03:04 +02:00
  • 0144826884 crypto: Log if and which fallback key got removed Damir Jelić 2023-05-09 17:47:24 +02:00
  • 35a0f3af25 crypto: Improve some logs around Olm decryption and encryption Damir Jelić 2023-04-17 11:24:57 +02:00
  • 9f1ec9ac3a crypto: Log the result of one-time key generation Damir Jelić 2023-04-13 10:43:46 +02:00
  • c796302a98 ffi: Fix typo in variant name Jonas Platte 2023-05-16 11:15:23 +02:00
  • 1c8d2a1225 Merge pull request #1923 from matrix-org/release-matrix-sdk-crypto-js-0.1.0-alpha.9 Richard van der Hoff 2023-05-15 19:50:53 +01:00
  • df8242a23e test(sdk): New Sliding Sync integration test suite for a mocked server Ivan Enderlin 2023-05-15 20:30:23 +02:00
  • 5b55145a1c Merge branch 'main' into test-sliding-sync-room-timeline Ivan Enderlin 2023-05-15 20:06:42 +02:00
  • d24a3922a0 test(sdk): Avoid ambiguity in pos. Ivan Enderlin 2023-05-15 20:03:02 +02:00
  • 6c0afae0f4 Merge remote-tracking branch 'origin/main' into release-matrix-sdk-crypto-js-0.1.0-alpha.9 matrix-sdk-crypto-js-0.1.0-alpha.9 Richard van der Hoff 2023-05-15 18:59:52 +01:00
  • 923d425585 crypto-js: expose a constructor for SigningKeysUploadRequest (#1925) Richard van der Hoff 2023-05-15 18:58:38 +01:00
  • 89bf7f27f3 fix typo Richard van der Hoff 2023-05-15 18:42:58 +01:00
  • 58dbe1e252 feat: add add_cached_list to SlidingSyncBuilder and SlidingSync (#1876) Benjamin Bouvier 2023-05-15 18:17:45 +02:00
  • c404e378a2 test: sliding sync list fields reloaded from the cache are observable in streams Benjamin Bouvier 2023-05-15 15:33:22 +02:00
  • 549edeb73b sdk: Instrument sliding response handling task Jonas Platte 2023-05-15 15:24:49 +02:00
  • b6302aca5c bench: add benchmarks for encrypted stores too Benjamin Bouvier 2023-05-15 16:53:32 +02:00
  • 3928259bb5 bench: add restore session benchmark Benjamin Bouvier 2023-05-11 17:36:29 +02:00
  • 3049328078 matrix-sdk-crypto-js v0.1.0-alpha.9 Richard van der Hoff 2023-05-15 15:07:14 +01:00
  • 3df473a56d update CHANGELOG Richard van der Hoff 2023-05-15 15:07:03 +01:00
  • 89384775ff chore(cargo): Update lockfile. Ivan Enderlin 2023-05-15 16:04:17 +02:00
  • d2e9347be4 test(sdk): Put sliding_sync behind its feature flag. Ivan Enderlin 2023-05-15 16:03:54 +02:00
  • 18954a6ba5 crypto-js: fix body of SignatureUploadRequest (#1917) Richard van der Hoff 2023-05-15 15:02:01 +01:00
  • 3449dad89b feat(bindings): expose getting member by id Chris Smith 2023-05-09 16:58:18 +01:00
  • 07267767fc test(sdk): New Sliding Sync integration test suite for a mocked server. Ivan Enderlin 2023-05-15 15:19:45 +02:00
  • dca7800a88 chore(cargo): uuid is no longer needed. Ivan Enderlin 2023-05-15 15:19:37 +02:00
  • caaeb8130d feat(sdk): Remove txn_id from requests sent by SlidingSync. Ivan Enderlin 2023-05-15 15:16:40 +02:00
  • 94d5d5187f test(sdk): Rename a test about SlidingSyncRoom. Ivan Enderlin 2023-05-15 15:14:58 +02:00
  • d973ac1e93 doc(sdk): Add missing documentation. Ivan Enderlin 2023-05-15 15:14:23 +02:00
  • 6185b4050a feat(sdk): Process SlidingSync response inside handle_response. Ivan Enderlin 2023-05-15 15:12:20 +02:00
  • ee87ec7b46 Improve logs for pagination Jonas Platte 2023-05-15 12:29:36 +02:00
  • ab7aa68c5b Fix lints Jonas Platte 2023-05-15 11:01:33 +02:00
  • fc8dd5a1cc Update crates/matrix-sdk/src/room/timeline/inner.rs Benjamin Bouvier 2023-05-12 19:01:24 +02:00
  • c0f8e31e79 chore: add tracing spans for code in TimelineBuilder suspected to be slow Benjamin Bouvier 2023-05-12 17:37:27 +02:00
  • 7ff125dae1 chore(xtask): clean apple generated bindings directory before building new ones Stefan Ceriu 2023-05-12 16:58:12 +03:00
  • 593c99d377 ffi: add method for getting the build time git short sha value (#1909) Stefan Ceriu 2023-05-11 19:32:09 +03:00
  • 9d0c40c207 feat(sdk): Clean up and test SlidingSyncRoom Ivan Enderlin 2023-05-11 18:03:30 +02:00
  • 870d6d6ca3 Make timeline event Debug impls less verbose Jonas Platte 2023-05-11 13:19:22 +02:00
  • 1d2e45191d Make Debug impl for RequestConfig less verbose Jonas Platte 2023-05-11 13:19:02 +02:00
  • 30eee70e9d Add DebugStructExt helper for writing less verbose Debug impls Jonas Platte 2023-05-11 13:03:04 +02:00
  • f23fd1809b Merge branch 'main' into feat-sliding-sync-room Ivan Enderlin 2023-05-11 17:47:08 +02:00
  • ab96a696ae test(sdk): Add test cases for SlidingSyncRoom::update. Ivan Enderlin 2023-05-11 17:45:14 +02:00
  • 149950cc29 sliding sync: Use RangeInclusive<u32> instead of raw start/end UInt values (#1877) Benjamin Bouvier 2023-05-11 14:27:46 +02:00
  • a84960787d Fix remaining sync response Debug event content leaks Jonas Platte 2023-05-11 12:28:16 +02:00
  • dab4cdd863 ffi: Add MediaSource::{from_json, to_json} Jonas Platte 2023-05-11 13:06:06 +02:00
  • d6100915df bench: add sled back to the crypto benchmarks Benjamin Bouvier 2023-05-09 17:43:24 +02:00
  • 5f228f408e bench: set up a Tokio context when dropping the sqlite store Benjamin Bouvier 2023-05-09 17:24:20 +02:00
  • 93f5562343 Only send verifications requests to devices that are cross-signed (#1884) Kévin Commaille 2023-05-11 11:59:59 +02:00
  • 18971e8b11 fix for notification item to get sender in invited rooms Mauro Romito 2023-05-10 13:47:32 +02:00
  • 68337d58f7 chore(ffi): Update according to last commit. Ivan Enderlin 2023-05-11 09:18:43 +02:00
  • 873bc6b2a4 Just to trigger the CI, after Github issues. Ivan Enderlin 2023-05-11 09:01:32 +02:00
  • 9842645377 Fix struct name for DebugNotification output Jonas Platte 2023-05-10 18:22:53 +02:00
  • 176934e359 Fix debug output for raw events Jonas Platte 2023-05-10 09:15:49 +02:00
  • 75f3bbcf63 chore(ffi): Update according to last commit. Ivan Enderlin 2023-05-10 15:57:43 +02:00
  • 02cfee68c4 feat(sdk): SlidingSyncRoom is cheap to clone. Ivan Enderlin 2023-05-10 15:51:53 +02:00
  • 09bb0fcdd3 test(sdk): Testing FrozenSlidingSyncRoom receives a subset of the timeline queue. Ivan Enderlin 2023-05-10 14:42:00 +02:00
  • 54bc774d62 test(sdk): Clarify a test with json! instead of a string. Ivan Enderlin 2023-05-10 14:15:07 +02:00
  • e2af4ccfe6 fix(ffi): Fix types. Ivan Enderlin 2023-05-10 14:01:29 +02:00
  • 1a50afe167 feat(sdk): Rethink the SlidingSyncList::state after a reset Ivan Enderlin 2023-05-10 13:56:57 +02:00
  • 3a25608a6e feat(sdk): Rethink the SlidingSyncList::state after a reset. Ivan Enderlin 2023-05-10 13:31:52 +02:00
  • 22b2e54aca test(sdk): Test SlidingSyncRoom::update, esp. the timeline_queue. Ivan Enderlin 2023-05-10 13:17:09 +02:00
  • 7c21f8851c test(sdk): Test SlidingSyncRoom::state. Ivan Enderlin 2023-05-08 13:45:36 +02:00
  • c00b2db51b test(sdk): Test SlidingSyncRoom::prev_batch. Ivan Enderlin 2023-05-08 11:38:43 +02:00
  • e7e66dc17e test(sdk): Test SlidingSyncRoom::required_state. Ivan Enderlin 2023-05-08 11:35:12 +02:00
  • d688918036 feat(sdk): Don't update invite_state in SlidingSyncRoom. Ivan Enderlin 2023-05-08 11:22:51 +02:00
  • bafcaa9c85 test(sdk): Test SlidingSyncRoom::*unread_notifications. Ivan Enderlin 2023-05-08 11:21:00 +02:00
  • 379c9d6520 test(sdk): Test SlidingSyncRoom::is_dm and ::is_initial_response. Ivan Enderlin 2023-05-04 18:04:31 +02:00
  • 04feb7a2a2 test(sdk): Test SlidingSyncRoom::name. Ivan Enderlin 2023-05-04 16:28:32 +02:00
  • de373c07a6 feat(sdk): Add a constant to represent the max number of timeline events to put in the cache. Ivan Enderlin 2023-05-04 15:09:09 +02:00
  • 39590c4e07 chore(sdk): Re-order methods on SlidingSyncRoom. Ivan Enderlin 2023-05-04 14:50:53 +02:00
  • 3a0ebbd271 doc(sdk): Update documentation. Ivan Enderlin 2023-05-04 14:39:22 +02:00
  • 32ef2f7c61 feat(sdk): Simplify SlidingSyncRoom::timeline_queue. Ivan Enderlin 2023-05-04 14:15:48 +02:00
  • 6afca5367d feat(sdk): Replace SlidingSyncRoom::is_cold by a real state enum. Ivan Enderlin 2023-05-04 12:13:46 +02:00
  • ef9bf87d89 chore(sdk): Write imports at the correct place. Ivan Enderlin 2023-05-04 12:13:15 +02:00
  • 349c7c3f68 feat(sdk): Remove SlidingSyncRoom::prev_batch. Ivan Enderlin 2023-05-04 11:39:22 +02:00
  • cb2bb84d88 fix(sdk): Remove SlidingSyncRoom::is_loading_more. Ivan Enderlin 2023-05-04 09:48:01 +02:00
  • 4132571270 doc(sdk): Write documentation for SlidingSyncRoom. Ivan Enderlin 2023-05-04 09:38:42 +02:00
  • 0038a0389a chore(sdk): Create one block for rooms, one block for lists. Ivan Enderlin 2023-05-04 09:37:57 +02:00
  • 3e6dd1cecb feat(sdk): Don't remove and re-insert a room when it exists. Ivan Enderlin 2023-05-04 09:05:57 +02:00
  • 6eeee8ee53 ffi: Expose EventTimelineItem::read_receipts and the NotificationItem#room_canonical_alias Mauro 2023-05-09 17:26:07 +02:00
  • 2de786c516 Rename fetch_event_details to fetch_details_for_event Jonas Platte 2023-05-09 15:05:40 +02:00
  • 159b999485 Update call_event_handlers span to default level of info Jonas Platte 2023-05-09 13:09:05 +02:00
  • b6453772c3 Fix remaining sync response Debug event content leaks Jonas Platte 2023-05-09 12:13:09 +02:00
  • 0aa1f599c5 common: Make debug module public Jonas Platte 2023-05-09 10:57:08 +02:00
  • 1f01555e4e sdk: Add more logging and a new branch to fetch_in_reply_to_details Jonas Platte 2023-05-09 13:03:28 +02:00
  • c9d35a8fe5 sdk: Clean up spans for sliding sync_once Jonas Platte 2023-05-09 12:28:57 +02:00