Commit Graph

  • ef3ffda2d3 ffi: Replace EventTimelineItem::{raw, fmt_debug} by debug_info Jonas Platte 2023-04-05 09:40:24 +02:00
  • 3ac6b10daa sdk: Add RemoteEventTimelineItem::latest_edit_json Jonas Platte 2023-04-05 09:13:04 +02:00
  • be631849e8 fix(sdk): Move SlidingSync::cache_to_storage to cache. Ivan Enderlin 2023-04-05 09:17:54 +02:00
  • fc8b9d7de4 feat(sdk): Extract SlidingSync cache functions into their own module. Ivan Enderlin 2023-04-05 09:05:03 +02:00
  • 2c38c6c371 sdk: Log in_reply_to field in timeline::Message Debug impl Jonas Platte 2023-04-04 17:02:15 +02:00
  • 81e2725b6f Remove DirectWithheldCode Damir Jelić 2023-03-30 15:54:31 +02:00
  • fc56ae3dcf Expose invite_user_by_id over the FFI Simon Farre 2023-04-04 11:04:54 +02:00
  • e8c56f8163 feat: expose inviter to ffi Chris Smith 2023-04-03 12:16:30 +01:00
  • 690c3b1977 Merge pull request #1699 from Hywan/feat-sdk-sliding-sync-list-revamp-sync-mode Ivan Enderlin 2023-04-03 15:04:21 +02:00
  • ac800180a7 Merge branch 'main' into feat-sdk-sliding-sync-list-revamp-sync-mode Ivan Enderlin 2023-04-03 14:36:26 +02:00
  • b7a78c865c Ensure correct Olm session selection for encrypted messages Damir Jelić 2023-03-31 20:12:02 +02:00
  • aeda2d363c Merge pull request #1736 from Hywan/feat-sliding-sync-storage Ivan Enderlin 2023-04-03 12:54:49 +02:00
  • 69af5b3c6f feat(sdk): When a SlidingSync cache is obsolete, let's remove it. Ivan Enderlin 2023-04-03 10:42:21 +02:00
  • 56a7854b53 Merge branch 'main' into feat-sdk-sliding-sync-list-revamp-sync-mode Ivan Enderlin 2023-04-03 10:10:31 +02:00
  • 60d4ac14b7 Merge pull request #1725 from Hywan/feat-remove-jack-in Ivan Enderlin 2023-04-01 13:27:20 +02:00
  • 78b9758377 Merge pull request #1721 from matrix-org/rav/crypto-js-releases Richard van der Hoff 2023-03-31 11:22:50 +01:00
  • a5fd71a251 prettify markdown Richard van der Hoff 2023-03-31 11:08:26 +01:00
  • 7958a20fc1 Add short_retry on get_profile Alfonso Grillo 2023-03-30 16:48:36 +02:00
  • 6878f52885 Upgrade UniFFI Jonas Platte 2023-03-30 19:03:48 +02:00
  • ea5b4c98c1 feat(labs): Remove jack-in. Ivan Enderlin 2023-03-30 18:03:38 +02:00
  • 60432abe0d feat(ffi): Add SlidingSync::reset_lists. Ivan Enderlin 2023-03-30 17:56:57 +02:00
  • 2d537e5211 feat(sdk): Add SlidingSync::reset_lists. Ivan Enderlin 2023-03-30 17:55:20 +02:00
  • 7dd086fcdc Make sqlite bundling optional Jonas Platte 2023-03-30 15:37:57 +02:00
  • bd6075f6b4 fix(sdk): Try to find workarounds about the bug in SlidingSync Proxy. Ivan Enderlin 2023-03-30 17:52:33 +02:00
  • 48b67759ed sdk: Make PaginationOption's custom variant's strategy return a ControlFlow Kévin Commaille 2023-03-30 16:39:08 +02:00
  • f60c678af8 Apply suggestions from code review Richard van der Hoff 2023-03-30 15:38:42 +01:00
  • a35d96c15e Update swift.rs innocent fish 2023-03-29 17:00:37 -04:00
  • ade7fabb6b Add Client::get_profile Alfonso Grillo 2023-03-30 15:44:27 +02:00
  • dd4cb9c793 test(sdk): Fix SlidingSync doctests. Ivan Enderlin 2023-03-30 15:10:17 +02:00
  • 2ace220366 chore(sdk): Rename rooms_list to room_list. Ivan Enderlin 2023-03-30 15:06:19 +02:00
  • 4f3f9c7af8 Fixes and documentation for crypto-js releases Richard van der Hoff 2023-03-30 13:57:15 +01:00
  • 43d4e7b46a Merge pull request #1719 from matrix-org/release-matrix-sdk-crypto-js-0.1.0-alpha.6 Richard van der Hoff 2023-03-30 13:53:39 +01:00
  • 4be02d0e99 test(sdk): Wait longer on the server to reply. Ivan Enderlin 2023-03-30 14:43:33 +02:00
  • e34708862d test(sdk): Remove a useless SS test. Ivan Enderlin 2023-03-30 14:31:52 +02:00
  • f269202ece fix(sdk): Try to find a workaround for a bug in the SS Proxy. Ivan Enderlin 2023-03-30 14:23:59 +02:00
  • 408f966a50 sdk: Rename flag to update fully-read marker Kévin Commaille 2023-03-30 13:30:15 +02:00
  • 553ffe97a8 sdk: Never insert read marker in last position in timeline Kévin Commaille 2023-03-30 12:07:44 +02:00
  • 23f16f065b fix(sdk): Make out-of-bounds DELETE a no-op. Ivan Enderlin 2023-03-30 13:37:31 +02:00
  • f246296ff9 matrix-sdk-crypto-js v0.1.0-alpha.6 matrix-sdk-crypto-js-v0.1.0-alpha.6 matrix-sdk-crypto-js-0.1.0-alpha.6 Richard van der Hoff 2023-03-30 12:26:29 +01:00
  • ca6faffc72 bindings: Reset the timeline when the user's ignore list is updated Mauro 2023-03-30 13:22:06 +02:00
  • 4c42205633 chore(labs): Update to the latest SS version. Ivan Enderlin 2023-03-30 12:57:24 +02:00
  • f9881065c1 Add an API to notify apps when a megolm key is received Richard van der Hoff 2023-03-30 11:29:39 +01:00
  • 1af1504ef3 feat(ffi): Update to the latest Sliding Sync version. Ivan Enderlin 2023-03-30 11:42:22 +02:00
  • 7fd1c93e1a Document the fact that we require protoc to build the bindings Damir Jelić 2023-03-30 10:42:07 +02:00
  • a33d2ad28f bindings: Add ignore_user Doug 2023-03-30 09:59:19 +01:00
  • bd8a97cfd7 feat(sdk): Update the SyncOp::Delete operation. Ivan Enderlin 2023-03-30 10:35:27 +02:00
  • ce94fcc2e2 feat(sdk): Update the SyncOp::Insert operation. Ivan Enderlin 2023-03-30 10:00:21 +02:00
  • a442ca1893 Merge branch 'main' into feat-sdk-sliding-sync-list-revamp-sync-mode Ivan Enderlin 2023-03-29 17:29:15 +02:00
  • db7746062f doc(sdk): Write more doc. Ivan Enderlin 2023-03-29 17:23:37 +02:00
  • bc9d5016dc chore(sdk): Move maximum_number_of_rooms's update a little bit above. Ivan Enderlin 2023-03-29 17:15:07 +02:00
  • 581c02307e fix(sdk): Rewrite SyncOp::Invalidate entirely. Ivan Enderlin 2023-03-29 17:11:01 +02:00
  • a4f8c35efc fix(sdk): Rewrite SyncOp::Insert entirely. Ivan Enderlin 2023-03-29 16:26:38 +02:00
  • 2878148b0e fix(sdk): Prevent ouf of bounds accesses for SyncOp::Delete. Ivan Enderlin 2023-03-29 16:10:44 +02:00
  • d6cfd871c4 feat(sdk): Protect against invalid responses from the server. Ivan Enderlin 2023-03-29 15:53:57 +02:00
  • 18597f8f63 fix(sdk): Fix out-of-bounds and re-implement SlidingOp::Sync handler. Ivan Enderlin 2023-03-29 12:21:36 +02:00
  • 6b5f0b8ec3 Reset visible timeline when a gappy sync arrives Jonas Platte 2023-03-28 19:57:42 +02:00
  • 172867fd4d Simplify the withheld code receiving Damir Jelić 2023-03-29 13:42:34 +02:00
  • 50cc356c7b Use Observable for sliding_sync_reset_broadcast_tx Jonas Platte 2023-03-29 13:03:54 +02:00
  • 2ac192f307 Use str::to_owned instead of str::to_string Jonas Platte 2023-03-29 10:31:37 +02:00
  • 03aba95e1e Switch the FFI bindings to use the SQLite cryptostore Damir Jelić 2023-03-29 11:44:33 +02:00
  • 616e57eb1c test(sdk): Update integration test suite for SS. Ivan Enderlin 2023-03-29 11:05:02 +02:00
  • 5c695bbf8f feat(ffi): Update add_range calling. Ivan Enderlin 2023-03-29 10:55:14 +02:00
  • 861a05be69 feat(sdk): Remove updated_rooms from SlidingSyncListInner::update_state. Ivan Enderlin 2023-03-29 10:51:33 +02:00
  • cf17a05ecc Restructure the withheld code types Damir Jelić 2023-03-29 10:45:26 +02:00
  • 385dd9113b feat(sdk): Simplify SlidingSyncListInner::update_state. Ivan Enderlin 2023-03-29 09:52:58 +02:00
  • 3f4f9c1fbd chore(sdk): Remove a useless reference. Ivan Enderlin 2023-03-29 09:52:05 +02:00
  • bf163ef5ad feat(sdk): Replace checked_sub + unwrap_or_default by saturating_sub. Ivan Enderlin 2023-03-29 09:23:47 +02:00
  • 83cf820508 chore(sdk): More code in blocks to remove mutable variables with larger scopes. Ivan Enderlin 2023-03-29 09:23:10 +02:00
  • d680b331d0 Make tokio a workspace dependency Jonas Platte 2023-03-28 20:37:04 +02:00
  • cd33d8ca38 Always use RwLock and Mutex from tokio Jonas Platte 2023-03-28 20:33:01 +02:00
  • 9bfd88cec4 sdk: Always use tokio OnceCell Jonas Platte 2023-03-28 17:56:23 +02:00
  • d5fba19655 Don't allow the no_olm withheld code sent flag to be reset Damir Jelić 2023-03-28 13:48:07 +02:00
  • ab29e1b319 !debug Ivan Enderlin 2023-03-27 14:32:11 +02:00
  • a2dbeda758 feat(sdk): SlidingSyncList cannot be removed from SlidingSync. Ivan Enderlin 2023-03-27 14:25:40 +02:00
  • 0d3fd31893 Clean up the withheld code types Damir Jelić 2023-03-27 09:21:48 +02:00
  • 8b5de47acb chore(deps): bump openssl from 0.10.45 to 0.10.48 (#1706) matrix-sdk-crypto-ffi-0.3.2 dependabot[bot] 2023-03-25 21:12:52 +01:00
  • 5a7ea607c6 sdk: Use new filter constructor to enable room members lazy-loading Kévin Commaille 2023-03-25 21:12:09 +01:00
  • 09fc258f9a ffi: Make name parameter optional in CreateRoomParameters Flescio 2023-03-23 17:56:52 +01:00
  • fdba90587a feat(sdk): Reset the SlidingSyncList when starting a stream. Ivan Enderlin 2023-03-23 17:44:25 +01:00
  • 63ed675158 doc(sdk): Extract the giant SS doc inside a README.md file. Ivan Enderlin 2023-03-23 17:38:20 +01:00
  • 767e9b3cf2 feat(sdk) Reset SlidingSyncList when a range is modified. Ivan Enderlin 2023-03-23 16:32:53 +01:00
  • 8d4ceac21f test(sdk): Continue to fix, test and clean up SlidingSyncList Ivan Enderlin 2023-03-23 13:18:09 +01:00
  • d1616d5654 chore(sdk): Remove a useless comma. Ivan Enderlin 2023-03-23 13:17:54 +01:00
  • 492e08598c feat(sdk): Revamp SlidingSyncList::*range*. Ivan Enderlin 2023-03-23 12:34:48 +01:00
  • 6716939b6d chore(sdk): Re-order fields in SlidingSyncListInner. Ivan Enderlin 2023-03-23 11:56:08 +01:00
  • 73959e023b feat(sdk): Remove for FullSync suffix to sync modes. Ivan Enderlin 2023-03-23 11:53:39 +01:00
  • ec02d462ea feat(sdk): The SlidingSyncList.full_sync_* fields are no longer useful. Ivan Enderlin 2023-03-23 11:50:38 +01:00
  • 0eee472829 feat(sdk): Remove send_updates_for_items. Ivan Enderlin 2023-03-23 11:46:56 +01:00
  • 296328e8e0 feat(sdk): Don't rename SlidingSyncState's variants when serialization. Ivan Enderlin 2023-03-23 11:37:53 +01:00
  • 831090c92c feat(sdk): Export RoomListEntry into its own module. Ivan Enderlin 2023-03-23 11:22:58 +01:00
  • fa361aea16 chore(sdk): Make Clippy happy. Ivan Enderlin 2023-03-23 11:17:40 +01:00
  • 91e9942fcd feat(sdk): Export FrozenSlidingSyncList into its own module. Ivan Enderlin 2023-03-23 11:15:24 +01:00
  • 5eeea83c19 sdk: Get push actions of retried decrypted events in the timeline Kévin Commaille 2023-03-22 16:26:00 +01:00
  • 98386cf527 sdk: Get push actions of decrypted events Kévin Commaille 2023-03-22 12:43:52 +01:00
  • a3667a21c9 sdk: Simplify e2ee branching of Common::event Kévin Commaille 2023-03-22 12:39:30 +01:00
  • fae10ae7f3 sdk: Add private method to get the current push rules Kévin Commaille 2023-03-22 13:03:02 +01:00
  • 1db8084c4f chore(sdk): Make Clippy happy. Ivan Enderlin 2023-03-23 10:38:37 +01:00
  • b544639187 chore(sdk): Re-ordering methods inside SlidingSyncList. Ivan Enderlin 2023-03-23 10:07:19 +01:00
  • 5e1fda9834 test(sdk): Update the assert_ranges macro to be able to define the first list state. Ivan Enderlin 2023-03-23 10:05:34 +01:00
  • 5bae1a2a4e chore(sdk): rooms_ops takes a &[(UInt, UInt)] for the ranges. Ivan Enderlin 2023-03-22 16:59:45 +01:00