Commit Graph

  • de4df4e50a base: Re-introduce a state store trait. Damir Jelić 2021-01-21 12:08:16 +01:00
  • 2bcc0afb91 base: Use a CSPRNG to get our randomness and handle randomness errors Damir Jelić 2021-01-20 16:52:32 +01:00
  • 0a6b0e5804 base: Properly handle crypto related errors in the sled store Damir Jelić 2021-01-20 16:27:59 +01:00
  • 4a06c9e82d base: Initial support for an encrypted sled store. Damir Jelić 2021-01-20 15:57:23 +01:00
  • 06a973a1b8 crypto: Don't use the full PBKDF rounds when testing Damir Jelić 2021-01-20 11:14:00 +01:00
  • 28cc5acc87 base: Add a store key struct Damir Jelić 2021-01-20 11:12:39 +01:00
  • 2b5ff82414 base: Move the sled store into a subfolder Damir Jelić 2021-01-20 10:25:54 +01:00
  • 3472c99c27 base: Split out the store module into smaller submodules Damir Jelić 2021-01-19 16:48:37 +01:00
  • 17f3dbb0a0 crypto: Return a deserialized ToDevice struct when we receive a sync Damir Jelić 2021-01-19 12:59:31 +01:00
  • 6a30514d40 base: Move the deserialized responses types into the common crate Damir Jelić 2021-01-19 12:29:46 +01:00
  • 4f4ba831c1 crypto: Bump the PBKDF rounds for the pickle key derivation Damir Jelić 2021-01-19 12:05:30 +01:00
  • b8fcc003ea base: Finish up the error handling for the new stores Damir Jelić 2021-01-19 12:03:46 +01:00
  • ef95d9b539 crypto: Fix a misleading comment about the outbound session rotation period Damir Jelić 2021-01-19 10:21:12 +01:00
  • 377b8ea75a crypto: Use consistent ordering for the group session sharing log line Damir Jelić 2021-01-19 10:19:15 +01:00
  • 4af9b74776 crypto: Properly clamp the rotation period of the outbound session Damir Jelić 2021-01-18 20:46:34 +01:00
  • d07063af2b base: Add some error handling to the state store Damir Jelić 2021-01-18 17:31:33 +01:00
  • e5ba0298d0 crypto: Refactor and document the share group session method a bit better Damir Jelić 2021-01-18 15:21:54 +01:00
  • 4eb504d000 crypto: Improve the log line when we share group sessions Damir Jelić 2021-01-18 14:15:31 +01:00
  • 436530e874 crypto: Fix a couple clippy warnings Damir Jelić 2021-01-18 13:50:59 +01:00
  • 1746690eda crypto: Add a sled cryptostore Damir Jelić 2021-01-18 13:38:00 +01:00
  • 629a8ee84f crypto: Add getters for the sender key in our sessions Damir Jelić 2021-01-18 13:28:09 +01:00
  • 5418c88775 crypto: Add some more serialize/deserialize implementations Damir Jelić 2021-01-18 13:21:30 +01:00
  • 14575892bd crypto: Implement serialize/deserialize for devices. Damir Jelić 2021-01-18 13:19:13 +01:00
  • 43a74524c5 crypto: Add a pending requests method for the outbound group session Damir Jelić 2021-01-18 12:44:19 +01:00
  • aadbc14dc6 Add accessor for room member avatar urls Amanda Graven 2021-01-15 18:44:32 +01:00
  • bab8fde0ac crypto: Change the way we share group sessions Damir Jelić 2021-01-15 18:04:45 +01:00
  • 40c53f09ba base: Handle room avatar updates Damir Jelić 2021-01-15 09:57:59 +01:00
  • 508bf3b23d base: Include the to-device events when returning the sync response Damir Jelić 2021-01-14 13:35:21 +01:00
  • 43ea9a16a0 crypto: Use the chain method to get the sha hash of the content Damir Jelić 2021-01-14 13:34:12 +01:00
  • 3f3ae794a4 crypto: Don't log an error for the commitment calculation since it isn't one Damir Jelić 2021-01-14 13:32:39 +01:00
  • 9efece4f7a Remove unnecessary clones Amanda Graven 2021-01-11 14:12:11 +01:00
  • 077c20ed74 base: Really fix the holding on across await points issue for room names Damir Jelić 2021-01-11 13:40:35 +01:00
  • 6c4888a123 Don't hold lock during await in name calculation Amanda Graven 2021-01-11 13:15:47 +01:00
  • 643526987f Merge branch 'master' into new-state-store Damir Jelić 2021-01-05 21:40:39 +01:00
  • b311a31c9e matrix-sdk: Bump our tokio and reqwest versions. Damir Jelić 2021-01-05 21:39:52 +01:00
  • b8c6c2e07c rooms: Use unstable member sorting for the room name calculation Damir Jelić 2021-01-05 20:26:27 +01:00
  • cdc93ddd0f base: Refactor and fix the room name calculation for non-stripped rooms Damir Jelić 2021-01-05 20:09:06 +01:00
  • ccd8a4d602 Merge branch 'master' into new-state-store Damir Jelić 2021-01-05 17:03:24 +01:00
  • 4f2cad8f62 matrix-sdk: Bump our versions 0.2.0 Damir Jelić 2021-01-05 11:23:18 +01:00
  • f3acf582ec base: Fix a typo. Damir Jelić 2021-01-04 18:34:23 +01:00
  • 22b13c369b base: Add a method to check if the room is public. Damir Jelić 2021-01-04 18:26:53 +01:00
  • 76ce3fecb3 client: Re-enable two additional tests Damir Jelić 2021-01-04 18:02:36 +01:00
  • 99c1f70c1a Merge branch 'release-0.2' into new-state-store Damir Jelić 2021-01-04 17:44:20 +01:00
  • 8924865c9c crypto: Fix a couple of new clippy warnings. Damir Jelić 2021-01-04 17:39:40 +01:00
  • c6a80dc921 Merge branch 'master' into new-state-store Damir Jelić 2021-01-04 17:34:33 +01:00
  • 60950044f2 matrix-sdk: Bump our deps. Damir Jelić 2021-01-04 17:22:09 +01:00
  • 4c6c1d2107 matrix-sdk: Get rid of the common macros crate Damir Jelić 2021-01-04 16:23:44 +01:00
  • 2e3b6fba7d common: Use the re-exported versions of js_int and assign Damir Jelić 2021-01-04 15:29:49 +01:00
  • de51291166 common: Remove the direct dep to js_int now that Ruma re-exports it Damir Jelić 2021-01-04 15:13:48 +01:00
  • e9d22c95a4 base: Handle the join rules, history visibility and guest access Damir Jelić 2021-01-04 15:12:02 +01:00
  • 108d4ebffe Merge branch 'master' into new-state-store Damir Jelić 2021-01-04 14:16:15 +01:00
  • d84a852ae9 matrix-sdk: Bump ruma to a released version. Damir Jelić 2021-01-04 14:06:07 +01:00
  • e66add476f base: Store the room creation content Damir Jelić 2021-01-04 12:32:54 +01:00
  • 4afc6b2567 base: Don't mark all the room methods as public. Damir Jelić 2021-01-04 12:26:13 +01:00
  • 83b850d8f9 base: Add the last missing accessors and reorder them. Damir Jelić 2021-01-04 10:15:02 +01:00
  • e7e1d2d3eb base: Add more accessors for the room info. Damir Jelić 2021-01-04 10:03:16 +01:00
  • 74998c8dd8 rooms: Add a method to get the room topic. Damir Jelić 2021-01-03 16:52:47 +01:00
  • 0edef38eb7 base: Fix some clippy warnings Damir Jelić 2021-01-02 13:54:47 +01:00
  • 807c58649d Merge branch 'crypto-improvements' into new-state-store Damir Jelić 2021-01-02 13:49:20 +01:00
  • bafe9a0f61 crypto: Fix a couple of clippy warnings. Damir Jelić 2021-01-02 13:47:53 +01:00
  • f1140fec8b Merge branch 'crypto-improvements' into new-state-store Damir Jelić 2021-01-02 13:17:25 +01:00
  • f9f176ccfd base: Rename the state store example. Damir Jelić 2021-01-02 13:04:05 +01:00
  • 16f94ecc1d base: Improve the state store example so it can run non-interactively Damir Jelić 2021-01-02 12:58:52 +01:00
  • b995492457 base: Add a method to get either the display name or the localpart of an user Damir Jelić 2021-01-01 14:59:30 +01:00
  • 0c81f3d9ae base: Add a method to get all joined members. Damir Jelić 2021-01-01 14:58:44 +01:00
  • c804104293 client: Add the get_x_room methods back. Damir Jelić 2021-01-01 14:57:39 +01:00
  • 0952205e1e base: Restore rooms and the sync token when we restore the login. Damir Jelić 2021-01-01 14:56:06 +01:00
  • 4d7da05b90 base: Store the sync token. Damir Jelić 2021-01-01 14:44:24 +01:00
  • d121a856c4 base: Remember the direct target for rooms. Damir Jelić 2021-01-01 14:31:50 +01:00
  • 2384069641 base: Add the normalized_power_level method back to the member. Damir Jelić 2020-12-24 17:14:46 +01:00
  • a29d2e39c4 base: Save profiles independently from membership events. Damir Jelić 2020-12-24 16:35:32 +01:00
  • 0d99d8cc23 crypto: Test verification request starting up to SAS. Damir Jelić 2020-12-24 15:22:51 +01:00
  • e2225b2700 base: Add a state store inspector to the examples. Damir Jelić 2020-12-23 14:53:14 +01:00
  • 8857335a7d Merge branch 'crypto-improvements' into new-state-store Damir Jelić 2020-12-22 16:18:46 +01:00
  • 007e452d39 Merge branch 'master' into crypto-improvements Damir Jelić 2020-12-22 15:53:08 +01:00
  • 9245b2a89a crypto: Properly canonicalize the json when verifying signatures as well. Damir Jelić 2020-12-22 15:45:42 +01:00
  • d39e3141fc crypto: Use CanonicalJsonValue for all the signature calculations. Damir Jelić 2020-12-22 14:12:57 +01:00
  • 1313c3da3c client: Restore the membership based get room methods. Damir Jelić 2020-12-22 10:47:21 +01:00
  • 1bfb2d08a6 base: Remove the obsolete models files. Damir Jelić 2020-12-22 10:14:16 +01:00
  • c5709d23a5 base: Implement the last missing thing to get the emitter working again. Damir Jelić 2020-12-22 10:09:59 +01:00
  • e25441babc base: Create a store wrapp and move store methods under it. Damir Jelić 2020-12-20 16:27:29 +01:00
  • a370eb1e37 base: Re-introduce the event emitter. Damir Jelić 2020-12-19 20:20:39 +01:00
  • f9af880176 base: Upcast the bare rooms based on the membership state Damir Jelić 2020-12-19 16:37:35 +01:00
  • 7abf0c8805 store: Honor state keys for the state storage. Damir Jelić 2020-12-19 14:44:46 +01:00
  • b119b30939 crypto: Clippy warnings. Damir Jelić 2020-12-18 19:26:51 +01:00
  • 55436c6514 crypto: Add a test for verification request flows. Damir Jelić 2020-12-18 18:23:42 +01:00
  • ec863a928d crypto: More clippy warnings. Damir Jelić 2020-12-18 13:57:57 +01:00
  • 1fd8c2052e crypto: Fix a bunch of clippy warnings. Damir Jelić 2020-12-18 13:50:02 +01:00
  • 897c6abe92 crypto: Fix our tests now that we support in-room verifications. Damir Jelić 2020-12-18 12:55:06 +01:00
  • f735107caf crypto: Remove an unused argument. Damir Jelić 2020-12-17 17:03:42 +01:00
  • 48f43a4af1 crypto: Remove some unused imports. Damir Jelić 2020-12-17 16:28:12 +01:00
  • 4ad4ad1e94 crypto: Send out done events for in-room verifications. Damir Jelić 2020-12-17 15:50:13 +01:00
  • 79102b3390 crypto: Make the cancelations output only CancelContents. Damir Jelić 2020-12-17 12:15:11 +01:00
  • d4327d4cfc EventEmitter: add VoIP event support (m.call.* event types) Alex Black 2020-12-15 21:15:42 +11:00
  • b6e28e2280 crypto: WIP more work on in-room verifications now up to accepting them. Damir Jelić 2020-12-15 16:35:54 +01:00
  • b05fed5a3b matrix-sdk: Fix our tests now that the state store is roughly done. Damir Jelić 2020-12-15 10:23:31 +01:00
  • b4edaffbe1 base: Rename the method to get joined/invited members. Damir Jelić 2020-12-14 15:54:49 +01:00
  • 45db95742a base: Add a common room info struct for normal and stripped rooms. Damir Jelić 2020-12-14 14:36:39 +01:00
  • 3a76cf7692 base: Restore getting the user ids when receiving a sync. Damir Jelić 2020-12-14 13:48:29 +01:00
  • 05b1384d16 base: Upcast member events so the state key is an user id. Damir Jelić 2020-12-12 21:44:53 +01:00