Commit Graph

1700 Commits

Author SHA1 Message Date
Travis Ralston 5b3367d44e Merge remote-tracking branch 'origin/develop' into travis/skinning/pt3-easy-comps 2021-03-09 09:33:19 -07:00
Travis Ralston 591ccabab9 Remove a bunch of useless 'use strict' definitions 2021-03-08 20:26:08 -07:00
Travis Ralston c359dff738 Batch of views getting replaceableComponent decorators 2021-03-08 20:23:34 -07:00
J. Ryan Stinnett b12cf7912a Merge pull request #5624 from SimonBrandner/show-room-name
Display room name in pills instead of address
2021-03-08 16:27:43 +00:00
J. Ryan Stinnett fca1639e0e Merge pull request #5725 from HelderFSFerreira/addClipboardWritePermission
Add clipboard write permission for widgets
2021-03-08 14:38:23 +00:00
Helder Ferreira f545866572 add clipboard write permission 2021-03-08 08:08:02 +00:00
David Baker e5b03488d8 Fix widget resizing
There was a line of CSS that set pointer-events: none on widget
iframes whilst they were being resized to stop iframes swallowing
the mousemove/up events while dragging the resize handle, but a)
all widgets are now in a persisted element wrapper and therefore
not in the right place in the DOM to get that CSS and b) that only
got set when resizing the whole aps drawer vertically, not dragging
the handle between apps to change the width distribution.

Add a pointer events prop to AppTile to allow the pointer-events
style to be set by the parent, and set it when dragging either
resize handle.

