Michael Telatynski
85ba069117
Export de-facto public types out of @types ( #3666 )
...
* Export de-facto public types out of @types
* Make typedoc happier
2023-08-22 15:47:22 +00:00
RiotRobot
9b8dcf53ed
v28.0.0-rc.1
v28.0.0-rc.1
2023-08-22 15:18:45 +01:00
RiotRobot
324af3ee67
Prepare changelog for v28.0.0-rc.1
2023-08-22 15:18:42 +01:00
RiotRobot
ec6c0946d4
v27.3.0-rc.1
v27.3.0-rc.1
2023-08-22 15:13:46 +01:00
RiotRobot
e5f480b032
Prepare changelog for v27.3.0-rc.1
2023-08-22 15:13:43 +01:00
Florian Duros
6bf4ed8672
ElementR: Add CryptoApi.requestVerificationDM
( #3643 )
...
* Add `CryptoApi.requestVerificationDM`
* Fix RoomMessageRequest url
* Review changes
* Merge fixes
* Add BOB test data
* `requestVerificationDM` test works against old crypto (encrypted verification request)
* Update test data
2023-08-21 14:48:32 +00:00
Valere
c18d691ef5
RustCrypto | Implement keybackup loop ( #3652 )
...
* Implement `CryptoApi.checkKeyBackup`
* Deprecate `MatrixClient.enableKeyBackup`.
* fix integ test
* more tests
* Implement keybackup loop
* cleaning
* update matrix-sdk-crypto-wasm to 1.2.1
* fix lint
* avoid real timer stuff
* Simplify test
* post merge lint fix
* revert change on yarn.lock
* code review
* Generate test data for exported keys
* code review cleaning
* cleanup legacy backup loop
* Update spec/test-utils/test-data/generate-test-data.py
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update spec/test-utils/test-data/generate-test-data.py
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* update yarn.lock for new wasm bindings
---------
Co-authored-by: Richard van der Hoff <richard@matrix.org >
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2023-08-17 14:10:57 +00:00
ElementRobot
97cf73bc52
Resetting package fields for development
2023-08-15 13:19:02 +01:00
ElementRobot
aa25103665
Merge branch 'master' into develop
2023-08-15 13:18:59 +01:00
ElementRobot
858db67778
v27.2.0
v27.2.0
2023-08-15 13:17:57 +01:00
ElementRobot
e230abee45
Prepare changelog for v27.2.0
2023-08-15 13:17:55 +01:00
Travis Ralston
8c16d69f3c
Set minimum supported Matrix 1.1 version (drop legacy r0 versions) ( #3007 )
...
Co-authored-by: Germain <germains@element.io >
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2023-08-14 09:25:15 +01:00
Michael Telatynski
55b9116c99
Re-export localStorage-crypto-store ( #3660 )
2023-08-11 06:02:52 +00:00
Florian Duros
3a5d66057e
ElementR: Process all verification events, not just requests ( #3650 )
...
* Process all verification event
* Add test for `isVerificationEvent`
* Review changes
* Remove null comparison and add doc to remote echo
* review changes
2023-08-09 14:14:58 +00:00
Richard van der Hoff
3f7af189e4
Implement CryptoApi.checkKeyBackupAndEnable
( #3633 )
...
* Implement `CryptoApi.checkKeyBackup`
* Deprecate `MatrixClient.enableKeyBackup`.
* fix integ test
* more tests
---------
Co-authored-by: valere <valeref@matrix.org >
2023-08-09 09:59:03 +00:00
renovate[bot]
16ddcb0ed0
Lock file maintenance ( #3659 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 15:32:57 +00:00
renovate[bot]
9e35b8dd0a
Update all non-major dependencies ( #3656 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 15:09:57 +00:00
renovate[bot]
bed787b749
Update tibdex/backport digest to 9565281 ( #3658 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 14:14:28 +00:00
renovate[bot]
d260b8be56
Update dependency eslint-config-prettier to v9 ( #3657 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 14:10:12 +00:00
renovate[bot]
97991dad02
Update dependency @types/node to v18.17.3 ( #3655 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 14:09:52 +00:00
renovate[bot]
b8c19c47ab
Update babel monorepo to v7.22.10 ( #3654 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 14:07:45 +00:00
ElementRobot
1476ffbd15
v27.2.0-rc.1
v27.2.0-rc.1
2023-08-08 15:01:44 +01:00
ElementRobot
62f0a65472
Prepare changelog for v27.2.0-rc.1
2023-08-08 15:01:41 +01:00
Charly Nguyen
2ef7ae7661
Allow knocking rooms ( #3647 )
...
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net >
2023-08-03 08:16:18 +00:00
Michael Telatynski
61c0a49971
Mark more logs as debug to tidy the console ( #3645 )
2023-08-02 20:40:32 +00:00
Michael Telatynski
2172f28888
Fix wrong handling of encrypted rooms when loading them from sync accumulator ( #3640 )
...
* Revert "Ensure we don't overinflate the total notification count (#3634 )"
This reverts commit fd0c4a7f56
.
* Fix wrong handling of encrypted rooms when loading them from sync accumulator
* Tidy up code, removing sections which didn't make any difference
* Add test
2023-08-02 09:53:34 +00:00
Florian Duros
2e9b34e0c3
Throw error if missing userId
in CryptoApi.findVerificationRequestDMInProgress
( #3641 )
2023-08-01 12:20:01 +00:00
ElementRobot
5a782b7377
Resetting package fields for development
2023-08-01 12:28:37 +01:00
ElementRobot
54bc807056
Merge branch 'master' into develop
2023-08-01 12:28:33 +01:00
ElementRobot
9e07710d80
v27.1.0
v27.1.0
2023-08-01 12:27:34 +01:00
ElementRobot
e9ed91d800
Prepare changelog for v27.1.0
2023-08-01 12:27:31 +01:00
Michael Telatynski
88ba4fad71
Skip processing thread roots and fetching threads list when support is disabled ( #3642 )
...
* Skip processing thread roots and fetching threads list when support is disabled
* Enable threads support in tests
2023-07-31 18:16:42 +00:00
Michael Telatynski
21b3471453
Bump pagination limit to account for threaded events ( #3638 )
2023-07-31 16:59:55 +00:00
Florian Duros
0ada9803ab
ElementR: Add CryptoApi.findVerificationRequestDMInProgress
( #3601 )
...
* Add `CryptoApi.findVerificationRequestDMInProgress`
* Fix linting and missing parameters
* Move `ROOM_ID` into `test-data`
* Remove verification request from `EventDecryptor` pending list
* Fix duplicate timeline event processing
* Add extra documentation
* Try to fix sonar error
* Use `roomId`
* Fix typo
* Review changes
* Review changes
* Fix `initRustCrypto` jsdoc
* Listen to `ClientEvent.Event` instead of `RoomEvent.Timeline`
* Fix missing room id in `generate-test-data.py`
* Review changes
* Review changes
* Handle encrypted event
* Fix linting
* Comments and run timers
* Ignore 404
* Fix test
2023-07-31 15:00:15 +00:00
Michael Telatynski
1744f0e97b
Revert "Ensure we don't overinflate the total notification count ( #3634 )" ( #3639 )
2023-07-31 11:57:11 +01:00
Michael Telatynski
fd0c4a7f56
Ensure we don't overinflate the total notification count ( #3634 )
...
* Ensure we don't overinflate the total notification count
By correctly comparing push rules before & after decryption
* DRY the code
* Testsssss
* Update tests
2023-07-28 15:05:11 +00:00
Michael Telatynski
615f7f9e72
Export more into the public interface ( #3614 )
2023-07-28 11:54:17 +00:00
renovate[bot]
77259e81c9
Update all non-major dependencies ( #3630 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-28 10:55:22 +00:00
Richard van der Hoff
2193cd9d1c
Implement CryptoApi.isKeyBackupTrusted
( #3632 )
...
* Implement `CryptoApi.isKeyBackupTrusted`
Fixes https://github.com/vector-im/crypto-internal/issues/110
* Bump matrix-sdk-crypto-wasm to v1.2.0
* Back out some changes
These are unneeded, and break backwards compat
2023-07-28 09:54:55 +00:00
Valere
6d28154dcd
Add CryptoApi.getActiveSessionBackupVersion()
( #3555 )
...
* stub backupmanager
* Implement `CryptoApi.getActiveSessionBackupVersion`
* Revert unnecessary change
we can do this later, once we have better test coverage
* more test coverage
---------
Co-authored-by: Richard van der Hoff <richard@matrix.org >
2023-07-28 08:04:20 +00:00
Richard van der Hoff
83d447adfe
Clean up megolm-backup integ test ( #3631 )
...
* Add `CryptoApi.setDeviceVerified`
I need a way to mark devices as trusted for the backup tests.
* More tests
* Simplify E2EKeyResponder.addDeviceKeys
The user and device IDs are in the test data, so no need to pass them in
* Clean up key backup integration test
Make it use the CryptoApi rather than legacy `MatrixClient.crypto`, and use a
pre-signed backup instead of requiring a "blindlySignAnything" method.
* run megolm-backup tests on both crypto stacks
* avoid internal backupManager
2023-07-27 15:23:02 +00:00
Richard van der Hoff
73c9f4e322
Add CryptoApi.setDeviceVerified
( #3624 )
...
I need a way to mark devices as trusted for the backup tests.
2023-07-27 13:16:10 +01:00
renovate[bot]
e6fa4cdb3c
Lock file maintenance ( #3629 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 09:45:53 +00:00
Michael Telatynski
a04653a72c
Upgrade matrix-widget-api ( #3621 )
...
* Fix threads ending up with chunks of their timelines missing
* delint
* Upgrade matrix-widget-api
2023-07-27 09:21:14 +00:00
renovate[bot]
5f9341f39c
Update dependency eslint-plugin-unicorn to v48 ( #3628 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 08:37:46 +00:00
renovate[bot]
906946c419
Update all non-major dependencies ( #3626 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 08:37:23 +00:00
renovate[bot]
4397b9d640
Update dependency @types/node to v18.17.0 ( #3627 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 08:37:02 +00:00
ElementRobot
90da2cf439
v27.1.0-rc.1
v27.1.0-rc.1
2023-07-27 09:28:56 +01:00
ElementRobot
6edd45787b
Prepare changelog for v27.1.0-rc.1
2023-07-27 09:28:52 +01:00
Florian Duros
84444ec11e
ElementR: Add CryptoApi.getCrossSigningKeyId
( #3619 )
...
* Add `CryptoApi.getCrossSigningKeyId`
* Rename `CrossSigningPubKey` to `CrossSigningKeyInfo`
* Remove old eslint disable
* Review changes
* Review changes
2023-07-26 16:09:49 +00:00