Commit Graph

44295 Commits (aded28ed25ff14e1906f1f21349ee1adb6f11ed4)

Author SHA1 Message Date
kegsay fcde4b7880
Merge branch 'develop' into kegan/lists-as-keys 2023-01-19 16:52:06 +00:00
alunturner a63da74f06
Add code blocks to rich text editor (#9921)
* Applies small changes to code block display in timeline
* Makes the composer code block look like the timeline display, but without line numbers
* Adds a button to allow code blocks to be implemented
* Adds tests for the new button
2023-01-19 15:49:21 +00:00
devonh 422802ea6d
Add credentials when calling bootstrapCrossSigning in Cypress tests (#9919) 2023-01-19 16:19:07 +01:00
Kegan Dougal eed7340663 Add additional tests 2023-01-19 15:02:48 +00:00
Florian Duros 314b2e7ba6
Add new style for inline code (#9936)
Add new style for inline code
2023-01-19 13:42:59 +00:00
Kegan Dougal 4db1928bcd Prettier and strict 2023-01-19 12:49:20 +00:00
Kegan Dougal 7c2dd7224f unbreak jest tests 2023-01-19 11:15:08 +00:00
Kegan Dougal 186938d32a prettier 2023-01-19 11:02:43 +00:00
alunturner 8a2e386531
Add disabled button state to rich text editor (#9930)
* add disabled css state
* conditionally apply disabled css state
* hides disabled tooltips
2023-01-19 09:24:29 +00:00
Florian Duros b47588fc5c
Fix {enter} press in RTE (#9927)
Fix enter combination in RTE
2023-01-19 09:17:18 +00:00
Michael Weimann eb43f3449e
Fix the problem that the password reset email has to be confirmed twice (#9926) 2023-01-19 09:03:48 +01:00
RiotRobot 576d103159 Reset matrix-js-sdk back to develop branch 2023-01-18 21:57:43 +00:00
RiotRobot 81d937cd68 Merge branch 'master' into develop 2023-01-18 21:57:18 +00:00
RiotRobot 8219e44596 v3.64.1 2023-01-18 21:57:02 +00:00
RiotRobot 8d4705647b Prepare changelog for v3.64.1 2023-01-18 21:57:00 +00:00
Andy Balaam 66e6eddcd4
Merge pull request #9935 from andybalaam/backport-9933-to-staging
replace .at() with array.length-1
2023-01-18 21:46:06 +00:00
Germain b49f83f3ae replace .at() with array.length-1 2023-01-18 21:17:59 +00:00
Andy Balaam 9ec4b0797e
Merge pull request #9933 from matrix-org/gsouquet/revert-at
replace .at() with array.length-1
2023-01-18 20:55:52 +00:00
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