4fda9e8419
Update all non-major dependencies ( #4417 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 13:38:54 +00:00
a13e0389db
v34.6.0-rc.0
v34.6.0-rc.0
2024-09-18 13:31:13 +00:00
dbb4828eda
Add crypto mode setting for invisible crypto, and apply it to decrypting events ( #4407 )
...
Adds a global "crypto mode" setting to the crypto API (only works with Rust crypto), and changes the decryption settings based on that.
2024-09-18 12:53:07 +01:00
414ac9d8cc
Don't share full key history for RTC per-participant encryption ( #4406 )
...
* Don't share full key history for RTC per-participant encryption
Also record stats for how many keys have been sent/received and age of those received
* Update src/matrixrtc/MatrixRTCSession.ts
Co-authored-by: Robin <robin@robin.town >
* Add comment about why we track total age of events
---------
Co-authored-by: Robin <robin@robin.town >
2024-09-18 08:57:26 +00:00
30058a4bdc
Add ESLint rule to ensure .ts extensions on imports ( #4409 )
...
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org >
2024-09-18 07:40:01 +00:00
fab9cab3df
Move crypto/key_passphrase.ts
to crypto-api/key-passphrase.ts
( #4401 )
...
* Move `crypto/key_passphrase.ts` to `crypto-api/key-passphrase.ts`
* Re-export `crypto-api/key-passphrase` into `crypto/key_passphrase.ts`
* Add doc
* Deprecate `MatrixClient.keyBackupKeyFromPassword`
* Move `keyFromAuthData` to `common-crypto/key-passphrase.ts`
* Fix faulty import
* Keep `keyFromPassphrase` in old crypto
* - Rename `deriveKey` into `deriveRecoveryKeyFromPassphrase`
- Call `deriveRecoveryKeyFromPassphrase` into `RustCrypto.createRecoveryKeyFromPassphrase` instead of using `keyFromPassphrase`
* Remove alternative in `keyBackupKeyFromPassword` deprecation.
* Add tests for `keyFromAuthData`
* Deprecate `keyFromAuthData`
* Review changes
2024-09-17 13:05:47 +00:00
53b599f8fe
Export membership types ( #4405 )
...
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org >
2024-09-14 10:44:51 +00:00
17f6cc733e
Fix redact sending over in embedded (widget) mode ( #4398 )
2024-09-13 16:07:44 +00:00
c8403f39aa
Fix build failure in node.js example ( #4394 )
...
* Fix node.js example
Relates to: element-hq/element-web#26922
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org >
* Update examples/node/app.js
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update examples/node/package.json
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Move imports to the top of the file
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2024-09-13 15:35:45 +00:00
8cf5df73ee
Move crypto/recoverykey.ts
to crypto-api/recovery-key.ts
( #4399 )
...
* Move `crypto/recoverykey.ts` to `crypto-api/recovery-key.ts`
* Re-export `crypto-api/recovery-key` into `crypto/recoverykey`
* Add a bit of doc
* Deprecate `MatrixClient.isValidRecoveryKey` and `MatrixClient.keyBackupKeyFromRecoveryKey`
* Import `index.ts` directly
* Update `recovery-key.ts` doc
* Add tests for `decodeRecoveryKey`
* Move `recovery-key.spec.ts` file
2024-09-13 13:26:30 +00:00
febe27ddcc
Replace matrix.org/matrix-react-sdk
by element-hq/matrix-react-sdk
( #4404 )
2024-09-13 13:03:31 +00:00
7987ce76ec
Bump dependency on rust-sdk-crypto-wasm to v8.0.0 ( #4396 )
2024-09-13 10:22:33 +01:00
60cedf2fdb
Improve documentation on {encrypt,decrypt}AES
( #4397 )
2024-09-11 14:13:12 +00:00
ed44514974
Expose the event ID of a call membership ( #4395 )
...
This is in line with the other information we're already exposing, such as the event's sender and timestamp. We want this in order to play around with adding reactions to the membership event.
2024-09-10 20:15:07 +00:00
9f8c1ee953
Merge branch 'master' into develop
2024-09-10 12:31:32 +00:00
593a57fc2b
v34.5.0
v34.5.0
2024-09-10 12:30:54 +00:00
e8128d34a1
MSC4133 - Extended profiles ( #4391 )
...
* Add MSC4133 functionality.
* Add MSC4133 capability.
* Tidy
* Add tests for extended profiles.
* improve docs
* undefined
* Add a prefix function to reduce reptitiveness
* Add a docstring
2024-09-09 12:06:38 +00:00
ba7bd06295
Element-R: Mark unsupported MatrixClient methods as deprecated ( #4389 )
...
Slap a `@deprecated` tag on all the MatrixClient methods which no longer work
with rust crypto.
2024-09-05 13:37:08 +00:00
e4db6008b8
Minor improvements to logging in device verification ( #4390 )
...
A grab-bag of small logging improvements in the Rust crypto wrapper.
2024-09-05 10:22:54 +00:00
52f35409ec
Stabilise MSC4156 ( #4381 )
...
* Stabilise MSC4156
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org >
* Add deprecation comments
* Add minimum Matrix version
---------
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org >
2024-09-04 12:01:33 +00:00
f50aab37c3
Update babel monorepo ( #4387 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 21:29:21 +00:00
df0f817f83
Update dependency typedoc-plugin-mdn-links to v3.2.10 ( #4386 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 21:20:01 +00:00
7efa6352f8
Update shogo82148/actions-upload-release-asset digest to aac270e ( #4385 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 20:32:50 +00:00
f74614705e
Update mheap/github-action-required-labels digest to d25134c ( #4384 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 20:32:29 +00:00
169e8f8613
Update dependency @types/node to v18.19.47 ( #4383 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 15:22:51 +00:00
f2f77bd1f7
Update all non-major dependencies ( #4382 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 13:51:09 +00:00
5a1c70ad19
v34.5.0-rc.0
v34.5.0-rc.0
2024-09-03 12:31:16 +00:00
27cb16ffe4
Merge pull request #4379 from matrix-org/renovate/matrix-org
...
Update dependency matrix-widget-api to v1.9.0
2024-08-30 17:05:06 +01:00
9be0b3e701
Update dependency matrix-widget-api to v1.9.0
2024-08-30 15:54:06 +00:00
05ba27f36b
Change imports for Node.js compatibility ( #4377 )
...
* Change imports for Node.js compatibility
Fixes : #4287
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org >
* Run prettier
* Run prettier (again)
* Add comment
* Update babel.config.cjs
---------
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org >
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2024-08-29 15:56:32 +00:00
e6acfdf275
Rename merge release notes script to cjs ( #4361 )
...
and update the corresponding workflow file
2024-08-28 10:40:16 +00:00
2a6612c73a
Merge branch 'master' into develop
2024-08-27 12:38:13 +00:00
2f8b05b0da
v34.4.0
v34.4.0
2024-08-27 12:37:46 +00:00
fe984ede6e
Use prefixed loggers for MatrixRTC ( #4378 )
2024-08-23 19:04:22 +00:00
3f74b9a0cc
Deprecate unused CryptoCallbacks
( #4376 )
2024-08-23 14:00:27 +00:00
802b996b10
Set web team as codeowner for the scripts dir ( #4354 )
...
The scripts in here are used in the release, and from the develop
branch too (because it's the main branch and github actions does this)
so it's critical for the release process.
2024-08-23 12:46:27 +00:00
8d44f9d665
Update dependency eslint-plugin-unicorn to v55 ( #4371 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 12:32:26 +00:00
a72a1b294a
Update dependency eslint-plugin-jsdoc to v50 ( #4370 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 11:22:35 +00:00
ab5f32f984
Update typedoc ( #4367 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 10:46:01 +00:00
6a21d812ab
Update typescript-eslint monorepo to v7.18.0 ( #4368 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 10:41:47 +00:00
ee94e93354
set entrypoints to use ./lib rather than ./src ( #4357 )
...
Currently, we replace the entrypoints in package.json during the release
cycle. I think. historically, this was done to make matrix-react-sdk and
element-web development easier, but neither of those projects actually use
these entrypoints (instead they import from `src`).
Accordingly, I think the switcheroo is unnecessary; furthermore it causes a
whole bunch of confusion by making the development environment different from
the release environment, and it complicates our CI and release process.
In short, the switcheroo has to die.
2024-08-21 18:31:05 +00:00
31c4786a96
Update dependency fetch-mock to v11 ( #4369 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 16:14:39 +00:00
17b6e59819
Update shogo82148/actions-upload-release-asset digest to 6d4fd50 ( #4366 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 15:47:42 +00:00
42510022a1
Update dependency typescript to v5.5.4 ( #4365 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 15:08:24 +00:00
5f0978ac3f
Update babel monorepo ( #4363 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 14:41:16 +00:00
cd6787e0ac
Update dependency @types/node to v18.19.44 ( #4364 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 14:22:08 +00:00
03baa3e358
Update all non-major dependencies ( #4362 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 13:51:57 +00:00
658563e2a7
v34.4.0-rc.1
v34.4.0-rc.1
2024-08-21 12:56:47 +00:00
26d3033b17
Merge pull request #4358 from matrix-org/backport-4356-to-staging
...
[Backport staging] Rename slowReporter to reflect that it is CommonJS
2024-08-21 13:01:49 +01:00
a4bd7dc7d7
Merge branch 'staging' into backport-4356-to-staging
2024-08-21 12:53:16 +01:00