Commit Graph

  • dd2ef57d37 feat(base): Extract ObservableMap into its own module. Ivan Enderlin 2024-06-17 15:10:36 +02:00
  • 565f97409e sdk: Rewrite BackupDownloadTask Richard van der Hoff 2024-06-17 12:15:48 +01:00
  • 792402eca2 sdk: Expose WeakClient::strong_count Richard van der Hoff 2024-06-14 12:18:54 +01:00
  • 53e3a7c242 sdk: BackupDownloadTask: use a new struct for the mpsc queue Richard van der Hoff 2024-06-13 18:29:55 +01:00
  • dc2111f156 sdk: Push deserialization of UTD events down to BackupDownloadTask Richard van der Hoff 2024-06-13 17:58:33 +01:00
  • f1802d9bbe sdk: update Backups::utd_event_handler api Richard van der Hoff 2024-06-13 17:33:12 +01:00
  • 2b5d2e97c0 sdk: add documentation on Backups::utd_event_handler Richard van der Hoff 2024-06-13 17:32:05 +01:00
  • 0b9daa2702 timeline: when deduplicating event meta, keep the most recent instead of the oldest matrix-sdk-ffi/20240618 Benjamin Bouvier 2024-06-18 12:46:07 +02:00
  • 304350ffd4 ffi: Expose room heroes (adding support for avatars). (#3503) Doug 2024-06-18 11:10:09 +01:00
  • 8988094df5 sdk: introduce RetryKind next to the HttpError to determine errors that should be retried Benjamin Bouvier 2024-06-17 15:11:59 +02:00
  • f93df8cb9e send queue: improve testing with a lil macro Benjamin Bouvier 2024-06-13 19:07:41 +02:00
  • ced8c4c821 send queue: add a test that simulates unreachable network/server Benjamin Bouvier 2024-06-13 18:30:18 +02:00
  • f45098a61d send queue: flag unrecoverable errors, and don't block the queue on those Benjamin Bouvier 2024-06-12 16:13:58 +02:00
  • d146ba869a sdk: Refactor key-backup integration tests (#3560) Richard van der Hoff 2024-06-17 15:42:48 +01:00
  • 01d6a9e7b7 chore(base): Make Clippy happy. Ivan Enderlin 2024-06-17 14:20:48 +02:00
  • e9121ab1ff feat(base): Create an ObservableMap for wasm32-unknown-unknown. Ivan Enderlin 2024-06-17 14:02:57 +02:00
  • 6e7f53dc19 feat(sdk): Implement Client::rooms_stream. Ivan Enderlin 2024-01-11 14:18:45 +01:00
  • e028710cf9 test: Fix a compiler warning if e2e-encryption and experimental-sliding-sync aren't enabled. Ivan Enderlin 2024-01-11 12:07:07 +01:00
  • f9e8f1178b feat(base): Implement Client::rooms_stream. Ivan Enderlin 2024-01-11 12:06:33 +01:00
  • fd4505b026 fix(base): Define matrix_sdk_base::latest_event also if e2e-encryption is enabled. Ivan Enderlin 2024-01-11 12:03:23 +01:00
  • 11bced4876 feat(base): Implement Store::rooms_stream. Ivan Enderlin 2024-01-11 11:45:32 +01:00
  • 6dac77fd5e feat(base): Implement ObservableMap::stream. Ivan Enderlin 2024-01-11 11:42:08 +01:00
  • a67e7f2795 feat(base): Rename Rooms to generic ObservableMap + add tests. Ivan Enderlin 2024-01-11 10:45:07 +01:00
  • 5870dafe2e feat(base): Make Store::rooms observable. Ivan Enderlin 2024-01-10 17:18:34 +01:00
  • 3ffeef55a6 Merge pull request #3561 from Hywan/fix-base-box-stream Ivan Enderlin 2024-06-17 14:46:09 +02:00
  • cb7814b362 MatrixRTC: bump ruma to be compatible with MSC4143. Adapt types for the new ruma version. Timo 2024-06-03 18:07:39 +02:00
  • 2ecd54a3b2 chore(base): Remove BoxStream as it's never used. Ivan Enderlin 2024-06-17 13:08:59 +02:00
  • b34a2cdfc9 Merge pull request #3559 from matrix-org/feat-sdk-sliding-sync-get-room-id Ivan Enderlin 2024-06-17 13:02:28 +02:00
  • 304c225c8f chore(sdk): Remove the useless SlidingSyncList::get_room_id method. Ivan Enderlin 2024-06-17 12:09:32 +02:00
  • 72adaf4119 sdk: slightly better doc for HttpError Benjamin Bouvier 2024-06-13 17:43:12 +02:00
  • c656ad4068 sdk: prefer direct use of IntoHttp ctor instead of implicit #[from] conversions Benjamin Bouvier 2024-06-13 17:28:10 +02:00
  • c33a7b77e1 sdk: prefer direct use of RefreshToken ctor instead of implicit #[from] conversions Benjamin Bouvier 2024-06-13 17:24:57 +02:00
  • 7f64580ce2 sdk: use Error::AuthenticationRequired instead of HttpError::AuthenticationRequired Benjamin Bouvier 2024-06-13 17:16:59 +02:00
  • 08d7bd0cee sdk: get rid of the UnableToCloneRequest error which is absolutely unused Benjamin Bouvier 2024-06-13 17:07:44 +02:00
  • 6ecefd6bc7 Merge pull request #3554 from Hywan/chore-sdk-remove-get-prefix Ivan Enderlin 2024-06-13 23:59:52 +02:00
  • b21b8c4a53 doc(base): Update the CHANGELOG.md file. Ivan Enderlin 2024-06-13 16:52:37 +02:00
  • 771ddcb91e chore(base): Remove the get_ of some Client's methods. Ivan Enderlin 2024-01-11 11:48:53 +01:00
  • 408c12fc66 doc(base): Update the CHANGELOG.md file. Ivan Enderlin 2024-06-13 16:32:21 +02:00
  • adff893835 feat(base): Faster Store::rooms_filtered. Ivan Enderlin 2024-06-13 16:28:38 +02:00
  • 81e328d090 chore: Remove the get_ of some Store's methods. Ivan Enderlin 2024-01-11 11:44:14 +01:00
  • b1c09ed61b ffi: get rid of Timeline::latest_event() Benjamin Bouvier 2024-06-13 13:50:50 +02:00
  • 9ccf94dc3c Merge pull request #3552 from Hywan/fix-base-store-get-rooms-fast Ivan Enderlin 2024-06-13 16:21:46 +02:00
  • 15ab77629f feat(base): Make Store::get_rooms wayyy faster. Ivan Enderlin 2024-01-10 13:22:51 +01:00
  • 5178cbbfc7 Merge pull request #3551 from Hywan/fix-ui-roomlist-slidingsyncroom Ivan Enderlin 2024-06-13 15:20:47 +02:00
  • a7ff0587a6 fix(ui): Replace the RwLock by a Mutex in RoomListService::rooms. Ivan Enderlin 2024-06-13 15:03:59 +02:00
  • edec6e7558 feat(ui): RoomListService::room is no longer async. Ivan Enderlin 2024-06-13 14:47:43 +02:00
  • 868e821427 Merge pull request #3550 from Hywan/fix-ui-timeline-duplicated-events Ivan Enderlin 2024-06-13 14:43:44 +02:00
  • de5d80547b Merge pull request #3541 from Hywan/chore-ffi-roominfo-latest-event Ivan Enderlin 2024-06-13 14:40:38 +02:00
  • 5e755c5d51 fix(ui): room_list_service::Room::new no longer receives a SlidingSyncRoom. Ivan Enderlin 2024-06-13 14:39:39 +02:00
  • d46e65805a chore(ui): Rename TimelineInnerState::add_event to add_or_update_event. Ivan Enderlin 2024-06-13 14:21:17 +02:00
  • 9b05d0d822 crypto: Use the server name in the QR code login data (#3537) Damir Jelić 2024-06-13 14:16:48 +02:00
  • 01a36c90c3 chore(ffi): Remove RoomInfo::latest_event. Ivan Enderlin 2024-06-13 12:11:45 +02:00
  • 6da17b3f02 Merge pull request #3540 from Hywan/fix-ui-roomlist-latest-event Ivan Enderlin 2024-06-13 14:08:27 +02:00
  • 15ed91e047 fix(ui): Change the behaviour when a duplicated event is received by Timeline. Ivan Enderlin 2024-06-13 14:05:22 +02:00
  • 6d1289482a chore(ui): Remove SlidingSyncRoomExt. Ivan Enderlin 2024-06-13 12:02:10 +02:00
  • 8021d72389 feat(ui): Fetch the latest event from Room instead of SlidingSyncRoom in room_list::Room. Ivan Enderlin 2024-06-13 12:00:22 +02:00
  • f770248b24 fix(bindings): use the same library name for all platforms in the xcframework Johannes Marbach 2024-06-11 20:42:18 +02:00
  • 2a79956caa ffi: call the initial events in the same task that listens to updates Benjamin Bouvier 2024-06-11 18:36:36 +02:00
  • 871116eee9 feat (bindings): added an API to retrieve a loaded reply (#3534) Mauro 2024-06-12 16:00:50 +02:00
  • 03c16cb9f6 deduplicating handler: rename NotFinishedYet to Cancelled and add a few comments around the code future Benjamin Bouvier 2024-06-12 15:25:40 +02:00
  • 34a9289978 deduplicating handler: add a regression test for cancellation of a deduplicated query Benjamin Bouvier 2024-06-11 17:31:59 +02:00
  • ad63d28cfa deduplicating handler: use a new QueryState data structure Benjamin Bouvier 2024-06-11 16:57:25 +02:00
  • ac0992953e deduplicating handler: repeat request until it's performed at least once Benjamin Bouvier 2024-06-11 16:49:28 +02:00
  • d035eb1d90 feat (bindings): added APIs to save and load composer drafts (#3531) Mauro 2024-06-11 17:32:07 +02:00
  • 0ec90c23da base: move the initial filling of the display name cache into the sync methods Benjamin Bouvier 2024-06-10 16:32:17 +02:00
  • c72384f7d4 base: don't regenerate the display name when creating a room, store the cached display name in RoomInfo Benjamin Bouvier 2024-06-10 15:23:06 +02:00
  • 5a5a5797e9 ci: fix flakeyness of test_room_notification_count in an innovative way Benjamin Bouvier 2024-06-06 14:45:53 +02:00
  • e22162a23a base: rename computed_display_name to compute_display_name and remove computed_ in the cached one Benjamin Bouvier 2024-06-06 12:23:28 +02:00
  • 73f977986e sdk: use the cached computed display name in more places Benjamin Bouvier 2024-06-06 12:03:04 +02:00
  • 2d444284cc base: rename calculate_room_name to compute_display_name_from_heroes Benjamin Bouvier 2024-06-06 12:10:20 +02:00
  • c0c9d16412 ui: make use of the cached computed display name in the room name matchers Benjamin Bouvier 2024-06-06 11:41:16 +02:00
  • 78a1634341 base: add a cache to the computed display name Benjamin Bouvier 2024-06-06 11:14:38 +02:00
  • 78e2ab9d99 base: make get_or_create_room async Benjamin Bouvier 2024-06-06 11:21:12 +02:00
  • f1553ae7f8 sliding sync: add some simple positive tests for room names too Benjamin Bouvier 2024-06-05 17:14:58 +02:00
  • 9a1a3e67c3 base(code motion): move calculate_room_name into the one file where it's used Benjamin Bouvier 2024-06-05 16:58:08 +02:00
  • 82ae74fee9 base: get rid of intermediate calculate_name() function Benjamin Bouvier 2024-06-05 16:56:14 +02:00
  • 8d66d1bab0 base: fix guessed number of members as it should relate to joined users, not joined+invited Benjamin Bouvier 2024-06-03 12:56:14 +02:00
  • 66d43c1088 base: directly call calculate_room_name since it's a free-function Benjamin Bouvier 2024-06-03 12:50:56 +02:00
  • ad79f9c0ac docs: Update message key forwarding algorithm model. Denis Kasak 2024-06-11 14:28:24 +02:00
  • 1510f87fa0 UTD hook: stop re-reporting of UTDs on app relaunch (#3519) Richard van der Hoff 2024-06-10 18:56:35 +01:00
  • a2f868d1a7 Merge pull request #3527 from Hywan/chore-ui-timeline-event-handler-add Ivan Enderlin 2024-06-10 18:31:51 +02:00
  • 17befab414 chore(ui): Rewrite a bit TimelineEventHandler::add. Ivan Enderlin 2024-06-05 17:07:54 +02:00
  • abda959796 chore(ui): Make TimelineInnerMetadata::next_internal_id private Ivan Enderlin 2024-06-10 10:21:54 +02:00
  • 1a343d93e7 chore(ui): Remove a useless clone Ivan Enderlin 2024-06-10 10:19:45 +02:00
  • 2a70587dda chore(ui): Make TimelineInnerMetadata::next_internal_id private. Ivan Enderlin 2024-06-05 16:43:43 +02:00
  • d403c12464 chore(ui): Remove a useless clone. Ivan Enderlin 2024-06-05 16:30:08 +02:00
  • e5487da160 send queue: control enabled on a per-room basis in addition to globally Benjamin Bouvier 2024-06-06 18:08:21 +02:00
  • 9c1d62a039 sdk: finish renaming "sending queue" to "send queue" Benjamin Bouvier 2024-06-06 18:13:21 +02:00
  • 1c9171d917 Merge pull request #3515 from Hywan/doc-sdk-sliding-sync-mode-typo Ivan Enderlin 2024-06-10 07:13:27 +02:00
  • 931c564942 widget API(ffi): Add StateEventType::RoomEncryption to capabilities (#3506) Timo 2024-06-06 19:31:56 +02:00
  • 632de475a1 send queue: try to avoid a race when disabling then aborting a send Benjamin Bouvier 2024-06-06 17:37:44 +02:00
  • a21ea06bed day dividers: demote an assert to an error message Benjamin Bouvier 2024-06-06 17:43:19 +02:00
  • 66330a20b3 sdk: rename "sending queue" to "send queue" Benjamin Bouvier 2024-06-06 14:51:59 +02:00
  • 3f272a72c4 chore: Update some docs on the authentication service. Doug 2024-06-06 10:25:48 +01:00
  • 81b55a4ca8 ffi: Use a single client in the authentication service. Doug 2024-06-05 16:17:26 +01:00
  • d43812ac04 ffi: Replace the Client's base_path with a session_path. Doug 2024-06-05 11:21:35 +01:00
  • 2c87333106 oidc: Supply a direct path to the registrations file instead of a base path. Doug 2024-06-05 11:12:31 +01:00
  • 1aacbaf681 doc(sdk): Fix a formatting typo. Ivan Enderlin 2024-06-06 11:34:38 +02:00
  • 5093af87b1 clippy: disallow useless asyncs (#3513) Benjamin Bouvier 2024-06-05 17:13:10 +02:00
  • 23cc1e31c1 ffi: make more methods async, rename a few variables/functions, etc. Benjamin Bouvier 2024-06-05 10:38:33 +02:00