Commit graph

44259 commits

Author SHA1 Message Date
Michael Weimann
22a2a93751
Only notify for first broadcast chunk (#9901)
* Only notify for first broadcast chunk

* Trigger CI
2023-01-17 09:04:36 +00:00
Michael Weimann
fe0d3a7668
Error handling if broadcast events could not be sent (#9885) 2023-01-17 07:57:59 +00:00
Andy Balaam
7af4891cb7
Merge pull request #9802 from nordeck/widget_state_no_update_invitation_room
State event updates are not forwarded to the widget from invitation room
2023-01-16 15:33:25 +00:00
Richard van der Hoff
a0de2254f3
Change the rageshake "app" for auto-rageshakes (#9909)
It's super-confusing to have most auto-rageshakes going to one rageshake app,
but a few to the main app. Let's change the default so we can stop it
happening.
2023-01-16 15:00:03 +00:00
Janne Mareike Koschinski
9ef4e14385
Replace outdated css attribute (#9912) 2023-01-16 14:46:54 +01:00
Michael Telatynski
2eef3c47e6
Clear isLogin theme override when user is no longer viewing login screens (#9911) 2023-01-16 09:49:41 +00:00
renovate[bot]
fdcfa92c37
Update dependency @percy/cli to v1.17.0 (#9916)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 09:07:46 +00:00
maheichyk
3c35774865
Merge branch 'develop' into widget_state_no_update_invitation_room 2023-01-16 12:07:36 +03:00
renovate[bot]
277f7258d9
Update tj-actions/changed-files action to v35 (#9917)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 09:06:32 +00:00
maheichyk
53a3f3861e
Merge branch 'develop' into widget_state_no_update_invitation_room 2023-01-16 11:31:08 +03:00
Mikhail Aheichyk
097d7fb5eb Comment fixed 2023-01-16 11:30:29 +03:00
Kerry
33e8a62dae
convert MPollBody tests into rtl (#9906)
* convert MPollBody tests into rtl

* strict fixes

* more strict

* more semantic assertions

* update types for extensible events changes
2023-01-16 01:25:33 +00:00
Kerry
0758b8cdfe
Device manager - tweak settings display (#9905)
* compound devices icon

* update icon for new session manager tab

* condense privacy > analytics / sessions sections slightly
2023-01-15 21:31:07 +00:00
Clark Fischer
2417482667
Fix error when viewing source of redacted events (#9914)
* Fix viewing source of redacted events

Clicking 'View Source' in the context menu of a redacted event causes an error,
and the user gets no visible result.

This fixes <ViewSource /> to indicate that the source is unavailable when a
message has been redacted. The original source remains available.

<SyntaxHighlight /> requires a non-null string for its `content` prop, and, in
the case of redacted events, <ViewSource /> was passing `undefined`. This is
ultimately because redacting an event causes `MatrixEvent.clearEvent` to be
`undefined`, which <ViewSource /> wasn't checking.

Fixes https://github.com/vector-im/element-web/issues/24165

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Use correct highlight.js call

Previous call signature was deprecated.

See https://github.com/highlightjs/highlight.js/issues/2277

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
2023-01-15 16:22:59 +00:00
Travis Ralston
badb2c4b27
Use js-sdk imports for poll event types instead of events-sdk (#9904)
* Use js-sdk imports for poll event types instead of events-sdk

* Attempt to appease some tsc --strict errors

* Manually create poll response in cypress test
2023-01-13 10:02:33 -07:00
alunturner
6052db1e8a
Add list functionality to rich text editor (#9871)
* adds buttons to toggle bulleted and numbered lists on and off
* adds icons for those buttons
* css changes to timeline display
* adds tests for the new buttons, refactors existing tests
2023-01-13 15:44:35 +00:00
Richard van der Hoff
7975b07128
Deflake new edited-event test (#9908)
We don't need to send as many padding events as we were; reducing the spam
speeds up the test and deflakes it.
2023-01-13 14:14:48 +00:00
maheichyk
7c24e8ce01
Merge branch 'develop' into widget_state_no_update_invitation_room 2023-01-13 15:04:35 +03:00
Mikhail Aheichyk
b3472753dc events.spec.ts is changed to use 'm.room.topic' instead of custom event 2023-01-13 14:53:06 +03:00
Andy Balaam
b9e987876b
Merge pull request #9771 from matrix-org/renovate/cypress-12.x
Update dependency cypress to v12
2023-01-13 11:35:15 +00:00
RiotRobot
fa8b9d2451 v3.64.0-rc.3 2023-01-13 10:47:41 +00:00
RiotRobot
0b1711202b Prepare changelog for v3.64.0-rc.3 2023-01-13 10:47:39 +00:00
RiotRobot
9e84a9b4e4 Upgrade matrix-js-sdk to 23.1.0-rc.3 2023-01-13 10:46:15 +00:00
Michael Telatynski
683b0928f3
Pass PR details to Cypress 2023-01-13 10:35:45 +00:00
Michael Telatynski
2acf78a9e4
Fix unstable cypress test 2023-01-13 10:25:50 +00:00
Michael Telatynski
fec67591e6
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into renovate/cypress-12.x 2023-01-12 17:22:01 +00:00
Michael Telatynski
b68dbeff67
Remove redundant option 2023-01-12 17:21:49 +00:00
Michael Telatynski
3874314e13
Parallelise Cypress runs once more (#9902) 2023-01-12 15:16:05 +00:00
maheichyk
0ba903715a
Merge branch 'develop' into widget_state_no_update_invitation_room 2023-01-12 17:58:25 +03:00
Michael Telatynski
0c30b577e0
Fix reply action in message context menu notif & file panels (#9895) 2023-01-12 14:52:52 +00:00
renovate[bot]
4afe4a10a0
Update dependency cypress to v12 2023-01-12 14:47:58 +00:00
Andy Balaam
098ba1465a
Merge pull request #9900 from andybalaam/andybalaam/bump-analytics-events-to-0.4.0
Bump analytics-events to 0.4.0 (allowing FavouriteMessages view)
2023-01-12 14:30:42 +00:00
RiotRobot
91c0bb6ffc v3.64.0-rc.2 2023-01-12 13:46:43 +00:00
RiotRobot
1f751e562e Prepare changelog for v3.64.0-rc.2 2023-01-12 13:46:41 +00:00
Andy Balaam
0493f810ad
Merge branch 'develop' into andybalaam/bump-analytics-events-to-0.4.0 2023-01-12 13:42:44 +00:00
RiotRobot
00fe13ff43 Upgrade matrix-js-sdk to 23.1.0-rc.2 2023-01-12 13:41:59 +00:00
Andy Balaam
4c5396f0fa Update yarn.lock 2023-01-12 13:31:17 +00:00
Michael Telatynski
030b7e90bf
Enable @typescript-eslint/explicit-function-return-type in /src (#9788)
* Enable `@typescript-eslint/explicit-member-accessibility` on /src

* Prettier

* Enable `@typescript-eslint/explicit-function-return-type` in /src

* Fix types

* tsc strict fixes

* Delint

* Fix test

* Fix bad merge
2023-01-12 13:25:14 +00:00
Andy Balaam
53a5a578d8 Bump analytics-events to 0.4.0 (allowing FavouriteMessages view) 2023-01-12 13:18:09 +00:00
Germain
f4ad9b29ac
[Release] Switch threads on for everyone (#9890)
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2023-01-12 12:34:40 +00:00
Mikhail Aheichyk
4f68742076 excluded 'leave' membership to fix the issue that events are not received by widget after re-invite 2023-01-12 14:37:23 +03:00
Janne Mareike Koschinski
7a36ba0fde
Fix issue where thread dropdown would not show up correctly (#9872)
* Fix issue where thread dropdown would not correctly
* Write additional test for both issues

- Thread dropdown should be shown if there is any thread, even if not participated
- Thread list correctly updates after every change of the dropdown immediately
2023-01-12 11:54:03 +01:00
Richard van der Hoff
1b5f06b16f
Add a Cypress test for displaying edited events (#9886)
MSC3925 is changing this, so let's make sure it keeps working.
2023-01-12 10:38:41 +00:00
Mikhail Aheichyk
0d7152a8d9 update the test after merge 2023-01-12 12:49:24 +03:00
Mikhail Aheichyk
73a8c5bcc4 Merge branch 'develop' into widget_state_no_update_invitation_room 2023-01-12 10:06:51 +03:00
renovate[bot]
7df462baf0
Update typescript-eslint monorepo to v5.48.0 (#9897)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-11 22:36:05 +00:00
Mikhail Aheichyk
f726314fa2 Merge branch 'develop' into widget_state_no_update_invitation_room 2023-01-11 23:15:08 +03:00
Michael Telatynski
f58d62d339
Fix accessing room prop which is optional (#9523)
Co-authored-by: Michael Weimann <michaelw@matrix.org>
2023-01-11 18:21:11 +00:00
Richard van der Hoff
575508ae15
Rewrite cy.all implementation (#9892)
The previous implementation was indecipherable, and didn't actually work.
2023-01-11 18:12:38 +00:00
Florian Duros
837115ece3
Fix unexpected composer growing (#9889)
* Stop the enter event propagation when a message is sent to avoid the composer to grow.
* Update @matrix-org/matrix-wysiwyg to 0.16.0
2023-01-11 17:56:01 +00:00