David Baker
124740a63c
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-04-30 22:08:00 +01:00
David Baker
3240b3bd60
Add device name to unverified session toast
2020-04-30 16:09:38 +01:00
Zoe
3acb952d9a
Merge pull request #4507 from matrix-org/foldleft/13167-spinner-progress
...
Show progress when loading keys
2020-04-30 14:09:47 +01:00
David Baker
e845409167
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:00:35 +01:00
David Baker
0eb39d8756
Merge pull request #4529 from matrix-org/dbkr/toast_copy_update_again
...
Update toast copy again
2020-04-30 10:01:16 +01:00
David Baker
5ecd874e82
yarn i18n
2020-04-30 09:44:15 +01:00
David Baker
683d6804ca
Update toast copy again
...
Fixes https://github.com/vector-im/riot-web/issues/13447
2020-04-29 19:07:10 +01:00
Bruno Windels
886b30a265
also recheck
2020-04-29 18:55:25 +02:00
David Baker
3502b90aeb
Merge pull request #4524 from matrix-org/dbkr/sessions_there_on_login_are_old
...
Treat sessions that are there when we log in as old
2020-04-29 17:42:16 +01:00
J. Ryan Stinnett
0e371b65d1
Merge pull request #4521 from matrix-org/jryans/reset-from-access
...
Allow resetting storage from the access dialog
2020-04-29 17:41:35 +01:00
David Baker
c41af152ac
Comment typo
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-04-29 17:33:18 +01:00
David Baker
a70efea69e
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:16:04 +01:00
David Baker
283a15c0b3
Lint
2020-04-29 15:54:32 +01:00
David Baker
9ac4fa92fd
Update (bulk) unverified device toast copy
...
Fixes https://github.com/vector-im/riot-web/issues/13444
2020-04-29 15:31:41 +01:00
J. Ryan Stinnett
65bdaa20b0
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 15:19:09 +01:00
Zoe
465442c31e
fragments and i18n don't play nice together
2020-04-29 15:13:24 +01:00
David Baker
325e1f9c4e
Add jsdoc explaining ordering behaviour
2020-04-29 15:10:23 +01:00
David Baker
1291a63b98
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 14:49:30 +01:00
Zoe
326d567468
Fixed the dialog height
2020-04-29 14:29:36 +01:00
Zoe
62c73146dc
copy changes
2020-04-29 14:14:39 +01:00
David Baker
eceb8edfbc
Merge pull request #4511 from matrix-org/dbkr/another_round_of_toast
...
Separate toasts for existing & new device verification
2020-04-29 12:09:37 +01:00
David Baker
0026e4a018
Comment typo
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-04-29 11:25:18 +01:00
David Baker
126d81912b
Remove await for some more getStoredDevice() calls
2020-04-29 11:02:22 +01:00
J. Ryan Stinnett
4adbfce92d
Merge pull request #4502 from matrix-org/jryans/set-up-button-text
...
Fix set up encryption toast to have use "set up" as action
2020-04-29 10:57:24 +01:00
David Baker
89a910c718
Clarify that we don't need tyo recheck
2020-04-29 10:55:44 +01:00
David Baker
75c680715f
s/unverified/new/
2020-04-29 10:53:36 +01:00
Bruno Windels
d9469e6afe
Merge pull request #4509 from matrix-org/bwindels/dontencryptfor3pids
...
Don't enable e2ee when inviting a 3pid
2020-04-29 09:49:28 +00:00
David Baker
6f25f2eaec
Add the other toast component
2020-04-29 10:44:51 +01:00
Bruno Windels
bb6d13781c
enable encryption when NOT inviting 3pids
2020-04-29 11:40:04 +02:00
Bruno Windels
f06a69d8cc
targets can also contain RoomMember, so take the positive case rather
2020-04-29 11:05:35 +02:00
Bruno Windels
4e98b5b4b6
dont enable e2ee when inviting a 3pid
2020-04-29 11:05:35 +02:00
David Baker
719faed2ff
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-28 18:35:16 +01:00
Michael Telatynski
32c512dbfe
Fix internal link styling in Security Settings
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-28 17:49:10 +01:00
Bruno Windels
d723aa9efe
Merge pull request #4508 from matrix-org/bwindels/moarthemingfixes
...
Small custom theming fixes
2020-04-28 15:25:53 +00:00
Bruno Windels
198edb06b9
use normal accessible button, which is themed
2020-04-28 16:35:20 +02:00
Jorik Schellekens
cf05beb4b8
Merge pull request #4355 from JorikSchellekens/joriks/font-scaling-fixes
...
Fix scaling issues
2020-04-28 13:47:50 +01:00
Zoe
689d6735fc
i18n
2020-04-28 11:36:28 +01:00
Zoe
9d1c73348c
Show progress when loading keys
2020-04-28 11:32:51 +01:00
David Baker
60d51a0f1e
Merge pull request #4506 from matrix-org/dbkr/aggregate_device_verify_toasts
...
Aggregate device verify toasts
2020-04-28 11:00:52 +01:00
Bruno Windels
3d094ea542
Merge pull request #4503 from matrix-org/bwindels/customthemechanges
...
Support setting username and avatar colors in custom themes
2020-04-28 09:06:08 +00:00
Bruno Windels
4978f8a2a9
validate hex color
2020-04-28 10:59:10 +02:00
David Baker
cad2f4d27d
Consts are constant
2020-04-28 09:49:03 +01:00
David Baker
4dca66d140
No need for this if statement now
2020-04-28 09:43:24 +01:00
David Baker
90326955ba
No need for a set here - bool is fine
2020-04-28 09:42:39 +01:00
Bruno Windels
19fc6a93ec
fix tests
2020-04-28 10:41:35 +02:00
David Baker
7e956514a2
Lint
2020-04-27 20:35:39 +01:00
David Baker
ff1fd15e72
Use the New Session review dialog for verifying our own devices
2020-04-27 20:31:14 +01:00
Bruno Windels
76e04fbdfa
update comment
2020-04-27 19:39:07 +02:00
Bruno Windels
1969310003
support overriding avatar background color from custom theme
2020-04-27 19:38:27 +02:00
J. Ryan Stinnett
b396096cd2
Fix set up encryption toast to have 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-27 18:35:51 +01:00