Commit Graph

  • b8d0384da7 refactor: Remove RoomEventCacheUpdate::AddTimelineEvents. Ivan Enderlin 2025-01-06 17:29:06 +01:00
  • 4e0a6d15ca chore(sdk): Merge imports for the sake of clarity. Ivan Enderlin 2025-01-06 14:58:26 +01:00
  • 251433382f chore(test): Remove a warning. Ivan Enderlin 2025-01-06 14:46:52 +01:00
  • 34e993435d fix(ffi): ensure the log level for panic is always set (#4485) Benjamin Bouvier 2025-01-08 16:51:14 +01:00
  • dc2775e194 chore!(ffi): rename thumbnail_url to thumbnail_path Benjamin Bouvier 2025-01-08 11:44:45 +01:00
  • 45c3752cae refactor!(ffi): common out more code in send_attachment and distinguish early from late errors Benjamin Bouvier 2025-01-08 11:41:37 +01:00
  • ed178602d7 chore!(ffi): group parameters to upload in UploadParameters Benjamin Bouvier 2025-01-08 11:11:04 +01:00
  • 35a03278c3 chore(ffi): rename url to filename in the FFI methods for sending attachments Benjamin Bouvier 2025-01-08 11:05:39 +01:00
  • 9e69b631ee Merge pull request #4450 from matrix-org/valere/serialize_known_sender_data_b64 Valere 2025-01-08 14:06:13 +01:00
  • 5ff556f6c3 fix(crypto): Serialize sender data msk in base64 instead of numbers Valere 2024-12-20 18:19:04 +01:00
  • d64960679f refactor(sdk): Rename RoomEvents::filter_duplicated_events. Ivan Enderlin 2025-01-06 15:31:52 +01:00
  • 7ff1170681 chore: Re-indent. Ivan Enderlin 2025-01-07 13:32:25 +01:00
  • 55e25a3717 feat(sdk,ui): Add EventsOrigin::Pagination. Ivan Enderlin 2025-01-08 10:51:58 +01:00
  • 3f977b79fa feat(timeline): allow sending mentions along with media Joe Groocock 2025-01-08 00:14:05 +00:00
  • aca8c8b8ee chore: remove some allow(dead_code) annotations and associated dead code (#4472) Benjamin Bouvier 2025-01-08 10:37:18 +01:00
  • 47c24b9a17 fix(sdk): Fix test now that Ruma is fixed Kévin Commaille 2025-01-08 10:11:02 +01:00
  • 47445b10f1 chore: Upgrade Ruma Kévin Commaille 2025-01-08 10:03:45 +01:00
  • c5a9a1e215 Clean up some imports Jonas Platte 2025-01-07 20:00:09 +01:00
  • 2ef14ded41 refactor(event cache): a few AllEventsCache refactorings (#4471) Benjamin Bouvier 2025-01-07 17:25:52 +01:00
  • 8205da898e feat(send queue): allow setting intentional mentions in media captions edits Benjamin Bouvier 2025-01-06 17:57:25 +01:00
  • 618e47250d feat!(base): reintroduce Room::display_name Benjamin Bouvier 2025-01-07 14:46:49 +01:00
  • 5110aa64aa doc(base): update lying doc comment of compute_display_name Benjamin Bouvier 2025-01-06 18:37:08 +01:00
  • bcad0a3059 test(timeline): rewrite a test to use the MatrixMockServer instead Benjamin Bouvier 2025-01-06 17:38:47 +01:00
  • b7b88f58d2 feat!(send queue): make unrecoverable errors stop the sending queue Benjamin Bouvier 2025-01-06 17:34:30 +01:00
  • 412fcab4dc test: Await the device creation in the notification client redecryption test Damir Jelić 2025-01-07 09:08:58 +01:00
  • 8e75a940f7 Use Instant from web-time in more places (via ruma re-export) Jonas Platte 2025-01-06 23:25:06 +01:00
  • 70fb7899e6 feat!(timeline): Allow to send attachments from bytes (#4451) Kévin Commaille 2025-01-06 15:44:29 +01:00
  • 1480fada6e refactor(event cache): make it clearer that vecdiff updates must be handled with with_events_mut Benjamin Bouvier 2025-01-06 12:24:01 +01:00
  • c50358366f refactor!(sdk): Set thumbnail in AttachmentConfig with builder method instead of constructor Kévin Commaille 2024-12-22 18:45:04 +01:00
  • adb4428a69 test(crypto): Add some basic snapshot testing in crypto crate Valere 2024-12-20 19:03:06 +01:00
  • 667a8e684c chore: Fix a typo in the changelog Damir Jelić 2024-12-20 11:46:16 +01:00
  • f4b50db972 test: Increase timeout for codecoverage. Ivan Enderlin 2024-12-20 12:29:36 +01:00
  • 1abb2efc51 refactor(sdk): Rename two variables. Ivan Enderlin 2024-12-20 10:33:27 +01:00
  • c4132252d3 feat(ui): Enable TimelineSettings::vectordiffs_as_inputs if event cache storage is enabled. Ivan Enderlin 2024-12-20 10:27:48 +01:00
  • 51c76a15ad chore(ui): Make Clippy happy. Ivan Enderlin 2024-12-18 11:05:53 +01:00
  • f1842ba5d0 refactor(ui): Timeline receives pagination events as VectorDiffs! Ivan Enderlin 2024-12-17 17:30:44 +01:00
  • d8dd72fd9c refactor(ui): Deduplicate timeline items conditionnally. Ivan Enderlin 2024-12-16 16:38:15 +01:00
  • 054f5e28f6 fix(common): Use a trick to avoid hitting the recursion_limit too quickly. Ivan Enderlin 2024-12-18 12:24:07 +01:00
  • 38e35b99d0 test(ui): Increase the recursion_limit. Ivan Enderlin 2024-12-13 09:56:08 +01:00
  • 39afb531ef task(ui): DayDivider has been renamed DateDivider. Ivan Enderlin 2024-12-13 09:47:21 +01:00
  • c1ff5ff49f refactor(ui): Deduplicate remote events conditionnally. Ivan Enderlin 2024-12-13 09:10:08 +01:00
  • 2358e4c32f task(ui): Support VectorDiff::Remove, in TimelineStateTransaction::handle_remote_events_with_diffs. Ivan Enderlin 2024-12-10 10:54:23 +01:00
  • 409fccb709 task(ui): Support VectorDiff::Insert in TimelineStateTransaction::handle_remote_events_with_diffs. Ivan Enderlin 2024-12-10 09:38:03 +01:00
  • b25fd830ec task(ui): Add AllRemoteEvents::range. Ivan Enderlin 2024-12-10 09:23:14 +01:00
  • 02ab57870a task(ui): Add ObservableItems::insert_remote_event. Ivan Enderlin 2024-12-09 15:56:52 +01:00
  • eca3749b28 task(ui): Support VectorDiff::Clear in TimelineStateTransaction::handle_remote_events_with_diffs. Ivan Enderlin 2024-12-09 15:40:01 +01:00
  • 3f17325bac task(ui): Support VectorDiff::PushBack in TimelineStateTransaction::handle_remote_events_with_diffs. Ivan Enderlin 2024-12-09 15:38:04 +01:00
  • 23c09b2c9d task(ui): Support VectorDiff::PushFront in TimelineStateTransaction::handle_remote_events_with_diffs. Ivan Enderlin 2024-12-09 15:37:38 +01:00
  • c1f8232450 task(ui): Support VectorDiff::Append in TimelineStateTransaction::handle_remote_events_with_diffs. Ivan Enderlin 2024-12-09 15:31:34 +01:00
  • e28073361d feat(ui): Add blank handle_remote_events_with_diffs. Ivan Enderlin 2024-12-09 13:54:23 +01:00
  • 1c2fb1ab72 refactor(sdk): Add RoomEventCacheUpdate::UpdateTimelineEvents. Ivan Enderlin 2024-12-09 11:51:37 +01:00
  • be89e3aacb feat(ui): Add TimelineBuilder::with_vectordiffs_as_inputs. Ivan Enderlin 2024-12-13 08:56:13 +01:00
  • 36427b0e12 fix(ui): Consider banned rooms as rooms we left in the non-left rooms matcher Damir Jelić 2024-12-20 12:35:34 +01:00
  • f8a9d12c88 Use a type alias to allow bindings to take advantage of custom types Daniel Salinas 2024-12-12 16:00:17 -05:00
  • 5f5e979e16 refactor!: Put the RequestConfig argument of Client::send() into a builder method Benjamin Bouvier 2024-12-19 17:05:13 +01:00
  • 519f281844 Merge pull request #4428 from matrix-org/valere/insta_rs_snapshot_testing Valere 2024-12-19 18:30:49 +01:00
  • 3b31bbec0c test(snapshot): Use snapshot testing in sdk-common Valere 2024-12-19 18:11:40 +01:00
  • f2942db316 refactor: avoid use of async_trait for RoomIdentityProvider Benjamin Bouvier 2024-12-19 16:43:42 +01:00
  • e4712be946 task(crypto): Support receiving stable identifier for MSC4147 Andy Balaam 2024-12-16 17:17:56 +00:00
  • bc8c4f5e58 fix(event cache): don't touch the linked chunk if an operation wouldn't cause meaningful changes Benjamin Bouvier 2024-12-18 18:41:51 +01:00
  • fe9354a886 test: make test_room_keys_received_on_notification_client_trigger_redecryption more stable Benjamin Bouvier 2024-12-18 14:31:34 +01:00
  • d00ff8fa1f refactor(event cache): remove duplicated method RoomEventCacheState::clear() Benjamin Bouvier 2024-12-18 14:21:37 +01:00
  • 60f521cc23 feat(event cache): don't add a previous gap if all events were deduplicated, after back-pagination Benjamin Bouvier 2024-12-17 16:15:45 +01:00
  • bcb9a86a00 feat(event cache): don't add a previous gap if all events were deduplicated, after sync Benjamin Bouvier 2024-12-17 16:15:29 +01:00
  • 3f0712010f refactor(event cache): add a way to know if we deduplicated all events (at least one) Benjamin Bouvier 2024-12-17 16:15:11 +01:00
  • d89194f071 refactor: display source pagination error in PaginatorError::SdkError Benjamin Bouvier 2024-12-16 17:40:34 +01:00
  • a20ad728b5 feat(event cache): don't restart back-pagination from the end if we had no prev-batch token Benjamin Bouvier 2024-12-16 16:44:36 +01:00
  • 0d546dce5f refactor(event cache): move PaginationToken from the pagination to room/mod file Benjamin Bouvier 2024-12-16 16:24:01 +01:00
  • 38cc9fb7c8 test(room): Improve Room::room_member_updates_sender tests Jorge Martín 2024-12-19 13:37:48 +01:00
  • 616c193a30 feat(room): create a cleanup task in Room::subscribe_to_knock_requests Jorge Martín 2024-12-18 17:49:18 +01:00
  • 4a88e7cfee feat(room): add BaseRoom::remove_outdated_seen_knock_requests_ids fn Jorge Martín 2024-12-18 17:46:48 +01:00
  • 5d0fed5e53 feat(room): add helper methods to BaseRoom to get and write the current seen knock request ids while keeping them thread-safe with a lock around them Jorge Martín 2024-12-18 17:18:20 +01:00
  • 9975365a1e feat(room): add Room::room_member_updates_sender Jorge Martín 2024-12-18 17:14:32 +01:00
  • f18e0b18a1 Replace PathBuf/Utf8PathBuf with Path/Utf8Path when ownership not needed Integral 2024-12-19 20:09:32 +08:00
  • b18100228e test(room): add test to verify how Room::observe_events will behave when several events are received in a short while Jorge Martín 2024-12-18 17:50:49 +01:00
  • de568837fb fix(linked chunk): fix order handling of initial chunks in UpdateToVectorDiff::new() Benjamin Bouvier 2024-12-18 17:41:12 +01:00
  • bc582ae101 doc(common): Update documentation of AsVector. Ivan Enderlin 2024-12-18 15:26:39 +01:00
  • bb573117e1 chore: Release matrix-sdk version 0.9.0 matrix-sdk-ui-0.9.0 matrix-sdk-store-encryption-0.9.0 matrix-sdk-sqlite-0.9.0 matrix-sdk-qrcode-0.9.0 matrix-sdk-indexeddb-0.9.0 matrix-sdk-crypto-0.9.0 matrix-sdk-common-0.9.0 matrix-sdk-base-0.9.0 matrix-sdk-0.9.0 Damir Jelić 2024-12-18 12:52:52 +01:00
  • ff7077b742 doc(crypto): Add changelog entry for #4424 Andy Balaam 2024-12-18 13:27:07 +00:00
  • bb70229dd8 chore: Make Clippy happy. Ivan Enderlin 2024-12-18 13:09:33 +01:00
  • 03947618ff Merge branch 'release-for-crypto-wasm-11' Andy Balaam 2024-12-18 11:25:53 +00:00
  • b18e7d71ed fix(crypto): Fix error when reading VerifiedStateOrBool with old PreviouslyVerifiedButNoLonger value Andy Balaam 2024-12-18 10:16:38 +00:00
  • 612ba6fa29 task(crypto): Accept old PreviouslyVerified value of ShieldStateCode when deserializing Andy Balaam 2024-12-18 09:49:17 +00:00
  • db39c6bea6 task(crypto): Accept old PreviouslyVerified value of VerificationLevel when deserializing Andy Balaam 2024-12-18 09:42:49 +00:00
  • 5f3b56a987 task(crypto): Accept old PreviouslyVerified value of SenderData when deserializing Andy Balaam 2024-12-17 15:49:55 +00:00
  • 373709fb38 feat(event cache): don't replace a gap chunk by an empty items chunks Benjamin Bouvier 2024-12-16 18:36:50 +01:00
  • 5d8ad3a4a9 fix(linked chunk): in LinkedChunk::ritems_from, skip as long as we're on the right chunk Benjamin Bouvier 2024-12-17 17:22:57 +01:00
  • 0ca35d6c4a test: Test that room keys received by notification clients trigger redecryptions Damir Jelić 2024-12-17 13:59:26 +01:00
  • daeffc07b3 feat: Derive PartialEq and Eq for RoomListLoadingState Damir Jelić 2024-12-17 14:00:23 +01:00
  • bd15f4ecbe feat(timeline): Listen to the room keys stream to retry decryptions Damir Jelić 2024-11-28 13:03:22 +01:00
  • f17f4e2bf6 feat: Add a stream to listen to room keys being inserted to the store Damir Jelić 2024-11-28 12:47:15 +01:00
  • 177ec1216f feat(crypto)!: Don't ignore the error if the room_keys_received stream lags Damir Jelić 2024-11-28 12:45:56 +01:00
  • 512a2d2662 Merge pull request #4399 from matrix-org/valere/ffi_save_store_dehydration_pickle_key Valere 2024-12-17 10:07:54 +01:00
  • 95582a6c3c feat(crypto-bindings): Save/Load dehydrated pickle key Valere 2024-12-17 09:51:28 +01:00
  • 866b5fea40 feat(room): Separate RoomState::Banned from RoomState::Left. Jorge Martín 2024-12-13 13:08:29 +01:00
  • 34ea42aec0 feat(ffi): expose the linked chunk debug string function at the FFI layer Benjamin Bouvier 2024-12-16 16:00:17 +01:00
  • cae7e43b91 feat(multiverse): add linked chunk debug screen in multiverse Benjamin Bouvier 2024-12-12 17:12:32 +01:00
  • 34d15a4d37 feat(event cache): propose a debug representation for the linked chunk in RoomEvents too Benjamin Bouvier 2024-12-12 16:59:46 +01:00
  • f6cb8186c6 task(event cache): limit the display of event ids to 8 chars in the raw chunk debug string Benjamin Bouvier 2024-12-12 16:49:39 +01:00
  • 47044b1a23 chore(deps): bump crate-ci/typos from 1.28.2 to 1.28.3 dependabot[bot] 2024-12-16 14:57:42 +00:00