Commit Graph

  • 9423e41a06 refactor(event cache): use the store methods to retrieve an event by id, with or without its relations Benjamin Bouvier 2025-03-27 16:14:10 +01:00
  • 3489cbd5d7 feat(event cache): allow retrieving an event and all its relations Benjamin Bouvier 2025-03-27 16:08:01 +01:00
  • 65be779bb0 refactor(event cache): move relation extraction into common store helpers Benjamin Bouvier 2025-03-27 15:47:14 +01:00
  • 45f1dca6a3 refactor(event cache): don't return a position in find_event Benjamin Bouvier 2025-03-27 15:04:49 +01:00
  • 913b2a5f78 feat(event cache): allow to persist an out-of-band event into storage Benjamin Bouvier 2025-03-27 14:45:22 +01:00
  • 627e2ca5a6 refactor(linked chunk): rejigger the relational linked chunk so it can handle indexed items Benjamin Bouvier 2025-03-27 14:24:15 +01:00
  • 3d8af1b972 feat(event cache): extract an event's relationship before inserting it into the database Benjamin Bouvier 2025-03-26 16:29:35 +01:00
  • 03f5d0222e refactor(event cache): store the events' content independently of their position in a chunk Benjamin Bouvier 2025-03-26 16:15:48 +01:00
  • af85447328 chore(deps): bump tj-actions/changed-files dependabot[bot] 2025-03-31 15:08:15 +00:00
  • d34e11b9f6 Fixes #4871 (hopefully). In test code, sync after other user cross-signs Andy Balaam 2025-04-01 13:39:20 +01:00
  • 231073c9c3 chore(sqlite): log underlying errors in many OpenStoreError variants Benjamin Bouvier 2025-04-01 14:37:09 +02:00
  • 34a3fb4efb Fix typo decodeable -> decodable Andy Balaam 2025-04-01 11:53:36 +01:00
  • a38c3b5dc5 chore(deps): bump crate-ci/typos from 1.30.2 to 1.31.1 dependabot[bot] 2025-03-31 15:08:02 +00:00
  • 1a1310e205 doc(ffi,sqlite,sdk): Update CHANGELOG.mds. Ivan Enderlin 2025-04-01 09:18:26 +02:00
  • d7b6fae2a3 feat(ffi): Add session_pool_max_size, …_cache_size and …_journal_size_limit. Ivan Enderlin 2025-04-01 09:00:23 +02:00
  • bb87a728ac doc(sqlite): Fix a broken link. Ivan Enderlin 2025-04-01 08:41:18 +02:00
  • d60810c2af refactor(ffi): Rename ClientBuilder::passphrase to session_passphrase. Ivan Enderlin 2025-03-31 17:31:06 +02:00
  • a6a4579ef9 feat(sdk): Add ClientBuilder::sqlite_store_with_config_and_cache_path. Ivan Enderlin 2025-03-31 17:03:16 +02:00
  • a084a5b08b feat(sdk): BuilderStoreConfig::Sqlite embeds SqliteStoreConfig. Ivan Enderlin 2025-03-31 16:51:03 +02:00
  • 4112162092 feat(sqlite): Add SqliteStoreConfig::path() to override the path. Ivan Enderlin 2025-03-31 16:49:10 +02:00
  • f341572616 feat(sqlite): SqliteStoreConfig implements Clone and Debug. Ivan Enderlin 2025-03-31 16:48:41 +02:00
  • a047784278 feat(ffi): Add Client::restore_session_with and RoomLoadSettings. Ivan Enderlin 2025-03-31 15:12:30 +02:00
  • 7ac3fa1f4a refactor(ffi): Inline restore_session_inner. Ivan Enderlin 2025-03-31 15:01:27 +02:00
  • c30ec0ed8a chore(sdk): Reduce log verbosity from info -> trace in a few functions (#4747) Kevin Boos 2025-03-31 08:11:06 -07:00
  • d6f2fd4304 test(base): Test BaseStateStore::load_rooms. Ivan Enderlin 2025-03-31 13:36:41 +02:00
  • cf5b8d3b33 test(base): Test StateStore::get_room_infos with the RoomLoadSettings arguments. Ivan Enderlin 2025-03-31 12:06:50 +02:00
  • 2a67d7472a feat(base,sqlite,indexeddb): Use RoomLoadSettings to load all or one room. Ivan Enderlin 2025-03-31 10:17:51 +02:00
  • 9f74be26c3 feat(base): Introduce RoomLoadSettings. Ivan Enderlin 2025-03-31 08:20:05 +02:00
  • fb04539418 refactor(encryption): Simplify the parsing of OAuthCrossSigningResetInfo Damir Jelić 2025-03-28 16:45:15 +01:00
  • 192cf0154a integration-test: Remove postgres container (#4858) Richard van der Hoff 2025-03-28 16:51:12 +00:00
  • 9acd649742 chore: Remove the RSA security advisory from our deny config Damir Jelić 2025-03-28 16:48:22 +01:00
  • e8fcdf4360 doc(base): Update the description in the CHANGELOG.md. Ivan Enderlin 2025-03-28 15:38:26 +01:00
  • 43dbb6a021 refactor(base): Split BaseStateStore::set_or_reload_session into 3 distinct methods. Ivan Enderlin 2025-03-28 15:30:16 +01:00
  • de615f2ffe refactor(base): Rename BaseClient::set_or_reload_session and ::logged_in. Ivan Enderlin 2025-03-28 15:05:39 +01:00
  • f11eec4caf doc(base): Update CHANGELOG.md. Ivan Enderlin 2025-03-28 11:01:02 +01:00
  • f445a5ca57 test(base): Add tests for Store::set_or_reload_session*. Ivan Enderlin 2025-03-26 16:38:38 +01:00
  • 68605de596 feat(base): Add Store::set_or_reload_session_from_other. Ivan Enderlin 2025-03-28 11:00:28 +01:00
  • db97d616f6 refactor(base): Rename set_session_meta to set_or_reload_session. Ivan Enderlin 2025-03-28 10:57:39 +01:00
  • e2e5b39afa test(sdk): Test that resetting cross-signing with an invalid password errors out Damir Jelić 2025-03-26 15:13:34 +01:00
  • 6fec953ff0 test(sdk): Use the MatrixMockServer for the cross-signing reset test Damir Jelić 2025-03-26 15:12:54 +01:00
  • 95befc9a25 fix(encryption): Return the uiaa error if we have one in the identity reset loop Damir Jelić 2025-03-14 10:37:02 +01:00
  • cb92971657 chore(ui): move TimelineItemContent::UnableToDecrypt to MsgLikeKind::UnableToDecrypt Stefan Ceriu 2025-03-28 14:16:07 +02:00
  • 5a35fec894 chore(ui): rename RedactedMessage to just Redacted Stefan Ceriu 2025-03-28 10:54:23 +02:00
  • 43b8f83e4b chore(ui): move TimelineItemContent::RedactedMessage to MsgLikeKind::RedactedMessage Stefan Ceriu 2025-03-28 10:49:58 +02:00
  • 0952255a50 chore(ui): reoder MsgLike helpers so that as_foo and is_foo are grouped Stefan Ceriu 2025-03-28 09:58:37 +02:00
  • 8738c4dbfd test(sqlite): Add test for cache_size and journal_size_limit. Ivan Enderlin 2025-03-28 09:07:12 +01:00
  • 99436f8e79 test(sqlite): Test the new RuntimeConfig type. Ivan Enderlin 2025-03-21 18:52:59 +01:00
  • 339b220488 feat(sqlite): Introduce RuntimeConfig which includes cache_size Ivan Enderlin 2025-03-21 18:41:01 +01:00
  • 661f381e34 chore: Run rustfmt with an older nightly version. Ivan Enderlin 2025-03-28 10:32:49 +01:00
  • 8d4ccf6442 doc(sdk,base): Update CHANGELOG.mds. Ivan Enderlin 2025-03-26 17:15:33 +01:00
  • bd6b7c2ce1 refactor(base): Rename BaseClient::store to state_store. Ivan Enderlin 2025-03-26 17:10:03 +01:00
  • 9152d84b06 refactor(base): Rename BaseClient::store to state_store. Ivan Enderlin 2025-03-26 17:05:33 +01:00
  • c044f81d7b refactor(base): Rename Store to BaseStateStore. Ivan Enderlin 2025-03-26 17:01:36 +01:00
  • 5730f0e00e chore(ui): introduce an as_message MsgLikeContent helper and use in tests Stefan Ceriu 2025-03-27 14:50:48 +02:00
  • 76f92ba9af chore(ui): rename AggregatedTimelineItemContent to MsgLikeContent and AggregatedTimelineItemContentKind to MsgLikeKind. - we decided on this naming convention to keep consistent with Ruma which uses MsgLike as well Stefan Ceriu 2025-03-27 14:26:02 +02:00
  • d599c72278 chore(ui): use a newer version of as_variant to match nested types. Stefan Ceriu 2025-03-27 13:43:22 +02:00
  • e5243e32be chore(ui): simplify the fetch_replied_to_event method Stefan Ceriu 2025-03-27 10:37:07 +02:00
  • db18e7fd74 chore(ui): simplify the test by using more of the TimelineItemContent helpers Stefan Ceriu 2025-03-27 09:59:00 +02:00
  • f3baf7efd2 refactor(timeline): push the reply logic down into matrix_sdk (#4842) Johannes Marbach 2025-03-27 13:47:51 +01:00
  • f6e223edf6 refactor(timeline): bump as_variant and make more use of its pattern matching form Benjamin Bouvier 2025-03-27 10:09:20 +01:00
  • 4f3b40d6fb feat!(timeline): Introduce an extra TimelineItemContent layer that holds aggregations (#4839) Stefan Ceriu 2025-03-26 18:27:03 +02:00
  • 6e480271d3 crypto: get_most_recent_session: return None for unknown device (#4846) Richard van der Hoff 2025-03-26 14:42:24 +00:00
  • e60cf18337 refactor(base): Rename BaseClient::with_store_config to new. Ivan Enderlin 2025-03-26 14:20:43 +01:00
  • 6409adb879 doc(base): Remove an empty line in an example. Ivan Enderlin 2025-03-26 14:16:36 +01:00
  • 915e0e83bc doc(base): Fix documentation of BaseClient::with_store_config. Ivan Enderlin 2025-03-26 14:15:50 +01:00
  • 8323ecdc8b doc(base): Improve documentation of BaseClient. Ivan Enderlin 2025-03-26 14:14:27 +01:00
  • e0e9c06ca4 Don't use serde to avoid returning an error Kévin Commaille 2025-03-26 14:41:41 +01:00
  • eb313efdeb Don't qualify error! macro Kévin Commaille 2025-03-26 14:04:38 +01:00
  • bc22ff1221 refactor(oauth): Introduce AccountManagementUrlBuilder Kévin Commaille 2025-03-23 11:56:33 +01:00
  • 8c988beaf2 doc(linked chunk): tweak comments related to clearing/dropping a linked chunk Benjamin Bouvier 2025-03-26 11:43:21 +01:00
  • 752c9baf7c refactor(timeline): simplify removal of duplicated local echo item Benjamin Bouvier 2025-03-19 17:06:28 +01:00
  • 766772f654 feat(timeline): insert the start of the timeline in places where it's required Benjamin Bouvier 2025-03-19 16:26:01 +01:00
  • f5b6767253 feat(timeline): add a timeline start virtual item Benjamin Bouvier 2025-03-19 16:09:37 +01:00
  • 5ce045ee02 refactor(timeline): avoid unnecessary shadowing variables Benjamin Bouvier 2025-03-19 15:55:44 +01:00
  • b83889dcba fix(ffi): propagate initial values before the future is picked by a runtime Benjamin Bouvier 2025-03-20 10:54:27 +01:00
  • cfc839f71b doc(sqlite) Add entry to the changelog. Ivan Enderlin 2025-03-21 11:59:36 +01:00
  • 660d4e7ccb feat(sqlite): Add StoreOpenConfig and open_with_config for all stores. Ivan Enderlin 2025-03-21 11:55:06 +01:00
  • 404dd3949f test: remove unused helpers Benjamin Bouvier 2025-03-24 16:33:08 +01:00
  • 693c8df8d0 test(timeline): more of the same, with a new EventFactory method to add a receipt with a given timestamp Benjamin Bouvier 2025-03-24 16:32:21 +01:00
  • d587d5f145 test(timeline): make more use of MatrixMockServer / EventFactory Benjamin Bouvier 2025-03-24 16:06:05 +01:00
  • be6daa5930 test: add EventFactory::typing for typing notifications and get rid of more old cruft Benjamin Bouvier 2025-03-24 15:56:46 +01:00
  • acee5415c5 test: get rid of a few global statics for read receipts event contents Benjamin Bouvier 2025-03-24 15:34:12 +01:00
  • 6399a99452 test(timeline): use the EventFactory a bit more Benjamin Bouvier 2025-03-24 15:22:30 +01:00
  • b5aa2113db test: add a way to create ephemeral read receipts events in the EventFactory Benjamin Bouvier 2025-03-24 14:59:21 +01:00
  • 1585b0c32e test(timeline): use more MatrixMockServer Benjamin Bouvier 2025-03-24 14:44:49 +01:00
  • 3c01f88ab8 benchmark(linked chunk): add a benchmark for reading events out of the store Benjamin Bouvier 2025-03-25 16:42:01 +01:00
  • 785312856e fix(linked chunk): don't leak upon drop Benjamin Bouvier 2025-03-25 16:30:05 +01:00
  • fc8a6dc9b1 refactor(ffi): always try to load InReplyToDetails from the event cache or network Benjamin Bouvier 2025-03-24 17:54:44 +01:00
  • 7b8694e465 refactor(timeline): better encapsulate RepliedToEvent's fields Benjamin Bouvier 2025-03-24 17:49:24 +01:00
  • 655f62c331 refactor(timeline): don't ever look into the timeline's items to fetch the replied-to event content Benjamin Bouvier 2025-03-24 17:15:43 +01:00
  • 53732e0ff2 refactor(timeline): use load_or_fetch_event when fetching a reply's content Benjamin Bouvier 2025-03-24 17:06:28 +01:00
  • 4cae122854 refactor(room): use load_or_fetch_event when creating an edit event Benjamin Bouvier 2025-03-24 17:05:02 +01:00
  • 2a11494c33 feat(room): introduce a new method to load from cache or network Benjamin Bouvier 2025-03-24 17:03:45 +01:00
  • 1dddd97d96 refactor(timeline): simplify ReplyContent::Message Benjamin Bouvier 2025-03-24 16:54:42 +01:00
  • f8236a8b96 feat(timeline): add functions for sending messages in threads Johannes Marbach 2025-03-24 14:31:20 +01:00
  • aa07108c98 fix(oauth): Put cross-process module behind e2e-encryption feature Kévin Commaille 2025-03-22 11:30:20 +01:00
  • 9aed0cc933 chore: Add changelog about experimental-oidc feature removal Kévin Commaille 2025-03-22 10:47:13 +01:00
  • f6c5addf55 refactor(sdk): Remove experimental-oidc feature Kévin Commaille 2025-03-22 10:38:14 +01:00
  • 9434a112d9 fix(oauth): Don't run OAuth tests under WASM Kévin Commaille 2025-03-22 10:21:22 +01:00
  • c4ec32cb78 fix(sdk): Gate QR login imports and methods for WASM Kévin Commaille 2025-03-22 10:19:55 +01:00