Commit Graph

62586 Commits

Author SHA1 Message Date
Michael Telatynski
502cc91dfe
Switch ModalManager to the React 18 createRoot API (#28336)
* Remove boilerplate around dispatcher and settings watchers

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

* Iterate

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

* Move state update listeners from constructor to componentDidMount

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

* Iterate

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

* Switch ModalManager to the React 18 createRoot API

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>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-04 11:34:00 +00:00
Michael Telatynski
38e5eeea00
Fix markdown escaping wrongly passing html through (#28363)
* Fix markdown escaping wrongly passing html through

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

* Add comment

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-04 11:31:44 +00:00
Michael Telatynski
1ccbdb21e9
Wire up analytics for Legacy/EC/Jitsi voip options (#28348)
* Wire up analytics for Legacy/EC/Jitsi voip options

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

* Update @matrix-org/analytics-events

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-04 09:49:41 +00:00
Michael Telatynski
b1ef099cd6
Show developer jump to event button on all events with associations (#28351)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-04 09:49:35 +00:00
Michael Telatynski
00d46f1c8f
Remove unused Security customisations module (#28350)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-04 09:49:20 +00:00
ElementRobot
8e304713a2
[create-pull-request] automated change (#28372)
Co-authored-by: t3chguy <t3chguy@users.noreply.github.com>
2024-11-04 06:25:18 +00:00
Michael Telatynski
0899165d9e
Move state update listeners from constructor to componentDidMount (#28341)
* Move state update listeners from constructor to componentDidMount

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>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-01 17:39:08 +00:00
Michael Telatynski
2d9982f9f0
Remove boilerplate around dispatcher and settings watchers (#28338)
* Remove boilerplate around dispatcher and settings watchers

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>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-01 15:15:04 +00:00
Richard Gibson
b8fd98ab3c
Specify a local address when exposing ports with Docker (#20891)
* Specify a local address when exposing ports with Docker

cf. https://docs.docker.com/engine/reference/commandline/run/#publish-or-expose-port--p---expose

Signed-off-by: Richard Gibson <richard.gibson@gmail.com>

* Provide and explain docker run examples with and without confinement to localhost

Signed-off-by: Richard Gibson <richard.gibson@gmail.com>

* Update README.md

Co-authored-by: Richard Gibson <richard.gibson@gmail.com>

---------

Signed-off-by: Richard Gibson <richard.gibson@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-01 12:59:16 +00:00
ElementRobot
a27dfa1825
[create-pull-request] automated change (#28360)
Co-authored-by: t3chguy <t3chguy@users.noreply.github.com>
2024-11-01 06:26:53 +00:00
ElementRobot
a3ece9d902
[create-pull-request] automated change (#28359)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-01 06:22:26 +00:00
ElementRobot
23613ac37e
[create-pull-request] automated change (#28119)
Co-authored-by: Johennes <1137962+Johennes@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-31 13:56:41 +00:00
Michael Telatynski
195337d865
Pass nodeRef to CSSTransition to avoid ReactDOM.findDOMNode (#28339)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-31 11:21:19 +00:00
chagai95
4bb9f2ed7b
Documentation fix: missing comma and I would also take the ellipsis away (#17233)
* Missing coma and I would also take the ellipsis away

took me a while to find the mistake and "comment" and I think it'll take other even longer...

* use json5

---------

Co-authored-by: Travis Ralston <travisr@matrix.org>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-10-31 10:54:46 +00:00
ElementRobot
e0ffddf3eb
[create-pull-request] automated change (#28345)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-10-31 06:21:39 +00:00
Florian Duros
386b782f2a
Remove "Upgrade your encryption" flow in CreateSecretStorageDialog (#28290)
* Remove "Upgrade your encryption" flow

* Rename and remove tests

* Remove `BackupTrustInfo`

* Get keybackup when bootstraping the secret storage.

* Update src/async-components/views/dialogs/security/CreateSecretStorageDialog.tsx

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>
2024-10-30 11:22:05 +00:00
Hugh Nimmo-Smith
c23c9dfacb
Use new CryptoApi.encryptToDeviceMessages() to send encrypted to-device messages from widgets (#28315) 2024-10-30 09:37:23 +00:00
renovate[bot]
5c45ca5e3c
Update react-types (#28323)
* Update react-types

* Iterate

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-10-29 16:22:16 +00:00
renovate[bot]
fbc96f458c
Update dependency @sentry/browser to v8.35.0 (#28326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 16:19:08 +00:00
renovate[bot]
a7b3337c39
Update dependency eslint-plugin-react-hooks to v5 (#28330)
* Update dependency eslint-plugin-react-hooks to v5

* Iterate

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-10-29 15:56:57 +00:00
renovate[bot]
7daa8b232b
Update typescript-eslint monorepo to v8.11.0 (#28328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 15:49:45 +00:00
renovate[bot]
7408a83618
Update dependency node to v22 (#28329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 15:39:34 +00:00
renovate[bot]
8a743a9f89
Update dependency uuid to v11 (#28332)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 15:32:24 +00:00
renovate[bot]
3e8f55f883
Update dependency @vector-im/compound-design-tokens to v1.9.0 (#28327)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 14:45:24 +00:00
renovate[bot]
e606b5f5d4
Update dependency @matrix-org/analytics-events to ^0.28.0 (#28325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 14:44:42 +00:00
renovate[bot]
a4e4ac45c4
Update playwright to v1.48.2 (#28322)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 14:42:30 +00:00
renovate[bot]
2ff51c218f
Update dependency stylelint-scss to v6.8.1 (#28321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 14:41:35 +00:00
renovate[bot]
76b9c27250
Update dependency @testing-library/jest-dom to v6.6.2 (#28319)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 14:41:05 +00:00
renovate[bot]
13bfb51d8c
Update dependency axe-core to v4.10.2 (#28320)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 14:40:49 +00:00
renovate[bot]
99542c9eda
Update dependency @formatjs/intl-segmenter to v11.7.1 (#28324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 14:35:52 +00:00
Michael Telatynski
95c3027657
Fix release_prepare.yml
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-29 12:51:39 +00:00
Florian Duros
e5b55db1db
Remove upgrade encryption in DeviceListener and SetupEncryptionToast (#28299)
* Remove upgrade encryption in `DeviceListener` and `SetupEncryptionToast`

* Update comments to `2 different toasts`
2024-10-29 12:28:41 +00:00
Michael Telatynski
79c956388f
Enable Element Call by default on release instances (#28313)
Update button label to say it is a Beta

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-28 15:20:40 +00:00
Michael Telatynski
f4dc9048db
Remove unused icons & styles (#28288)
* 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>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-28 14:19:37 +00:00
Devendra Gurjar
a2c7870810
Fix 'remove alias' button in room settings (#28269)
* fixed 'remove alias' button

* fixed 'close button'

---------

Co-authored-by: Florian Duros <florianduros@element.io>
2024-10-28 13:50:29 +00:00
Hubert Chathi
de9a2cc382
Add PostHog codes for trust requirement failures (#28292)
* Add PostHog codes for trust requirement failures

* add tests for new codes
2024-10-28 13:16:48 +00:00
ElementRobot
86bb0ec00d
[create-pull-request] automated change (#28304)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-10-28 11:56:00 +00:00
Michael Telatynski
954ff0adc0
Excluding floating-ui portals as part of hiding tooltips in Playwright screenshots (#28287)
* Excluding floating-ui portals as part of hiding tooltips in Playwright screenshots

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>
2024-10-28 11:07:15 +00:00
Michael Telatynski
ef605260b5
Update screenshot for timezone difference (#28309)
* Update screenshot for timezone difference

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>
2024-10-28 10:46:19 +00:00
Florian Duros
7de5c84b3d
Add back unencrypted path in StopGapWidgetDriver.sendToDevice (#28295) 2024-10-25 13:07:45 +00:00
Michael Telatynski
da5c97f9fa
Enable React StrictMode (#28258)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-25 11:20:25 +00:00
ElementRobot
bdf0f1dcc3
[create-pull-request] automated change (#28294)
Co-authored-by: t3chguy <t3chguy@users.noreply.github.com>
2024-10-25 06:26:40 +00:00
Richard van der Hoff
1cf1a0c4ee
Playwright: deflake verification tests (#28289)
Wait for the QR code to be rendered, in an attempt to deflake these two
2024-10-24 14:46:03 +00:00
Michael Telatynski
5b5348ec1e
Remove abandoned MSC3886, MSC3903, MSC3906 implementations (#28274)
* Remove abandoned MSC3886, MSC3903, MSC3906 implementations

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

* Iterate

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

* Remove stale snapshots

* Improve coverage

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-24 12:58:39 +00:00
Florian Duros
6d0d237c79
Replace MatrixClient.isRoomEncrypted by MatrixClient.CryptoApi.isEncryptionEnabledInRoom in SecurityRoomSettingsTab (#28281) 2024-10-24 08:34:07 +00:00
ElementRobot
e73a832008
[create-pull-request] automated change (#28283)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-10-24 06:21:34 +00:00
Michael Telatynski
5cad0c234f
Fix other devices not being decorated as such (#28279)
* Fix other devices not being decorated as such

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

* Update snapshots

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-23 16:25:00 +00:00
Florian Duros
83777a6c57
Fix pinned message e2e flakes (#28268) 2024-10-23 08:12:47 +00:00
ElementRobot
305d60f732
[create-pull-request] automated change (#28272)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-10-23 06:22:12 +00:00
Michael Telatynski
d4cf3881bc
Switch away from deprecated ReactDOM findDOMNode (#28259)
* Remove unused method getVisibleDecryptionFailures

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

* Switch away from ReactDOM findDOMNode

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

* Iterate

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-22 11:58:45 +00:00