Bruno Windels
413a149b47
disable "Accept"/"Decline" buttons on verif tile after clicking
...
to avoid sending double events
2020-02-07 15:50:42 +01:00
Bruno Windels
049a6d2064
hide toast when request is accepted
...
if this is a .request > .ready request, dismissing when in .ready is what we want, as that is how you accept the request
if this is a .start request, we shouldn't dismiss
so only add .ready to the phases to hide the toast, not .started
2020-02-07 15:49:44 +01:00
Bruno Windels
fa13bb9689
make the verif toast work with to_device request that do .request/.ready
2020-02-07 15:49:36 +01:00
Michael Telatynski
4d0d6cdaa4
Merge branch 'develop' into t3chguy/password_completion
2020-02-05 20:24:37 +00:00
J. Ryan Stinnett
110c5f0e61
Fix listener removal in verification tile
...
Fixes https://github.com/matrix-org/riot-web-rageshakes/issues/2202
2020-02-04 23:13:55 +00:00
Zoe
f89ae19d76
Merge pull request #4028 from matrix-org/foldleft/12114-less-alarming-on-own-devices
...
Do not show alarming red shields on large encrypted rooms for your own device
2020-02-04 17:09:16 +00:00
Zoe
d822104159
Merge pull request #4010 from matrix-org/foldleft/11968-verify-verification
...
double-check user verification
2020-02-04 13:47:32 +00:00
Zoe
150fe7a45a
Tests for MKeyVerificationConclusion
2020-02-04 11:25:19 +00:00
Travis Ralston
bf9d5b7f01
Merge pull request #4027 from matrix-org/travis/fix-room-list
...
Don't crash immediately if the room directory chunk is null/empty
2020-02-04 09:36:12 +00:00
Zoe
fab54ab936
Merge pull request #3998 from matrix-org/zip/12038-toast-timeouts
...
Fix verification toast to close at 0s
2020-02-04 09:30:47 +00:00
Zoe
41f4b38fe8
Do not show alarming red shields on large encrypted rooms for your own device
...
Fixes: https://github.com/vector-im/riot-web/issues/12214
2020-02-03 16:53:32 +00:00
Travis Ralston
aa6eabcf57
Don't crash immediately if the room directory chunk is null/empty
...
Fixes https://github.com/vector-im/riot-web/issues/12197
2020-02-03 15:49:18 +00:00
David Baker
11cb3a60b2
Fix listener leak in TagPanel
2020-02-03 13:33:44 +00:00
J. Ryan Stinnett
2584772bfb
Merge pull request #4017 from matrix-org/jryans/e2e-copy-changes
...
Apply copy edits to security setup flow
2020-01-31 15:13:18 +00:00
J. Ryan Stinnett
16f72140b9
Merge pull request #4016 from matrix-org/jryans/verif-status-text
...
Fix user trust text to match what was checked
2020-01-31 15:12:52 +00:00
J. Ryan Stinnett
0fad5a62b4
Fix user trust text to match what was checked
...
This fixes the unverified users status text to omit devices since they haven't
been checked.
Fixes https://github.com/vector-im/riot-web/issues/12176
2020-01-31 14:06:57 +00:00
J. Ryan Stinnett
11008cfabf
Merge pull request #4013 from matrix-org/jryans/padlock-flag
...
Add temporary feature flag to control padlocks
2020-01-31 13:44:12 +00:00
David Baker
85489c4ec5
Merge pull request #4014 from matrix-org/dbkr/theme_is_login_override
...
Add an override for the theme
2020-01-31 13:30:12 +00:00
J. Ryan Stinnett
636b3696ed
Merge pull request #4011 from matrix-org/jryans/comp-sec-title
...
Add title to complete security loading
2020-01-31 13:22:22 +00:00
David Baker
cb9362456f
remove setter
2020-01-31 13:18:01 +00:00
David Baker
2d9b111680
Add an override for the theme
...
So we can force the light theme on unthemeable pages like the login
& complete security page.
Fixes https://github.com/vector-im/riot-web/issues/12149
Fixes https://github.com/vector-im/riot-web/issues/12157
2020-01-31 12:28:14 +00:00
J. Ryan Stinnett
02cada7cc6
First pass of copy changes
2020-01-31 12:15:19 +00:00
J. Ryan Stinnett
b64ba1dbbf
Add temporary feature flag to control padlocks
...
This default on feature flag will help in case we want to trial padlocks on vs.
off this weekend.
Fixes https://github.com/vector-im/riot-web/issues/12166
2020-01-31 11:09:49 +00:00
David Baker
c111d70deb
Merge pull request #4009 from matrix-org/dbkr/log_exceptions_other_than_cancel
...
Log exceptions from accessSecretStorage
2020-01-31 11:00:16 +00:00
J. Ryan Stinnett
1a95a1d4ba
Add title to complete security loading
2020-01-31 10:47:58 +00:00
J. Ryan Stinnett
19ab395c18
Merge pull request #3995 from matrix-org/jryans/4s-in-mem
...
Add advanced option to keep secret storage in memory for session
2020-01-31 10:45:57 +00:00
David Baker
ea7f160950
lint
2020-01-31 10:38:20 +00:00
Zoe
af0598bbcb
double-check user verification
2020-01-31 10:37:40 +00:00
David Baker
26c9b64c3b
Log exceptions from accessSecretStorage
...
Rather than ignoring everything assuming the user cancelled
2020-01-31 10:35:05 +00:00
J. Ryan Stinnett
68b2454920
Merge pull request #4006 from matrix-org/jryans/user-list-deco
...
Add shields to member list, move power label to text
2020-01-31 10:20:13 +00:00
David Baker
24075dc248
Merge pull request #4005 from matrix-org/dbkr/encryption_events
...
Make encryption events into bubble-style tiles
2020-01-31 10:20:03 +00:00
Zoe
36d7b8e3ed
don't close in UI, a js-sdk event will do that
2020-01-31 09:59:24 +00:00
David Baker
d0ab37ac50
Only say the room is encrypted if it actually is
2020-01-31 09:58:21 +00:00
Zoe
585a38cd45
Merge pull request #4000 from matrix-org/foldleft/12038-copy
...
Update copy when the user verifies their own devices
2020-01-31 09:57:52 +00:00
J. Ryan Stinnett
3ef7e5113b
Move power label to right of name
...
The power label is shown to the right of the name, but hidden on hover.
Part of https://github.com/vector-im/riot-web/issues/11940
2020-01-30 22:09:57 +00:00
J. Ryan Stinnett
57c4293fc6
Add verification status icons to room members
...
This displays verification status on each room member tile using the same shield
logic as elsewhere.
Part of https://github.com/vector-im/riot-web/issues/11940
2020-01-30 21:38:40 +00:00
Michael Telatynski
7db6f89a9f
hmm, there were two things using the client :((
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-30 21:07:32 +00:00
Michael Telatynski
1e09399dd6
delint and collapse two consecutive filter operations
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-30 21:01:55 +00:00
David Baker
58d16fea7d
lint
2020-01-30 20:59:27 +00:00
David Baker
2332cdb5d8
full stop
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-01-30 20:47:46 +00:00
David Baker
5447a04f8e
oops, forgot the component
2020-01-30 20:15:15 +00:00
David Baker
39e9bffe1f
Make encryption events into bubble-style tiles
...
Factors out the verification tile stuff into encryption event
styles so we can reuse them betwen all the encryption event tiles.
Also makes the event list summary stuff even more gnarly by
putting the encryption event tile above the group. We really need
to refactor that. :/
Fixes https://github.com/vector-im/riot-web/issues/12006
2020-01-30 20:03:26 +00:00
Michael Telatynski
bc71092b81
Use Sets instead of array scans and simplify hiding of invalid users to invite
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-30 19:27:59 +00: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
Zoe
e58b59c26e
don't tell users to verify themselves in person
2020-01-30 16:41:25 +00:00
J. Ryan Stinnett
bae35c0859
Change power icon to label instead
2020-01-30 16:40:25 +00:00
J. Ryan Stinnett
ceebb7dc55
Remove unused Entities, UserTile modules
2020-01-30 16:40:25 +00:00
Zoe
f787bde80a
copy
2020-01-30 16:36:57 +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
Zoe
a9d85e1fa3
lint
2020-01-30 16:27:35 +00:00
David Baker
4f62fc16bd
lint
2020-01-30 16:19:04 +00:00
J. Ryan Stinnett
ddc628c804
Merge pull request #3994 from matrix-org/jryans/verify-user-text
...
Change verify user text
2020-01-30 16:12:55 +00:00
Zoe
4a3ea30e52
copy for verification screen
2020-01-30 16:11:05 +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
Zoe
9f5f15d1d3
Update copy when the user verifies their own devices
2020-01-30 15:59:59 +00:00
David Baker
0956d00637
Make shields in UserInfo black if user isn't verified
2020-01-30 15:59:03 +00:00
Zoe
99b04a6f70
lint
2020-01-30 15:41:26 +00:00
Zoe
49d2ed8906
... and take action when the counter reaches zero in verification toast
2020-01-30 15:37:44 +00:00
Zoe
7e98ea79d2
Fix verification toast timeouts to not stick at 0
...
Fixes: https://github.com/vector-im/riot-web/issues/12038
2020-01-30 15:31:20 +00:00
Zoe
318689f40b
Disable all inputs in login form while busy, not just the submit button
2020-01-30 15:06:36 +00:00
J. Ryan Stinnett
788cb24093
Add advanced option to keep secret storage in memory for session
...
This adds a default-off option to keep the secret storage passphrase cached in
memory for the current session to avoid death by prompts.
2020-01-30 14:18:12 +00:00
J. Ryan Stinnett
fd5798aa87
Change verify user text
2020-01-30 13:21:51 +00:00
Zoe
767015d19d
Merge pull request #3993 from matrix-org/foldleft/12106-round-two
...
fix SAS dialog width
2020-01-30 13:10:32 +00:00
J. Ryan Stinnett
9c8ffb6c4e
Merge pull request #3990 from matrix-org/t3chguy/fix_composer_placeholder
...
Update placeholder in the composer when it gets changed
2020-01-30 13:08:42 +00:00
Zoe
4c1cc6feba
fix SAS dialog width
...
used fixedWidth to accomplish the same goal
clean up css
2020-01-30 12:48:41 +00:00
David Baker
c8673452be
Merge remote-tracking branch 'origin/develop' into dbkr/default_display_name_register
2020-01-30 11:45:54 +00:00
David Baker
2f4b3272da
Send initial device display najme on register
...
Fixes https://github.com/vector-im/riot-web/issues/12140
2020-01-30 11:27:54 +00:00
Michael Telatynski
52ed55d887
Update placeholder when it changes, not sure how this ever worked
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-30 00:23:19 +00:00
Michael Telatynski
ea0fafc4e9
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/olympics
2020-01-29 22:55:02 +00:00
Michael Telatynski
33ec73095e
Apply the Olympic effect to SAS Emoji Verification
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-29 22:44:49 +00:00
J. Ryan Stinnett
c851cc6070
Merge pull request #3987 from matrix-org/jryans/update-user-info-trust
...
Update user info for device and trust changes
2020-01-29 22:22:54 +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
J. Ryan Stinnett
786ddb8a7e
Merge pull request #3985 from matrix-org/jryans/relax-account-data-check
...
Relax secret storage account data check
2020-01-29 20:40:13 +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
David Baker
d63bb240aa
those words again
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-01-29 17:52:12 +00:00
David Baker
de6ef9ec90
words
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-01-29 17:51:51 +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
6f0d88a126
Relax secret storage account data check
...
If the homeserver is confused about account data or otherwise explodes here, we
don't want to block login, so just warn in this case.
2020-01-29 16:54:08 +00:00
J. Ryan Stinnett
6a94d84630
Merge pull request #3980 from matrix-org/jryans/cs-polish
...
Replace device with session in UI text
2020-01-29 16:32:40 +00:00
J. Ryan Stinnett
067bfe2ee3
Tweaks from PR
2020-01-29 16:10:46 +00:00
Michael Telatynski
a2734e6955
Add missing await causing promises to be leaked as room IDs
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-29 15:56:26 +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
J. Ryan Stinnett
725ec1dda6
Merge pull request #3978 from matrix-org/jryans/cs-polish
...
Change new session toast to unverified
2020-01-29 15:33:19 +00:00
Michael Telatynski
9457520cc2
Merge pull request #3975 from matrix-org/t3chguy/right_panel_learn_more
...
Replace Verify button in UserInfo verification with "Learn more"
2020-01-29 15:27:46 +00:00
J. Ryan Stinnett
b5914f5c2b
Fix later button
2020-01-29 15:14:56 +00:00
J. Ryan Stinnett
f12fe984e5
Change new session toast to unverified
...
This also changes text to show the device ID and name in the toast.
Fixes https://github.com/vector-im/riot-web/issues/11916
2020-01-29 15:00:04 +00:00
Bruno Windels
44bc0d9fb1
phase is a prop now
2020-01-29 15:45:36 +01:00
Bruno Windels
3590c97d96
unrelated fix: rerender hidden event tile when decrypted
...
to get accurate type
2020-01-29 15:27:55 +01:00
Bruno Windels
59dc3cfb97
update immediately, don't wait until verification is done
...
this can deadlock, as you can't finish the verification without the UI
2020-01-29 15:27:55 +01:00
Bruno Windels
c4f1659116
don't dismiss toasts for device verification
...
as they are immediately started
2020-01-29 15:27:26 +01:00
Michael Telatynski
00dd1a4a8f
Re-use existing classes to fix font-size matching
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-29 14:22:20 +00:00
Michael Telatynski
19e7c768b6
Replace Verify button in UserInfo verification with "Learn more"
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-29 14:11:50 +00:00
Michael Telatynski
64e96331ca
Merge pull request #3973 from matrix-org/t3chguy/update_copy
...
Update copy for right panel verification
2020-01-29 14:09:09 +00:00
J. Ryan Stinnett
c0e88bede9
Merge pull request #3972 from matrix-org/jryans/missing-timeline-uisi
...
Check for timeline in pre-join UISI path
2020-01-29 14:04:45 +00:00
Michael Telatynski
957e862939
Update copy some more
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-29 13:58:02 +00:00
Michael Telatynski
920daa3125
Get rid of custom enter handling and protect handlers, disabling button isn't foolproof
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-29 13:43:08 +00:00
Michael Telatynski
fe71fe6033
Sprinkle forms and new-password designators to make autofill and password completion less wild
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-29 13:38:50 +00:00
Michael Telatynski
cb0392b78d
use forms to wrap password fields so Chrome doesn't go wild and prefill all the things
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-29 13:24:45 +00:00