Commit graph

44227 commits

Author SHA1 Message Date
Kegan Dougal
c34df2bf96 Remove const from hook 2023-01-18 17:24:31 +00:00
Kegan Dougal
21f0825703 refactor: sliding sync: convert to lists-as-keys rather than indexes
Sister PR to https://github.com/matrix-org/matrix-js-sdk/pull/3076
2023-01-18 17:19:12 +00:00
Germain
f0a7b2886e replace .at() with array.length-1 2023-01-18 16:43:18 +00:00
Janne Mareike Koschinski
4d2b27a96d
Fix broken threads list timestamp layout (#9922)
* Add option to show full identifier as tooltip on sender profiles
* Show full user id as tooltip on threads list entries
* Fix broken threads list timestamp layout

Previously, thread list timestamps would overflow
into the unread messages bubble on the right.

This is fixed by resetting the width of the
timestamp and ensuring both the timestamp and the
display name can shrink if necessary.
Both now also use ellipses if necessary.
2023-01-18 15:56:43 +01:00
Michael Weimann
6d354e3e10
Add test coverage (#9928) 2023-01-18 15:49:34 +01:00
RiotRobot
baa120fff3 Reset matrix-js-sdk back to develop branch 2023-01-18 13:49:03 +00:00
RiotRobot
d8947d0168 Resetting package fields for development 2023-01-18 13:48:11 +00:00
RiotRobot
2f3bc6c818 Merge branch 'master' into develop 2023-01-18 13:48:04 +00:00
RiotRobot
57a003f76e v3.64.0 2023-01-18 13:47:40 +00:00
RiotRobot
c8c181a652 Prepare changelog for v3.64.0 2023-01-18 13:47:38 +00:00
RiotRobot
46a024e831 Upgrade matrix-js-sdk to 23.1.0 2023-01-18 13:44:32 +00:00
Florian Duros
dacbf76227
Disable multiple messages when {enter} is pressed multiple times (#9929) 2023-01-18 13:20:49 +00:00
Florian Duros
e4a9684d76
Fix cypress RTE flaky test (#9920)
* Update @matrix-org/matrix-wysiwyg to 0.19.0
* Press {enter} to send message
2023-01-18 10:09:25 +01:00
Michael Weimann
70d3d03c15
Fix logout devices on password reset (#9925) 2023-01-18 08:25:03 +01:00
Kerry
62913218d2
use 100% rather than auto with for reply tile width (#9924) 2023-01-18 14:57:58 +13:00
RiotRobot
98049b503b v3.64.0-rc.4 2023-01-17 09:19:34 +00:00
RiotRobot
14934354cb Prepare changelog for v3.64.0-rc.4 2023-01-17 09:19:31 +00:00
RiotRobot
0728580224 Upgrade matrix-js-sdk to 23.1.0-rc.4 2023-01-17 09:17:40 +00:00
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