Commit graph

24560 commits

Author SHA1 Message Date
Michael Telatynski
accd2492a3 i18n 2021-02-02 13:01:57 +00:00
Michael Telatynski
69b2d67250
Update src/Lifecycle.ts
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-02-02 12:58:31 +00:00
Michael Telatynski
5d86c2f8e0 Better errors for SSO failures 2021-02-01 16:42:58 +00: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
799753d2b2
Merge pull request #5565 from SimonBrandner/fix-13090
Scroll to bottom on message_sent
2021-02-01 13:04:38 +00:00
J. Ryan Stinnett
a32495ba9e
Merge pull request #5587 from dangwynne/develop
Fix new rooms being titled 'Empty Room'
2021-02-01 13:01:38 +00:00
Michael Telatynski
741b3f76ee
Merge pull request #5593 from SimonBrandner/fix-collapsing-of-left-panel
Fix saving the collapsed state of the left panel
2021-02-01 12:50:37 +00:00
Michael Telatynski
077ceeb20d Fix RoomView re-mounting breaking peeking
Because as of React 16 order of unmount & re-mount is undefined
this was causing the possibility of the unmount running after
the willMount of the replacement RoomView, upsetting the state
of the singleton inside the js-sdk.
2021-02-01 12:29:11 +00:00
Michael Telatynski
72263a4a56
Merge pull request #5602 from matrix-org/t3chguy/peeking
Fix RoomView re-mounting breaking peeking
2021-02-01 12:26:42 +00:00
J. Ryan Stinnett
50452d52ff
Merge pull request #5592 from matrix-org/jryans/opt-room-id
Tweak a few room ID checks
2021-02-01 10:54:29 +00: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
53334de5a9 Fix RoomView re-mounting breaking peeking
Because as of React 16 order of unmount & re-mount is undefined
this was causing the possibility of the unmount running after
the willMount of the replacement RoomView, upsetting the state
of the singleton inside the js-sdk.
2021-01-31 16:09:11 +00:00
Šimon Brandner
8a50b7bcbb
Properly handle closing encryption panel
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-30 10:22:11 +01:00
Šimon Brandner
73ab074219
Properly handle closing the panel while verifying
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-30 10:22:04 +01:00
Šimon Brandner
1360f551ce
Back button should send you to member info
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-30 08:54:08 +01:00
Šimon Brandner
4cf03e4c10
Added optional refireParams
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-30 08:51:26 +01:00
Šimon Brandner
eee6a509c7
Close button should always close the panel
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-30 08:04:25 +01:00
Priit Jõerüüt
34c198a2ed Translated using Weblate (Estonian)
Currently translated at 100.0% (2739 of 2739 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-01-29 17:13:00 +00:00
@a2sc:matrix.org
1715705643 Translated using Weblate (German)
Currently translated at 100.0% (2739 of 2739 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-01-29 17:12:57 +00:00
Weblate
f0a83b24df Merge branch 'origin/develop' into Weblate. 2021-01-29 16:40:42 +00:00
J. Ryan Stinnett
f8192a8314 Support managed hybrid widgets from config
This adds additional support to the managed hybrid widget experiment to also
support pulling the build URL from Element config.
2021-01-29 16:26:34 +00:00
Weblate
d25e13148e Merge branch 'origin/develop' into Weblate. 2021-01-29 16:03:28 +00:00
J. Ryan Stinnett
3f89da9b8f
Merge pull request #5594 from matrix-org/jryans/hybrid-call-widget
Add managed hybrid call widgets when supported
2021-01-29 16:03:20 +00:00
Weblate
1e8d2693f4 Merge branch 'origin/develop' into Weblate. 2021-01-29 15:49:18 +00:00
@a2sc:matrix.org
efc74b507d Translated using Weblate (German)
Currently translated at 99.8% (2734 of 2738 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-01-29 15:49:18 +00:00
J. Ryan Stinnett
0cb1d1dc95 Tweak mobile guide toast copy 2021-01-29 15:30:13 +00:00
J. Ryan Stinnett
2c313e0c5e Add managed hybrid call widgets when supported
If your homeserver is configured with an experiment `widget_build_url`, this
will take over the functionality of the call buttons and turn them into a
general widget installer.
2021-01-29 14:45:25 +00:00
Weblate
ae8a5d13e2 Merge branch 'origin/develop' into Weblate. 2021-01-29 13:29:03 +00:00
waclaw66
1819aecffd Translated using Weblate (Czech)
Currently translated at 100.0% (2737 of 2737 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-01-29 13:29:03 +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
0eb0d242d5
Apply suggestions from code review
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-01-29 13:05:09 +00:00
Michael Telatynski
0167c3cefb Iterate SSO auth ux styling 2021-01-29 13:04:05 +00:00
Šimon Brandner
9c5af8b61e
Fix collapsing of the left panel
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-29 13:19:09 +01:00
Michael Telatynski
1eb88c988c Add tooltips to mini sso buttons 2021-01-29 12:05:15 +00:00
dangwynne
dc81496c3b add optional chaining operator 2021-01-29 11:31:21 +00:00
Weblate
096b13ea81 Merge branch 'origin/develop' into Weblate. 2021-01-29 11:18:16 +00:00
J. Ryan Stinnett
b8e3908ee2
Merge pull request #5586 from matrix-org/jryans/maybe-mobile
Add optional mobile guide toast
2021-01-29 11:18:08 +00:00
J. Ryan Stinnett
c9a6214256 Tweak a few room ID checks 2021-01-29 11:15:30 +00:00
Weblate
7698ba3bb1 Merge branch 'origin/develop' into Weblate. 2021-01-29 10:26:48 +00:00
Priit Jõerüüt
733d408549 Translated using Weblate (Estonian)
Currently translated at 100.0% (2735 of 2735 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-01-29 10:13:22 +00:00
waclaw66
a03c32ad72 Translated using Weblate (Czech)
Currently translated at 100.0% (2735 of 2735 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-01-29 10:13:20 +00:00
Jeff Huang
fd427b7aeb Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2735 of 2735 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-01-29 10:13:17 +00:00
LinAGKar
9aae8fc01b Translated using Weblate (Swedish)
Currently translated at 98.9% (2705 of 2735 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-01-29 10:13:15 +00:00
NetanelHarris
4474e14186 Translated using Weblate (Hebrew)
Currently translated at 99.2% (2714 of 2735 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/he/
2021-01-29 10:13:11 +00:00
Šimon Brandner
4f065ad822
Fix escape for cancelling replies
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-29 10:31:59 +01:00
dangwynne
992247201e Fix issue #16270 new rooms are titled 'Empty Room'. Signed-off-by: Dan Gwynne dangwynne1@gmail.com 2021-01-28 20:36:33 +00:00
J. Ryan Stinnett
2996ceca52 Add optional mobile guide toast
This adds an optional toast which Element deployments can enable to nudge users
towards the mobile apps once they are inside the app.

Part of https://github.com/vector-im/element-web/issues/16283
2021-01-28 17:21:36 +00:00
Weblate
cff7ffd502 Merge branch 'origin/develop' into Weblate. 2021-01-28 16:17:15 +00:00
J. Ryan Stinnett
f113748520
Merge pull request #5540 from SimonBrandner/dm-conversion-commands
Add commands for DM conversion
2021-01-28 16:17:07 +00:00
Weblate
5f250c05e7 Merge branch 'origin/develop' into Weblate. 2021-01-28 14:47:17 +00:00
Travis Ralston
310a2e9b2a
Merge pull request #5580 from matrix-org/travis/widgets/oidc-verif-diag
Run a UI refresh over the OIDC Exchange confirmation dialog
2021-01-28 07:47:11 -07:00
Weblate
f24d8a32f5 Merge branch 'origin/develop' into Weblate. 2021-01-28 14:46:25 +00:00
Travis Ralston
d6dbe5596a
Merge pull request #5581 from matrix-org/travis/widgets/sticker-picker
Allow stickerpickers the legacy "visibility" capability
2021-01-28 07:46:17 -07:00
Weblate
d28521123e Merge branch 'origin/develop' into Weblate. 2021-01-28 12:50:00 +00:00
J. Ryan Stinnett
4920614ca5
Merge pull request #5529 from SimonBrandner/hide-local-feed
Hide local video if it is muted
2021-01-28 12:49:52 +00:00
Weblate
4f96064a1d Merge branch 'origin/develop' into Weblate. 2021-01-28 12:33:38 +00:00
J. Ryan Stinnett
5431dc7331
Merge pull request #5548 from SimonBrandner/add-search-shortcut
Add optional search shortcut
2021-01-28 12:33:32 +00:00
Weblate
1499f9a209 Merge branch 'origin/develop' into Weblate. 2021-01-28 12:25:56 +00:00
J. Ryan Stinnett
08d495eee8
Merge pull request #5584 from 2580ayush2580/ayush25805
Fix Sudden 'find a room' UI shows up when the only room moves to favourites
2021-01-28 12:25:47 +00:00
Michael Telatynski
fd4109b8ad fix tests by reverting if removal 2021-01-28 11:00:04 +00:00
Michael Telatynski
1761a4ec80 Improve SSO UIA
Fixes Fallback UIA postmessage interface
Auto-closes SSO UIA tab when the user has completed the flow within it
Error for when auth stage is restarted because it failed
2021-01-28 10:45:29 +00:00
Weblate
60bbcf6f11 Merge branch 'origin/develop' into Weblate. 2021-01-28 03:37:21 +00:00
MusiCode1
317b370b59 Translated using Weblate (Hebrew)
Currently translated at 98.7% (2696 of 2731 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/he/
2021-01-28 03:37:21 +00:00
Travis Ralston
41068c7849
Merge pull request #5568 from SimonBrandner/fix-15221
Increase PersistedElement's z-index
2021-01-27 20:37:11 -07:00
Travis Ralston
41682fa8d2
Update src/components/views/elements/PersistedElement.js 2021-01-27 20:37:04 -07:00
Weblate
f01511cfd4 Merge branch 'origin/develop' into Weblate. 2021-01-27 21:59:42 +00:00
Weblate
6f7d4833fe Merge branch 'origin/develop' into Weblate. 2021-01-27 21:59:37 +00:00
MusiCode1
14caa2f0a1 Translated using Weblate (Hebrew)
Currently translated at 98.5% (2691 of 2731 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/he/
2021-01-27 21:59:37 +00:00
c-cal
dd5911e7e5 Translated using Weblate (French)
Currently translated at 97.2% (2655 of 2731 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-01-27 21:59:35 +00:00
Travis Ralston
61f6fa0633
Merge pull request #5582 from matrix-org/travis/widgets/fix-jitsi-unpin
Remove check that prevents Jitsi widgets from being unpinned
2021-01-27 14:59:34 -07:00
Travis Ralston
c1b33d3e2c Fix Jitsi widgets causing localized tile crashes
Seems to be that as part of the layout work the timing sequence for when `.getRoom().widgets` will work changed. We can get around this with `initIfNeeded` which will no-op in the worst case.

This also includes a copy change to make ended conferences stop lying about where to find the widget. This is work towards https://github.com/vector-im/element-web/issues/15739
2021-01-27 14:40:04 -07:00
Ayush Kumar
2c11f0bb7c Added condition to hide the 'find a room' UI unless the user is explicitly filtering the list 2021-01-28 03:09:52 +05:30
Travis Ralston
08b067fd68 Remove check that prevents Jitsi widgets from being unpinned
Later in the code we do a conditional on the widget type to auto-pin the widget, so we don't need this one to force the widget higher.

Fixes https://github.com/vector-im/element-web/issues/16280
2021-01-27 14:31:48 -07:00
Travis Ralston
edb363b751 Allow stickerpickers the legacy "visibility" capability
Fixes https://github.com/vector-im/element-web/issues/16237
2021-01-27 14:22:55 -07:00
Travis Ralston
db346d129b Run a UI refresh over the OIDC Exchange confirmation dialog 2021-01-27 13:13:44 -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
Weblate
b6d1342ab6 Merge branch 'origin/develop' into Weblate. 2021-01-27 16:01:13 +00:00
David Baker
33a86f6cbe
Merge pull request #5573 from matrix-org/dbkr/callstats
Log candidates for calls
2021-01-27 16:01:06 +00:00
Weblate
d2036e93c9 Merge branch 'origin/develop' into Weblate. 2021-01-27 14:01:58 +00:00
Slobodan Simić
4975e0245b Translated using Weblate (Serbian)
Currently translated at 47.9% (1309 of 2731 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sr/
2021-01-27 14:01:57 +00:00
J. Ryan Stinnett
51aab9ca08 Fix import style for commonmark 2021-01-27 13:06:59 +00:00
Michael Telatynski
e6673bca1b Improve SSO auth flow
Use replaceState instead of a redirect to strip the loginToken
Put user into the same post-auth flows of E2ESetup
Skip UIA prompt in this post-auth flow, happy path is a server grace period
2021-01-27 12:50:12 +00:00
J. Ryan Stinnett
d78bc98521 Resolve linting errors after upgrades 2021-01-27 12:42:39 +00:00
J. Ryan Stinnett
84b1f2e6c6 Resolve typing errors after TypeScript upgrade 2021-01-27 12:42:37 +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
David Baker
9ac31747f6 This was missing a break somehow 2021-01-27 10:36:40 +00:00
Weblate
075d03227c Merge branch 'origin/develop' into Weblate. 2021-01-27 00:02:33 +00:00
J. Ryan Stinnett
048a3f6ec8
Merge pull request #5566 from 2580ayush2580/ayush25803
Fix "Continuing without email" dialog bug
2021-01-27 00:02:26 +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
Weblate
c001d8c58e Merge branch 'origin/develop' into Weblate. 2021-01-26 11:59:12 +00:00
Samu Voutilainen
1181489cbf Translated using Weblate (Finnish)
Currently translated at 94.7% (2587 of 2731 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fi/
2021-01-26 11:59:12 +00:00
Ihor Hordiichuk
36a34008c0 Translated using Weblate (Ukrainian)
Currently translated at 53.8% (1471 of 2731 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2021-01-26 11:59:10 +00:00
J. Ryan Stinnett
e327551399
Merge pull request #5574 from matrix-org/jryans/verify-require-reg
Require registration for verification actions
2021-01-26 11:58:59 +00:00
J. Ryan Stinnett
52bc36fc79 Require registration for verification actions
Fixes https://github.com/vector-im/element-web/issues/16277
2021-01-26 11:00:56 +00:00
David Baker
e43adef438 firefox uses 'address' instead of 'ip' 2021-01-26 10:52:35 +00:00
David Baker
ec0266d82b Log candidates for calls
First attempt at this was sending everything from
RTCPeerConnection.getStats() as a separate item in the rageshake,
but the rageshake server doesn't handle that in a particularly sensible
way and it's probably better to pick & choose what data we want explicitly
from a privacy PoV. This summarises the candidates used for the calls into
the log that will be included in rageshakes so we can diagnose connectivity
issues from rageshakes.

Requires https://github.com/matrix-org/matrix-js-sdk/pull/1584
2021-01-26 09:41:57 +00:00
Weblate
cd78d88863 Merge branch 'origin/develop' into Weblate. 2021-01-25 16:39:52 +00:00
David Baker
303694754b
Merge pull request #5572 from matrix-org/dbkr/dont_play_hangup_sound_when_answered_elsewhere
Don't play the hangup sound when the call is answered from elsewhere
2021-01-25 16:39:44 +00:00