Commit Graph

18686 Commits (1423c2e4bcd9be4d6d37b320b5962478d932921d)

Author SHA1 Message Date
Damir Jelić 51a79a43e3 EventIndex: Remove an unused variable. 2020-05-05 10:49:40 +01:00
Damir Jelić 5aa645caf9 EventIndex: Reduce the logging the event index is producing. 2020-05-05 10:49:40 +01:00
J. Ryan Stinnett 16099f731d
Merge pull request #4550 from matrix-org/bwindels/unverif-session-copy-self-rc
Differentiate copy for own untrusted device dialog
2020-05-05 10:39:07 +01:00
Bruno Windels ab82bf8048 differentiate copy for own untrusted device dialog 2020-05-05 11:31:15 +02:00
Zoe 64c70b2de0 fragments and i18n don't play nice together 2020-05-04 16:16:29 +01:00
Zoe 1afb09d257 Fixed the dialog height 2020-05-04 16:16:29 +01:00
Zoe 3dbcc9fe99 copy changes 2020-05-04 16:16:28 +01:00
Zoe b7bcf25cfa i18n 2020-05-04 16:16:28 +01:00
Zoe 7ef3b446f4 Show progress when loading keys 2020-05-04 16:16:28 +01:00
Bruno Windels d8ab1f0ddc
Merge pull request #4544 from matrix-org/bwindels/increaserage-rc
Increase rageshake size limit to 5mb
2020-05-04 13:35:22 +00:00
Bruno Windels aa87e84652 increare rage shake size limit to 5mb 2020-05-04 14:08:39 +02:00
David Baker a04564d1e3 Guard against race when waiting for cross-signing to be ready
Check to see if cross-signing is already set up after a verification
is done to make sure it doesn't race and we end up waiting forever.
2020-05-01 11:26:54 +01:00
David Baker 4377e4161f Clear more state in DeviceListener
Especially the devices at start, otherwise they'll just be wrong
if you log in after logging out.
2020-05-01 10:42:10 +01:00
David Baker a291f6c2c5 Wait for user to be verified in e2e setup
Wait for our user to become verified and cross-signing to be ready
before declaring that we're finsihed, otherwise we could end up
prompting the user to verify again if we just wait for the verification
itself to complete.

Fixes part of https://github.com/vector-im/riot-web/issues/13464
2020-05-01 10:42:05 +01:00
David Baker 6ef5b78806 Add device name to unverified session toast 2020-04-30 16:10:46 +01:00
David Baker 4f95c89ffc Fix device verification toasts not disappearing
recheck in DeviceListener returned early if cross-signing wasn't
ready, but this was unnecessary and prevented it from hiding the
device verification toasts (which also appeared above the toast
to verify yourself).
2020-04-30 11:05:31 +01:00
J. Ryan Stinnett db36b7e1d5
Merge pull request #4526 from matrix-org/jryans/reset-from-access-rc
Allow resetting storage from the access dialog
2020-04-30 10:17:12 +01:00
David Baker aa9da54bed yarn i18n 2020-04-30 09:45:11 +01:00
David Baker c97eab24c7 Update toast copy again
Fixes https://github.com/vector-im/riot-web/issues/13447
2020-04-29 19:08:08 +01:00
David Baker 38124ba9d0 Comment typo
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-04-29 17:45:35 +01:00
David Baker 19170945b1 Treat sessions that are there when we log in as old
Use the bulk 'review' toast for sessions that existed at the time
of login, rather than considering them all to be new.

Also cheeky unrelated proptypes fix.

Fixes https://github.com/vector-im/riot-web/issues/13443
Requires https://github.com/matrix-org/matrix-js-sdk/pull/1360
2020-04-29 17:45:28 +01:00
J. Ryan Stinnett e3da750de0 Allow resetting storage from the access dialog
This adds a path to reset secret storage from the access dialog instead of
throwing an error.

Fixes https://github.com/vector-im/riot-web/issues/13436
2020-04-29 17:43:05 +01:00
David Baker d691386ef0 Lint 2020-04-29 15:56:01 +01:00
David Baker 691066af94 Update (bulk) unverified device toast copy
Fixes https://github.com/vector-im/riot-web/issues/13444
2020-04-29 15:32:56 +01:00
David Baker 58c0cfe315 Add jsdoc explaining ordering behaviour 2020-04-29 15:18:49 +01:00
David Baker e9214f7d13 Make new device toasts appear above review toasts
...but below incoming verification toasts, which means we now need
to actually handle priority insertion correctly. Oh well.

Fixes https://github.com/vector-im/riot-web/issues/13442
2020-04-29 15:18:43 +01:00
David Baker 5eb86c0d6a Comment typo
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-04-29 12:37:34 +01:00
David Baker 690e934b27 Remove await for some more getStoredDevice() calls 2020-04-29 12:37:29 +01:00
David Baker 8aa5d762db Clarify that we don't need tyo recheck 2020-04-29 12:37:22 +01:00
David Baker e67faa15ca s/unverified/new/ 2020-04-29 12:37:17 +01:00
David Baker 9cbc407305 Add the other toast component 2020-04-29 12:37:10 +01:00
David Baker 0f9d3f555e Separate toasts for existing & new device verification
Separate device verification toasts into ones for devices that were
there when the app loaded and a separate toast for each device that
has appeared since.

Reverts part of https://github.com/matrix-org/matrix-react-sdk/pull/4506
(clicking a device from your own UserInfo now triggers the legacy
verification flow again).

Fixes https://github.com/vector-im/riot-web/issues/13422
Fixes https://github.com/vector-im/riot-web/issues/13418
2020-04-29 12:37:05 +01:00
David Baker 81d91721d8 Consts are constant 2020-04-29 12:35:23 +01:00
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