Commit Graph

62696 Commits

Author SHA1 Message Date
Florian Duros
6bf06da02c
Replace MatrixClient.isRoomEncrypted by MatrixClient.CryptoApi.isEncryptionEnabledInRoom in SendMessageComposer.tsx 2024-11-14 17:59:40 +01:00
Florian Duros
d7ef409df8
Replace MatrixClient.isRoomEncrypted by MatrixClient.CryptoApi.isEncryptionEnabledInRoom in EventIndex.tsx 2024-11-14 17:59:31 +01:00
Florian Duros
f8c5eac8a9
Replace MatrixClient.isRoomEncrypted by MatrixClient.CryptoApi.isEncryptionEnabledInRoom in MemberListStore.tsx 2024-11-14 17:59:18 +01:00
Florian Duros
6533a6b642
Add asyncFilter 2024-11-14 17:54:54 +01:00
Michael Telatynski
9a126795a8
Standardise icons using Compound Design Tokens (#28286)
* Remove stale _LegacyRoomHeader.pcss and icons

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* De-duplicate icons using Compound Design Tokens

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove stale _LegacyRoomHeader.pcss and icons

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove unused icons

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Ensure legacy header styles are not used by HTML export

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshots & snapshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-14 12:34:27 +00:00
Michael Telatynski
5b0aa511a6
Upgrade bloom-filters to be able to remove @types/seedrandom (#28455)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-14 10:19:47 +00:00
Michael Telatynski
346b45751c
Update search placeholder to Compound Design Token for placeholder text (#28427)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-14 10:19:39 +00:00
Michael Telatynski
4f7c61ff68
Wrap up new release workflows (#26546)
* Delete redundant release_config.yaml files

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove unused & stale pull request template comments

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Delete legacy release scripts

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove allchange

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-14 10:08:02 +00:00
ElementRobot
da2e126ce1
[create-pull-request] automated change (#28457)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-14 09:18:28 +00:00
Michael Telatynski
18ef975386
Merge pull request #28452 from element-hq/midhun/fix-spotlight-1 2024-11-13 15:54:43 +00:00
Michael Telatynski
ec96d33ed7
Merge branch 'develop' into midhun/fix-spotlight-1 2024-11-13 15:38:56 +00:00
R Midhun Suresh
926c45488d
Remove type cast 2024-11-13 20:40:46 +05:30
R Midhun Suresh
b8e54750a0
Use Ref type to accept both types of ref 2024-11-13 20:39:17 +05:30
R Midhun Suresh
84bd188dd7
Add test to ensure ref argument to hook works 2024-11-13 20:21:45 +05:30
Michael Telatynski
ca239fee4d
Update type and usage of window.matrixChat to be better React 18 friendly (#28415)
* Update type and usage of window.matrixChat to be better React 18 friendly

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Improve coverage

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Make modules import async to make the file testable

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-13 14:16:29 +00:00
Michael Telatynski
349c9b0c26
Remove reply fallbacks as per merged MSC2781 (#28406)
* Remove reply fallbacks as per merged MSC2781

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Improve coverage

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-13 14:11:20 +00:00
Michael Telatynski
73db771ff3
Refactor signing out devices to handle React 18 Strict Mode (#28414)
setSigningOutDeviceIds was adding the same device ID twice, and also possibly using an old reference to the value when updating it

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-13 13:40:00 +00:00
Michael Telatynski
f77d9b4bcb
Refactor TimelinePanel to avoid race conditions in React 18 between state updates (#28416)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-13 13:39:56 +00:00
R Midhun Suresh
27b62d022e
Use RefCallback type 2024-11-13 18:23:37 +05:30
R Midhun Suresh
5c3a518576
Use ref from hook 2024-11-13 17:31:55 +05:30
renovate[bot]
3132fe3233
Update dependency maplibre-gl to v4 (#28444)
* Update dependency maplibre-gl to v4

* Update test

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshot

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-13 11:53:59 +00:00
R Midhun Suresh
6e5f593c98
Fix EmojiPicker.tsx 2024-11-13 16:59:28 +05:30
renovate[bot]
8bf3ec8376
Update dependency ubuntu to v24 (#28447)
* Update dependency ubuntu to v24

* Update end-to-end-tests.yaml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-13 11:13:02 +00:00
renovate[bot]
eb938c21d6
Update dependency @vector-im/compound-design-tokens to v1.9.1 (#28438)
* Update dependency @vector-im/compound-design-tokens to v1.9.1

* Update snapshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-13 11:08:25 +00:00
R Midhun Suresh
e5c0cdc402
Just use one ref prop in Field.tsx 2024-11-13 16:35:02 +05:30
Florian Duros
8a756b592c
Replace MatrixClient.isRoomEncrypted by MatrixClient.CryptoApi.isEncryptionEnabledInRoom in useIsEncrypted (#28282)
* Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `useIsEncrypted`

* Catch error

* Return `null` when computed

* Use `useRoomState` & `useAsyncMemo`
2024-11-13 10:32:35 +00:00
Florian Duros
c67e67af4e
Use new CrytoApi.restoreKeyBackup & CrytoApi.restoreKeyBackupFromPassphrase api (#28385)
* Use new `CrytoApi.restoreKeyBackup` & `CrytoApi.restoreKeyBackupFromPassprhase` api

* Use new `CrytoApi.restoreKeyBackup` api in `SetupEncryptionStore`

* Add tests to `RestoreKeyBackupDialog`
2024-11-13 10:32:06 +00:00
ElementRobot
7b1e303328
[create-pull-request] automated change (#28454)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-13 10:06:44 +00:00
Michael Telatynski
27a43e860a
Use React Suspense when rendering async modals (#28386)
* Use React Suspense when rendering async modals

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix test

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Improve coverage

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Improve coverage

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Improve coverage

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update src/Modal.tsx

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-12 21:19:11 +00:00
renovate[bot]
9b5d0866e0
Update browserslist (#28431)
* Update browserslist

* Update browserslist

* Update supported browser test

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-12 21:04:17 +00:00
R Midhun Suresh
86c6ba9dd7
Make corresponding changes in consumers 2024-11-13 00:36:08 +05:30
R Midhun Suresh
0faf298e05
Fix React 18 strict mode breaking spotlight search
This code originally held an array of refs. But these refs were unset
just before sorting leading to errors.

For the fix, I've used a callback ref to add/remove the DOM elements
to/from the array in state. This way there's nothing that could possibly
mutate just before sort.
2024-11-13 00:28:32 +05:30
renovate[bot]
ef382584f0
Update all non-major dependencies (#28430)
* Update all non-major dependencies

* Pin posthog-js back due to https://github.com/PostHog/posthog-js/issues/1437

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-12 18:12:18 +00:00
renovate[bot]
d8d60170ac
Update definitelyTyped (#28432)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 17:57:44 +00:00
renovate[bot]
159d62f7d3
Update dependency @testing-library/jest-dom to v6.6.3 (#28436)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 17:40:52 +00:00
renovate[bot]
6424853f27
Update typescript-eslint monorepo to v8.13.0 (#28443)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 17:37:56 +00:00
renovate[bot]
84b07cbbaa
Update dependency @sentry/browser to v8.37.1 (#28440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 17:02:56 +00:00
renovate[bot]
b03c84f51e
Update docker/setup-buildx-action digest to c47758b (#28428)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:52:15 +00:00
renovate[bot]
ad2dda960e
Update dependency postcss-nested to v7 (#28446)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:35:06 +00:00
renovate[bot]
ee63710ef1
Update dependency stylelint-scss to v6.9.0 (#28442)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:32:22 +00:00
renovate[bot]
90f9f53bc1
Update sigstore/cosign-installer digest to dc72c7d (#28429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:31:36 +00:00
renovate[bot]
3c00a40a1d
Update dependency @stylistic/eslint-plugin to v2.10.1 (#28441)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:30:53 +00:00
renovate[bot]
54d7974863
Update babel monorepo (#28439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:30:31 +00:00
renovate[bot]
1fd497fd55
Update dependency @formatjs/intl-segmenter to v11.7.3 (#28434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:29:51 +00:00
renovate[bot]
26e961489f
Update dependency @matrix-org/analytics-events to v0.29.1 (#28435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:28:03 +00:00
renovate[bot]
21a309290a
Update dependency @axe-core/playwright to v4.10.1 (#28433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:21:08 +00:00
RiotRobot
6d1b702214 Merge branch 'master' into develop 2024-11-12 09:46:03 +00:00
RiotRobot
bbe474ae57 v1.11.85 2024-11-12 09:43:10 +00:00
RiotRobot
bebf44d9ee Upgrade dependency to matrix-js-sdk@34.11.1 2024-11-12 09:31:49 +00:00
Michael Telatynski
231073c578
Merge commit from fork
Handle rendering of invalid date errors
2024-11-12 09:08:32 +00:00