Commit Graph

16918 Commits

Author SHA1 Message Date
RiotRobot
a25fea9f96 Merge branch 'master' into develop 2022-01-31 14:57:13 +00:00
Kerry
085ecc7f5f Chat export parameter customisation (#7647)
* use export settings and hide fields

Signed-off-by: Kerry Archibald <kerrya@element.io>

* fix exporter tests

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test ExportDialog with settings

Signed-off-by: Kerry Archibald <kerrya@element.io>

* tidy debugs, rename setting to Parameters

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use reasonable 100gb limit

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use normal setting instead of UIFeature

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use a customisation

Signed-off-by: Kerry Archibald <kerrya@element.io>

* move validateNumberInRange to utils

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use nullish coalesce

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use 8gb size limit for customisation

Signed-off-by: Kerry Archibald <kerrya@element.io>

* update comments

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-31 12:54:14 +01:00
Šimon Brandner
ad87ee0a0f Don't show shield next to deleted messages (#7671) 2022-01-31 11:21:13 +00:00
Andy Balaam
b5a56698d6 Refactor MessageComposerButtons (#7668) 2022-01-31 09:19:26 +00:00
David Baker
7c20eb9b74 Put call on hold when transfer dialog is opened (#7669)
And take it off hold if the dialog is cancelled.

Also changes the onFinished signature of invitedialog which claimed
to return an array of strings but never did, so now it just returns
a boolean.
2022-01-28 17:05:57 +00:00
Travis Ralston
b04d2de313 Fix left panel widgets causing app-wide crash (#7659) 2022-01-28 08:52:46 -07:00
Travis Ralston
cb2c835c09 Fix left panel widgets causing app-wide crash (#7660) 2022-01-28 08:52:28 -07:00
Andy Balaam
2229437424 Refactor renderButtons() into MessageComposerButtons component (#7664) 2022-01-28 15:44:03 +00:00
Andy Balaam
0c10385dd2 Remove unused code from Stickerpicker (#7663)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-28 12:22:45 +00:00
Andy Balaam
344b506184 Rename properties related to Stickers (#7662)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-28 10:58:58 +00:00
Michael Telatynski
cbc671b19f Share e2ee keys when using /invite SlashCommand (#7655) 2022-01-28 10:02:37 +00:00
Andy Balaam
15276ea3b4 Render no buttons if we have a voice recording (#7658) 2022-01-28 09:39:10 +00:00
Eric Eastwood
7fa27f5834 Add jump to date functionality to date headers in timeline v2 (#7339)
Fix https://github.com/vector-im/element-web/issues/7677

Utilizes MSC3030: https://github.com/matrix-org/matrix-doc/pull/3030

https://user-images.githubusercontent.com/558581/150060664-79627573-f4fd-497c-b726-dc3485854bd0.png
2022-01-27 16:32:12 -06:00
J. Ryan Stinnett
efa1667d7e Remove Unpin option from maximised widget context menu (#7657) 2022-01-27 17:08:09 +00:00
Michael Telatynski
51446378e3 Tweak spotlight roving behaviour to reset when changing query (#7656) 2022-01-27 16:40:22 +00:00
Michael Telatynski
b77d31bb4f Fix new call event grouper implementation for encrypted rooms (#7654) 2022-01-27 16:40:06 +00:00
Michael Telatynski
074fec359b Fix issue with tile error boundaries collapsing in bubbles layout (#7653) 2022-01-27 13:34:26 +00:00
Šimon Brandner
57a5647079 Work towards unifying KeyboardShortcuts and KeyBindingsDefaults #1 (#7651) 2022-01-27 11:37:53 +00:00
Michael Telatynski
f2249b3e37 Fix CallEventGrouper map building to not occur during a Render phase (#7638) 2022-01-27 11:08:28 +00:00
Andy Balaam
ae490841c6 Look up tile server info in homeserver's .well-known area (#7623) 2022-01-27 09:51:06 +00:00
Michael Telatynski
3ff4c6808f Fix space panel edge gradient not applying on load (#7644) 2022-01-27 09:36:58 +00:00
Kerry
3eca71bc84 Unit test ExportDialog (#7619)
* add test ids to dialog buttons

Signed-off-by: Kerry Archibald <kerrya@element.io>

* unit test ExportDialog

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove extra snapshot

Signed-off-by: Kerry Archibald <kerrya@element.io>

* fix bad snapshots

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove wrappers from snapshot

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-27 09:55:08 +01:00
Michael Telatynski
50f8c61fa8 Fix search results view for layouts other than Group/Modern (#7648) 2022-01-26 20:15:44 +00:00
Faye Duxovni
31e6b942f2 Redirect UISI autorageshakes to separate repo and add more labels for filtering (#7598)
This adds a new key `uisi_autorageshake_app` to config.json, holding an optional custom app name for UISI autorageshakes so that the rageshake server can file them separately from user-submitted rageshakes.
2022-01-26 14:30:45 -05:00
Michael Telatynski
2f209c4346 Add grouper for hidden events (#7649) 2022-01-26 19:10:16 +00:00
Germain
00e868f371 Use null guarded thread getter in EventTile (#7646)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-26 17:51:15 +00:00
Germain Souquet
5a183c590e Use null guarded thread getter in EventTile 2022-01-26 17:15:36 +00:00
UwUnyaa
debf4caade Add a keyboard shortcut to toggle hidden event visibility when labs are enabled. (#7584)
Notes: The keyboard shortcut is control (or cmd) shift h.
Signed-off-by: Katarzyna Stachura <uwunyaa@outlook.com>
2022-01-26 16:50:47 +00:00
Michael Telatynski
79d9a0c0f7 Fix soft-crash when hanging up Jitsi via PIP (#7645) 2022-01-26 15:28:04 +00:00
Germain
038f67e844 Improved threads stability (#7639)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-26 14:11:09 +00:00
Michael Telatynski
8e4ced6454 Correctly handle Room.timeline events which have a nullable Room (#7635) 2022-01-26 13:24:14 +00:00
Michael Telatynski
d239697384 Fix React unique key errors (#7640) 2022-01-26 13:01:29 +00:00
Michael Telatynski
b7099f84c3 Translate keyboard shortcut alternate key names (#7633) 2022-01-26 10:15:06 +00:00
Michael Telatynski
88cd2f8af7 Fix unfocused paste handling and focus return for file uploads (#7625) 2022-01-26 09:04:19 +00:00
Michael Telatynski
04f8228741 Tweak room list header menu for when space is active (#7577)
* Remove start chat entry from space-variant room list header + menu

* Add options to the RoomListHeader plus menu

* Tweak behaviour of room list header + menu space variant explore action
2022-01-25 20:21:38 +00:00
J. Ryan Stinnett
fad65f9582 Add body link fallback handler for in-app navigation (#7627) 2022-01-25 14:31:00 +00:00
Michael Telatynski
ede94e7506 Fix weirdnesses with the spotlight dialog (#7624) 2022-01-25 13:55:38 +00:00
Michael Telatynski
fb49ccce35 Show bubble tile timestamps for bubble layout inside the bubble (#7622) 2022-01-25 13:10:17 +00:00
Michael Telatynski
8ddd677c35 De-labs Metaspaces (#7613) 2022-01-25 12:33:17 +00:00
Germain
ecd5be8a8f Update lastReply to filter out local event ID from thread fallback (#7620) 2022-01-25 10:51:17 +00:00
Michael Telatynski
1d02e61655 Improve taken username warning in registration for when request fails (#7621) 2022-01-25 10:45:41 +00:00
Michael Telatynski
68024c156a De-labs Message Bubbles layout (#7612) 2022-01-25 10:12:05 +00:00
Kerry
502b805164 Add customisation point for mxid display (#7595)
* add wrapping component for hiding UI

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add Setting

Signed-off-by: Kerry Archibald <kerrya@element.io>

* apply setting to profile settings, user menu, invite dialog, userinfo

Signed-off-by: Kerry Archibald <kerrya@element.io>

* hide mxids in user autocomplete

* remove mxids from title in memeber list and timeline

Signed-off-by: Kerry Archibald <kerrya@element.io>

* hide mxid in ConfirmUserActionDialog

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use name in power level event message when displayMxids is falsy

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add customisation point for mxid display

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use userid customisation

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use customisation in sender profile

Signed-off-by: Kerry Archibald <kerrya@element.io>

* hide profile settings mxid if falsy

Signed-off-by: Kerry Archibald <kerrya@element.io>

* rename and move to components

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove change to UIFeature.ts

Signed-off-by: Kerry Archibald <kerrya@element.io>

* improvements from pr

Signed-off-by: Kerry Archibald <kerrya@element.io>

* lint fix

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-25 10:40:02 +01:00
Kerry
b481fc069e Wrapping component to show/hide UI based on UIFeature setting (#7585)
* add wrapping component for hiding UI

Signed-off-by: Kerry Archibald <kerrya@element.io>

* rename and move to components

Signed-off-by: Kerry Archibald <kerrya@element.io>

* prefix interface and add missing copyright

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove roomId prop

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-25 10:25:41 +01:00
Charlie Calendre
6ac3a92513 Avoid double dialog after clicking to remove a public room (#7604)
Fixes https://github.com/vector-im/element-web/issues/20681
2022-01-24 13:20:53 -07:00
Michael Telatynski
777af0cf10 Bubble layout fixes to media events (#7615) 2022-01-24 19:01:20 +00:00
Michael Telatynski
4540cf5b77 Tweak copy for the Sidebar tab in User Settings (#7578) 2022-01-24 16:58:36 +00:00
Michael Telatynski
d75c1bc0d6 Fall back to legacy analytics for guest users (#7616) 2022-01-24 15:58:31 +00:00
Timo
9d9b77d5e1 Make widgets not reload (persistent) between center and top container (#7575) 2022-01-24 15:24:30 +00:00
Kerry
26e1570dd6 a11y - fix iframes without title (#7614)
* iframe title in AppTile

Signed-off-by: Kerry Archibald <kerrya@element.io>

* iframe title in hostSignupDialog

Signed-off-by: Kerry Archibald <kerrya@element.io>

* iframe title in MFileBody

* iframe titles in modal widget and int man

Signed-off-by: Kerry Archibald <kerrya@element.io>

* enable jsx-a11y/iframe-has-title rule

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-24 14:07:54 +00:00