Commit graph

18653 commits

Author SHA1 Message Date
David Baker
f7c881a462 No need for this if statement now 2020-04-29 12:35:17 +01:00
David Baker
7da2850a2e No need for a set here - bool is fine 2020-04-29 12:35:11 +01:00
David Baker
3e6a623270 Lint 2020-04-29 12:35:02 +01:00
David Baker
996f8af365 Use the New Session review dialog for verifying our own devices 2020-04-29 12:34:54 +01:00
David Baker
0edb80e541 Make close button work from user info view
Adds more hacks so that the close button does something vagauely
plausible in all situations.
2020-04-29 12:34:48 +01:00
David Baker
e5d06b1acb Aggregate device verification toasts into one toast
'Review' now opens the only place we can verify our own devices:
our user info.
2020-04-29 12:34:43 +01:00
J. Ryan Stinnett
698a539866
Merge pull request #4515 from matrix-org/jryans/set-up-button-text-rc
Fix set up encryption toast to use "set up" as action
2020-04-29 11:09:09 +01:00
Michael Telatynski
bdeb788be9
Merge pull request #4512 from matrix-org/t3chguy/cherry-pick/4
Fix internal link styling in Security Settings
2020-04-29 10:59:24 +01:00
J. Ryan Stinnett
736857ffdf Fix set up encryption toast to use "set up" as action
This changes the "set up encryption" toast to use "set up" as the primary action
button, instead of "upgrade". Other toasts that do use text about upgrading will
keep their primary action text of "upgrade" as before.

Fixes https://github.com/vector-im/riot-web/issues/13231
2020-04-29 10:58:55 +01:00
Bruno Windels
c10969f520 enable encryption when NOT inviting 3pids 2020-04-29 11:46:04 +02:00
Bruno Windels
a8205d21f1 targets can also contain RoomMember, so take the positive case rather 2020-04-29 11:46:04 +02:00
Bruno Windels
be13e86b09 dont enable e2ee when inviting a 3pid 2020-04-29 11:46:04 +02:00
Michael Telatynski
246c70c6a1 Fix internal link styling in Security Settings
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-29 10:29:32 +01:00
David Baker
582747d2ed
Merge pull request #4499 from matrix-org/dbkr/link_from_settings_to_userprofile_rel
Add a link from settings / devices to your user profile
2020-04-27 17:28:46 +01:00
David Baker
63d2d128c5 Lint 2020-04-27 16:29:28 +01:00
David Baker
d6f96f2f27 Update i18n 2020-04-27 16:29:22 +01:00
David Baker
ef1e40c839 Update to (almost) match design 2020-04-27 16:29:17 +01:00
David Baker
0a89813de1 Add a link from settings / devices to your user profile
Temporarily until you can verify devices in settings

Fixes https://github.com/vector-im/riot-web/issues/13401
2020-04-27 16:29:11 +01:00
David Baker
4e0f0bb299
Merge pull request #4490 from matrix-org/dbkr/setup_encryption_dialog_icon_rel
Make icon change in SetupEncryptionDialog
2020-04-24 18:56:22 +01:00
Travis Ralston
477875e012
Merge pull request #4488 from matrix-org/travis/release/labs-remove-padlocks
Remove invite only padlocks feature flag for release
2020-04-24 10:48:46 -06:00
David Baker
b3fac7c2cb Move store subscribe to didmount 2020-04-24 17:40:21 +01:00
David Baker
c684898ba0 Make icon change in SetupEncryptionDialog
Fixes https://github.com/vector-im/riot-web/issues/13368
2020-04-24 17:40:14 +01:00
David Baker
d550f6c564 Fix incorrect toast if security setup skipped
DevieListener didn't wait for the user's device list to be downloaded
so it would think the user didn't have cross-signing set up.

Also clear the rest of the state on stop().

Fixes https://github.com/vector-im/riot-web/issues/13372
2020-04-24 17:33:31 +01:00
Travis Ralston
353810ce63 Remove invite only padlocks feature flag
Fixes https://github.com/vector-im/riot-web/issues/13366

Only known issue on this is https://github.com/vector-im/riot-web/issues/12148

This has been pre-approved by Product.
2020-04-24 10:06:34 -06:00
J. Ryan Stinnett
949b916091 Fix recovery link on login verification flow
This fixes the recovery link to go to the right place.

