Commit Graph

  • f3587a44dc pinned events(refactor): fetch all the pinned events concurrently Benjamin Bouvier 2024-08-12 12:17:27 +02:00
  • c76ea95f65 pinned events(refactor): sort loaded pinned events in place Benjamin Bouvier 2024-08-12 12:09:05 +02:00
  • bdfc300e4c feat(sdk): compute_limited is only useful for the SS proxy. Ivan Enderlin 2024-08-12 14:51:05 +02:00
  • d143c6198c fix(sdk): Remove SlidingSyncInner::past_positions. Ivan Enderlin 2024-08-12 13:56:54 +02:00
  • 35b62a1a4a doc(sdk): Fix a markup. Ivan Enderlin 2024-08-12 11:57:45 +02:00
  • 704fe6719f feat(sdk): Add a log for must_process_rooms_response. Ivan Enderlin 2024-08-12 11:57:07 +02:00
  • 0b9e07a386 chore(sdk): Change visibility of SlidingSyncList::invalidate_sticky_data. Ivan Enderlin 2024-08-12 11:56:24 +02:00
  • 0a28c222f5 test(ui): Improve test_room_subscription. Ivan Enderlin 2024-08-12 11:55:06 +02:00
  • 31dbca6c28 testing: create ruma_response_from_json Richard van der Hoff 2024-08-09 15:06:27 +01:00
  • f96e82f833 indexeddb: Future-proofing: accept any db schema version up to 99 Richard van der Hoff 2024-08-07 13:23:59 +01:00
  • f2792801c3 indexeddb: Add missing do_schema_upgrade call from v11 migration Richard van der Hoff 2024-08-07 13:47:10 +01:00
  • a0c8b71236 refactor(sdk): merge Room::event and Room::event_with_config Benjamin Bouvier 2024-08-12 11:25:30 +02:00
  • 101f6bd57b Sync: Don't spuriously show spinner Erik Johnston 2024-08-09 12:00:37 +01:00
  • fa394fc45b test: remove unused TestClientBuilder::http_proxy method Benjamin Bouvier 2024-08-12 11:25:58 +02:00
  • 16ca282ae4 chore(ui): Add logs inside RoomListService::sync. Ivan Enderlin 2024-08-12 07:41:40 +02:00
  • be404f6666 feat(sdk): Subscribe to many rooms only via Sliding Sync. Ivan Enderlin 2024-08-08 17:19:31 +02:00
  • 89ce8870a9 ffi: provide manual cancellation mechanism for identity/cross-signing reset handles - works around swift issue where nil-ing the handle is not enough for it to get cancelled Stefan Ceriu 2024-08-09 09:48:12 +03:00
  • 70f46d48af chore(ffi): More idiomatic format!. Ivan Enderlin 2024-08-08 17:30:24 +02:00
  • 58f4e2b1ad FFI Element Call: Fix the permission list returned by the get_element_call_required_permissions ffi function. Timo 2024-08-07 18:40:48 +02:00
  • 58c35ee507 Add the rust-crypto-reviewers to the code owners for the crypto crate Damir Jelić 2024-08-08 14:34:35 +02:00
  • 40c347846e docs: Mention that the custom types in the crypto crate implement zeroize Damir Jelić 2024-08-08 13:45:42 +02:00
  • 9c809b900d Merge pull request #3813 from matrix-org/rav/split_machine_tests Richard van der Hoff 2024-08-08 12:00:39 +01:00
  • a03893ee3f ci: Enable CI for draft PRs (#3815) Damir Jelić 2024-08-08 12:58:51 +02:00
  • 045374c604 Merge remote-tracking branch 'origin/main' into rav/split_machine_tests Richard van der Hoff 2024-08-08 11:31:51 +01:00
  • f3fe06be7d Merge pull request #3795 from matrix-org/valere/invisible_crypto/verification_pin Richard van der Hoff 2024-08-08 11:10:47 +01:00
  • 2220973adc crypto: move room_settings tests to their own file Richard van der Hoff 2024-08-07 17:20:02 +01:00
  • d8b0b2e097 crypto: move encrypted to-device tests to new file Richard van der Hoff 2024-08-07 16:54:30 +01:00
  • 93f6bdecb3 crypto: move decryption verification state tests to a new file Richard van der Hoff 2024-08-07 16:42:46 +01:00
  • 85b74edf80 crypto: move interactive verification tests to a new file Richard van der Hoff 2024-08-07 16:28:37 +01:00
  • 6f5442c5ce crypto: Move some olm-related tests to a separate file Richard van der Hoff 2024-08-07 16:22:58 +01:00
  • 18e27f3090 crypto: move OlmMachine tests to a separate file Richard van der Hoff 2024-08-07 16:15:10 +01:00
  • 066fdf99c3 crypto: Move create_session test helper to test_helpers Richard van der Hoff 2024-08-07 17:02:47 +01:00
  • 2c0d858833 crypto: Pull out OlmMachine test helpers to a new module Richard van der Hoff 2024-08-07 16:09:43 +01:00
  • 0b5f9aec5e crypto: promote machine module to directory Richard van der Hoff 2024-08-07 16:08:56 +01:00
  • 1b05380b60 Crypto: Verified identity changes - Add API at UserIdentity level + test Valere 2024-08-07 13:47:57 +02:00
  • 072b5d5605 Fix typo in method name Valere 2024-08-07 13:36:20 +02:00
  • 7e9f4fc5a0 CodeReview: Clarify comment Valere 2024-08-05 13:58:47 +02:00
  • 2e410e5d94 CodeReview: rename verification_latch to previously verified Valere 2024-08-05 13:51:30 +02:00
  • d81b12f389 Review: Fix false postitive typo in b64 string Valere 2024-08-02 17:05:33 +02:00
  • 58c4075ff5 Review: CI fix identity serialization test Valere 2024-08-02 17:02:31 +02:00
  • 3c9ae33be1 crypto: Verified identity changes - Migration of existing data Valere 2024-08-02 12:27:18 +02:00
  • c171c518c6 crypto: Verified identity changes Fix test with memory store Valere 2024-08-02 08:52:29 +02:00
  • 20f717ec31 crypto: Verified Identity changes - Update latch on own trust change Valere 2024-08-02 08:50:51 +02:00
  • 0e01b1d93c crypto: Verified identity changes - Update latch on identity update Valere 2024-08-02 08:50:11 +02:00
  • 3d3f93a33d crypto: Verified identity changes TDD Valere 2024-08-02 08:46:26 +02:00
  • b4fe3059c3 crypto: Remember and detect verified identity changes for #1129 Valere 2024-08-02 08:45:05 +02:00
  • 57963dcf36 ffi: add method for the ClientBuilder to provide a RequestConfig for the client Jorge Martín 2024-08-06 16:15:17 +02:00
  • 7d9fdc4f05 sdk-ui: add fn Room::event_with_config Jorge Martín 2024-08-06 17:04:57 +02:00
  • 1c4f035c99 sdk-ui: reverse (again) the order in the pinned events timeline Jorge Martín 2024-08-06 17:11:59 +02:00
  • 71e4f60fa5 chore: Update the human readable description for the SentInClear shield. Doug 2024-08-06 13:06:50 +01:00
  • c3848ca016 crypto: Update the changelog Damir Jelić 2024-08-02 17:27:35 +02:00
  • a74f6bcc3f Add the Olm Session cache back in the CryptoStoreWrapper Damir Jelić 2024-07-31 16:24:21 +02:00
  • ba7fb7fc36 Convert all SessionStore locks to be async locks Damir Jelić 2024-07-31 16:23:29 +02:00
  • 96b615ba8e Remove Olm Session cache from the individual crypto store implementations Damir Jelić 2024-07-12 12:47:13 +02:00
  • c83fa3a532 sdk-ui: move conversion between Content::RoomPinnedEvents from ffi to sdk-ui Jorge Martín 2024-08-06 09:46:07 +02:00
  • d509d79472 ffi: add RoomPinnedEventsChange and a diffing step to know what happened in the last pinning/unpinning events action Jorge Martín 2024-08-05 09:57:40 +02:00
  • ffba842919 crypto: Don't recalculate SenderData if the sender is known but not verified Andy Balaam 2024-07-31 14:55:01 +01:00
  • 91c10ae213 sdk-ui: add PinnedEventsLoaderError::TimelineReloadFailed. Jorge Martín 2024-08-05 15:20:29 +02:00
  • efdd6d2693 crypto: Use most-trusted SenderData available when decrypting Andy Balaam 2024-07-31 12:15:13 +01:00
  • 08bc563e9e crypto: Methods on SenderData for comparing trust level Andy Balaam 2024-07-31 12:15:43 +01:00
  • 71b5ab4d07 sdk-ui: fix pinned_events tests Jorge Martín 2024-08-05 13:25:11 +02:00
  • 4569b25d98 bench: fix benchmark by adding encryption event and clearing the cache in each iteration Jorge Martín 2024-08-05 13:18:45 +02:00
  • 9f7f1a98fb ffi: base the ffi::Room::clear_pinned_events method in sdk::Room::clear_pinned_events Jorge Martín 2024-08-05 13:18:06 +02:00
  • 4432b332fa sdk: add Room::clear_pinned_events Jorge Martín 2024-08-05 13:17:26 +02:00
  • d846563df3 sdk-ui: use reversed chronological order for TimelineFocus::PinnedEvents Jorge Martín 2024-08-05 13:16:54 +02:00
  • b453a0204e sdk-ui: Make the SentInClear shield red. Doug 2024-08-01 12:54:06 +01:00
  • 4c220ed030 shields: Put the Code inside the Colour instead of the Colour inside the Code. Doug 2024-08-01 10:18:05 +01:00
  • 037badf7a4 chore: Strongly typed ShieldStates. Doug 2024-07-31 18:50:57 +01:00
  • fba61751d5 sdk-ui: extract MAX_CONCURRENT_REQUESTS const for PinnedEventsLoader Jorge Martín 2024-08-02 15:18:11 +02:00
  • 2bd4db8a23 sdk-ui: use PinnedEventsLoader::update_if_needed when new timeline events are received. Using PinnedEventsLoader::load_events here was a mistake. Jorge Martín 2024-08-02 15:16:02 +02:00
  • 4de1375a76 ffi: add bindings for Room::clear_pinned_events_cache Jorge Martín 2024-08-02 13:58:21 +02:00
  • 1353406b80 sdk-ui: add Room::clear_pinned_events_cache to remove any cached pinned events from a room Jorge Martín 2024-08-02 13:57:54 +02:00
  • e1bffaee21 sdk: add PinnedEventCache::remove_bulk to be able to remove events from the cache Jorge Martín 2024-08-02 13:57:27 +02:00
  • 0496ef4313 sdk-ui: add test checking the pinned event cache is kept for different room instances Jorge Martín 2024-08-02 13:32:17 +02:00
  • 674605aeab sdk-ui: use the moved PinnedEventCache instead of the one encapsulated in PinnedEventsLoader Jorge Martín 2024-08-02 13:17:40 +02:00
  • f1b20a8ea5 sdk: add PinnedEventCache to Client. Jorge Martín 2024-08-02 13:17:04 +02:00
  • d1fe27c969 sdk: move PinnedEventCache from sdk-ui Jorge Martín 2024-08-02 13:14:11 +02:00
  • 769a627496 ci: try fixing the kotlin bindings tests by using NDK 27 Jorge Martín 2024-08-02 16:37:17 +02:00
  • aff7aefd28 WidgetDriver: don't specify the length of the serializer. Its not needed for the json serializer. Timo 2024-08-01 19:19:24 +02:00
  • d60b9d3da2 Changelog: Add delayed event to the widget driver. Timo 2024-07-31 19:48:41 +02:00
  • 8d5dc18dd3 IntegrationTests: Add integration tests for the WidgetDriver delayed events. Timo 2024-07-31 19:47:08 +02:00
  • 49790c9f91 WidgetDriver: wire up everything in the widget process action handler. Timo 2024-07-31 19:46:42 +02:00
  • 2e8b135859 WidgetDriver: Add interacting with delayed event to the matrix driver. In matrix.rs we add methods to interact with the matrix homeserver. And in machine/mod.rs we implement the widgetMachine cases for handling (checking capabilities and using the matrixDriver) delayed events. Timo 2024-07-31 19:36:14 +02:00
  • 7614bfb716 WidgetDriver: Introduce new capabilities for sending and updating delayed events. Those capabilities are also exposed to the FFI. + related tests Timo 2024-07-31 19:29:29 +02:00
  • 0407dd7eb1 WidgetDriver: Introduce new Delay Event update widget action types. Also update the naming from future to delay in existing types. Timo 2024-07-31 19:26:21 +02:00
  • 16a638400c chore: Update ruma to a version supporting authenticated delayed events. Timo 2024-07-31 19:15:48 +02:00
  • be6bc444f8 chore: fix formatting torrybr 2024-08-01 18:27:05 -04:00
  • 36091a9ef3 sdk: refactor beacon_info tests into their own folder torrybr 2024-08-01 18:06:07 -04:00
  • 1160383d71 sdk: fix identity reset not actually disabling backups when not enabled locally, resulting in conflicts and failing to correctly setup the newly reset session Stefan Ceriu 2024-08-01 18:25:05 +03:00
  • d7f3914673 sdk: throw an error instead of silently failing when disabling backups if they weren't previously enabled locally - also change back the state from disabling to unknown Stefan Ceriu 2024-08-01 18:23:35 +03:00
  • 1ca4377baf ffi: add FFI bindings for creating the new pinned events focused timeline Jorge Martín 2024-08-01 14:51:05 +02:00
  • ab12f2f7ca sdk-ui: add and fix tests Jorge Martín 2024-08-01 14:50:44 +02:00
  • 6889430474 benchmark: add a benchmark to measure how loading pinned events performs Jorge Martín 2024-08-01 14:49:55 +02:00
  • 382c573973 sdk-ui: add TimelineFocus::PinnedEvents and TimelineFocusData::PinnedEvents to load the live pinned events for a room. Jorge Martín 2024-08-01 14:49:07 +02:00
  • 643c9a0b8e sdb-base: add methods for getting the pinned event ids of a Room as a stream and checking whether an event is pinned in the room or not Jorge Martín 2024-08-01 13:28:39 +02:00
  • 689bf9b4dc base-sdk: Properly update direct targets of rooms with m.direct event Kévin Commaille 2024-07-13 20:04:02 +02:00
  • 21efd60dba crypto: clarify/expand comments in Device::is_owner_of_session Richard van der Hoff 2024-08-01 12:33:35 +01:00
  • 0850c0c1c9 feat(crypto): Add support for master key local pinning (#3639) Valere 2024-08-02 09:13:14 +02:00
  • aee8728418 sdk-ui: Fix a bug where local echoes were showing unencrypted shields. Doug 2024-08-01 12:01:26 +01:00
  • 7c5c5a8f30 timeline: re-export ReactionsByKeyBySender and ReactionInfo types (#3787) Kevin Boos 2024-08-01 03:37:16 -07:00