Valere
9f6073478f
Element-R: support for manual import/export of Room keys ( #3364 )
...
* Rust manual import/export for keys
* code review
* code review
* post merge fix
* code review
* doc: comma splice
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Better test name
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* quick doc update
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2023-06-13 10:28:35 +00:00
Richard van der Hoff
72f3c360b6
Add CryptoApi.getCrossSigningKeyId ( #3360 )
2023-05-15 18:46:33 +01:00
Richard van der Hoff
6ebbc15359
Move SecretStorage-related interfaces out to new module ( #3244 )
...
* Remove redundant `IAccountDataClient.getAccountData`
This is never called, so we may as well get rid of it
* Move a few more interfaces into `secret-storage.ts`
* Use interfaces from `secret-storage`
* Move IAccountDataClient to secret-storage
* Use `AccountDataClient` from `secret-storage`
* move SECRET_STORAGE_ALGORITHM_V1_AES to secret-storage
* Use `SECRET_STORAGE_ALGORITHM_V1_AES` from `secret-storage`
* Add a test case for the quality gate
* Update src/secret-storage.ts
2023-04-05 11:42:15 +00:00
David Baker
d05313f95e
Switch some imports to type imports ( #3250 )
...
Having these as regular imports confuses Vite for some reason.
2023-04-04 15:31:16 +00:00
Richard van der Hoff
41d3ffdab9
Split up, rename, and move ISecretStorageKeyInfo ( #3242 )
...
* Move SecretStorageKeyInfo interfaces out to a new module
* Replace usages of ISecretStorageKeyInfo with SecretStorageKeyDescription
2023-04-03 10:11:03 +00:00
Michael Telatynski
c4006d752a
Improve tsdoc types ( #2940 )
...
* Install eslint-plugin-jsdoc
* Enable lint rule jsdoc/no-types
* Make tsdoc more valid, add required hyphens and s/return/returns/g
* Stash tsdoc work
* Fix mistypes
* Stash
* Stash
* More tsdoc work
* Remove useless doc params
* Fixup docs
* Apply suggestions from code review
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update src/crypto/verification/request/ToDeviceChannel.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update src/client.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update src/client.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update src/client.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Iterate
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2022-12-07 18:01:54 +00:00
Michael Telatynski
9f2f08dfd3
Fix more typescript --strict violations ( #2795 )
...
* Stash tsc fixes
* Iterate
* Iterate
* Iterate
* Fix tests
* Iterate
* Iterate
* Iterate
* Iterate
* Add tests
2022-10-25 18:31:40 +01:00
Šimon Brandner
c4f7e4d5aa
Remove dead code ( #2510 )
2022-07-11 09:46:50 +02:00
Michael Telatynski
b2d83c1f80
Iterate type definitions ( #2029 )
2021-11-19 17:35:09 +00:00
Šimon Brandner
0042cb5292
Fix importRoomKeys() definition
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-10-13 16:50:27 +02:00
Germain Souquet
fed0ced89d
Type fixes for CreateSecretStorageDialog TS migration
2021-09-12 08:56:31 +02:00
David Baker
5c6d3724b0
Move some interfaces around
2021-07-07 20:21:44 +01:00
David Baker
c34d4e777f
Convert SecretStorage to TypeScript
2021-07-07 19:37:22 +01:00
Michael Telatynski
40aa6ba96a
Even moar typescriptification
2021-06-24 19:19:41 +01:00
Michael Telatynski
fc67dc6497
Convert crypto index to TS
2021-06-19 19:41:45 +01:00
Travis Ralston
71dc0bac56
Tests pass 1
2021-06-02 13:42:20 -06:00
Travis Ralston
8a1d34c419
[Combined] First pass of JS->TS for MatrixClient
2021-06-02 13:42:20 -06:00