Commit Graph

  • 797532815a room: warn at most once per room if the room version is missing Benjamin Bouvier 2024-04-04 17:31:28 +02:00
  • f11aeafd58 crypto: Add an optional backup_version param to inbound_group_session_counts Andy Balaam 2024-04-05 14:20:03 +01:00
  • 327e0aef99 sdk: Enable matrix-sdk-base feature conditionally Kévin Commaille 2024-04-05 12:45:44 +02:00
  • 742700b7fa event cache: increase the number of pending updates for a sender Benjamin Bouvier 2024-04-04 18:41:42 +02:00
  • 03f4a56bff timeline(optimization): don't call force_update_sender_profiles when there are no member_ambiguity_changes Benjamin Bouvier 2024-04-04 18:38:59 +02:00
  • d8b0b9e2f4 event cache: better handle room updates lag Benjamin Bouvier 2024-04-04 18:36:19 +02:00
  • dbb9c60d09 linked chunks: cosmetic changes Benjamin Bouvier 2024-04-04 15:51:46 +02:00
  • b6db3af882 room list service: always include the m.room.create state event in a room subscription Benjamin Bouvier 2024-04-04 17:23:20 +02:00
  • 8a8ad22961 ffi: Use async functions in AuthenticationService (#3294) Kévin Commaille 2024-04-04 17:54:20 +02:00
  • b78bbc01a0 timeline: pin all the local echoes to the bottom Benjamin Bouvier 2024-04-04 09:48:45 +02:00
  • f51865e1ae crypto: Add a backup_version argument to group session backup methods Andy Balaam 2024-03-14 13:26:15 +00:00
  • 682c17c9d8 feat: add support for storing breacrumbs in the state store Stefan Ceriu 2024-03-28 11:55:47 +02:00
  • 4da1c01963 chore: Fix some typos Damir Jelić 2024-04-04 10:21:49 +02:00
  • 96a4b06ca6 timeline: use the day divider adjuster when updating the send state of a message Benjamin Bouvier 2024-03-29 19:41:46 +01:00
  • ef5b12035d day dividers: explicitly chase trailing day dividers Benjamin Bouvier 2024-03-29 19:41:27 +01:00
  • 38978dacd7 crypto: Define both bounds in the same place Kévin Commaille 2024-04-02 14:20:10 +02:00
  • 74ea661438 chore: Use only extern attributes for test modules Kévin Commaille 2024-04-02 14:19:16 +02:00
  • da2abccc0d chore: Disable clippy::assigning_clones lint Kévin Commaille 2024-04-02 14:18:20 +02:00
  • 6731c52b12 base: extract changes to profile into a small function helper Benjamin Bouvier 2024-04-02 14:15:00 +02:00
  • a3ca28f1a5 test: add regression test for #3278 Benjamin Bouvier 2024-03-29 15:49:59 +01:00
  • 450ceaa241 base: remove previous profiles of member when they're invited Benjamin Bouvier 2024-03-29 16:18:50 +01:00
  • 6cd655ba7c state store: add Changes::profile_to_delete field Benjamin Bouvier 2024-03-29 14:09:38 +01:00
  • f9ab073adf chore: Avoid redundant imports Kévin Commaille 2024-04-02 12:33:36 +02:00
  • b5d7c40029 tests: Use .contains_key() instead of .get().is_some()/.is_none() Kévin Commaille 2024-04-02 12:21:56 +02:00
  • 29f7f88a2c ffi: expose room and event matrix.to permalink builder methods Stefan Ceriu 2024-04-01 10:08:18 +03:00
  • db37a1feb5 base: fix typo in comment Benjamin Bouvier 2024-03-28 17:20:06 +01:00
  • 901024bccc base: remove cognitive overload when passing parameters Benjamin Bouvier 2024-03-28 16:59:42 +01:00
  • 5d1fa986f3 base(logs): remove spammy trace statements in BaseRoom::get_member Benjamin Bouvier 2024-03-28 16:53:12 +01:00
  • aa99c7bd38 base(style): avoid repetitions of and_then Benjamin Bouvier 2024-03-28 16:51:56 +01:00
  • 76d484541f test: add test for #3278 Benjamin Bouvier 2024-03-28 16:19:20 +01:00
  • 8482d181b5 base: ensure test_ prefix for all the tests Benjamin Bouvier 2024-03-28 15:12:45 +01:00
  • 650f210da7 base: copy comment in receive_all_members explaining why it's not fine to set the profile of another user Benjamin Bouvier 2024-03-28 18:00:58 +01:00
  • 191350a290 Revert "fix: Process profiles for all room members not only state event senders (#3278)" Benjamin Bouvier 2024-03-28 17:57:10 +01:00
  • 95baf17c36 fix(sdk): Fix LinkedChunk::insert_items_at. Ivan Enderlin 2024-03-29 09:46:30 +01:00
  • 1c1053afe6 event cache: internalize handling of the account data Benjamin Bouvier 2024-03-26 16:39:20 +01:00
  • 7ac153fd67 Merge pull request #3282 from matrix-org/andybalaam/memorystore-tracked-users-map Andy Balaam 2024-03-28 16:33:49 +00:00
  • 31131146a6 memorystore: Fix bug where duplicate tracked users are stored Andy Balaam 2024-03-28 15:15:13 +00:00
  • ac0bc95c25 feat(sdk): EventCache fully uses RoomEvents/LinkedChunk Ivan Enderlin 2024-03-27 10:23:42 +01:00
  • 11c3799fa2 doc(sdk): Improve doc of EventCache. Ivan Enderlin 2024-03-27 09:09:40 +01:00
  • f11cf87326 fix(sdk): Replace unwrap by expect and add SAFETY docs. Ivan Enderlin 2024-03-25 12:18:06 +01:00
  • 7b092fd174 doc(sdk): Improve documentation of EventCacheInner::multiple_room_updates_lock. Ivan Enderlin 2024-03-25 09:52:53 +01:00
  • 1fa4bb4cfa chore(sdk): Remove commented code. Ivan Enderlin 2024-03-25 09:49:52 +01:00
  • dabc7c512c !revert test changes Ivan Enderlin 2024-03-25 09:47:05 +01:00
  • 8fe27ab582 doc(sdk): Improve documentation of RoomEvents::replace_gap_at. Ivan Enderlin 2024-03-25 09:41:37 +01:00
  • 8c1d3f4f60 feat(sdk): RoomEventCacheInner::backpaginate always return Ok for unknown token. Ivan Enderlin 2024-03-21 12:29:14 +01:00
  • a623215257 chore(sdk): Make Clippy happy. Ivan Enderlin 2024-03-20 22:13:48 +01:00
  • f61de718b8 fix(sdk): Fix a race-condition in EventCache. Ivan Enderlin 2024-03-20 21:54:34 +01:00
  • fa5bbadf57 doc(sdk): Just highlight how important this lock is. Ivan Enderlin 2024-03-20 15:42:15 +01:00
  • 9319f4fcff test(sdk): Fix test_reset_while_backpaginating. Ivan Enderlin 2024-03-20 10:01:41 +01:00
  • 25fb9ee47d feat(sdk): Update RoomEvents::replace_gap_at to return a &Chunk. Ivan Enderlin 2024-03-20 10:01:12 +01:00
  • 85538dc3ed feat(sdk): Remove EventCacheStore, TimelineEntry, RoomInfo and MemoryStore. Ivan Enderlin 2024-03-18 15:17:25 +01:00
  • 5bb2511914 test(sdk): Tests of EventCache uses RoomEvents. Ivan Enderlin 2024-03-18 15:12:18 +01:00
  • 667ada88e6 feat(sdk): RoomEventCache::subscribe uses RoomEvents. Ivan Enderlin 2024-03-18 14:52:31 +01:00
  • 022b8a0f38 feat(sdk): EventCache::listen_task uses RoomEvents. Ivan Enderlin 2024-03-18 14:49:52 +01:00
  • 29caa02ef0 feat(sdk): EventCache::add_initial_events uses RoomEvents. Ivan Enderlin 2024-03-18 14:44:08 +01:00
  • 9102a9c841 feat(sdk): RoomEventCachecacherInner::oldest_backpagination_token uses RoomEvents. Ivan Enderlin 2024-03-18 14:30:58 +01:00
  • 99e47ed5d7 fix: Process profiles for all room members not only state event senders (#3278) Stefan Ceriu 2024-03-27 10:13:18 +02:00
  • 54729ce32b feat(sdk): Start disabling the global store in EventCache. Ivan Enderlin 2024-03-18 12:57:45 +01:00
  • 36e199c31e feat(sdk): Implement RoomEvents::reset, push_gap, replace_gap_at and events. Ivan Enderlin 2024-03-18 12:22:58 +01:00
  • ab9e4f73b1 crypto: Add OlmMachine::device_creation_time (#3275) Richard van der Hoff 2024-03-26 15:13:55 +00:00
  • ce7143b833 integration tests: rewrite test_toggling_reaction so it syncs in the background Benjamin Bouvier 2024-03-25 17:05:32 +01:00
  • 9480450410 integration tests: attempt to fix test_toggling_reaction Benjamin Bouvier 2024-03-25 16:22:58 +01:00
  • 4744a994b4 integration tests: enhance testing of test_room_notification_count Benjamin Bouvier 2024-03-22 18:48:04 +01:00
  • 1fd5b34fd0 ci: add more logs for test_toggling_reaction Benjamin Bouvier 2024-03-22 18:47:21 +01:00
  • 1255027d6e git: ignore the code coverage report from the output Benjamin Bouvier 2024-03-22 18:47:04 +01:00
  • baac38fec5 day dividers: add test for redundant day divider before a read marker Benjamin Bouvier 2024-03-25 12:33:12 +01:00
  • 94c0322fbe day dividers: soften assertions Benjamin Bouvier 2024-03-25 12:16:40 +01:00
  • e9a4389a12 day dividers: don't assume the previous item is at the immediate previous position Benjamin Bouvier 2024-03-25 12:08:18 +01:00
  • 67615fec3a Merge pull request #3252 from matrix-org/andybalaam/run-integration-tests-for-memorystore Andy Balaam 2024-03-25 12:23:52 +00:00
  • 95a471b0d2 ffi: Expose discovered sliding sync proxy URL (#3266) Thomas 2024-03-22 18:21:24 +01:00
  • 56f4b3e70e day divider: don't assume events have event id Benjamin Bouvier 2024-03-22 15:00:36 +01:00
  • 6aee1f62bd day divider: make it impossible to handle an event without adjusting day dividers (#3267) Benjamin Bouvier 2024-03-22 13:14:28 +01:00
  • 8d968604e9 chore: Update Ruma to version that uses web-time crate (#3264) Hubert Chathi 2024-03-22 07:30:19 -04:00
  • 3a7b8fc6a5 crypto: Run the crypto integration tests against MemoryStore Andy Balaam 2024-03-20 12:13:47 +00:00
  • 7de5d295b6 crypto: Enable testing module in test mode Andy Balaam 2024-03-20 13:19:11 +00:00
  • 6b394d96bd crypto: Formatting for integration_tests Andy Balaam 2024-03-20 12:13:11 +00:00
  • 97959bbcd0 crypto: Log details about olm session after encryption/decryption (#3242) Richard van der Hoff 2024-03-22 09:43:35 +00:00
  • 2883685bcc day divider: adjust instrument macro Benjamin Bouvier 2024-03-21 20:09:32 +01:00
  • eef61f87c1 day divider: move code to a new file Benjamin Bouvier 2024-03-21 20:03:33 +01:00
  • 2c9a088a36 day divider: add test for duplicate date header after matching two local echoes Benjamin Bouvier 2024-03-21 19:07:34 +01:00
  • 8912761eb7 day divider algorithm: address review comments Benjamin Bouvier 2024-03-21 15:55:07 +01:00
  • 3323f37efc day divider: beef up the reports Benjamin Bouvier 2024-03-20 16:23:40 +01:00
  • 515aaf0a8a day divider: fix offset computation Benjamin Bouvier 2024-03-20 15:24:59 +01:00
  • c172ad9191 day divider: only warn if some invariants are broken, in non-debug mode Benjamin Bouvier 2024-03-20 15:10:18 +01:00
  • 601dce76ef timeline: add instrumentation for the maybe_adjust_day_dividers function Benjamin Bouvier 2024-03-19 18:31:50 +01:00
  • f704066fbe timeline: group updates of the day dividers when multiple events are added at the same time Benjamin Bouvier 2024-03-19 18:27:56 +01:00
  • b8174c437f timeline: move the day divider adjusting code into its own data structure Benjamin Bouvier 2024-03-19 17:51:23 +01:00
  • a7cda30f6a timeline: use push_{front,back} semantics for both messages and day dividers Benjamin Bouvier 2024-03-19 17:44:06 +01:00
  • 88cd2557f3 timeline: rework the day divider separation as a post-processing algorithm Benjamin Bouvier 2024-03-18 18:27:40 +01:00
  • bd33c336e7 tests: try bumping the timeout duration in test_room_notification_count Benjamin Bouvier 2024-03-21 18:31:06 +01:00
  • 82bcf48c88 Enable debuginfo for tarpaulin builds Richard van der Hoff 2024-03-21 16:22:26 +00:00
  • daaf17198c Merge pull request #3257 from Hywan/fix-issue-3213 Ivan Enderlin 2024-03-21 16:24:03 +01:00
  • fe39ca47d6 Merge pull request #3223 from matrix-org/andybalaam/adjust-integration-tests Andy Balaam 2024-03-21 13:15:45 +00:00
  • f42c8937da feat(sdk): Improve ChunkIdentifierGenerator Ivan Enderlin 2024-03-21 12:56:16 +01:00
  • 199275ff89 feat(sdk): Rename ChunkIdentifierGenerator::generate_next to next. Ivan Enderlin 2024-03-21 12:39:18 +01:00
  • 7df31406dc feat(bindings): added join room by id to ffi Ivan Enderlin 2024-03-21 12:18:33 +01:00
  • 1edfc6cb5e Merge pull request #3261 from matrix-org/kegan/arc-uniffi Ivan Enderlin 2024-03-21 12:10:36 +01:00
  • d4c1b9b8ad chore: Avoid importing types redundantly Ivan Enderlin 2024-03-21 11:56:02 +01:00
  • d447f63e33 fixed invalid parsing Mauro Romito 2024-03-21 11:53:44 +01:00
  • c13fb7e19f uniffi: wrap TaskHandle up in an Arc<> Kegan Dougal 2024-03-21 10:40:37 +00:00