Fixes https://github.com/vector-im/element-web/issues/16473
2021-03-05 17:52:51 +00:00
J. Ryan Stinnett a5ee029c62 Merge pull request #5452 from SimonBrandner/feature-multi-language-spell-check
Add multi language spell check
2021-03-02 14:38:21 +00:00
Travis Ralston fbe5d17785 sanity 2021-02-24 18:27:59 -07:00
Travis Ralston e2fb9b3ae8 Clean up widgets when leaving the room 2021-02-24 18:10:35 -07:00
Šimon Brandner 2ebc1252cb Removed unnecessary functions
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 19:54:54 +01:00
Šimon Brandner 5de99c7708 Fix licenses
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 19:40:24 +01:00
Michael Telatynski 50252483c6 Remove stale unused components 2021-02-18 18:05:41 +00:00
Šimon Brandner bd0e5446c5 Merge branch 'develop' into feature-multi-language-spell-check 2021-02-18 18:16:16 +01:00
Michael Telatynski e1acf11e67 Create Room Name & Topic HOCs to simplify code elsewhere 2021-02-18 15:16:59 +00:00
Šimon Brandner 5072fb0608 Merge branch 'develop' into improve-layout-handling 2021-02-15 16:12:08 +01:00
Šimon Brandner d8a9b84af9 Don't show tooltip if there is nothing to display
We do this because resource is undefined for @room

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 14:28:39 +01:00
Šimon Brandner a975de22ef Fixed buggy tooltip
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 11:27:14 +01:00
Šimon Brandner f2137fe93f Merge branch 'develop' into show-room-name 2021-02-12 08:21:40 +01:00
Šimon Brandner 33979b3354 Added a tooltip
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 08:18:27 +01:00
Šimon Brandner 27b2b5b65d Make componentDidMount async
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-09 13:19:12 +01:00
Šimon Brandner 98e602f544 Avoid delayed displaying of sources
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-09 13:07:23 +01:00
David Baker cf5ec7720c Merge pull request #5525 from SimonBrandner/fix-screen-sharing
Fix desktop Matrix screen sharing and add a screen/window picker
2021-02-08 13:54:51 +00:00
Šimon Brandner ffc0230ab4 Use resource as a fallback
This is useful mainly for the tests they would otherwise fail as there is no room name to display while the tests are run.

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-06 19:09:34 +01:00
Šimon Brandner 58ab5c36bb Merge branch 'develop' into show-room-name 2021-02-06 15:27:04 +01:00
Šimon Brandner cc38bcf333 Display room name
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-06 15:09:21 +01:00
Šimon Brandner f2d236d429 Use LayoutPropType
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-05 08:17:30 +01:00
Travis Ralston 97584af947 Fix z-index of stickerpicker 2021-02-04 02:50:54 -07:00
Šimon Brandner 022781e9bc Added a comment about updating thumbnails
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-01 16:03:20 +01:00
Šimon Brandner 28ff4e6955 Move DesktopCapturerSource
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-01 15:53:53 +01:00
J. Ryan Stinnett 89b835dd20 Merge pull request #5575 from matrix-org/jryans/no-event-pills
Remove pills from event permalinks with text
2021-02-01 10:53:22 +00:00
Michael Telatynski 62712159f6 Merge pull request #5578 from matrix-org/t3chguy/sso_fixes
Improve SSO auth flow
2021-01-29 13:28:53 +00:00
Michael Telatynski 0167c3cefb Iterate SSO auth ux styling 2021-01-29 13:04:05 +00:00
Michael Telatynski 1eb88c988c Add tooltips to mini sso buttons 2021-01-29 12:05:15 +00:00
Travis Ralston 41682fa8d2 Update src/components/views/elements/PersistedElement.js 2021-01-27 20:37:04 -07:00
Michael Telatynski 34ae766893 Wire up MSC2858 brand attribute
For better brand adherance.
Also removes old support for https IdP icons.
2021-01-27 16:15:47 +00:00
J. Ryan Stinnett fa3ace8473 Rework message pilling to ignore event permalinks
This removes pills from event permalinks since they hide the text associated
with the link, which can cause nonsensical messages since words have been
removed. In addition, this moves away from fragile regexs to more
straightforward code to parse links and adds a test for this case.

Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/5188
Fixes https://github.com/vector-im/element-web/issues/15159
2021-01-27 11:46:20 +00:00
J. Ryan Stinnett 71921ad705 Remove unused isPillUrl 2021-01-26 14:11:09 +00:00
J. Ryan Stinnett 501c73ae4b Remove outdated comment 2021-01-26 14:08:39 +00:00
Šimon Brandner 02b552f958 Fixed 15221
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-24 12:56:44 +01:00
Šimon Brandner 972c947049 More generic layout setting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-23 10:35:35 +01:00
Michael Telatynski bb50cd56ee Merge pull request #5558 from matrix-org/t3hcguy/socialloginfixup
Improve styling of SSO Buttons for multiple IdPs
2021-01-22 10:37:46 +00:00
J. Ryan Stinnett 35bee5c5ea Merge pull request #5522 from SimonBrandner/room-dialog-fixes
Fixes for the general tab in the room dialog
2021-01-22 10:34:37 +00:00
Michael Telatynski 928ddeb718 Improve styling of SSO Buttons for multiple IdPs 2021-01-21 13:33:25 +00:00
J. Ryan Stinnett 6d932e1352 Fix lint errors 2021-01-14 17:38:06 +00:00
J. Ryan Stinnett 658a8dfa99 Use device storage for allowed widgets if account data not supported
With guest accounts, account data is not available, so we use device storage to
hold allowed widgets as a good enough place.

Fixes https://github.com/vector-im/element-web/issues/16145
2021-01-14 17:30:25 +00:00
Šimon Brandner eca8ef3b35 Update thumbnails
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-14 12:44:48 +01:00
Šimon Brandner 8f91b04eb3 Use contextBridge
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-14 08:35:04 +01:00
Šimon Brandner b2850e11db Merge remote-tracking branch 'upstream/develop' into fix-screen-sharing 2021-01-13 19:47:07 +01:00
Šimon Brandner 20b1720258 Added a line
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-05 21:08:25 +01:00