Commit Graph

  • c83f8f2a45 feat(sdk): Add convenience methods for getting state events of statically-known type Jonas Platte 2022-03-16 14:26:18 +01:00
  • 4741df627d feat(sdk): Add a method to check if the other side has scanned a qr verification Damir Jelić 2022-03-16 14:23:35 +01:00
  • 04e5434c9a QrVerification: Use consistent name for re-exported method Julian Sparber 2022-03-16 14:06:26 +01:00
  • adf463a4be QrVerification: expose whether the QrCode was scanned by the other device Julian Sparber 2022-03-16 13:05:15 +01:00
  • a455f23520 docs(store-cipher): Make the docs about the way the StoreCipher works clearer Damir Jelić 2022-03-16 12:24:09 +01:00
  • 3af08059da fix(store-cipher): Use the MacKeySeed type alias in more places Damir Jelić 2022-03-16 12:22:54 +01:00
  • bf3d2ebea3 chore(store-cipher): Rename the store-key crate and it's main type Damir Jelić 2022-03-15 17:03:07 +01:00
  • 8ab7bfd5fa fix(store-key): Zeroize the derived MacKeys Damir Jelić 2022-03-15 16:05:41 +01:00
  • d03eefc49a docs(store-key): Improve the docs a bit Damir Jelić 2022-03-15 16:05:00 +01:00
  • 5766b65eeb feat(store-key): Add a feature flag to enable WASM support Damir Jelić 2022-03-15 12:37:27 +01:00
  • 11d27007fc fix(store-key): Add some missing zeroize calls Damir Jelić 2022-03-15 11:53:41 +01:00
  • 4ed06be10d chore(store-key): Add more crate metadata Damir Jelić 2022-03-15 11:57:20 +01:00
  • 6a0bda47ae chore(store-key): Rename the crate Damir Jelić 2022-03-15 11:56:44 +01:00
  • 41466eae66 feat(store-key): Add a dedicated store key crate Damir Jelić 2022-03-03 10:23:08 +01:00
  • 440b49ce5c feat(sdk): Add store specific errors to the ClientBuildError Damir Jelić 2022-03-16 12:29:10 +01:00
  • 7b8c52b043 indexeddb: Move attribute below docs Kévin Commaille 2022-03-16 10:30:56 +01:00
  • 3a94c2115f sdk: Add store opening errors to ClientBuildError Kévin Commaille 2022-03-15 14:26:07 +01:00
  • 6785c07793 indexeddb: Make store opening error more specific Kévin Commaille 2022-03-15 14:18:48 +01:00
  • e23b22857f sled: Make store opening error more specific Kévin Commaille 2022-03-15 14:02:45 +01:00
  • 3bf5388da0 feat(sdk): Fetch supported matrix versions from server in initialization Jonas Platte 2022-03-14 15:23:13 +01:00
  • 15df8fef95 Fix broken tests Jonas Platte 2022-03-14 15:08:54 +01:00
  • 8df7e1cc8b Fix hanging tests Jonas Platte 2022-03-14 15:08:48 +01:00
  • 7b2dfa39cf Remove Client::get_supported_versions Jonas Platte 2022-03-14 12:57:58 +01:00
  • fdc8f79728 Merge branch 'main' into jplatte/server-versions Jonas Platte 2022-03-14 12:56:57 +01:00
  • f76bcda64f feat(client): Replacing ClientConfig with a ClientBuilder to configure how the client will be set up Benjamin Kampmann 2022-03-14 12:43:38 +01:00
  • 718fa18e7f Merge branch 'main' into jplatte/client-builder Jonas Platte 2022-03-14 11:26:45 +01:00
  • b8b61ce214 refactor(sdk): Scope the encryption specific Client methods behind a struct Damir Jelić 2022-03-14 10:16:19 +01:00
  • a2ad774112 Add ClientBuilder::server_name Jonas Platte 2022-03-14 09:54:39 +01:00
  • d94ba8c64f Remove Client::for_user_id Jonas Platte 2022-03-14 09:47:31 +01:00
  • 81d07d886c Rename Client::{new_from_user_id => for_user_id} Jonas Platte 2022-03-11 18:30:29 +01:00
  • 147e948fe6 Replace ClientConfig with ClientBuilder Jonas Platte 2022-03-11 18:29:43 +01:00
  • d8c7fbd9dc sdk: Create Encryption struct Kévin Commaille 2022-03-12 13:30:55 +01:00
  • bd7fbea155 Fix intra-doc link Jonas Platte 2022-03-11 18:04:32 +01:00
  • 628e2fb716 Allow configuring assert_identity on the client level only Jonas Platte 2022-03-11 15:31:11 +01:00
  • 503f4d73a0 Merge pull request #532 from matrix-org/jplatte/ctors Jonas Platte 2022-03-11 13:05:20 +01:00
  • 8a927df2b3 Rename PrivateCrossSigningIdentity::{new_with_account => with_account} Jonas Platte 2022-03-11 12:32:40 +01:00
  • 14ddcfb06e Remove new_ prefix from ToDeviceRequest ctors Jonas Platte 2022-03-11 12:31:37 +01:00
  • 932ef6270b Remove new_ prefix from OlmMachine ctors Jonas Platte 2022-03-11 12:30:55 +01:00
  • 1be68f57a5 Merge BaseClient impl blocks Jonas Platte 2022-03-11 12:14:21 +01:00
  • cfdf4a032e Rename BaseClient::{new_with_store_config => with_store_config} Jonas Platte 2022-03-11 12:13:29 +01:00
  • f5a7a1bcf0 Rename AppService::{new_with_config => with_config} Jonas Platte 2022-03-11 12:10:53 +01:00
  • e60b07336d Rename Client::{new_with_config => with_config} Jonas Platte 2022-03-11 12:10:38 +01:00
  • 48660c482f Use regular builder pattern for ClientConfig::store_config Jonas Platte 2022-03-11 11:49:41 +01:00
  • 27ee7c32ca Remove new_with_* constructors for StoreConfig Jonas Platte 2022-03-11 11:49:01 +01:00
  • 88f1552a70 feat(stores): Improve Store initialisation to allow for reusing the same instance Benjamin Kampmann 2022-03-11 11:40:12 +01:00
  • faa5cf54eb indexeddb: Make make_store_config public Kévin Commaille 2022-03-10 17:42:37 +01:00
  • 2bdc754140 ci: Lint matrix-sdk-crypto with a separate command Kévin Commaille 2022-03-10 16:55:12 +01:00
  • 597999acba sdk-base: Add constructors with stores for StoreConfig Kévin Commaille 2022-03-10 14:26:27 +01:00
  • 81605b731d sdk-base: Fix wording on StoreConfig docs Kévin Commaille 2022-03-10 14:09:38 +01:00
  • d7673257b4 stores: Rename make_config to make_store_config Kévin Commaille 2022-03-10 14:06:48 +01:00
  • 54c8b4f8bb sdk-base: Remove BaseClientConfig Kévin Commaille 2022-03-10 14:00:32 +01:00
  • ad31540b10 sdk: Don't enable store encryption by default Kévin Commaille 2022-03-10 11:27:35 +01:00
  • 8c7bbb0e07 sdk: Update store setup instructions for encryption. Kévin Commaille 2022-03-09 15:47:01 +01:00
  • 0f60dfcfc5 sdk: Re-export stores and store config Kévin Commaille 2022-03-09 14:40:11 +01:00
  • 0327b4f8fc indexeddb: Add methods to create a StoreConfig Kévin Commaille 2022-03-09 14:30:49 +01:00
  • 4b7f05e913 sled: Add a method to create a StoreConfig Kévin Commaille 2022-03-09 13:53:09 +01:00
  • 0ea12b3b4a base: Separate store config from the client config Kévin Commaille 2022-03-09 13:38:34 +01:00
  • 28a83da421 sdk: Remove default store constructors Kévin Commaille 2022-03-09 12:26:34 +01:00
  • 4d41f94199 sled: Add helper to open stores for encryption Kévin Commaille 2022-03-08 12:26:25 +01:00
  • 692f95da79 sled: Add method to create CryptoStore from StateStore Kévin Commaille 2022-03-08 11:53:17 +01:00
  • 872c35efd2 Fix a typo Jonas Platte 2022-03-10 16:52:01 +01:00
  • 65e7688a3f Don't require discovery to be mocked in tests Jonas Platte 2022-03-10 16:05:51 +01:00
  • b1f2adf9c0 Ensure random request with Request: Send gets a Send future as well Jonas Platte 2022-03-10 15:01:10 +01:00
  • 81cea84a37 Fetch supported matrix versions from server in initialization Jonas Platte 2022-03-10 15:00:40 +01:00
  • 5f8d3dec82 Merge pull request #529 from matrix-org/jplatte/event-type Jonas Platte 2022-03-10 14:49:31 +01:00
  • e5359826e1 Merge pull request #528 from matrix-org/backup-fix poljar 2022-03-10 14:10:18 +01:00
  • 1dec224210 Use fine-grained *EventType types Jonas Platte 2022-03-10 12:56:27 +01:00
  • 691ea2d138 ci(crypto): Test the crypto crate features when we run the CI Damir Jelić 2022-03-10 12:53:49 +01:00
  • 4af4faacef feat(xtask): Add a task to check the crypto crate features Damir Jelić 2022-03-09 12:04:13 +01:00
  • 54a253c0bf fix(crypto): Make our backup feature compile again Damir Jelić 2022-03-09 09:06:05 +01:00
  • 89ff804333 Remove extraneous newline Jonas Platte 2022-03-10 12:35:10 +01:00
  • 4d16370dba Merge pull request #527 from matrix-org/jplatte/wasm-ci Jonas Platte 2022-03-10 13:49:16 +01:00
  • 30b3bd1c3d Delete complicated and partially broken wasm tests Jonas Platte 2022-03-10 13:18:59 +01:00
  • ff15ccaf28 Merge pull request #525 from matrix-org/jplatte/refactor Jonas Platte 2022-03-10 12:56:05 +01:00
  • 6af9285874 Don't use Raw::from_json where it's not needed Jonas Platte 2022-03-10 11:59:31 +01:00
  • 9154e93089 Allow other tests to continue when indexeddb test fails Jonas Platte 2022-03-10 11:41:01 +01:00
  • ea2c9a2986 ci: Use clippy instead of check for wasm checks Jonas Platte 2022-03-10 11:28:55 +01:00
  • c01475701d Move some wasm CI logic into xtask Jonas Platte 2022-03-10 11:02:16 +01:00
  • 0721c7ddb2 Add missing ci subcommand description Jonas Platte 2022-03-10 10:30:56 +01:00
  • 36e4836c06 Merge pull request #522 from matrix-org/jplatte/send-req-refactor Jonas Platte 2022-03-10 10:25:50 +01:00
  • b777617515 Replace matches! with == Jonas Platte 2022-03-10 10:12:53 +01:00
  • 8a60154882 Use only #[warn], not #[deny] for lints Jonas Platte 2022-03-09 18:13:04 +01:00
  • d2e70c16b4 Deduplicate lint configuration Jonas Platte 2022-03-09 18:09:02 +01:00
  • e6d20265bf Allow rustfmt to format the encryption module again Jonas Platte 2022-03-09 18:01:48 +01:00
  • 5602deb226 Move encryption module docs into a separate markdown file Jonas Platte 2022-03-09 18:00:57 +01:00
  • e4289405f5 Stop importing Result as StdResult Jonas Platte 2022-03-09 17:56:26 +01:00
  • 76973fdc30 Improve consistency across sending requests with/out identity assertion Jonas Platte 2022-03-09 14:06:04 +01:00
  • d5d6b80e08 Inline single-callsite request serialization functions Jonas Platte 2022-03-09 13:51:24 +01:00
  • 1ed2b8841d Simplify HTTP request serialization logic Jonas Platte 2022-03-09 13:35:47 +01:00
  • a33898847b Reduce duration of holding session lock Jonas Platte 2022-03-09 13:23:35 +01:00
  • bc1eb9a792 Merge pull request #521 from matrix-org/jplatte/appservice-refactor Jonas Platte 2022-03-09 13:15:59 +01:00
  • 3b3fede756 Merge pull request #520 from matrix-org/jplatte/clippy Jonas Platte 2022-03-09 12:55:27 +01:00
  • 9f72eb9490 Enable more default-off clippy lints Jonas Platte 2022-03-08 14:19:45 +01:00
  • 2c181bca4f Consistently use .to_owned() instead of .to_string() for &str => String Jonas Platte 2022-03-08 12:59:34 +01:00
  • b67c51c267 Remove unnecessary double reference Jonas Platte 2022-03-08 13:52:21 +01:00
  • 7fee5b59e8 crypto: Use Box<UserId> instead of String in SignatureError Jonas Platte 2022-03-08 12:56:41 +01:00
  • 5d6f66be54 appservice: Make warp a regular dependency Jonas Platte 2022-03-08 12:11:39 +01:00
  • 5075c2730c Move appservice CI logic into xtask Jonas Platte 2022-03-08 11:32:46 +01:00
  • 1d5ba87b72 ci: Simplify test command by using -p instead of --manifest-path Jonas Platte 2022-03-08 11:25:56 +01:00
  • 4fa44f90bb Merge branch 'appservice/fix-user-room-query' Damir Jelić 2022-03-09 09:08:04 +01:00