Commit Graph

  • 4a37d6ebe2 refactor(event cache): move remove_events_and_update_insert_position to the public impl block Benjamin Bouvier 2025-02-12 12:01:23 +01:00
  • 10095f8627 refactor(event cache): rename RoomEvents::remove_events to remove_events_by_id Benjamin Bouvier 2025-02-12 11:58:38 +01:00
  • 84bb1ab595 refactor(event cache): extract deduplication outside the RoomEvents events methods Benjamin Bouvier 2025-02-12 11:50:46 +01:00
  • fce7999890 chore(common) Split the test_insert_items_at tests. Ivan Enderlin 2025-02-11 16:54:21 +01:00
  • 10b72ef4b4 test(common): Update test_replace_item. Ivan Enderlin 2025-02-11 16:32:39 +01:00
  • bfbb354c39 chore(common): Split a test into 3 tests. Ivan Enderlin 2025-02-11 16:28:30 +01:00
  • 9db137af44 refactor(common): LinkedChunk can start by a gap. Ivan Enderlin 2025-02-10 17:31:31 +01:00
  • 2999d10fb9 fix(ffi): check that our own device is cross-signed before responding to incoming user verification requests Stefan Ceriu 2025-02-11 12:07:03 +02:00
  • 654885a925 fix(ui): Demote aggregation target not found log to TRACE level Kévin Commaille 2025-02-11 15:15:26 +01:00
  • 8042abe5f5 fix(recovery): Delete the known secrets from 4s when disabling recovery Damir Jelić 2025-02-05 14:56:51 +01:00
  • 65ee18a52d feat(sqlite): Run VACUUM operation after removing a room Kévin Commaille 2025-02-11 15:13:25 +01:00
  • 69588d5266 test(timeline): use a builder pattern to create a TestTimeline Benjamin Bouvier 2025-02-06 14:53:10 +01:00
  • 7b77b19bc0 refactor(timeline): get rid of the optional in is_room_encrypted field Benjamin Bouvier 2025-02-06 14:38:27 +01:00
  • 357b36b287 refactor(timeline): simplify transition from unencrypted -> encrypted Benjamin Bouvier 2025-02-05 16:51:13 +01:00
  • a5f0473e1b test(timeline): use the MatrixMockServer and EventFactory in integration/timeline/mod.rs Benjamin Bouvier 2025-02-05 16:04:08 +01:00
  • 8d74d46d80 chore(ffi): expose UserIdentity was_previously_verified and has_verification_violation methods Stefan Ceriu 2025-02-10 17:01:29 +02:00
  • 9f2c572709 fix(timeline): maintain aggregations when an event is deduplicated (#4576) Benjamin Bouvier 2025-02-10 16:38:25 +01:00
  • 4b6dd5c857 fix(ffi): Client::resolve_room_alias was mapping the wrong error type Jorge Martín 2025-02-07 15:48:49 +01:00
  • 83dd11ea7d chore(ffi): expose the whole sender profile when receiving a verification request Stefan Ceriu 2025-02-07 11:04:37 +02:00
  • 6c2a88cdc0 test: Fix flaky test_publishing_room_alias Jorge Martín 2025-02-06 18:55:36 +01:00
  • e00d57fee2 test: wait for the redact endpoint to be hit in test_abort_before_being_sent Benjamin Bouvier 2025-02-06 16:42:06 +01:00
  • ce44c6e4e7 chore(base): don't show timeline verification requests as last messages Stefan Ceriu 2025-02-05 08:54:39 +02:00
  • f9ff4fff50 feat(ffi): add support for starting and responding to user verification requests Stefan Ceriu 2025-01-29 16:58:35 +02:00
  • 2291a61379 ci: add a new feature set to test experimental-oidc too Benjamin Bouvier 2025-02-04 15:35:31 +01:00
  • d8f37509af chore(ffi): reduce the verbosity of the store locks and ambiguity map Stefan Ceriu 2025-02-05 14:57:19 +02:00
  • dddbcfbabb fix(ffi): Align RoomList::preview_room with Client::get_room_preview_* functions. Jorge Martín 2025-02-05 08:53:36 +01:00
  • ed8c1d543a doc(sdk): Add #4627 in the CHANGELOG.md. Ivan Enderlin 2025-02-05 09:46:53 +01:00
  • 3e02d90a27 chore(sdk): Remove RoomEventCacheUpdate::Clear. Ivan Enderlin 2025-02-05 09:17:43 +01:00
  • 954b16ad39 Merge pull request #4603 from zecakeh/media-cache-auto-cleanup Ivan Enderlin 2025-02-05 13:24:20 +01:00
  • ed18c5113f fix: Fix changelogs for new media service feature after new release Kévin Commaille 2025-02-05 00:28:56 +01:00
  • 0f4b3aa187 Merge branch 'main' into media-cache-auto-cleanup Kévin Commaille 2025-02-05 00:12:18 +01:00
  • 8a7658745d chore: Fallback to jplatte/eyeball instead of Hywan/eyeball's fork. Ivan Enderlin 2025-02-04 16:00:17 +01:00
  • 2ea39877cc fix: Add github.com/Hywan/eyeball in the allow-git list. Ivan Enderlin 2025-02-04 08:33:52 +01:00
  • 4212691cf0 fix(ui): Don't use 0 as the initial value for Skip. Ivan Enderlin 2025-02-03 16:33:26 +01:00
  • d66fe79579 task(ui): Create TimelineSubscriber. Ivan Enderlin 2025-01-31 14:27:45 +01:00
  • 88caf11842 chore(ui): Rename Timeline::subscribe to subscribe_raw. Ivan Enderlin 2025-01-31 13:46:57 +01:00
  • 5320d952e5 test(ui): Test the Timeline lazy backwards pagination. Ivan Enderlin 2025-01-31 10:52:10 +01:00
  • 7eae832b8c test: set_timeline_prev_batch takes anything that implements Into<String>. Ivan Enderlin 2025-01-31 10:46:35 +01:00
  • 1d18ab03d7 test(ui): Improve the assert_timeline_stream macro. Ivan Enderlin 2025-01-30 09:38:23 +01:00
  • 337bc2c097 doc(ui): Fix a typo. Ivan Enderlin 2025-01-29 16:06:44 +01:00
  • 7e59ae99d0 featui): Timeline::subscribe() supports lazy backwards pagination. Ivan Enderlin 2025-01-29 15:40:58 +01:00
  • 51feda1042 task(ui): TimelineStateTransaction::commit adjusts the Skip's count. Ivan Enderlin 2025-01-29 13:02:18 +01:00
  • 0a520e4f9f task(ui): Apply the Skip higher-order stream for the Timeline. Ivan Enderlin 2025-01-29 11:38:14 +01:00
  • e07212d356 task(ui): Add TimelineMetadata::subscriber_skip_count. Ivan Enderlin 2025-01-29 11:31:04 +01:00
  • 1d52073b45 task(ui): Add the SkipCount type to help computing the count for Skip. Ivan Enderlin 2025-01-29 11:30:49 +01:00
  • d85d6cfbca refactor(ui): Rename TimelineStream to TimelineWithDropHandle. Ivan Enderlin 2025-01-29 08:47:26 +01:00
  • 892cb9116c refactor(ui): Move TimelineStream into the new subscriber module. Ivan Enderlin 2025-01-29 08:45:37 +01:00
  • 5e9d291ca3 chore(ui): Clone items only once when subscribing. Ivan Enderlin 2025-01-27 17:28:44 +01:00
  • b74d64a456 test(timeline): use the MatrixMockServer in integration/timeline/edit Benjamin Bouvier 2025-02-04 16:55:56 +01:00
  • cd8f5cf5d4 test(timeline): use the MatrixMockServer in integration/timeline/echo Benjamin Bouvier 2025-02-04 16:47:00 +01:00
  • 1dc20aa9aa test(timeline): use the MatrixMockServer in integration/timeline/reactions Benjamin Bouvier 2025-01-22 18:31:38 +01:00
  • bdab9951af doc(changelog): Add entries for the performance improvement patches. Ivan Enderlin 2025-02-04 16:12:25 +01:00
  • 4c46e42201 chore: Release matrix-sdk version 0.10.0 matrix-sdk-ui-0.10.0 matrix-sdk-test-macros-0.10.0 matrix-sdk-test-0.10.0 matrix-sdk-store-encryption-0.10.0 matrix-sdk-sqlite-0.10.0 matrix-sdk-qrcode-0.10.0 matrix-sdk-indexeddb-0.10.0 matrix-sdk-crypto-0.10.0 matrix-sdk-common-0.10.0 matrix-sdk-base-0.10.0 matrix-sdk-0.10.0 Damir Jelić 2025-02-04 15:57:24 +01:00
  • 0d4bc65e28 chore: Enable releases for the test crates Damir Jelić 2025-02-03 14:05:52 +01:00
  • 5e1bae02fe feat(ffi): Add RoomPreview::forget action in the FFI layer Jorge Martín 2025-02-04 15:55:00 +01:00
  • 77a67de7df fix(ui): Fix performance of ReadReceiptTimelineUpdate::apply. Ivan Enderlin 2025-02-03 14:58:35 +01:00
  • f27eb4d1c8 fix[oidc]: fix docstring in oidc module JoFrost 2025-02-03 21:15:27 +02:00
  • 05814c5559 refactor(ffi): Map client API errors to ClientError::MatrixApi, containing the error kind, their error code and the associated message Jorge Martín 2025-02-01 10:24:23 +01:00
  • d5d9898fb4 feat: Upgrade Ruma to 0.12.1 Kévin Commaille 2025-02-03 14:35:18 +01:00
  • f641a639cd Merge branch 'main' into media-cache-auto-cleanup Kévin Commaille 2025-02-04 11:56:32 +01:00
  • 3f71d9a379 fix(sdk): Improve performance of RoomEvents::maybe_apply_new_redaction. Ivan Enderlin 2025-02-04 09:15:42 +01:00
  • b077f45e78 test(room_preview): Add tests for where get_room_preview gets its data from for each room state Jorge Martín 2025-02-03 14:28:40 +01:00
  • 648d527f2f fix(room_preview): Return room preview info based on local data for banned rooms too Jorge Martín 2025-02-03 13:05:19 +01:00
  • 8513547e92 feat(ffi): Add FFI bindings for Room::forget. Jorge Martín 2025-02-03 09:13:02 +01:00
  • d18669e8d9 chore(deps): bump crate-ci/typos from 1.29.4 to 1.29.5 dependabot[bot] 2025-02-03 14:57:55 +00:00
  • a0426251a3 test(timeline): test that editing a replied-to doesn't lose the latest edit JSON Benjamin Bouvier 2025-02-03 14:31:38 +01:00
  • 2739c5bf27 test(timeline): test that adding a response or ending a poll doesn't clear the latest edit JSON Benjamin Bouvier 2025-02-03 14:18:17 +01:00
  • 381f4d419f fix(timeline): don't clear the latest_edit_json under certain conditions Benjamin Bouvier 2025-02-03 14:18:02 +01:00
  • 049021fe27 refactor(auth-qrcode): Inline declaration of oauth2 client type Kévin Commaille 2025-02-03 11:30:57 +01:00
  • 4db32b15ba chore(auth-qrcode): Update copyright date Kévin Commaille 2025-02-03 11:27:58 +01:00
  • 9ab5547065 fix(ui): Fix performance of AllRemoteEvents::(in|de)crement_all_timeline_item_index_after. Ivan Enderlin 2025-02-03 09:52:57 +01:00
  • df3cb002a5 chore: Add changelog entries Kévin Commaille 2025-02-01 17:00:42 +01:00
  • 6ebd4295b9 feat(sqlite): Limit size of WAL file Kévin Commaille 2025-02-01 14:39:18 +01:00
  • c5104d68fd feat(sqlite): Run PRAGMA optimize regularly Kévin Commaille 2025-02-01 13:54:54 +01:00
  • 0064839283 fix(sqlite): Vaccum the SqliteStateStore Kévin Commaille 2025-02-01 13:35:36 +01:00
  • 2727d72916 fix(timeline): Do not filter out own receipts in load_read_receipts_for_event Kévin Commaille 2025-02-03 11:15:25 +01:00
  • 33a2cc3031 chore(cargo): Bump the minimum stable rust version (MSRV). Ivan Enderlin 2025-02-03 09:19:42 +01:00
  • 38097f90b2 fix(ui): Fix performance of TimelineEventHandler::deduplicate_local_timeline_item. Ivan Enderlin 2025-02-01 11:42:24 +01:00
  • 47d08683a2 fix(security): Update OpenSSL. Ivan Enderlin 2025-02-03 09:23:30 +01:00
  • 619346acad chore: Add changelog entry for oauth2 Kévin Commaille 2025-02-02 19:48:50 +01:00
  • 525f9866a4 refactor(auth-qrcode): Rename everything OIDC to OAuth 2.0 Kévin Commaille 2025-02-02 19:41:04 +01:00
  • d7dc1c9b5b refactor(auth-qrcode): Use oauth2 crate instead of openidconnect Kévin Commaille 2025-02-02 18:42:54 +01:00
  • 7da3aaaa8a chore: Add new PR links to MediaRetentionPolicy changelog entries Kévin Commaille 2025-02-02 12:28:43 +01:00
  • 5aaa6bf187 feat(base): Add automatic media cache cleanups to MediaService Kévin Commaille 2025-02-02 12:20:13 +01:00
  • af9a5edd59 feat(executor): Expose JoinHandle::is_finished method on wasm32 Kévin Commaille 2025-02-02 12:10:31 +01:00
  • 6e764644b3 feat(base): Require that EventCacheStoreMedia implementations implement Clone Kévin Commaille 2025-02-02 12:09:18 +01:00
  • 8dc2ec9dc4 feat(base): Allow to clone MediaService Kévin Commaille 2025-02-02 12:03:12 +01:00
  • 4e1ae3d5e9 feat(base): Store last media cleanup time with EventCacheStoreMedia Kévin Commaille 2025-02-02 11:52:42 +01:00
  • 582b3a91d6 refactor(sqlite): Add methods to get and set values in the kv table by (de)serializing them Kévin Commaille 2025-02-02 11:36:02 +01:00
  • f7467ff57a feat(base): Add setting for frequency of automatic media cache cleanups Kévin Commaille 2025-02-01 17:51:47 +01:00
  • 57919f5480 chore: Bump most of our deps Damir Jelić 2025-01-31 11:24:05 +01:00
  • b8949cfe26 chore: Bump vodozemac Damir Jelić 2025-01-31 10:24:46 +01:00
  • 8d27b0c811 test: Simplify some tests using the assert_next_with_timeout macro Damir Jelić 2025-01-31 13:23:00 +01:00
  • 3707d2fb81 test: Make the timeout parameter in the assert_next_with_timeout macro optional Damir Jelić 2025-01-31 13:21:58 +01:00
  • eaaa5e17a0 chore: Fix a doc example in the MatrixMockServer Damir Jelić 2025-01-31 13:21:11 +01:00
  • e3958b754c chore(crypto-ffi): Done is a unit type, no need for { .. }. Ivan Enderlin 2025-01-31 11:50:45 +01:00
  • 78d9e1292f chore(sdk): Do not iterate over the entire iterator when we can reach back. Ivan Enderlin 2025-01-31 11:47:49 +01:00
  • d594b4dad7 chore(sdk): Remove a useless type conversion. Ivan Enderlin 2025-01-31 11:45:50 +01:00
  • 3f40ad83a5 chore(sdk): Remove a useless type conversion. Ivan Enderlin 2025-01-31 11:43:57 +01:00
  • 5049d1a3b6 chore(sqlite): Use repeat_n(…, n) instead of repeat(…).take(n). Ivan Enderlin 2025-01-31 11:40:34 +01:00