Michael Weimann
29c193210f
Stop broadcasts on logout ( #9978 )
...
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2023-01-24 10:58:37 +00:00
Michael Weimann
7df973d569
Fix ongoing broadcast recording after connection error ( #9974 )
...
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2023-01-24 10:36:31 +00:00
Michael Weimann
533b250bb6
Handle broadcast chunk errors ( #9970 )
...
* Use strings for broadcast playback states
* Handle broadcast decode errors
2023-01-24 10:20:26 +00:00
Florian Duros
60edb85a1a
Merge pull request #9969 from matrix-org/florianduros/fix/thread-rte-focus
...
Fix RTE focus behaviour in threads
2023-01-24 09:51:31 +01:00
Michael Weimann
c1c50ec182
Stabilise seekign in broadcast ( #9968 )
2023-01-23 17:32:04 +01:00
Michael Weimann
ed06ed0185
Fix seekbar position for zero length audio ( #9949 )
2023-01-23 17:28:31 +01:00
Andy Balaam
51b4555106
Merge pull request #9934 from matrix-org/kegan/lists-as-keys
...
refactor: sliding sync: convert to lists-as-keys rather than indexes
2023-01-23 15:26:42 +00:00
Florian Duros
1da78fa6bc
Fix RTE focus behaviour in threads
2023-01-23 15:41:01 +01:00
Janne Mareike Koschinski
a0a419a3b8
Allow thread panel to be closed after being opened from notification ( #9937 )
...
* Allow thread panel to be closed after being opened from notification
* Add test to ensure the behavior is correct
2023-01-23 14:35:44 +01:00
Kegan Dougal
7616f71ff2
TS
2023-01-20 17:20:20 +00:00
kegsay
6ec25234d7
Merge branch 'develop' into kegan/lists-as-keys
2023-01-20 16:24:18 +00:00
Kegan Dougal
153a3a7998
Add hook test
2023-01-20 15:58:06 +00:00
Kegan Dougal
676c65b55c
More tests
2023-01-20 13:27:03 +00:00
Kegan Dougal
744abd935e
Linting
2023-01-20 12:46:51 +00:00
Kegan Dougal
6a75054e1a
More tests
2023-01-20 12:38:58 +00:00
alunturner
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
Kegan Dougal
769fd4a786
TS errors
2023-01-20 10:32:53 +00:00
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
Kegan Dougal
eed7340663
Add additional tests
2023-01-19 15:02:48 +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
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
Michael Weimann
6d354e3e10
Add test coverage ( #9928 )
2023-01-18 15:49:34 +01: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
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
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
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
Michael Telatynski
0c30b577e0
Fix reply action in message context menu notif & file panels ( #9895 )
2023-01-12 14:52:52 +00: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
Germain
d4f247d1fe
Merge branch 'develop' into gsouquet/threads-forceenablelabsflag
2023-01-11 11:51:57 +00:00
Patrick Cloke
da2640b7ba
Display rooms & threads as unread (bold) if threads have unread messages. ( #9763 )
...
Co-authored-by: Germain <germain@souquet.com>
Co-authored-by: Germain <germains@element.io>
Fixes https://github.com/vector-im/element-web/issues/23907
2023-01-11 11:49:03 +00:00
Germain
df03112a3b
Fix mock client missing user functions ( #9887 )
2023-01-11 11:33:06 +00:00
alunturner
880a86c8b1
Convert enzyme to rtl: UserInfo ( #9846 )
...
* converts tests from Enzyme to Rtl
* increases test coverage
2023-01-11 10:46:35 +00:00
Florian Duros
a691e634b0
Add edit and remove actions to link in RTE ( #9864 )
...
Add edit and remove actions to link in RTE
2023-01-11 10:10:55 +00:00
Travis Ralston
19ba620de2
Revert "Revert "Factor out `MessageEvent.from()` usage ( #9882 )""
...
This reverts commit 99e38ca88e
.
2023-01-10 13:43:15 -07:00
Travis Ralston
edc44922c2
Revert "Revert "Remove unused/disabled room list drag&drop tests ( #9883 )""
...
This reverts commit 0453283bed
.
2023-01-10 13:43:10 -07:00
Travis Ralston
0453283bed
Revert "Remove unused/disabled room list drag&drop tests ( #9883 )"
...
This reverts commit 34f0229d75
.
2023-01-10 13:32:11 -07:00
Travis Ralston
99e38ca88e
Revert "Factor out `MessageEvent.from()` usage ( #9882 )"
...
This reverts commit c09ca7b4ee
.
2023-01-10 13:32:07 -07:00
Travis Ralston
c09ca7b4ee
Factor out `MessageEvent.from()` usage ( #9882 )
...
* Factor out `MessageEvent.from()` usage
The class/function is disappearing from the events-sdk, at least in this form.
* Manually create contents for events used by cypress
The utility function is out of range of the calling code at runtime, for some reason.
* Run prettier
* Maybe this will fix the build
2023-01-10 09:20:10 -07:00
Travis Ralston
34f0229d75
Remove unused/disabled room list drag&drop tests ( #9883 )
...
It's been years since we've had drag and drop - just delete the test.
2023-01-10 09:20:02 -07:00
Johannes Marbach
c94a4abe3d
Merge pull request #9873 from matrix-org/johannes/polls-dialog-scaling
...
Make create poll dialog scale better (PSG-929)
2023-01-10 16:07:49 +01:00
Michael Weimann
4627456837
Prevent starting a voice message while recording a broadcast ( #9844 )
2023-01-10 15:51:20 +01:00
Johannes Marbach
5dfde12c1c
Merge branch 'develop' into johannes/polls-dialog-scaling
2023-01-10 12:14:50 +01:00