Commit Graph

  • 3e2f531caa Split out the receive_sync_changes method into a helper Damir Jelić 2023-07-28 12:40:55 +02:00
  • 56f771a347 ui: Remove unnecessary boxing Jonas Platte 2023-08-09 10:43:53 +02:00
  • 1ab0d2081a doc(ui): Add inline comments. Ivan Enderlin 2023-08-07 16:33:32 +02:00
  • 90c30e4058 ui: Add RoomList::entries_with_dynamic_filter Ivan Enderlin 2023-08-09 10:01:15 +02:00
  • 752e814168 fix(ui): Add m.room.member: $LAZY in the require states of visible_rooms. Ivan Enderlin 2023-08-09 09:11:20 +02:00
  • 80c9464f1e chore: fix typo in cargo xtask kotlin doc comment (#2387) Benjamin Bouvier 2023-08-08 16:00:20 +02:00
  • 625acb056a feat(ffi): add an optional file layer for tracing (#2384) Benjamin Bouvier 2023-08-08 14:37:32 +02:00
  • ff9923c6a6 Allow to define the default notification mode for a given room type (#2369) Nicolas Mauri 2023-08-08 14:20:17 +02:00
  • 1680a7d4d6 sdk: Set the refresh token lock if refresh token is missing Kévin Commaille 2023-08-03 14:18:08 +02:00
  • 302cff6ba9 sdk: Make RefreshTokenError authentication API-agnostic Kévin Commaille 2023-08-03 14:16:06 +02:00
  • dc3636d766 feat(ui): Turn on cached list for SlidingSync in RoomListService Ivan Enderlin 2023-08-08 11:29:51 +02:00
  • 87f7fc7367 chore: Update Cargo.lock. Ivan Enderlin 2023-08-07 17:48:17 +02:00
  • 741bb1c12d chore: Update Cargo.lock. Ivan Enderlin 2023-08-07 17:20:19 +02:00
  • 7e371a642a feat(ui): Turn on cached list for SlidingSync in RoomListService. Ivan Enderlin 2023-08-07 15:54:08 +02:00
  • 1c01a146b1 chore: Update Cargo.lock. Ivan Enderlin 2023-08-07 12:10:44 +02:00
  • 074fd8b335 Upgrade opentelemetry crates Jonas Platte 2023-08-06 11:10:51 +02:00
  • 5c74a597eb nit: prefer using assert_matches! in tests Benjamin Bouvier 2023-08-04 17:19:23 +02:00
  • dd3cab9409 fix: don't try /context when a notification has been filtered out Benjamin Bouvier 2023-08-04 15:52:55 +02:00
  • aea0b00ac2 chore: add comments to get_notification about the return type Benjamin Bouvier 2023-08-04 15:38:40 +02:00
  • e1c928f121 fix: compute whether a room is a DM before joining it Benjamin Bouvier 2023-08-04 15:11:52 +02:00
  • 7676ff509f nit: remove else after return Benjamin Bouvier 2023-08-04 15:10:01 +02:00
  • 10f709450e tests(notification): add integration tests for notification events Benjamin Bouvier 2023-07-28 19:31:35 +02:00
  • 4ebc3d70ad Hide test helpers from documentation Jonas Platte 2023-08-03 21:21:50 +02:00
  • 1679669376 Remove the 'testing' feature from matrix-sdk-ui Jonas Platte 2023-08-02 09:47:50 +02:00
  • edc6428e69 Fix clippy warnings Jonas Platte 2023-08-02 09:47:44 +02:00
  • a434b97c54 sdk: Don't derive (De)serialize for AuthSession Kévin Commaille 2023-08-03 14:32:36 +02:00
  • 6c0f24b657 chore: Update UniFFI fork Ivan Enderlin 2023-08-03 15:42:30 +02:00
  • 2481e1f97e chore: Update UniFFI fork. Ivan Enderlin 2023-08-03 12:17:03 +02:00
  • bf754667d9 chore: get rid of Client::inherit_session Benjamin Bouvier 2023-08-03 11:26:45 +02:00
  • 61d4d5b096 Fix an arithmetic overflow Nicolas Mauri 2023-08-02 17:29:32 +02:00
  • ea03b821fd ffi: Use UniFFI fork with future cancellation support Jonas Platte 2023-08-02 12:04:26 +02:00
  • f1b4b80460 ffi: Don't spawn tokio tasks for add_timeline_listener, send_attachment Jonas Platte 2023-08-02 12:02:06 +02:00
  • b39d06353a Revert "ffi: Spawn tokio tasks for the remaining async fns" Jonas Platte 2023-08-02 11:58:33 +02:00
  • 34be01ecf2 Revert "ffi: Remove async from a few functions" Jonas Platte 2023-08-02 11:57:49 +02:00
  • 0f6dd644b5 Upgrade async-rx Jonas Platte 2023-08-01 15:23:42 +02:00
  • 7d9d600eda ui: Only lock TimelineInnerState once per back-pagination response Jonas Platte 2023-08-01 15:04:19 +02:00
  • 8ac0f099f6 ui: Exclude Debug implementation from coverage Jonas Platte 2023-08-01 11:31:46 +02:00
  • 640e5fbacf ffi: Use batched timeline subscription Jonas Platte 2023-08-01 10:56:19 +02:00
  • 9a8c6249bb ui: Add Timeline::subscribe_batched Jonas Platte 2023-08-01 10:52:36 +02:00
  • a65cff01f7 ui: Create subscribe integration test sub-module Jonas Platte 2023-08-01 10:41:44 +02:00
  • 80243615c4 chore(test): make the clear_with_echoes test more deterministic Benjamin Bouvier 2023-08-01 15:02:49 +02:00
  • a6aaf164aa chore(sliding sync): add logs for the limited flag computation Benjamin Bouvier 2023-07-31 16:55:38 +02:00
  • ace282126f ffi(notifications): include full timeline event again in the NotificationEvent Benjamin Bouvier 2023-08-01 12:37:23 +02:00
  • 6961a7fb36 Fix is_user_mention_enabled and is_room_mention_enabled (#2357) Nicolas Mauri 2023-08-01 14:43:32 +02:00
  • f6d4357d52 Update Cargo.lock Jonas Platte 2023-07-31 14:49:49 +02:00
  • d05bd4bf2d ui: Deduplicate in-reply-to fetching Jonas Platte 2023-08-01 09:11:55 +02:00
  • a00ff293f1 chore: apply code review suggestions again Benjamin Bouvier 2023-07-31 12:27:11 +02:00
  • 505267503b chore: add a comment explaining why we need a mutex Benjamin Bouvier 2023-07-31 12:24:11 +02:00
  • c6f00cb633 chore(clippy): use an async mutex Benjamin Bouvier 2023-07-31 12:23:50 +02:00
  • 6cc4364684 chore: move comment around Benjamin Bouvier 2023-07-28 18:04:50 +02:00
  • d165ec8646 feat: sequentialize calls to get_notification_with_sliding_sync Benjamin Bouvier 2023-07-28 17:54:48 +02:00
  • 30a662fdc8 chore: slim down the enum variants of NotificationEvent according to popular request Benjamin Bouvier 2023-07-28 17:51:32 +02:00
  • 9126937901 feat: use /context query if sliding sync failed Benjamin Bouvier 2023-07-28 16:37:54 +02:00
  • dec5c6bc2d feat(sliding sync): save the to-device token in OlmMachine::receive_sync_changes Benjamin Bouvier 2023-07-27 17:49:32 +02:00
  • 719683d284 feat: allow storing a next_batch_token in the crypto stores Benjamin Bouvier 2023-07-27 17:24:43 +02:00
  • e3f7b9676d chore: fix Changes::is_empty() Benjamin Bouvier 2023-07-27 16:41:19 +02:00
  • 745bb09e38 chore: remove unused token in KeysQueryRequest Benjamin Bouvier 2023-07-27 16:06:37 +02:00
  • 4c4a77da34 chore: group all the arguments to receive_sync_changes in a single struct Benjamin Bouvier 2023-07-27 15:54:02 +02:00
  • 33629833bd ui: Keep local echoes when clearing timeline Jonas Platte 2023-07-31 11:41:25 +02:00
  • 4c7e10cbf3 chore: add messages for base-client processing Benjamin Bouvier 2023-07-31 10:56:56 +02:00
  • dcfea138ea chore: tweak sliding sync tracing context Benjamin Bouvier 2023-07-28 16:27:59 +02:00
  • eb7e01e8b1 chore: lower log-levels when processing sliding sync in sdk-base Benjamin Bouvier 2023-07-28 16:26:42 +02:00
  • c22f6da909 Add a js feature to the qrcode crate Damir Jelić 2023-07-31 09:38:05 +02:00
  • 4eba72774f Bump vodozemac Damir Jelić 2023-07-27 11:34:28 +02:00
  • d149782e6a ui: Reuse ID when replacing UTD after retrying decryption Jonas Platte 2023-07-28 12:44:31 +02:00
  • 0c3d46eb1e ui: Move some functions into new timeline::util module Jonas Platte 2023-07-28 12:42:32 +02:00
  • 7dfe8cedbb ui: Move timeline item creation helpers into TimelineInnerState Jonas Platte 2023-07-28 12:32:08 +02:00
  • e5f021f5cf ui: Simplify definition of TimelineEventHandler Jonas Platte 2023-07-28 12:13:03 +02:00
  • 05c5fdd839 ui: Move Flow into EventHandlerContext Jonas Platte 2023-07-28 12:06:18 +02:00
  • c15ac3978e ui: Rename EventHandlerMetadata to EventHandlerContext Jonas Platte 2023-07-28 12:05:26 +02:00
  • 4b2cc20c6b ui: Move TimelineInner::*_internal to TimelineInnerState Jonas Platte 2023-07-28 11:55:07 +02:00
  • 18590c8813 ui: Move update_timeline_reaction to TimelineInnerState Jonas Platte 2023-07-28 11:38:28 +02:00
  • b78abd62c0 ui: Move TimelineInnerState into its own module Jonas Platte 2023-07-28 11:30:06 +02:00
  • b425812fd8 ui: Remove explicit default generic argument Jonas Platte 2023-07-28 11:13:54 +02:00
  • f57b6f5491 chore(test): don't use the same database name in multiple independent tests Benjamin Bouvier 2023-07-28 17:41:12 +02:00
  • 18e283fee9 chore: add TODO explaining that this field should be put back into the OlmMachine later Benjamin Bouvier 2023-07-28 12:32:42 +02:00
  • a3291a3627 fix: store the crypto store known generation in the Client, not the OlmMachine Benjamin Bouvier 2023-07-28 12:30:43 +02:00
  • deb8434ee9 test: add a regression test for the spurious crypto store regeneration Benjamin Bouvier 2023-07-28 12:50:14 +02:00
  • 63ce957843 fix: don't rely on having sessions in cache priori to encrypting a message Damir Jelić 2023-07-28 13:47:09 +02:00
  • 819b46f2fb test: add regression test for invalidating the OlmMachine while sending a message Benjamin Bouvier 2023-07-28 13:46:18 +02:00
  • 5c71087b9c Upgrade Ruma Marco Romano 2023-07-28 10:38:50 +02:00
  • d865665420 ffi: Replace tracing-android by paranoid-android Jonas Platte 2023-07-27 13:44:40 +02:00
  • 5f5028ddd0 ffi: Remove redundant dependency specification Jonas Platte 2023-07-27 13:28:19 +02:00
  • 8703fea24f ffi: Simplify OTLP tracing initialization Jonas Platte 2023-07-27 13:26:41 +02:00
  • ab363aa420 chore: slim down UpdateSummary Benjamin Bouvier 2023-07-24 17:48:27 +02:00
  • b66cd58a60 ui: Reduce work for updating sender profiles Jonas Platte 2023-07-27 14:24:24 +02:00
  • 7892b8b74a feat(sdk+ui+ffi): Implement (SlidingSyncRoom|Room|RoomListItem)::avatar_url Ivan Enderlin 2023-07-27 16:33:33 +02:00
  • fc3883d08e ffi: Remove async from a few functions Jonas Platte 2023-07-27 10:44:03 +02:00
  • c2a8fbd3c9 feat(ui): Implement the “fuzzy match room name” filter Ivan Enderlin 2023-07-27 12:32:47 +02:00
  • 53668d764c Return a KeysBackupRequest instead of the more generic OutgoingRequest Andrew Ferrazzutti 2023-07-27 06:12:08 -04:00
  • 936a2ee25b chore(sdk): Remove one TODO in Sliding Sync Ivan Enderlin 2023-07-27 10:37:45 +02:00
  • 1f10af9fa9 chore(encryption): replace some AuthenticationRequired with NoOlmMachine Benjamin Bouvier 2023-07-25 16:10:34 +02:00
  • 38a8ad0a66 chore(ci): Make typos happy. Ivan Enderlin 2023-07-27 10:07:46 +02:00
  • d1d6bcdcab doc(ui): Add missing documentation. Ivan Enderlin 2023-07-27 10:00:28 +02:00
  • 3e93bdbc3f feat(ui): Normallize strings when doing fuzzy matching. Ivan Enderlin 2023-07-27 08:33:41 +02:00
  • 63ca82c66c feat(ui): Implement the “fuzzy match room name” filter. Ivan Enderlin 2023-07-26 18:22:14 +02:00
  • 0c16ff1ae7 chore(cargo): Update ruma. Ivan Enderlin 2023-07-26 16:21:54 +02:00
  • a8e5d3ab17 feat(ffi): Update RoomListItem::avatar_url. Ivan Enderlin 2023-07-26 15:55:59 +02:00
  • af44ac6be4 ffi: Define API stub for m.poll.start and m.poll.end Chris Smith 2023-07-26 15:26:03 +01:00
  • 38d28e9aa0 feat(ui): Implement Room::avatar_url. Ivan Enderlin 2023-07-26 15:54:47 +02:00