Commit Graph

  • 5f27f487e6 pinned events: get rid of async_trait for PinnedEventsRoom too Benjamin Bouvier 2024-08-22 14:57:45 +02:00
  • 6cbd197514 timeline: don't use async_trait for RoomExt Benjamin Bouvier 2024-08-22 13:05:03 +02:00
  • c10894bed6 timeline: inline update_timeline_item in all callers Benjamin Bouvier 2024-08-22 12:31:38 +02:00
  • 2291268679 timeline: get rid of Clone for Flow and TimelineEventContext Benjamin Bouvier 2024-08-22 12:22:16 +02:00
  • 94e9005132 room list service: get rid of the abstract action system and replace it with functions Benjamin Bouvier 2024-08-22 12:01:38 +02:00
  • 3a1c374a13 chore(sdk): Rename StickyData::commit to ::on_commit. Ivan Enderlin 2024-08-23 09:01:27 +02:00
  • 2ac71fc89c test(ui): Fix a test, finally. Ivan Enderlin 2024-08-21 18:10:03 +02:00
  • a484964d4d feat(sdk): Do not send a room subscription that has already been sent. Ivan Enderlin 2024-08-21 17:56:02 +02:00
  • 5f159d4418 feat(sdk): Add RoomSubscriptionState. Ivan Enderlin 2024-08-21 17:54:30 +02:00
  • aeaedf7e5b feat(sdk): Add StickyData::commit. Ivan Enderlin 2024-08-21 14:08:31 +02:00
  • 2db031cec5 timeline: rename ReactionStatus::Remote to ReactionStatus::RemoteToRemote Benjamin Bouvier 2024-08-22 17:13:15 +02:00
  • 3329e75708 test: add a test that if a redaction request fails, we add the annotation back Benjamin Bouvier 2024-08-21 17:04:13 +02:00
  • cdd6c23e15 test: add a test for redacting a reaction that was being sent Benjamin Bouvier 2024-08-21 16:58:07 +02:00
  • 6dc8d3980e timeline: only use the send queue to send reactions, and nothing else Benjamin Bouvier 2024-08-14 10:24:18 +02:00
  • a9c0dc3da4 timeline: introduce new methods send/redact in the RoomDataProvider Benjamin Bouvier 2024-08-22 17:05:15 +02:00
  • c04dd18440 MatrixRTC: Update ruma revision. This revision includes renaming focus_select (wrong) to focus_selection (correct). Timo 2024-08-22 15:38:56 +02:00
  • 794bf98a1b sdk: add relationships cache to EventCache (#3870) Jorge Martin Espinosa 2024-08-22 14:24:19 +02:00
  • e88f14a1f9 ffi: expose new SessionRecipientCollectionErrors to application Richard van der Hoff 2024-08-20 17:58:12 +01:00
  • b95c189a18 test mocks: deduplicate mock_encryption_state Benjamin Bouvier 2024-08-21 17:22:44 +02:00
  • 92fe72f83a test: add a mocks mod in matrix-sdk-test to reuse across different integration tests Benjamin Bouvier 2024-08-21 17:16:42 +02:00
  • 01e2db1f52 base: Move media cache to new EventCacheStore trait (#3858) Kévin Commaille 2024-08-22 10:36:43 +02:00
  • 40d447dc69 fix(sdk): Clear all sliding sync room subscriptions when session expires. Ivan Enderlin 2024-08-21 13:41:03 +02:00
  • 4cc5790c64 ffi: expose room membership through the RoomListItem and allow invited rooms to be build differently than "full" ones (#3869) Stefan Ceriu 2024-08-21 16:55:03 +03:00
  • fbc9db9b15 ffi: add info to FFI room redaction event Jorge Martín 2024-08-21 08:47:48 +02:00
  • f6b21e6ce9 chore(sdk): Clean documentation and remove a useless pub(super). Ivan Enderlin 2024-08-19 14:23:25 +02:00
  • 05542f7ba8 feat(sdk): Sliding sync has a timeout if all lists require a timeout. Ivan Enderlin 2024-08-19 12:00:44 +02:00
  • b06bb42d3e feat(sdk): Add SlidingSyncList::requires_timeout. Ivan Enderlin 2024-08-19 14:28:43 +02:00
  • e4d0f2291f feat(sdk): Add SlidingSyncListRequestGenerator::is_selective. Ivan Enderlin 2024-08-19 14:26:29 +02:00
  • 31f84d7534 feat(sdk): Implement SlidingSyncListLoadingState::is_fully_loaded. Ivan Enderlin 2024-08-19 11:33:28 +02:00
  • 4c5b537825 test(sdk): Rename tests. Ivan Enderlin 2024-08-19 11:32:45 +02:00
  • d9e6bfa678 Add a tip about using RustRover Richard van der Hoff 2024-08-20 12:41:25 +01:00
  • f0d98602a9 timeline: use the EncryptionInfo provided by the replacement event when processing edits - this prevents issues where spoofing the sender field is enough to spoof and edit and display wrong decorations in the app - fixes matrix-org/internal-config/issues/1549 Stefan Ceriu 2024-08-19 12:32:06 +03:00
  • a27ebaabae ffi: add ClientBuilder::room_key_recipient_strategy Richard van der Hoff 2024-08-20 14:44:41 +01:00
  • 9b78903705 crypto: add ClientBuilder::with_room_key_recipient_strategy Richard van der Hoff 2024-08-20 14:42:43 +01:00
  • 0151f32425 crypto: add BaseClient::room_key_recipient_strategy field Richard van der Hoff 2024-08-20 14:41:18 +01:00
  • ca09917d84 crypto: Update the comment about source of truth for in sqlite Andy Balaam 2024-08-20 15:19:06 +01:00
  • 78924ed877 crypto: In sqlite, use the SQL column value for backed_up everywhere Andy Balaam 2024-08-20 12:54:51 +01:00
  • 668a267c9b crypto: Merge deserialize_pickled_inbound_group_session into unpickle_inbound_group_session Andy Balaam 2024-08-20 12:42:59 +01:00
  • fed08fad76 crypto: Utility deserialize_and_unpickle_inbound_group_session for sqlite store Andy Balaam 2024-08-20 12:39:42 +01:00
  • 651b61414e crypto: add a note about libolm only being used in tests Richard van der Hoff 2024-08-20 11:33:01 +01:00
  • bbefad34bc test: reuse the internal EventFactory of the TestTimeline in more places Benjamin Bouvier 2024-08-20 11:55:00 +02:00
  • b00f58a28d test: get rid of TestTimeline::handle_live_message_event in favor of TestTimeline::handle_live_event Benjamin Bouvier 2024-08-14 16:20:33 +02:00
  • 3b3474688b sdk: Upgrade mas-oidc-client Kévin Commaille 2024-08-19 16:49:51 +02:00
  • ed19bf7bc5 fix(ffi): New fields formatter to remove duplicated span fields. Ivan Enderlin 2024-08-19 10:32:15 +02:00
  • eeb325abb7 chore(ffi): Format code. Ivan Enderlin 2024-08-19 09:35:42 +02:00
  • 9d7dd1a6d6 crypto: update changelog Richard van der Hoff 2024-08-16 16:50:19 +01:00
  • 820f4ee711 crypto: tests for errors on verification violation Richard van der Hoff 2024-08-16 16:14:02 +01:00
  • 271ba98ba9 crypto: test: factor out EncryptionSettings helper Richard van der Hoff 2024-08-16 14:43:31 +01:00
  • 7575c256d4 crypto: test: move unsigned_of_verified_setup helper function Richard van der Hoff 2024-08-14 11:18:40 +01:00
  • cd0d79dd88 crypto: Key sharing option to error for verification violation Richard van der Hoff 2024-08-13 17:18:10 +01:00
  • d35e3405ab crypto: Add UserIdentityData::was_previously_verified Richard van der Hoff 2024-08-16 13:11:41 +01:00
  • 711a753533 doc(sdk): Update CHANGELOG.md. Ivan Enderlin 2024-08-14 17:09:41 +02:00
  • 4e291205d5 feat(sdk): Remove NotificationSettings::subscribe_to_changes. Ivan Enderlin 2024-08-14 17:02:01 +02:00
  • b497577717 crypto: use UserIdentities utility functions Richard van der Hoff 2024-08-16 15:28:14 +01:00
  • 9077310eb2 crypto: Add utility wrappers to UserIdentities Richard van der Hoff 2024-08-15 17:30:58 +01:00
  • b4d265e997 crypto: update changelog Richard van der Hoff 2024-08-15 18:20:27 +01:00
  • dd810f4803 crypto: Track if our own identity was previously verified Richard van der Hoff 2024-08-15 16:52:42 +01:00
  • a6b78d8d53 crypto: replace OwnUserIdentityData::verified with enum Richard van der Hoff 2024-08-15 16:31:21 +01:00
  • 96c4e4c49e crypto: update OtherUserIdentityData::is_device_signed to return bool Richard van der Hoff 2024-08-14 18:45:23 +01:00
  • 5f9a4fc6d1 crypto: update OwnUserIdentityData::is_device_signed to return bool Richard van der Hoff 2024-08-14 18:41:14 +01:00
  • 31b25b8754 crypto: update OwnUserIdentityData::is_identity_signed to return bool Richard van der Hoff 2024-08-14 18:34:51 +01:00
  • fa6066b810 test(sdk): Test Room::cached_user_defined_notification_mode. Ivan Enderlin 2024-08-14 16:12:25 +02:00
  • 102da7cb9a feat(ffi): Add RoomInfo::cached_user_defined_notification_mode. Ivan Enderlin 2024-08-14 11:05:31 +02:00
  • 1c39086b5a feat(sdk): Cache the user-defined notification mode on each sync. Ivan Enderlin 2024-08-14 10:54:15 +02:00
  • 651e8fcd48 test(base): Split test_room_info_deserialization_without_optional_items. Ivan Enderlin 2024-08-14 10:47:36 +02:00
  • ad947132ed feat(sdk): Room::user_defined_notification_mode caches its result. Ivan Enderlin 2024-08-14 10:37:23 +02:00
  • 2a3525f7be chore(sdk): Add missing copyright. Ivan Enderlin 2024-08-14 09:18:04 +02:00
  • 7e2c773d21 chore(base): Move RoomNotificationMode into matrix-sdk-base. Ivan Enderlin 2024-08-14 09:16:22 +02:00
  • 6becbf61c9 fixup! Fixes after rebase Jorge Martín 2024-08-08 13:42:16 +02:00
  • 1155f75612 fixup! fix review comments Jorge Martín 2024-08-08 13:15:08 +02:00
  • 5cd29830a3 fixup! Fix clippy after merge Jorge Martín 2024-07-18 09:55:29 +02:00
  • 34370b1525 fixup! Fix test Jorge Martín 2024-07-17 15:08:41 +02:00
  • 1132074ae0 sdk-base: Make sure we only send a notable membership update when membership does change Jorge Martín 2024-07-17 14:36:23 +02:00
  • e5af5a32fa sdk-base: Add RoomInfoNotableUpdateReasons::MEMBERSHIP Jorge Martín 2024-07-17 11:38:53 +02:00
  • 1e8dd5dd41 crypto: Update changelog Richard van der Hoff 2024-08-13 16:45:32 +01:00
  • 5431c0fdd6 crypto: test: add tests for error_on_verified_user_problem Richard van der Hoff 2024-08-13 16:31:34 +01:00
  • a240b87ba6 crypto: test: factor out redundant variable Richard van der Hoff 2024-08-14 14:17:45 +01:00
  • 324cf2e007 crypto: test: factor out create_test_outbound_group_session helper Richard van der Hoff 2024-08-12 19:43:54 +01:00
  • 66142317d4 crypto: key sharing error for verified user with unverified devices Valere 2024-08-06 23:06:37 +02:00
  • f66c74e878 crypto: extend CollectionStrategy::DeviceBasedStrategy Richard van der Hoff 2024-08-12 15:43:23 +01:00
  • 1862a3e254 crypto: change EncryptionSettings::new to take a CollectStrategy Richard van der Hoff 2024-08-14 14:33:57 +01:00
  • dadc85c4fc crypto: remove CollectStrategy::new_device_based Richard van der Hoff 2024-08-14 12:19:13 +01:00
  • d8c1094939 crypto: add OwnUserIdentityData::is_identity_verified Richard van der Hoff 2024-08-13 14:55:24 +01:00
  • ace937fcee crypto: rafactor split_recipients_withhelds_for_user Richard van der Hoff 2024-08-09 16:51:49 +01:00
  • 1e58c0382c crypto: minor cleanups in is_session_overshared_for_user Richard van der Hoff 2024-08-14 12:49:21 +01:00
  • ce95cc06e0 crypto: extract function that checks if session is shared too much Valere 2024-08-06 21:49:25 +02:00
  • 3803792518 rtc: Handle non-MXID call member event state keys (#3836) Andrew Ferrazzutti 2024-08-14 04:43:02 -04:00
  • 4ece38af4f test: document methods in PreviouslyVerifiedTestData Richard van der Hoff 2024-08-12 17:15:28 +01:00
  • 4baa82d3a6 test: add new methods for device IDs Richard van der Hoff 2024-08-12 18:48:46 +01:00
  • 8b01e3e209 test: make internal functions private Richard van der Hoff 2024-08-12 17:17:15 +01:00
  • 4a69cc9110 test: inline device_keys_payload_bob_unsigned_device Richard van der Hoff 2024-08-12 16:51:10 +01:00
  • 766786e2f1 pinned events(refactor): get rid of the PinnedEventCache Benjamin Bouvier 2024-08-12 16:55:02 +02:00
  • e67e2289e2 event cache(refactor): use a map keyed by event id for retrieving events Benjamin Bouvier 2024-08-12 15:32:32 +02:00
  • 5954ee18b7 pinned events(refactor): rename event_with_config to fetch_event matrix-sdk-ffi/20240813 Benjamin Bouvier 2024-08-12 14:33:20 +02:00
  • e15ddf6ad9 pinned events(refactor): simplify handling of AddTimelineEvents Benjamin Bouvier 2024-08-12 12:56:02 +02:00
  • 19b6495f2b pinned events(refactor) misc tiny refactorings and renamings Benjamin Bouvier 2024-08-12 12:52:08 +02:00
  • 0ba6adbf34 pinned events(chore): add doc comments Benjamin Bouvier 2024-08-12 12:26:05 +02:00
  • 3886a55ad8 pinned events(chore): add licence header to pinned_events_loader.rs Benjamin Bouvier 2024-08-12 12:21:44 +02:00
  • 8f59f45183 pinned events(refactor): don't store max_concurrent_requests as a field Benjamin Bouvier 2024-08-12 12:19:25 +02:00
  • a12a244a89 pinned events(refactor): lower logs from info to debug Benjamin Bouvier 2024-08-12 12:18:37 +02:00