Commit Graph

44273 Commits

Author SHA1 Message Date
ElementRobot
f3432e99c8
[Backport staging] Fix replies to emotes not showing as inline (#9708)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-05 13:14:58 +00:00
Michael Telatynski
8576601b7c
Fix replies to emotes not showing as inline (#9707) 2022-12-05 12:50:51 +00:00
Michael Telatynski
5f76528832
Improve MImageBody error handling (#9663)
* Improve MImageBody error handling

* Fix strict errors

* We can assert this as isAnimated would be false if no content.info.mimetype
2022-12-05 12:50:19 +00:00
Michael Kaye
7065c58174
Update cypress.yaml GHA to not refer to workflow name. (#9649) 2022-12-05 11:43:22 +00:00
renovate[bot]
556d32c4a8
Update sentry-javascript monorepo to v7 (major) (#9702)
* Update sentry-javascript monorepo to v7

* Update sentry-javascript monorepo to v7

* Update integration naming as per docs

* Update sentry-javascript monorepo to v7

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-05 11:18:50 +00:00
Michael Weimann
f117548b38
Do not resume voice broadcasts on seek (#9686) 2022-12-05 09:43:47 +01:00
Robin
2d9fa81cf5
Improve the visual balance of bubble layout (#9704) 2022-12-03 17:31:40 -05:00
Robin
0358e038a9
Update copy of 'Change layout' button to match Element Call (#9703) 2022-12-02 17:59:14 +00:00
RiotRobot
cb2e1e92fd v3.62.0-rc.2 2022-12-02 16:32:12 +00:00
RiotRobot
cc2e40e5cf Prepare changelog for v3.62.0-rc.2 2022-12-02 16:32:11 +00:00
RiotRobot
dae04a777e Upgrade matrix-js-sdk to 22.0.0-rc.2 2022-12-02 16:30:15 +00:00
Michael Telatynski
5d409560c7
Remove prop-types (#9672)
* Remove prop-types

* Remove unused dep rrweb-snapshot

* Revert "Remove unused dep rrweb-snapshot"

This reverts commit d0d076535f4190a6095fe7684124f50c2d3f137d.
2022-12-02 16:07:13 +00:00
Florian Duros
5db885e337
Support multiple lines 2022-12-02 17:01:18 +01:00
Florian Duros
7fcc65a3fe
Use Event for emoji 2022-12-02 16:05:14 +01:00
Florian Duros
75be1f9954
Add emoji handling for rich text mode 2022-12-02 15:22:05 +01:00
Andy Balaam
be2a696e6d
Merge pull request #9644 from andybalaam/bump-matrix-wysiwyg-to-0.8.0
Bump matrix-wysiwyg version to 0.8.0
2022-12-02 13:53:29 +00:00
renovate[bot]
c8877727a5
Update dependency html-entities to v2 (#9697)
* Update dependency html-entities to v2

* Update dependency html-entities to v2

* Update imports

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-02 11:10:54 +00:00
ElementRobot
07577a6cde
[Backport staging] Fix call splitbrains when switching between rooms (#9701)
* Fix call splitbrains when switching between rooms

Mounting CallView causes the user's call membership room state to be cleaned up. However, because the GroupCall object always thought the local device was disconnected from the call, it would remove the local device from room state when the clean method is called, causing a splitbrain. This uses GroupCall's new enteredViaAnotherSession field to fix that, and also simplify participant tracking.

* Remove clean tests that have been moved to matrix-js-sdk

(cherry picked from commit 62a740d318)

Co-authored-by: Robin <robin@robin.town>
2022-12-02 10:35:04 +00:00
renovate[bot]
eca1eb1390
Update dependency stylelint-config-standard to v29 (#9700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-02 10:30:19 +00:00
Robin
62a740d318
Fix call splitbrains when switching between rooms (#9692)
* Fix call splitbrains when switching between rooms

Mounting CallView causes the user's call membership room state to be cleaned up. However, because the GroupCall object always thought the local device was disconnected from the call, it would remove the local device from room state when the clean method is called, causing a splitbrain. This uses GroupCall's new enteredViaAnotherSession field to fix that, and also simplify participant tracking.

* Remove clean tests that have been moved to matrix-js-sdk
2022-12-02 09:35:31 +01:00
Kerry
81098b9914
Add config setting to disable bulk unverified sessions nag (#9657)
* test bulk unverified sessions toast behaviour

* unverified sessions toast text tweak

* only show bulk unverified sessions toast when current device is verified

* add Setting for BulkUnverifiedSessionsReminder

* add build config for BulkUnverifiedSessionsReminder

* add more assertions for show/hide toast, fix strict errors

* fix strict error
2022-12-02 03:24:45 +00:00
Kerry
5742c24114
Only display bulk unverified sessions nag when current session is verified (PSG-893) (#9656)
* test bulk unverified sessions toast behaviour

* unverified sessions toast text tweak

* only show bulk unverified sessions toast when current device is verified

* add more assertions for show/hide toast, fix strict errors

* fix strict error

* really fix strict error
2022-12-02 02:59:46 +00:00
renovate[bot]
8996bf0a7f
Update dependency filesize to v10 (#9695)
* Update dependency filesize to v10

* Update dependency filesize to v10

* Fix imports

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-01 23:55:24 +00:00
renovate[bot]
7a683dd17a
Update dependency flux to v4 (#9696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 23:36:25 +00:00
renovate[bot]
0d4f30f888
Update dependency cypress to v11 (#9690)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 20:54:00 +00:00
ElementRobot
fcc49d0959
[Backport staging] Update Voice Broadcast buffering style (#9660)
Co-authored-by: Michael Weimann <michaelw@matrix.org>
2022-12-01 20:34:57 +00:00
ElementRobot
f4b6719a28
[Backport staging] Start voice broadcast recording while listening (#9659)
Co-authored-by: Michael Weimann <michaelw@matrix.org>
2022-12-01 20:34:45 +00:00
renovate[bot]
718475b7c6
Update dependency eslint-plugin-unicorn to v45 (#9691)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 20:33:22 +00:00
renovate[bot]
b5ece995d2
Update dependency blob-polyfill to v7 (#9688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 16:19:04 +00:00
kegsay
1f703b8898
bugfix: fix an issue where the Notifier would incorrectly fire for non-timeline events (#9664)
* bugfix: fix an issue where the Notifier would incorrectly fire for non-timeline events

This was caused by listening for ClientEvent.Event, not RoomEvent.Timeline.
Fixes https://github.com/vector-im/element-web/issues/17263

* tsc strict checks maybe

* More types?

* Update src/Notifier.ts

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Update src/Notifier.ts

* fix LL test; review comments

* More tests

* More tsc strict checks..

* More strict ts..

* More ts

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-01 12:21:56 +00:00
Andy Balaam
b51b4a994d
Merge branch 'develop' into bump-matrix-wysiwyg-to-0.8.0 2022-12-01 10:03:49 +00:00
Michael Telatynski
ccfb455847
Fix power selector being wrongly disabled for admins themselves (#9681) 2022-12-01 09:49:46 +00:00
renovate[bot]
2bd909b53a
Update dependency babel-jest to v29 (#9683)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 09:36:39 +00:00
renovate[bot]
3930457b71
Update dependency @types/pako to v2 (#9682)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 09:35:09 +00:00
renovate[bot]
6fe64e0c68
Update emojibase monorepo (#9680)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 08:56:15 +00:00
renovate[bot]
d52004c4f3
Update dependency glob to v8 (#9679)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 08:54:29 +00:00
renovate[bot]
9f0c8d935d
Update tj-actions/changed-files action to v34 (#9678)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 07:56:41 +00:00
Kerry
1d4cbee81c
test bulk unverified sessions toast behaviour (#9655)
* test bulk unverified sessions toast behaviour

* add more assertions for show/hide toast, fix strict errors
2022-12-01 08:47:20 +01:00
renovate[bot]
10666d2fa2
Update peter-evans/repository-dispatch action to v2 (#9677)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 07:45:26 +00:00
renovate[bot]
dece2810a7
Update dependency fs-extra to v11 (#9676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 07:45:19 +00:00
renovate[bot]
22db6fb99a
Update dependency @types/css-font-loading-module to ^0.0.7 (#9673)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 07:45:03 +00:00
renovate[bot]
37c066f804
Update actions/upload-artifact action to v3 (#9670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 06:34:29 +00:00
renovate[bot]
12232db7da
Update actions/github-script action to v6 (#9669)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 06:33:51 +00:00
renovate[bot]
7acb59ed48
Update actions/checkout action to v3 (#9668)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 06:33:34 +00:00
Eric Eastwood
ca58617cee
Add more debugging for why audio ring/ringback might not be playing (#9642)
* Add more debugging for why audio might not be playing

More debugging for https://github.com/vector-im/element-web/issues/20832

* Listen to events from <audio>

* Make it easier to spot event type

* Move to start/stop functions

* Fix some lints

* Protect from potentially undefined element

* Needs more mocked functions

* More code coverage

* Test formatting

* Add return types

See https://github.com/matrix-org/matrix-react-sdk/pull/9642#discussion_r1036274817

* Add comment on when magic comment is applicable

See https://github.com/matrix-org/matrix-react-sdk/pull/9642#discussion_r1036258757
2022-12-01 04:08:09 +00:00
Kerry
5583d07f25
add alpha as second sorting condition for device list (#9665) 2022-12-01 16:21:39 +13:00
Šimon Brandner
b0dfb2262e
Separate labs and betas more clearly (#8969)
* Separate labs and betas more clearly

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix tests

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Capitalize `L` in `Labs`

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use `labsSections` instead of `SdkConfig.get("show_labs_settings")`

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Link to `betas.md` instead of `labs.md`

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Change labs label back to `Labs`

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Improve labs section copy

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Improve labs flags copy

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* i18n

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix cypress tests

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Reduce diff

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Remove empty line

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix comment

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Remove margin-bottom for the last child

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Improve code based on review

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix ts

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Improve ts

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix ts

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Improve code

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Improve TS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-11-30 21:20:26 +00:00
ElementRobot
5cbb748843
Upgrade dependencies (#9249)
* [create-pull-request] automated change

* Delint

* Hold @types/react* back

* Pin axe-core until we fix a11y issues

Co-authored-by: t3chguy <t3chguy@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-11-30 15:18:10 +00:00
Andy Balaam
062b00c343
Merge branch 'develop' into bump-matrix-wysiwyg-to-0.8.0 2022-11-30 14:40:30 +00:00
Robin
d2109de4ca
Remove unused Element Call capabilities (#9653)
As of 44e22e268420bd4b24a110840e2edaca46653407 in the Element Call repo, Element Call widgets no longer request the capability to start calls.
2022-11-30 13:54:18 +00:00