Commit Graph

22731 Commits (bfa269a8487a4c3093aabc541eebe015881cba2c)

Author SHA1 Message Date
Travis Ralston d11ce5fade
Merge pull request #5207 from matrix-org/travis/ui-func/e2e-icons
Remove defunct "always show encryption icons" setting
2020-09-15 08:52:19 -06:00
Michael Telatynski 6c166f0560 If no bug_report_endpoint_url, hide rageshaking from the App 2020-09-15 15:49:25 +01:00
Weblate 3aeefa98f4 Merge branch 'origin/develop' into Weblate. 2020-09-15 13:09:45 +00:00
LinAGKar c605c3636b Translated using Weblate (Swedish)
Currently translated at 100.0% (2375 of 2375 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-09-15 13:09:45 +00:00
Jeff Huang 0e3c478e38 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2375 of 2375 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/zh_Hant/
2020-09-15 13:09:45 +00:00
linsui d643f908b1 Translated using Weblate (Chinese (Simplified))
Currently translated at 97.5% (2316 of 2375 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/zh_Hans/
2020-09-15 13:09:44 +00:00
Michael Telatynski 9a3c30b1f1
Merge pull request #5203 from matrix-org/t3chguy/fix/15150
Don't show Notifications Prompt Toast if user has master rule enabled
2020-09-15 14:09:38 +01:00
Michael Telatynski 6b5426bddd Rename toolbar Notifier methods to prompt 2020-09-15 13:58:29 +01:00
Michael Telatynski 608249745a Attempt to fix tests some more 2020-09-15 13:19:47 +01:00
Michael Telatynski 5202037eeb Retry joinRoom up to 5 times in the case of a 504 GATEWAY TIMEOUT 2020-09-15 12:02:12 +01:00
Travis Ralston 0cac6874d4 Update i18n 2020-09-14 22:31:45 -06:00
Travis Ralston f4f30a3274 Introduce a concept of UI features, using it for URL previews at first
Fixes https://github.com/vector-im/element-web/issues/15176

This is effectively the base for all of https://github.com/vector-im/element-web/issues/15185
2020-09-14 22:28:02 -06:00
Travis Ralston b177843e45 Remove defunct "always show encryption icons" setting
It doesn't do anything in practice.

Fixes https://github.com/vector-im/element-web/issues/8725
2020-09-14 22:03:54 -06:00
Travis Ralston 61e8d3e3d7 Merge branch 'develop' into travis/3pid-invites 2020-09-14 11:50:08 -06:00
Weblate 9bf4891182 Merge branch 'origin/develop' into Weblate. 2020-09-14 16:09:51 +00:00
Michael Telatynski ab91ce4b2d
Merge pull request #5206 from matrix-org/t3chguy/fix/15170
Fix Bridges tab crashing when the room does not have bridges
2020-09-14 17:09:46 +01:00
Michael Telatynski e32cb175cb Fix Bridges tab crashing when the room does not have bridges 2020-09-14 15:44:00 +01:00
Weblate cf3917d638 Merge branch 'origin/develop' into Weblate. 2020-09-14 14:38:16 +00:00
Michael Telatynski e261a18183
Merge pull request #5202 from matrix-org/t3chguy/fix/15140
Don't count widgets which no longer exist towards pinned count
2020-09-14 15:38:10 +01:00
Weblate 3b44958323 Merge branch 'origin/develop' into Weblate. 2020-09-14 14:38:08 +00:00
random 9a3dfe5235 Translated using Weblate (Italian)
Currently translated at 100.0% (2375 of 2375 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/it/
2020-09-14 14:38:08 +00:00
Michael Telatynski fa50b31fd2 Fix crashes with cannot read isResizing of undefined 2020-09-14 15:20:06 +01:00
Michael Telatynski 229967aa33 Retry joinRoom up to 5 times in the case of a 504 GATEWAY TIMEOUT 2020-09-14 15:16:29 +01:00
Michael Telatynski 493d3ae288 Don't show Notifications Prompt Toast if user has master rule enabled 2020-09-14 14:35:08 +01:00
Michael Telatynski 73608c4aa9 Don't count widgets which no longer exist towards pinned count 2020-09-14 14:03:51 +01:00
Nikita Epifanov f6a405ffd7 Translated using Weblate (Russian)
Currently translated at 100.0% (2375 of 2375 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ru/
2020-09-14 12:44:20 +00:00
Szimszon 475ea4aa2a Translated using Weblate (Hungarian)
Currently translated at 100.0% (2375 of 2375 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/hu/
2020-09-14 12:44:19 +00:00
Michael Albert 2317300a59 Translated using Weblate (German)
Currently translated at 100.0% (2375 of 2375 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/de/
2020-09-14 12:44:19 +00:00
Priit Jõerüüt 99811bfc74 Translated using Weblate (Estonian)
Currently translated at 100.0% (2375 of 2375 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-09-14 12:44:18 +00:00
Weblate 07bcbc0d65 Merge branch 'origin/develop' into Weblate. 2020-09-14 08:45:09 +00:00
discapacidad5 06a8ab20fb Translated using Weblate (Spanish)
Currently translated at 100.0% (2373 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/es/
2020-09-14 08:45:09 +00:00
Kahina Messaoudi e5e7c873bc Translated using Weblate (Kabyle)
Currently translated at 99.5% (2360 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/kab/
2020-09-14 08:44:51 +00:00
David Baker c68a980c59
Merge pull request #5193 from matrix-org/dbkr/remove_jitsi_widget_on_call_button
Prompt to remove the jitsi widget when pressing the call button
2020-09-14 09:44:45 +01:00
random 6950159f22 Translated using Weblate (Italian)
Currently translated at 100.0% (2373 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/it/
2020-09-13 15:43:01 +00:00
Szimszon b857b1a239 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2373 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/hu/
2020-09-13 15:42:59 +00:00
@a2sc:matrix.org 91dc346e5b Translated using Weblate (German)
Currently translated at 100.0% (2373 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/de/
2020-09-13 15:42:58 +00:00
XoseM 0923eeb2ad Translated using Weblate (Galician)
Currently translated at 100.0% (2373 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/gl/
2020-09-13 15:42:58 +00:00
Safa Alfulaij 80f8a18c2a Translated using Weblate (Arabic)
Currently translated at 14.9% (354 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ar/
2020-09-13 15:42:57 +00:00
Travis Ralston ac300a293e Add jsdoc 2020-09-11 21:09:42 -06:00
Travis Ralston fc2173a789 Appease the linter
It's almost like I copy/pasted some stuff
2020-09-11 21:05:54 -06:00
Travis Ralston 763309ae80 Show a spinner when processing a registration email confirmation
See comment enclosed
2020-09-11 20:58:10 -06:00
Travis Ralston 525ec6b709 Ensure we obliterate 3pid invites on logout 2020-09-11 20:36:26 -06:00
Travis Ralston 803badba1b Show the user's 3PID invite after they've reloaded the page
This is a step towards https://github.com/vector-im/element-web/issues/13430

Since we've stored the invite, we can send the user to it once they reload the page or revisit Element. We currently only support one invite at a time, but this should be fine for most cases. 

We only do this restoration if the next screen isn't set to avoid breaking the user out of an expected flow.

As an added touch, this also ensures that the email address is pre-filled on the registration page if needed, just in case the user refreshes before getting to the submit button.
2020-09-11 20:20:33 -06:00
Travis Ralston a5d7b24805 Add a note for why oob_data isn't threaded yet
See https://github.com/vector-im/element-web/issues/15157
2020-09-11 19:57:16 -06:00
Travis Ralston b1cdf1bc9a Redirect to the registration page if there's a 3PID invite
Fixes https://github.com/vector-im/element-web/issues/15130
2020-09-11 19:53:52 -06:00
Travis Ralston dc44b9ef59 Store and thread 3pid invite through the app
This doesn't do anything with the stored value (yet), but enables us to do something with it in a future commit.
2020-09-11 19:49:48 -06:00
Weblate 8c35392b6e Merge branch 'origin/develop' into Weblate. 2020-09-11 15:12:51 +00:00
@a2sc:matrix.org 0721ff85fe Translated using Weblate (German)
Currently translated at 99.9% (2372 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/de/
2020-09-11 15:12:51 +00:00
Travis Ralston 77f8c48dc4
Merge pull request #5195 from matrix-org/travis/iconography-update
Show verification status in the room summary card
2020-09-11 09:12:46 -06:00
Travis Ralston 8862b8298c Use hooks better 2020-09-11 09:04:06 -06:00
felix adernog 7a26eb9840 Translated using Weblate (German)
Currently translated at 99.9% (2372 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/de/
2020-09-11 14:44:02 +00:00
toastbroot d5b8588cb4 Translated using Weblate (German)
Currently translated at 99.9% (2372 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/de/
2020-09-11 14:39:44 +00:00
@a2sc:matrix.org 4c7d2363ce Translated using Weblate (German)
Currently translated at 99.9% (2372 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/de/
2020-09-11 14:39:44 +00:00
LinAGKar d67ad473c3 Translated using Weblate (Swedish)
Currently translated at 100.0% (2373 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-09-11 13:52:15 +00:00
Nikita Epifanov ada8b8deec Translated using Weblate (Russian)
Currently translated at 100.0% (2373 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ru/
2020-09-11 13:52:14 +00:00
Priit Jõerüüt b1bdb06507 Translated using Weblate (Estonian)
Currently translated at 100.0% (2373 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-09-11 13:52:13 +00:00
Jeff Huang 277aefdd5d Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2373 of 2373 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/zh_Hant/
2020-09-11 13:52:13 +00:00
David Baker b633564bea unused import 2020-09-11 13:02:02 +01:00
David Baker e54d4e665f Don't prompt to remove jitsi widget if the user don't have permission 2020-09-11 12:20:32 +01:00
Weblate ddd12c81a6 Merge branch 'origin/develop' into Weblate. 2020-09-11 09:27:05 +00:00
Nikita Epifanov 19ebc6401f Translated using Weblate (Russian)
Currently translated at 100.0% (2370 of 2370 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ru/
2020-09-11 09:27:05 +00:00
David Baker de8865d844
Merge pull request #5191 from matrix-org/dbkr/jitsi_call_naming
Call jitsi widgets 'group calls'
2020-09-11 10:27:00 +01:00
David Baker 2af803c1bb remove unused stuff 2020-09-11 10:17:37 +01:00
David Baker a93afe8c69 Check jitsi type in proper way 2020-09-11 09:57:13 +01:00
Weblate b6f91d76b8 Merge branch 'origin/develop' into Weblate. 2020-09-11 08:53:15 +00:00
David Baker 07693b71b1
Merge pull request #5194 from matrix-org/dbkr/dont_unpin_persistent_widgets
Don't show 'unpin' for persistent widgets
2020-09-11 09:53:09 +01:00
Weblate b33f7a698b Merge branch 'origin/develop' into Weblate. 2020-09-11 08:41:46 +00:00
J. Ryan Stinnett e7e6bc93ec
Merge pull request #5182 from matrix-org/jryans/defer-cross-signing-setup
Split up cross-signing and secure backup settings
2020-09-11 09:41:40 +01:00
Weblate ddcf1e335e Merge branch 'origin/develop' into Weblate. 2020-09-11 06:29:16 +00:00
Michael Telatynski 247e1d431d
Merge pull request #5185 from matrix-org/t3chguy/fix/3543
Fix onNewScreen to use replace when going from roomId->roomAlias
2020-09-11 07:29:10 +01:00
Travis Ralston 4cb7381d03 Show verification status in the room summary card
Fixes https://github.com/vector-im/element-web/issues/15143

Colours are the same for both light and dark theme.
2020-09-10 13:53:42 -06:00
David Baker b7058a33ad lint 2020-09-10 14:37:44 +01:00
David Baker eeb4c5696f Don't show 'unpin' for persistent widgets
This will mostly fix https://github.com/vector-im/element-web/issues/15139
although it could still break in a race condition.
2020-09-10 14:30:35 +01:00
David Baker 18be4cb202 Use widget type fromString 2020-09-10 14:18:49 +01:00
David Baker 96080f2ccc Prompt to remove the jitsi widget when pressing the call button
If there's already one in the room.

We threw up an error message anyway telling you there was already
a jitsi widget, so just add a button to end the call.
2020-09-10 14:06:13 +01:00
Weblate 0c0d014e4f Merge branch 'origin/develop' into Weblate. 2020-09-10 12:58:19 +00:00
LinAGKar 7d3e0ed9ce Translated using Weblate (Swedish)
Currently translated at 100.0% (2369 of 2369 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-09-10 12:58:19 +00:00
yuuki-san 8d4a252184 Translated using Weblate (Slovak)
Currently translated at 69.2% (1640 of 2369 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sk/
2020-09-10 12:58:18 +00:00
Szimszon 9c749626e4 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2369 of 2369 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/hu/
2020-09-10 12:58:18 +00:00
XoseM c5bf61e270 Translated using Weblate (Galician)
Currently translated at 100.0% (2369 of 2369 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/gl/
2020-09-10 12:58:17 +00:00
Jeff Huang 7f1c5537fb Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2369 of 2369 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/zh_Hant/
2020-09-10 12:58:16 +00:00
Besnik Bleta 17a6f33b91 Translated using Weblate (Albanian)
Currently translated at 99.7% (2361 of 2369 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sq/
2020-09-10 12:58:15 +00:00
Matthew Hodgson 5ecc3f4398 kill formatMinimalBadgeCount entirely 2020-09-10 13:56:46 +01:00
Matthew Hodgson 89d05ac952 bring back 1.2M style badge counts rather than 99+ 2020-09-10 13:51:34 +01:00
David Baker 2b965a2741 Call jitsi widgets 'group calls'
So they feel a bit more like first class citizens
2020-09-10 11:52:01 +01:00
Weblate a9ee1e785e Merge branch 'origin/develop' into Weblate. 2020-09-09 21:08:50 +00:00
Nikita Epifanov 188aee0fcf Translated using Weblate (Russian)
Currently translated at 100.0% (2369 of 2369 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ru/
2020-09-09 21:08:50 +00:00
@a2sc:matrix.org 884b54fd02 Translated using Weblate (German)
Currently translated at 100.0% (2369 of 2369 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/de/
2020-09-09 21:08:49 +00:00
Priit Jõerüüt 9586a981de Translated using Weblate (Estonian)
Currently translated at 100.0% (2369 of 2369 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-09-09 21:08:48 +00:00
Travis Ralston a765db8977
Merge pull request #5189 from matrix-org/travis/rageshake-fix
Run the rageshake command through the bug report dialog
2020-09-09 15:08:43 -06:00
Travis Ralston 77f715ba73 Fix i18n and analytics 2020-09-09 14:55:27 -06:00
Travis Ralston 9b5823cccb Run the rageshake command through the bug report dialog
Ideally we encourage users to give us information like a github issue or options to download their logs.
2020-09-09 14:53:38 -06:00
Travis Ralston 0a7090dd64 Account for via in pill matching regex
Fixes https://github.com/vector-im/element-web/issues/15133

Regression first appeared in a80bcaa292

This also affects room IDs.
2020-09-09 14:36:35 -06:00
Michael Telatynski c26f3b8a97 Fix onNewScreen to use replace when going from roomId->roomAlias to prevent locking the user in place 2020-09-09 16:52:46 +01:00
David Baker 62556c2afe
Merge pull request #5184 from matrix-org/dbkr/always_allow_local_widgets
Always allow widgets when using the local version
2020-09-09 15:52:31 +01:00
David Baker f9079975a1 write correct jsdoc 2020-09-09 15:42:25 +01:00
David Baker 99b0a0a78e Always allow widgets when using the local version
Since we're not loading the widget URL, there's no need to ask
for permission to load it: it's just another part of the app.
2020-09-09 15:35:05 +01:00
Michael Telatynski a1f1334250 Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/dpsah/6785.3
 Conflicts:
	src/components/structures/RoomView.tsx
2020-09-09 15:16:19 +01:00
Weblate db5cbdf709 Merge branch 'origin/develop' into Weblate. 2020-09-09 13:34:36 +00:00
J. Ryan Stinnett 0219824d6f Merge remote-tracking branch 'origin/develop' into jryans/defer-cross-signing-setup 2020-09-09 14:13:23 +01:00
J. Ryan Stinnett 6d1b1d9460 Fix linting error 2020-09-09 14:12:36 +01:00
Michael Telatynski 04d2f93902 Fix WidgetStore handler bindings 2020-09-09 13:15:19 +01:00
Michael Telatynski 0e58eb6d56 Update initial widget height 2020-09-09 13:15:07 +01:00
Michael Telatynski 8d66dce68d Update copy and use svg for ellipsis 2020-09-09 12:50:48 +01:00
Michael Telatynski b635598bc3 Attempt to fix tests and fix RoomSummaryCard having wrong member count 2020-09-09 12:28:12 +01:00
Michael Telatynski bb98587143 fix e2e tests. Change the default Room Tab to RoomSummary 2020-09-09 11:42:41 +01:00
Michael Telatynski 37c0d524bc re-order top right buttons 2020-09-09 11:06:15 +01:00
Michael Telatynski 29c2a0ef35 Fix FilePanel and NotificationPanel overscroll issues 2020-09-09 09:50:08 +01:00
Michael Telatynski 517b594edc Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/dpsah/6785.1
 Conflicts:
	src/components/structures/RightPanel.js
2020-09-08 18:04:24 +01:00
J. Ryan Stinnett bbe2084f66 Add independent set up / reset actions in Settings
This adds set up and reset actions to each of cross-signing and secure backup
that do separate things, rather than mixing concerns together. (It's temporarily
still a bit of lie for backup, as more changes are needed to stop resetting
cross-signing as well.)
2020-09-08 18:01:56 +01:00
Michael Telatynski 12a6bc8231 update copy 2020-09-08 18:00:21 +01:00
Michael Telatynski 596060c506 fix alignments and iterate PR 2020-09-08 17:57:08 +01:00
Weblate 97199c4479 Merge branch 'origin/develop' into Weblate. 2020-09-08 16:46:07 +00:00
Michael Telatynski 83c2ae2479
Merge pull request #5180 from matrix-org/t3chguy/fix/15123
null-guard roomId in RightPanel and pass Room to UserView
2020-09-08 17:46:02 +01:00
Michael Telatynski 01a8ac25c9 Use null coalescing operator 2020-09-08 17:40:57 +01:00
Michael Telatynski a17b2ba1e5 use constant 2020-09-08 17:38:13 +01:00
Michael Telatynski 27a65fff2b null-guard roomId in RightPanel and pass Room to UserView 2020-09-08 17:34:32 +01:00
Weblate e204914e31 Merge branch 'origin/develop' into Weblate. 2020-09-08 16:27:57 +00:00
TERMICO 093ed37c17 Translated using Weblate (Spanish)
Currently translated at 88.0% (2073 of 2356 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/es/
2020-09-08 16:27:56 +00:00
Michael Telatynski 8d03799ffe Fix create-react-class regression.
Can't call setState in c'tor
2020-09-08 16:51:55 +01:00
Michael Telatynski 1532048f33 Fix behaviour WidgetStore for new/unknown rooms 2020-09-08 16:49:50 +01:00
Michael Telatynski b982bf87b5 delint 2020-09-08 16:33:55 +01:00
Michael Telatynski 8d14d26e2b do the todos 2020-09-08 16:27:09 +01:00
Michael Telatynski 4a4a8cd611 styling and fix `i` button behaviour 2020-09-08 15:43:40 +01:00
Michael Telatynski 73dcba1425 i18n 2020-09-08 15:43:40 +01:00
Michael Telatynski ef0843d4ad Iterate to match design 2020-09-08 15:43:40 +01:00
Michael Telatynski 98b59fb217 Consolidate all the work thus far 2020-09-08 15:43:38 +01:00
Michael Telatynski 31cca5e0f2 Create new right panel cards 2020-09-08 15:42:31 +01:00
Michael Telatynski eb7f6f4c4b Create new WidgetStore to track all widgets stuff 2020-09-08 15:42:31 +01:00
Michael Telatynski 8f94a42daf Update Right Panel phase recall behaviour 2020-09-08 15:42:31 +01:00
Michael Telatynski 2527344294 Create name/title Widget utils 2020-09-08 15:42:31 +01:00
J. Ryan Stinnett aae68f7d1a Move 4S status to backup panel
This moves the various 4S status diagnostics to the backup panel and out of the
cross-signing panel. The available actions are unchanged as part of this commit,
but they will be updated next.
2020-09-08 15:26:59 +01:00
J. Ryan Stinnett 2fbb551035 Put backup details in a table 2020-09-08 15:26:59 +01:00
Weblate d3f504aa3e Merge branch 'origin/develop' into Weblate. 2020-09-08 14:24:14 +00:00
Michael Telatynski 87b72de25f
Merge pull request #5176 from matrix-org/t3chguy/dpsah/6785.4
Fix WatchManager for global room watchers and tidy widget code a little
2020-09-08 15:24:10 +01:00
Weblate 042bff9d08 Merge branch 'origin/develop' into Weblate. 2020-09-08 14:23:42 +00:00
Michael Telatynski a80bcaa292
Merge pull request #5174 from matrix-org/t3chguy/fix/15100
Fix permalink local linkification to not strip via servers
2020-09-08 15:23:38 +01:00
Michael Telatynski 9d85d0436c iterate PR 2020-09-08 15:22:23 +01:00
Weblate 9c9d375d31 Merge branch 'origin/develop' into Weblate. 2020-09-08 14:16:55 +00:00
Jason Robinson 75518254fb
Merge pull request #5173 from matrix-org/jaywink/jitsi-openidjwt-auth
Support creation of Jitsi widgets with "openidtoken-jwt" auth
2020-09-08 17:16:50 +03:00
Michael Telatynski 1b99c11b11 tidy 2020-09-08 15:09:45 +01:00
Michael Telatynski 5c3c8cfb06 Make Travis an ounce happier 2020-09-08 15:07:16 +01:00
Weblate 66b42c6860 Merge branch 'origin/develop' into Weblate. 2020-09-08 14:03:10 +00:00
Michael Telatynski 73b8493fe8
Merge pull request #5177 from matrix-org/t3chguy/fix/15115
Fix create-react-class regression.
2020-09-08 15:03:03 +01:00
Weblate 63abeefc54 Merge branch 'origin/develop' into Weblate. 2020-09-08 13:20:42 +00:00
LinAGKar abaf470261 Translated using Weblate (Swedish)
Currently translated at 100.0% (2356 of 2356 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-09-08 13:20:41 +00:00
Travis Ralston 5c878ddfdd
Merge pull request #5172 from matrix-org/travis/widgets/msc1960-1
Update openid_credentials Widget API action for MSC1960 updates
2020-09-08 07:20:35 -06:00
Michael Telatynski 99cd2dceec Fix create-react-class regression.
Can't call setState in c'tor
2020-09-08 12:07:24 +01:00
Michael Telatynski 48d9c94c88 Extract editWidget into WidgetUtils 2020-09-08 11:12:14 +01:00
Michael Telatynski 3bc42d7470 delint 2020-09-08 11:05:33 +01:00
Michael Telatynski b75e2aa299 WidgetEchoStore improve update event to include roomId and widgetId 2020-09-08 11:01:55 +01:00
Michael Telatynski 07f7ff6831 Fix WatchManager global room watchers 2020-09-08 11:01:36 +01:00
Jason Robinson 3af0d33e3b Make a few fields readonly
As they're only set in the constructor.
2020-09-08 13:00:00 +03:00
Jason Robinson c19336591e Add OpenID token request flow to WidgetApi
As per MSC1960.
2020-09-08 12:59:05 +03:00
Michael Telatynski 906d4defd5 Convert RoomView and RoomContext to TS 2020-09-08 10:52:37 +01:00
Michael Telatynski 6a304ce16e Remove ancient RoomView props.eventPixelOffset 2020-09-08 10:52:27 +01:00
Michael Telatynski d0c716d61c Fix permalink local linkification to not strip via servers 2020-09-08 10:26:37 +01:00
Weblate 9d51ad7472 Merge branch 'origin/develop' into Weblate. 2020-09-08 08:47:19 +00:00
LinAGKar 8e76031871 Translated using Weblate (Swedish)
Currently translated at 100.0% (2356 of 2356 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-09-08 08:47:19 +00:00
Nikita Epifanov e891e1ff05 Translated using Weblate (Russian)
Currently translated at 100.0% (2356 of 2356 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ru/
2020-09-08 08:47:19 +00:00
@a2sc:matrix.org 72901ad88c Translated using Weblate (German)
Currently translated at 100.0% (2356 of 2356 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/de/
2020-09-08 08:47:18 +00:00
Priit Jõerüüt b2292241f1 Translated using Weblate (Estonian)
Currently translated at 100.0% (2356 of 2356 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-09-08 08:47:18 +00:00
Jeff Huang a934878fdb Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2356 of 2356 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/zh_Hant/
2020-09-08 08:47:18 +00:00
Jason Robinson 4b43e39d2a Code review related changes
* drop room ID from jitsi widget data
* reame queryParts variable
2020-09-08 11:31:40 +03:00
Jason Robinson d2e9ea58fd Add links to prosody openidtoken-jwt auth docs 2020-09-07 19:22:40 +03:00
Michael Telatynski 667c129ebc Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/dpsah/6785
 Conflicts:
	src/components/structures/ScrollPanel.js
	src/components/views/rooms/AppsDrawer.js
2020-09-07 14:33:57 +01:00
Weblate 20c12c99b5 Merge branch 'origin/develop' into Weblate. 2020-09-07 13:28:47 +00:00
Johnny998 a7d4128154 Translated using Weblate (Slovak)
Currently translated at 69.8% (1644 of 2355 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sk/
2020-09-07 13:28:47 +00:00
@a2sc:matrix.org 4491d5c478 Translated using Weblate (German)
Currently translated at 100.0% (2355 of 2355 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/de/
2020-09-07 13:28:46 +00:00
Michael Telatynski 80b22d1f82
Merge pull request #5158 from dkanada/patch-1
add lenny face command
2020-09-07 14:28:40 +01:00
Jason Robinson ae83222d52 Add GetOpenIDCredentials constant to WidgetApi 2020-09-07 14:32:00 +03:00
LinAGKar 40032deb37 Translated using Weblate (Swedish)
Currently translated at 100.0% (2355 of 2355 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-09-06 17:42:55 +00:00
Nikita Epifanov 865280cc35 Translated using Weblate (Russian)
Currently translated at 100.0% (2355 of 2355 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ru/
2020-09-06 17:42:48 +00:00
XoseM ea241bbb5e Translated using Weblate (Galician)
Currently translated at 100.0% (2355 of 2355 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/gl/
2020-09-06 17:42:48 +00:00
Priit Jõerüüt 54e08fd020 Translated using Weblate (Estonian)
Currently translated at 100.0% (2355 of 2355 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-09-06 17:42:47 +00:00
Jeff Huang c5927af11f Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2355 of 2355 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/zh_Hant/
2020-09-06 17:42:47 +00:00
Travis Ralston db1eb89552 MSC numbers are hard to remember 2020-09-05 15:10:28 -06:00
Travis Ralston 355d8f5843 Update openid_credentials Widget API action for MSC1960 updates
We now need to send a `state` and `original_request_id` per MSC1960's recent adjustments
2020-09-05 15:06:31 -06:00
Robert Swain d25cb36bab Translated using Weblate (Swedish)
Currently translated at 94.2% (2218 of 2355 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-09-05 12:00:10 +00:00
LinAGKar b7ef80cd50 Translated using Weblate (Swedish)
Currently translated at 94.2% (2218 of 2355 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-09-05 12:00:10 +00:00
J. Ryan Stinnett 217f145910 Switch to imports in backup panel 2020-09-04 13:56:28 +01:00
J. Ryan Stinnett b484bc5e09 Rearrange backup status to always have advanced 2020-09-04 13:56:28 +01:00
J. Ryan Stinnett 19e9e0137c Reorganise backup panel so feature description is always present
This ensure the feature description is always shown at the top.
2020-09-04 13:56:28 +01:00
J. Ryan Stinnett e3f47525e5 Rename backup CSS classes 2020-09-04 13:56:28 +01:00
J. Ryan Stinnett 46bc6b1d14 Rename key backup to secure backup 2020-09-04 13:56:28 +01:00
Weblate 12c42ef3c2 Merge branch 'origin/develop' into Weblate. 2020-09-04 11:51:31 +00:00
J. Ryan Stinnett 7b1031d6a6
Merge pull request #5169 from matrix-org/jryans/defer-cross-signing-setup
Prep work for Settings changes with cross-signing deferral
2020-09-04 12:51:25 +01:00
Weblate bbba4c71ff Merge branch 'origin/develop' into Weblate. 2020-09-04 11:25:52 +00:00
Michael Telatynski a713c9763b
Merge pull request #5168 from matrix-org/t3chguy/dpsah/6785.2
Small code clean ups and tweaks
2020-09-04 12:25:46 +01:00
Michael Telatynski f28c396b1e Fix HeaderButtons handler bindings 2020-09-04 12:14:43 +01:00
Jason Robinson 13dbfa6b85 Remove debug statement 2020-09-04 12:44:43 +03:00
Jason Robinson baa6d8a294 Correctly template in Jitsi widget auth if such exists
Also add roomId to the widget data and URL template. It's needed by
the Element Web Jitsi code to produce auth for the Jitsi backend.
2020-09-04 12:42:46 +03:00
Weblate e803788956 Merge branch 'origin/develop' into Weblate. 2020-09-04 08:46:08 +00:00
LinAGKar 9ff8c172ef Translated using Weblate (Swedish)
Currently translated at 93.0% (2189 of 2354 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-09-04 08:46:08 +00:00
Nikita Epifanov 7c65c59238 Translated using Weblate (Russian)
Currently translated at 100.0% (2354 of 2354 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ru/
2020-09-04 08:46:07 +00:00
Michael Telatynski 6d811734f4 Fix soft crash from TruncatedList in the createReactClass conversion 2020-09-04 09:24:12 +01:00
Jason Robinson a511ad6633 Add (potential) Jitsi auth type to widget data
So we don't have to fetch the auth type when joining
the conference.
2020-09-04 10:20:58 +03:00
Jason Robinson 680de2af95 Create Jitsi "openidtoken-jwt" auth compatible conference ID's
If the Jitsi server we're using for a Jitsi conference call has auth of
"openidtoken-jwt" then instead of a random human readable room ID, encode
the room ID in base32 (without padding). This can then be decoded back to
the room ID on the Jitsi end of things.
2020-09-04 10:05:47 +03:00
Jason Robinson 5d8a082eb1 Add Jitsi auth check
Checks for auth needed by looking up a well-known file from the preferred Jitsi domain. No file existing will assume no auth.
2020-09-04 10:03:30 +03:00
Weblate 39652b0916 Merge branch 'origin/develop' into Weblate. 2020-09-03 16:22:03 +00:00
LinAGKar 9b937ecf23 Translated using Weblate (Swedish)
Currently translated at 92.7% (2182 of 2354 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-09-03 16:22:03 +00:00
Michael Telatynski e624ce11b4
Merge pull request #5157 from matrix-org/t3chguy/crc1
Remove create-react-class
2020-09-03 17:21:58 +01:00
Michael Telatynski 05c3f5c381 remove redundant key 2020-09-03 17:05:33 +01:00
J. Ryan Stinnett 4ef3ef40db Change to import 2020-09-03 16:47:56 +01:00
Michael Telatynski bdfb77077a Fix RightPanel propTypes 2020-09-03 16:08:10 +01:00
Michael Telatynski 368571bcff Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/dpsah/6785.2 2020-09-03 16:07:37 +01:00
Weblate 85674f5c31 Merge branch 'origin/develop' into Weblate. 2020-09-03 14:54:53 +00:00
LinAGKar cbbaae48fc Translated using Weblate (Swedish)
Currently translated at 92.4% (2176 of 2354 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-09-03 14:54:53 +00:00
Szimszon 6dafbea5ca Translated using Weblate (Hungarian)
Currently translated at 100.0% (2354 of 2354 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/hu/
2020-09-03 14:54:50 +00:00
Priit Jõerüüt 31aead1527 Translated using Weblate (Estonian)
Currently translated at 100.0% (2354 of 2354 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-09-03 14:54:50 +00:00
Jeff Huang bba4d8ec62 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2354 of 2354 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/zh_Hant/
2020-09-03 14:54:49 +00:00
Michael Telatynski 97ebfa02c3
Merge pull request #5162 from matrix-org/t3chguy/lodash
Consolidate Lodash files in bundle
2020-09-03 15:54:43 +01:00
J. Ryan Stinnett da6cc5c2e9 Tweak Security settings section headers
This brings us slightly closer to the version Design is working from in terms of
section naming.

Prep for https://github.com/vector-im/element-web/issues/13895
2020-09-03 15:41:17 +01:00
Michael Telatynski 280690cf3c use useIsEncrypted hook in UserInfo 2020-09-03 15:07:10 +01:00
Michael Telatynski 3a8499259e factor out the useIsEncrypted hook 2020-09-03 15:06:41 +01:00
Michael Telatynski 6d4de4d22b tidy up ScrollPanel comments 2020-09-03 15:05:35 +01:00
Michael Telatynski ad9be61477 Move HeaderButtons to an abstract class 2020-09-03 15:05:24 +01:00
Michael Telatynski c7e40d0751 Fix MemberAvatar props interface 2020-09-03 15:05:10 +01:00
Michael Telatynski 8b4250c142 expose RightPanelStore in window 2020-09-03 15:04:49 +01:00
Michael Telatynski 1479690ac4 RightPanel use room instead of roomId 2020-09-03 15:03:47 +01:00
J. Ryan Stinnett fb2bde94fa Rename CrossSigningManager to SecurityManager
The file encompasses bits of cross-signing and also secret storage / secure
backup.
2020-09-03 14:50:49 +01:00
J. Ryan Stinnett 18d25acf4f Organise cross-signing / secret storage rageshake details
This changes to a common prefix for cross-signing and secret storage details so
they appear all together in the alpha-sorted report.
2020-09-03 13:43:14 +01:00
J. Ryan Stinnett 7efa9ba77d Fix DOM nesting error in cross-signing panel
The spinner can't be inside a `<p>` element. This also changes to block spinner
to match key backup.
2020-09-03 13:23:50 +01:00
Michael Telatynski 24006588d5 iterate PR 2020-09-03 10:34:19 +01:00
Weblate be8dfe9925 Merge branch 'origin/develop' into Weblate. 2020-09-02 16:50:13 +00:00
Travis Ralston 03588f8450
Merge pull request #5161 from matrix-org/travis/communities/proto/userinfo
Communities v2 prototype: "In community" view
2020-09-02 10:50:07 -06:00
Weblate 5b55ca03ee Merge branch 'origin/develop' into Weblate. 2020-09-02 16:45:39 +00:00
Marcelo Filho b72f0f4d92 Translated using Weblate (Portuguese (Brazil))
Currently translated at 96.0% (2254 of 2348 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-09-02 16:45:39 +00:00
Priit Jõerüüt e3f971a3d0 Translated using Weblate (Estonian)
Currently translated at 100.0% (2348 of 2348 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-09-02 16:45:39 +00:00
Michael Telatynski 8484422c55
Merge pull request #5165 from matrix-org/t3chguy/fix/15080
Respect user preference for whether pills should have an avatar or not
2020-09-02 17:45:34 +01:00
Travis Ralston 6d62d85ad2 Merge branch 'develop' into travis/communities/proto/userinfo 2020-09-02 10:33:52 -06:00
Weblate 451f5f45e7 Merge branch 'origin/develop' into Weblate. 2020-09-02 16:27:02 +00:00
LinAGKar 0aafce5ee4 Translated using Weblate (Swedish)
Currently translated at 90.1% (2114 of 2346 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-09-02 16:27:02 +00:00
Marcelo Filho 9351f949cb Translated using Weblate (Portuguese (Brazil))
Currently translated at 95.8% (2248 of 2346 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-09-02 16:27:02 +00:00
Travis Ralston c849f56458
Merge pull request #5153 from matrix-org/travis/copy2
Communities v2 prototype: DM copy updates
2020-09-02 10:26:56 -06:00
Michael Telatynski beb77799f6 Respect user preference for whether pills should have an avatar or not 2020-09-02 17:26:23 +01:00
Travis Ralston 9b12355b2a Appease the linter 2020-09-02 08:59:24 -06:00
Weblate 05084b57c6 Merge branch 'origin/develop' into Weblate. 2020-09-02 14:07:42 +00:00
LinAGKar 156291d151 Translated using Weblate (Swedish)
Currently translated at 90.1% (2113 of 2346 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-09-02 14:07:42 +00:00
J. Ryan Stinnett 4262a99f67 Tune cross-signing toasts when 4S is missing
For the case where cross-signing is trusted on device but secret storage does
not exist, we were showing "verify this device", which is not the best match
from the existing toasts. This tunes the checks to instead show "set up
encryption" which is at least a bit closer.

Part of https://github.com/vector-im/element-web/issues/14970
2020-09-02 14:29:41 +01:00
J. Ryan Stinnett dd87e9a2f1 During verification, only check user trust status
As part of new device verification, we were waiting for "cross-signing ready"
which means _both_ the public keys are trusted by this device _and_ private keys
are available. There's no guarantee that the private keys will ever arrive, so
it's too strict to wait for this as a blocking flow. This relaxes things to wait
only for the current device to trust public keys.

Fixes https://github.com/vector-im/element-web/issues/14970
2020-09-02 14:13:36 +01:00
Michael Telatynski cffe902504 Add feature to ResizeNotifier to maintain isResizing state and use it to skip onScroll handling 2020-09-02 12:00:35 +01:00
Michael Telatynski 6178b3c0e2 Wire up resizeNotifier 2020-09-02 11:13:00 +01:00
Michael Telatynski 243af3c9f2 Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/dpsah/6785 2020-09-02 09:27:06 +01:00
Travis Ralston 92c184385c Merge branch 'develop' into travis/communities/proto/userinfo 2020-09-01 10:51:42 -06:00
Travis Ralston afec470ec3 Merge branch 'develop' into travis/copy2 2020-09-01 10:50:58 -06:00
Weblate 0aceb18736 Merge branch 'origin/develop' into Weblate. 2020-09-01 15:44:31 +00:00
LinAGKar 32c0ccf6ea Translated using Weblate (Swedish)
Currently translated at 88.4% (2075 of 2346 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-09-01 15:44:31 +00:00
aWeinzierl 9f2997ba45 Translated using Weblate (German)
Currently translated at 100.0% (2346 of 2346 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/de/
2020-09-01 15:44:28 +00:00
@a2sc:matrix.org d7307f9750 Translated using Weblate (German)
Currently translated at 100.0% (2346 of 2346 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/de/
2020-09-01 15:44:28 +00:00