Commit Graph
44091 Commits
Author SHA1 Message Date
alunturnerandGitHub 9dbc5f3773 Add quotes to rich text editor (#9932)
* bump rich text editor to 0.20.0
* add new svg for the button
* show the button
* make the composer display look like the timeline display
2023-01-20 10:55:46 +00:00
Florian DurosandGitHub ad500973f4 Merge pull request #9948 from matrix-org/florianduros/fix/clear-RTE-earlier
Clear the RTE before sending a message
2023-01-20 11:21:39 +01:00
Florian Duros 075df4d1b3 Call Action.ClearAndFocusSendMessageComposer before sending a message 2023-01-20 10:42:25 +01:00
alunturnerandGitHub 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
devonhandGitHub 422802ea6d Add credentials when calling bootstrapCrossSigning in Cypress tests (#9919) 2023-01-19 16:19:07 +01:00
Florian DurosandGitHub 314b2e7ba6 Add new style for inline code (#9936)
Add new style for inline code
2023-01-19 13:42:59 +00:00
alunturnerandGitHub 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 DurosandGitHub b47588fc5c Fix {enter} press in RTE (#9927)
Fix enter combination in RTE
2023-01-19 09:17:18 +00:00
Michael WeimannandGitHub 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 BalaamandGitHub 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
GermainandAndy Balaam b49f83f3ae replace .at() with array.length-1 2023-01-18 21:17:59 +00:00
Andy BalaamandGitHub 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
Germain f0a7b2886e replace .at() with array.length-1 2023-01-18 16:43:18 +00:00
Janne Mareike KoschinskiandGitHub 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 WeimannandGitHub 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 DurosandGitHub dacbf76227 Disable multiple messages when {enter} is pressed multiple times (#9929) 2023-01-18 13:20:49 +00:00
Florian DurosandGitHub 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 WeimannandGitHub 70d3d03c15 Fix logout devices on password reset (#9925) 2023-01-18 08:25:03 +01:00
KerryandGitHub 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 WeimannandGitHub 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 WeimannandGitHub fe0d3a7668 Error handling if broadcast events could not be sent (#9885) 2023-01-17 07:57:59 +00:00
Andy BalaamandGitHub 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 HoffandGitHub 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 KoschinskiandGitHub 9ef4e14385 Replace outdated css attribute (#9912) 2023-01-16 14:46:54 +01:00
Michael TelatynskiandGitHub 2eef3c47e6 Clear isLogin theme override when user is no longer viewing login screens (#9911) 2023-01-16 09:49:41 +00:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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
maheichykandGitHub 3c35774865 Merge branch 'develop' into widget_state_no_update_invitation_room 2023-01-16 12:07:36 +03:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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
maheichykandGitHub 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
KerryandGitHub 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
KerryandGitHub 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 FischerandGitHub 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 RalstonandGitHub 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
alunturnerandGitHub 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 HoffandGitHub 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
maheichykandGitHub 7c24e8ce01 Merge branch 'develop' into widget_state_no_update_invitation_room 2023-01-13 15:04:35 +03:00