Commit Graph

  • 8a4a4140b3 Remove stale comment. Denis Kasak 2020-07-15 11:22:47 +0200
  • 62943f055d Rewrap docstrings and comments to 80 chars. Denis Kasak 2020-07-15 11:21:01 +0200
  • ea149ebd8e Update docstring for disambiguation_updates. Denis Kasak 2020-07-15 11:16:13 +0200
  • 32737a5517 Use match instead of if-let in sync_forever. Denis Kasak 2020-07-15 09:43:58 +0200
  • 1691a26163 crypto: Add initial Sas scaffolding. Damir Jelić 2020-07-14 17:04:08 +0200
  • 51012e632e crypto: Rename the StoreError to StoreResult. Damir Jelić 2020-07-14 13:11:44 +0200
  • 5d76fd9aac crypto: Refactor the key query handling logic a bit. Damir Jelić 2020-07-14 13:08:57 +0200
  • c25f4c0642 crypto: Verify one-time keys using the device. Damir Jelić 2020-07-14 12:49:40 +0200
  • 9e48b7172b cargo fmt Denis Kasak 2020-07-14 12:38:55 +0200
  • 68125f5de6 crypto: Refactor out the json verification method. Damir Jelić 2020-07-14 12:23:42 +0200
  • b602d3007d crypto: Remove some useless mem::replace calls. Damir Jelić 2020-07-14 12:03:27 +0200
  • 41cfbaf520 device: Store the device keys with the algorithm and device id. Damir Jelić 2020-07-14 12:00:29 +0200
  • 8206394918 crypto: Use AlgorithmAndDeviceId to get the device signature. Damir Jelić 2020-07-14 11:27:50 +0200
  • ca85564a9f crypto: Move the device keys verificatin logic into the device. Damir Jelić 2020-07-14 11:17:09 +0200
  • 7d9a699d62 Fix EventBuilder docstring example. Denis Kasak 2020-07-14 11:06:31 +0200
  • a38efc0f29 room: Fix a clippy warning, use unwrap_or_else for the member counts. Damir Jelić 2020-07-14 10:56:06 +0200
  • 048a2000e7 Merge Denis Kasak 2020-07-13 17:10:13 +0200
  • 18b444aac5 crypto: Move the uploaded key count handing into the account. Damir Jelić 2020-07-13 16:46:51 +0200
  • a7a9ac24ed crypto: Move the key count field into the account. Damir Jelić 2020-07-13 15:49:16 +0200
  • b2ccb61864 crypto: Add the device id and identity keys to the megolm session. Damir Jelić 2020-07-13 14:32:59 +0200
  • ac264918b8 crypto: Move the megolm decryption logic into the session. Damir Jelić 2020-07-13 14:00:42 +0200
  • 8e19c583c6 crypto: Move the megolm encryption logic into the outbound group session. Damir Jelić 2020-07-13 13:19:25 +0200
  • 740a5af068 Merge branch 'dan/bugfix/implable-StateStore' Damir Jelić 2020-07-13 10:19:37 +0200
  • 8c3855221c mark state::AllRooms and state::ClientState as public Dan Enman 2020-07-11 19:14:55 -0300
  • c2f1e4de64 crypto: Disable a clippy warning. Damir Jelić 2020-06-20 16:38:06 +0200
  • 8a7c53c00d matrix-sdk: Remove the wrongly committed olm-sys/olm-rs patch defintions. Damir Jelić 2020-07-11 22:18:01 +0200
  • c1ae183795 Merge branch 'deps-and-stuff' Damir Jelić 2020-07-11 22:13:35 +0200
  • eea00301ff
    Remove immediately-deref'ed double references Jonas Platte 2020-07-11 21:20:02 +0200
  • 85522ac35a
    Slightly simplify RoomName::calculate_name Jonas Platte 2020-07-11 21:14:32 +0200
  • 9b5f95672b
    Use js_int macros to improve readability Jonas Platte 2020-07-11 21:06:21 +0200
  • ffc5204109
    Fix two pattern matching related warnings Jonas Platte 2020-07-11 20:57:01 +0200
  • a607d70371
    Upgrade mockito in matrix-sdk-base Jonas Platte 2020-07-11 20:55:19 +0200
  • 1fcb68c59f
    Remove unused dependencies Jonas Platte 2020-07-11 20:55:05 +0200
  • 9bceb2f539 crypto: Add the user id and device id to the account. Damir Jelić 2020-07-10 15:20:55 +0200
  • 7003ea2d23 matrix-sdk-common: Depend on a working revision of the ruma mono repo. Damir Jelić 2020-07-11 16:24:36 +0200
  • 18ccd30c8c crypto: Add a bunch of TODO lines documenting how to refactor stuff further. Damir Jelić 2020-07-11 12:05:52 +0200
  • eb19c19e36 Merge branch 'perf-1' Damir Jelić 2020-07-11 10:33:30 +0200
  • df2bcf6f1f crypto: Style fix for a doc comment. Damir Jelić 2020-07-11 09:45:52 +0200
  • 3ee06be87b
    Rewrite MessageQueue deserialization to reduce allocations Jonas Platte 2020-07-10 21:41:46 +0200
  • 3a07a17e9d
    Remove unnecessary calls to clone() Jonas Platte 2020-07-10 21:24:01 +0200
  • 27eeeb8db6 crypto: Move the one-time key signing into the accoung. Damir Jelić 2020-07-10 17:53:04 +0200
  • 6ded76a5a7 crypto: Move the device_keys() method into the account. Damir Jelić 2020-07-10 17:10:34 +0200
  • 05a41d3b4d Move and rename member_display_name to RoomMember::disambiguated_name. Denis Kasak 2020-07-10 15:47:11 +0200
  • 58d79ca9c6 crypto: Put the user id and device id into the account. Damir Jelić 2020-07-10 15:43:32 +0200
  • 4ee245dcce examples: Updat the autojoin example to use the ruma mono repo. Damir Jelić 2020-07-10 15:30:17 +0200
  • 8daa12ac56 Print error when receiving invalid response in sync_forever. Denis Kasak 2020-07-10 10:21:41 +0200
  • 4134ba969a DRY the membership logging a bit. Denis Kasak 2020-07-09 15:09:55 +0200
  • a8f24da3ba cargo fmt Denis Kasak 2020-07-09 14:47:57 +0200
  • 390a1aa12c Clarify member_display_name docstring. Denis Kasak 2020-07-09 12:26:04 +0200
  • b16724841d Correct state tracking of room members. Denis Kasak 2020-07-09 12:22:06 +0200
  • ec81a5e539 Implement Room::member_is_tracked. Denis Kasak 2020-07-09 10:09:57 +0200
  • 949305da72 Clarify comment. Denis Kasak 2020-07-06 15:22:49 +0200
  • 559306a33c Rewrite disambiguation algorithm to handle profile changes. Denis Kasak 2020-07-10 11:14:22 +0200
  • 24d2aa8078 Style (cargo fmt, reordering import). Denis Kasak 2020-07-10 11:14:10 +0200
  • e70929317a Revert "add_member provably always returns true." Denis Kasak 2020-07-10 15:07:17 +0200
  • 62eeb3707f Fix wasm test failure gate unknown import Devin R 2020-07-04 19:34:45 -0400
  • 3fa06eeb99 matrix-sdk-base: Add test for MessageQueue/JsonStore interaction Devin R 2020-07-04 19:08:15 -0400
  • c0e6279837 matrix-sdk: Update request_builder to use new constructors Devin R 2020-07-04 15:28:36 -0400
  • e7c70854ab sdk_base: message events in message queue have content redacted Devin R 2020-07-03 16:52:35 -0400
  • dcc3d6e755 sdk_base: Remove room_id as argument from all Room methods Devin R 2020-07-03 15:29:10 -0400
  • 2338d3e8fd matrix-sdk-base: clean up recv/iter joined post rebase Devin R 2020-07-03 07:02:12 -0400
  • b83b9dc59d matrix-sdk-base: Use new accessor methods for models/message.rs Devin R 2020-06-24 20:30:53 -0400
  • 68822861d5 Rebase upstream/master into ruma-mono branch Devin R 2020-06-24 20:30:53 -0400
  • b1e7bc77a4 Use ruma/ruma master, address review issues Devin R 2020-06-24 17:56:56 -0400
  • eb5949dbc2 Move matrix-sdk to ruma monorepo Devin R 2020-06-20 17:18:20 -0400
  • 7943baee49 add_member provably always returns true. Denis Kasak 2020-07-01 16:08:25 +0200
  • 7abdeed449 fix: Don't issue a disambiguation in case of a unique display name. Denis Kasak 2020-07-01 15:56:29 +0200
  • eeebb43e32 Move mutating methods from RoomMember to Room. Denis Kasak 2020-07-01 15:44:44 +0200
  • 5f49dab1fa Correct docstring. Denis Kasak 2020-07-01 14:02:37 +0200
  • 6cacf83661 Add (failing) test for displayname disambiguation on profile updates. Denis Kasak 2020-07-01 13:53:10 +0200
  • 599c1ba98f Add test to ensure member is only treated as joined or invited, not both. Denis Kasak 2020-07-01 13:51:21 +0200
  • c2ec69cf44 Style fixes (comment grammar and correctness, whitespace). Denis Kasak 2020-07-01 13:48:31 +0200
  • 32bdcede0c Small refactoring to simplify member_disambiguations. Denis Kasak 2020-07-01 12:06:59 +0200
  • 9af48920f6 Add some TODOs and FIXMEs. Denis Kasak 2020-07-01 10:39:45 +0200
  • a3441429da matrix-sdk: Add an autojoin example. Damir Jelić 2020-07-08 20:22:50 +0200
  • 9f957655d0 travis: Allow the wasm target to fail. Damir Jelić 2020-07-07 17:40:00 +0200
  • 2663a17065 travis: Allow windows to fail for now. Damir Jelić 2020-07-07 17:19:26 +0200
  • 7124235d1b travis: Add a windows test target. Damir Jelić 2020-07-07 16:57:20 +0200
  • babbdb4b90 travis: Remove redundant targets. Damir Jelić 2020-07-07 16:52:17 +0200
  • 18f6cbc23a travis: Add a lint stage. Damir Jelić 2020-07-07 16:48:45 +0200
  • 583dbb07a5 Merge branch 'deps-bump' Damir Jelić 2020-07-07 16:13:25 +0200
  • 25207a1586 matrix-sdk: Make the wasm feature for future-timers target specific. Damir Jelić 2020-07-07 16:11:33 +0200
  • 283cf0d782 matrix-sdk: Bump all our deps. Damir Jelić 2020-07-07 15:52:08 +0200
  • 98d36d0ef0 base: Only update the tracked users when we're done with the state and timeline. Damir Jelić 2020-07-07 15:48:28 +0200
  • f33298b1a6 matrix-sdk: Explain what needs to be done to restore a client. Damir Jelić 2020-07-07 15:47:34 +0200
  • 11aa306de2 base: Swap around the store creation. Damir Jelić 2020-07-06 10:54:01 +0200
  • 669a3f22d2 matrix-sdk: Allow getting the user id from the client. Damir Jelić 2020-07-05 16:47:38 +0200
  • ff5f638b60 Remove member from invited_members when he joins. Denis Kasak 2020-07-01 14:53:58 +0200
  • 2a0c6c6474 Add test and example event to ensure display name changes work correctly. Denis Kasak 2020-07-01 14:50:42 +0200
  • f447c55fcb Move prev_content in test data to top level for now. Denis Kasak 2020-06-30 19:02:42 +0200
  • 84fc662614 Document and improve EventBuilder. Denis Kasak 2020-06-30 17:09:10 +0200
  • c57f076375 Remove unused import. Denis Kasak 2020-06-30 16:16:26 +0200
  • 4561b94f33 Remove outdated TODO. Denis Kasak 2020-06-30 15:33:38 +0200
  • 9bd8699e18 Get rid of match on membership change in RoomMember::update_profile. Denis Kasak 2020-06-30 15:01:03 +0200
  • 5ef9a7b924 tests: Rename get_room_id to test_room_id. Denis Kasak 2020-06-30 14:42:22 +0200
  • bd56c52b37 base: Don't double borrow the response in one iter rooms method. Damir Jelić 2020-07-03 12:30:57 +0200
  • 1f25c4cf4b Fix and test hoisting of `prev_content` for timeline events. Denis Kasak 2020-07-03 11:53:15 +0200
  • 3f1a40a7d1 Add a bunch of FIXMEs to have receive_* methods do the emitting. Denis Kasak 2020-07-03 10:31:47 +0200
  • b092ed0a82 base: Put the decrypted event replacing in the correct place. Damir Jelić 2020-07-02 23:16:56 +0200
  • cd9252cc3d matrix-sdk: Remove an unused import. Damir Jelić 2020-06-26 18:21:44 +0200