Fixes https://github.com/vector-im/riot-web/issues/13346
2020-04-23 18:18:25 +01:00
J. Ryan Stinnett
9b4172bf85
Merge pull request #4468 from matrix-org/travis/rel-seshat-enable
Take encrypted message search out of labs for release
2020-04-23 10:22:04 +01:00
Michael Telatynski
89860100ae Update login security copy and design to match Figma
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 23:09:17 +01:00
Michael Telatynski
f952e9ebfe i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 15:34:42 -06:00
Michael Telatynski
63de2783c3 Fix i18n of SSO UIA copy in Deactivate Account Dialog
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 15:34:32 -06:00
Travis Ralston
ab7d7becd7 Match settings paragraph style in all cases 2020-04-22 11:14:12 -06:00
Travis Ralston
50059373d2 Appease the linter 2020-04-22 11:14:03 -06:00
Travis Ralston
3c722d16ea i18n 2020-04-22 11:13:57 -06:00
Travis Ralston
475cea8b8a Take encrypted message search out of labs
Fixes https://github.com/vector-im/riot-web/issues/13262

This is part of the cross-signing shipping master plan. Known issues relating to this feature are:
* https://github.com/vector-im/riot-web/issues/12896
* https://github.com/vector-im/riot-web/issues/12385
* https://github.com/vector-im/riot-web/issues/11831
* https://github.com/vector-im/riot-web/issues/11155

In theory, these are issues we're comfortable with shipping as we're already enabling it by default. This just makes it easier on everyone by removing the flag (making it still enabled by default).
2020-04-22 11:13:21 -06:00
J. Ryan Stinnett
8b397f807f Skip auth flow test for signing upload when password present
If we already have an account password to use during secret storage setup, then
it's highly likely that the homeserver accepts passwords for device signing key
upload as well. This change then assumes password auth will work without
checking to avoid a request when the server is under high load.

Fixes https://github.com/vector-im/riot-web/issues/13286
2020-04-22 14:52:59 +01:00
Bruno Windels
84552048e6
Merge pull request #4457 from matrix-org/bwindels/waitforxsignkeystoverify-rc
Fix: wait until cross-signing keys are fetched to show verify button
2020-04-22 08:12:52 +00:00
Bruno Windels
d842944f61 wait until cross-signing keys are fetched to show verify button 2020-04-21 18:42:09 +02:00
David Baker
39b3675583 Handle load error in create secret storage dialog 2020-04-21 10:24:04 +01:00
David Baker
13cb49bb0d Don't recheck DeviceListener until after initial sync is finished
Each recheck caused a GET to account data to see if the master key
exists if done before the initial sync, which is unnecessary here.
This just makes it wait until the initial sync is done to recheck.

Fixes https://github.com/vector-im/riot-web/issues/13279
2020-04-20 15:23:07 +01:00
Damir Jelić
212c3ca46c EventIndex: Add a missing semicolon.
(cherry picked from commit 3781bdc975)
2020-04-20 10:00:49 +01:00
Damir Jelić
161203d445 EventIndex: Filter out events that don't have a propper content value.
(cherry picked from commit 6084c08f34)
2020-04-20 10:00:48 +01:00
Travis Ralston
2432f77b72 Blind attempt at fixing the end to end tests 2020-04-16 11:48:45 -06:00
Travis Ralston
45b6b95d44 Appease the linter 2020-04-16 11:27:09 -06:00
Travis Ralston
2ffb5be5cd Remove UI to change the cross-signing setting 2020-04-16 11:26:56 -06:00
Travis Ralston
b5b4bdbf3d Clean up setting definition to follow surrounding practices
It's not perfect, but we're at least okay with it.
2020-04-16 11:26:51 -06:00
Travis Ralston
2d395d8dd1 Convert cross-signing feature flag to setting
This is intended as a temporary measure until we're comfortable with removing the flag entirely.
2020-04-16 11:26:42 -06:00
Michael Telatynski
7593c8273b update PHASE_PASSPHRASE copy
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 15:49:17 +01:00
Michael Telatynski
d4b15da70a Fixxy
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 15:49:17 +01:00
Michael Telatynski
14910c6e80 iterate copy some more
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 15:49:17 +01:00
Michael Telatynski
84e8e22616 i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 15:49:17 +01:00
Michael Telatynski
0e72aef1e3 update Create SSSS Dialog copy
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 15:49:17 +01:00