Bruno Windels
1f9bd55f3b
revert to legacy user verification (over to_device) without xsign keys
2020-03-06 17:37:01 +01:00
Bruno Windels
7d051d6a1d
await request promise inside encryption panel to show spinner
2020-03-05 17:44:35 +01:00
Bruno Windels
a5cd0a7d5f
indent by 4 spaces
2020-03-05 11:09:45 +01:00
Bruno Windels
8a964dbff0
avoid ref by getting count in setter callback
2020-03-04 17:19:54 +01:00
Bruno Windels
afc7273d10
use pendingUpdateCount rather, so we don't show multiple spinners
2020-03-04 16:58:04 +01:00
Bruno Windels
29af8add5d
only show verify button if user has uploaded cross-signing keys
2020-03-04 16:10:06 +01:00
Bruno Windels
400cb33247
put state declaration on top
2020-02-27 12:35:34 +01:00
Bruno Windels
50b64d8c55
add local echo for clicking 'start verification' button
2020-02-26 18:30:20 +01:00
Bruno Windels
682781aa48
better word smithing
2020-02-25 13:27:59 +01:00
Bruno Windels
2127edb7b8
show "Waiting for network" in EncryptionInfo after accepting in toast
2020-02-25 13:13:51 +01:00
J. Ryan Stinnett
64dc776e43
Merge pull request #4118 from matrix-org/jryans/hs-xsign-check
...
Check for cross-signing homeserver support
2020-02-24 16:58:57 +00:00
Bruno Windels
818156663a
don't leak if show_sas never comes (or already came)
2020-02-24 17:00:55 +01:00
J. Ryan Stinnett
a71a234622
Check for cross-signing homeserver support
...
This checks the homeserver to ensure it supports cross-signing (via the versions
feature flag) before attempting bootstrapping or offering user verification.
Fixes https://github.com/vector-im/riot-web/issues/11863
2020-02-24 15:04:34 +00:00
Bruno Windels
2350d102e3
update phase when request prop changes
2020-02-24 13:39:20 +01:00
Bruno Windels
1b38827d92
Merge pull request #4077 from matrix-org/bwindels/filterverifmethods
...
Only show supported verification methods
2020-02-18 10:16:01 +00:00
Bruno Windels
93674ec781
Merge pull request #4070 from matrix-org/bwindels/oneverifrequest
...
Find existing requests when starting a new verification request
2020-02-14 15:33:27 +00:00
Bruno Windels
30718e7fde
unsent could potentially also happen here
...
although should not happen in practice
2020-02-14 13:48:38 +01:00
Bruno Windels
a6c072ab42
only show supported verification methods
...
also an error message if none match
2020-02-14 13:48:18 +01:00
Zoe
37f1104f61
lint
2020-02-13 14:15:08 +00:00
Zoe
c3af1a2f95
don't be too magic about hiding tooltips
2020-02-13 13:47:39 +00:00
Bruno Windels
4b7cc12daa
check if there is already a request in progress when clicking verify
...
and go straight there instead of first showing EncryptionInfo panel
2020-02-13 14:34:44 +01:00
Bruno Windels
68197a1d18
also update phase after starting request
...
as it might now be a request that is already ongoing
2020-02-13 14:33:35 +01:00
Bruno Windels
d49fbf25f7
check if verifier sasEvent was already set on mount
...
this allow the verification panel to fully recover
the UI state from an on-going verification request
2020-02-13 14:32:33 +01:00
Bruno Windels
ec708b5e9b
Merge pull request #4058 from matrix-org/bwindels/dontpassmethodstoverify
...
remove methods arg to requestVerification(DM)
2020-02-13 08:51:36 +00:00
Zoe
e1608509d0
Disable 'start' button after clicking in VerificationPanel
2020-02-12 13:53:16 +00:00
Bruno Windels
33f3a61b94
remove unused imports
2020-02-11 18:23:05 +01:00
Bruno Windels
a1844e44f2
remove methods arg to requestVerification(DM)
...
as it's easy to have this argument be out of sync from all
the places this is called from the js-sdk. There is also little point,
as you can already specify the methods a consumer of the js-sdk
wants to provide through the verificationMethods option when creating
the client object.
2020-02-11 18:22:48 +01:00
Bruno Windels
7a026eb15d
Merge pull request #4043 from matrix-org/bwindels/showunverifieddevicedialogonclick
...
Verify single device from other user in right panel & Not Trusted dialog
2020-02-11 15:35:24 +00:00
Bruno Windels
1d39aa6a81
Merge pull request #4049 from matrix-org/bwindels/verifybuttonsdisable
...
Disable verification buttons after clicking to avoid double submission
2020-02-11 15:35:00 +00:00
Bruno Windels
5267dbf44a
Update src/components/views/right_panel/UserInfo.js
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-02-11 15:21:01 +00:00
Bruno Windels
4b8382b5c4
remove dead code
2020-02-10 17:07:02 +01:00
Bruno Windels
a693af0c6b
fix lint
2020-02-10 16:19:27 +01:00
Bruno Windels
2a8453b939
i18n fixes
2020-02-10 16:19:27 +01:00
Bruno Windels
9059f00b29
move css to correct file
...
Move the CSS for the dialog layout used in VerificationPanel to
_VerificationPanel.scss,
and delete the latter as it doesn't have any css of it's own anymore
2020-02-10 16:19:27 +01:00
Travis Ralston
ea4d97fa73
Hack in a layout option
2020-02-10 16:19:27 +01:00
Bruno Windels
5c89b41177
make device verification go over right panel (after showing dialog)
...
dialog should be more or less as in the design
2020-02-07 18:36:46 +01:00
Bruno Windels
577121e88d
disable "verify by emoji" after clicking it
2020-02-07 15:50:51 +01:00
Travis Ralston
724cff6a2e
Update QR code rendering to support VerificationRequests
...
Makes for building the QR code easier and more common.
2020-01-30 17:12:44 +00:00
David Baker
8a09cfbfbd
Merge pull request #3999 from matrix-org/dbkr/user_info_black_shields
...
Make shields in UserInfo black if user isn't verified
2020-01-30 16:30:19 +00:00
David Baker
4f62fc16bd
lint
2020-01-30 16:19:04 +00:00
David Baker
77618d30fd
Actually this is green because it's a link
...
not because the things were verified. Use the linkButton class
2020-01-30 16:08:42 +00:00
David Baker
0956d00637
Make shields in UserInfo black if user isn't verified
2020-01-30 15:59:03 +00:00
J. Ryan Stinnett
fd5798aa87
Change verify user text
2020-01-30 13:21:51 +00:00
J. Ryan Stinnett
eaa48665d2
Guard request input
2020-01-29 21:59:30 +00:00
J. Ryan Stinnett
7a5bf8f102
Update user info for device and trust changes
...
This ensure the user info panel updates automatically for device and trust
changes.
Fixes https://github.com/vector-im/riot-web/issues/12134 `
2020-01-29 21:55:29 +00:00
David Baker
ac173e9d50
Merge pull request #3984 from matrix-org/dbkr/rightpanel_verif_phase
...
Fix various races that prevented the right panel being in the right state for verifications
2020-01-29 18:03:27 +00:00
Bruno Windels
ad458722dc
evaluate on mount whether we need to call .verify()
...
as the request might be in phase started already.
2020-01-29 17:58:23 +01:00
David Baker
e403169e13
Fix various races that prevented the right panel being in the right state for verifications
...
Fixes https://github.com/vector-im/riot-web/issues/11989
2020-01-29 16:56:12 +00:00
J. Ryan Stinnett
067bfe2ee3
Tweaks from PR
2020-01-29 16:10:46 +00:00
J. Ryan Stinnett
81ee27f41e
Replace device with session in UI text
...
This replaces "device" with "session" throughout user-visible text at the React
layer. Variable names and comments are left as-is for now.
2020-01-29 15:52:32 +00:00