Travis Ralston
e4835c4b03
Demonstrate dis.fire() with view_user_settings
...
Like a5f3318f3b
, this proves that the new dispatcher conversion works for fire-and-forget style dispatches too. This is another obvious-if-broken and generally safe conversion to make.
Other actions which can be dispatched this way have been excluded for reasons mentioned in the Action enum's comments.
2020-05-13 21:08:08 -06:00
Travis Ralston
90a898d03f
Move dispatcher into a subdirectory
...
We're expecting to have a whole bunch of types for the dispatched payloads, so pull the thing into a directory we can throw them in.
2020-05-13 21:07:50 -06:00
Travis Ralston
9dd93f14ba
Merge pull request #4555 from matrix-org/travis/sso-xsigning
...
Add copy to SSO prompts during cross-signing setup
2020-05-13 15:33:09 -06:00
Michael Telatynski
77e32977dc
Merge pull request #4579 from matrix-org/t3chguy/create_room_public
...
Default to public room when creating room from room directory
2020-05-13 10:50:38 +01:00
Travis Ralston
6d90a9d1a3
Appease the linter
2020-05-12 17:20:26 -06:00
Travis Ralston
c0632d0195
Acquire a new session before enacting deactivation
...
Fixes https://github.com/vector-im/riot-web/issues/13645
Every time the checkbox value changes we acquire a new session now. This avoids us asking the server to change its direction partway through the request.
This causes a bit of UI jerk as the dialog goes from auth -> loading -> auth, however it's better than the alternative of reworking the entire UIA structure to support the `authData` dict changing. Originally this commit consisted of a `disabled` flag on the `InteractiveAuth` component which carried through to the stage's component, however it turns out that stack doesn't respect changes to the `authData` prop, which means the session ID we eventually send down is wrong (`erase: false` instead of the one with `erase: true`). Therefore, we do some logic to ensure we remount `InteractiveAuth` completely.
Further work in this area is described in https://github.com/vector-im/riot-web/issues/13646
2020-05-12 17:17:17 -06:00
Michael Telatynski
7fe40a0470
Default to public room when creating room from room directory
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-12 10:55:46 +01:00
David Baker
6486c74909
Fix passphrase reset in key backup restore dialog
...
We prompt to restore the key backup when bootstrapping if it's not
trusted, but the 'set up new recovery options' in this dialog just
sets up a new key backup which just goes back to trying to access
SSSS if cross-signing is enabled. This makes it reset the SSSS
passphase instead.
Fixes https://github.com/vector-im/riot-web/issues/13578
2020-05-11 14:21:59 +01:00
Jorik Schellekens
33a5b5142d
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into joriks/font-scaling-slider
2020-05-07 18:01:20 +01:00
Travis Ralston
b8fd50c5e3
Appease the linter
2020-05-06 14:27:32 -06:00
Travis Ralston
d31a0199bc
Add default dialog aesthetics to avoid empty SSO dialogs in future
2020-05-06 14:24:16 -06:00
Michael Telatynski
62bbf15efe
Merge pull request #4497 from matrix-org/t3chguy/invite_copy
...
Update Invite Dialog copy to include email addresses
2020-05-06 18:16:36 +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
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
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
Bruno Windels
bb6d13781c
enable encryption when NOT inviting 3pids
2020-04-29 11:40:04 +02:00
Michael Telatynski
41dece38a4
iterate copy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-29 10:35:35 +01: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
Jorik Schellekens
1b83faaa8d
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into joriks/font-scaling-slider
2020-04-28 15:38:46 +01:00
Zoe
9d1c73348c
Show progress when loading keys
2020-04-28 11:32:51 +01:00
Michael Telatynski
a58fd6c475
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-27 14:27:41 +01:00
David Baker
ca0cede1aa
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 14:25:47 +01:00
Michael Telatynski
606940bd77
Update Invite Dialog copy to include email addresses
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-27 14:07:39 +01:00
David Baker
6460f6303c
Move store subscribe to didmount
2020-04-24 17:36:02 +01:00
David Baker
bbce37b92f
Make icon change in SetupEncryptionDialog
...
Fixes https://github.com/vector-im/riot-web/issues/13368
2020-04-24 15:39:54 +01:00
Jorik Schellekens
600a812227
Add brush icon for appearance setting tab
2020-04-23 12:20:10 +01:00
Jorik Schellekens
7c9df04d42
Use "Appearance" instead of "Style"
2020-04-23 10:45:47 +01:00
Jorik Schellekens
c1827925da
Use new style tab
2020-04-23 10:45:47 +01:00
Michael Telatynski
b10a386675
Fix i18n of SSO UIA copy in Deactivate Account Dialog
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 21:37:52 +01:00
Zoe
61c6c8de45
Add a back button to the devtools verifications panel
2020-04-21 16:27:31 +01:00
Michael Telatynski
29028844f9
Merge pull request #4435 from matrix-org/t3chguy/typo1
...
Fix typo
2020-04-17 16:47:27 +01:00
Michael Telatynski
518639e8b1
Fix typo
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-17 16:04:38 +01:00
Michael Telatynski
66de06c7b9
Merge pull request #4381 from matrix-org/t3chguy/rageshake_incompatible_browser
...
Rageshake: remind user of unsupported browser and send modernizr report
2020-04-17 13:14:40 +01:00
Michael Telatynski
81c7660bf5
Iterate copy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-17 12:25:16 +01:00
Travis Ralston
a5f5f759cb
Create unencrypted rooms by default in e2e-tests
...
Otherwise the lazy loading test will try to join the room after the encrypted messages have already been sent, making them invisible.
See https://github.com/vector-im/riot-web/issues/13226#issuecomment-614928362
2020-04-16 16:27:43 -06:00
Travis Ralston
db749519e7
Merge branch 'develop' into travis/cross-sign-setting
2020-04-16 11:06:26 -06:00
Michael Telatynski
e942a35525
Fixxy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 14:09:41 +01:00
Michael Telatynski
ce78e3b8d8
further tweaks by Matthew
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 13:28:12 +01:00
Michael Telatynski
1fb0f39c84
Replace Verify this session
and Complete security
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 13:23:01 +01:00
Michael Telatynski
f65c31383d
Copy tweaks with Nad
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 12:52:35 +01:00
Michael Telatynski
a9a2999ccc
Use recovery passphrase
and recovery key
everywhere
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 12:26:12 +01:00
Travis Ralston
b4e2daaf46
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-15 13:18:42 -06:00
Michael Telatynski
276b5b874c
Convert ShareDialog to Typescript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-15 00:22:19 +01:00
Michael Telatynski
89bc3bdd5b
consolidate and extract copyPlaintext, copyNode and selectText
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-15 00:16:11 +01:00
Michael Telatynski
09d56e7bbc
Fix create room dialog e2ee private room setting
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-14 13:05:23 +01:00
Michael Telatynski
384336e8f1
s/alias/address/ in copy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-14 10:06:57 +01:00
Michael Telatynski
237084da78
wrap node-qrcode in a React FC and use it for ShareDialog instead of qrcode-react
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-11 23:46:58 +01:00
Michael Telatynski
0153f39c10
Rageshake, remind user of unsupported browser and report missing features in report
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-09 22:55:28 +01:00
Michael Telatynski
a9a253f27f
Merge pull request #4362 from matrix-org/t3chguy/private_room_e2ee
...
Add toggle for e2ee when creating private room
2020-04-09 17:22:58 +01:00
Michael Telatynski
4041c030a5
Apply changes from Figma
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-08 14:44:34 +01:00
Michael Telatynski
eec28ce38a
Update styling and copy to match Figma
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-08 13:47:15 +01:00
J. Ryan Stinnett
8ffc206358
Merge pull request #4356 from matrix-org/travis/deactivate-sso
...
Support deactivating your account with SSO
2020-04-08 12:19:53 +01:00
Michael Telatynski
ada860f163
Add toggle for e2ee when creating private room in x-signing world
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-08 10:50:22 +01:00
Michael Telatynski
f61c888f0c
Merge pull request #4358 from matrix-org/t3chguy/fix_complete_security
...
Fix sas verification buttons to match figma
2020-04-08 10:00:39 +01:00
Travis Ralston
900a05366e
Fix share dialog correctly
...
componentDidMount fires too late for this dialog, so we need to set ourselves up in the constructor.
Fixes https://github.com/vector-im/riot-web/issues/13068
2020-04-07 15:22:38 -06:00
Michael Telatynski
712e6e8c49
Fix sas verification buttons to match figma and remove useless inDialog prop from EncryptionPanel.js
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-07 19:03:12 +01:00
Travis Ralston
bdeba252ec
Support deactivating your account with SSO
...
Fixes https://github.com/vector-im/riot-web/issues/12940
2020-04-06 15:42:06 -06:00
Bruno Windels
081baa2359
set dialog title for self-verification
...
use request.isSelfVerification helper
2020-04-02 17:51:06 +02:00
Michael Telatynski
6db51cf9aa
Merge pull request #4321 from matrix-org/t3chguy/room_settings_notif_icon
...
Fix Room Settings Dialog Notifications tab icon
2020-04-02 09:50:57 +01:00
Travis Ralston
5c2841323e
Appease the linter by turning it off
2020-04-01 14:45:54 -06:00
Travis Ralston
47e5cfecf2
Silence usages of componentWillReceiveProps
...
For https://github.com/vector-im/riot-web/issues/12877
2020-04-01 14:35:39 -06:00
Travis Ralston
07030a9466
Merge branch 'develop' into travis/react-warnings/3-componentCannotDidMount
2020-04-01 11:14:19 -06:00
Travis Ralston
0fcbe40bec
Merge pull request #4314 from matrix-org/travis/react-warnings/2-code-quality
...
Fix a number of minor code quality issues
2020-04-01 11:13:46 -06:00
Travis Ralston
59a99bbad8
Merge pull request #4313 from matrix-org/travis/react-warnings/1-componentDidMount
...
Use componentDidMount in place of componentWillMount where possible
2020-04-01 11:13:04 -06:00
Travis Ralston
8f04746e4e
Revert to UNSAFE_componentWillMount where componentDidMount will not work
2020-04-01 11:05:49 -06:00
Michael Telatynski
544bd09667
Merge pull request #4320 from matrix-org/t3chguy/user_info_buttons
...
Fix UserInfo e2e buttons to match Figma
2020-04-01 17:47:05 +01:00
Travis Ralston
094d006928
Merge pull request #4292 from matrix-org/travis/sso-uia
...
Support SSO for interactive authentication
2020-04-01 10:27:24 -06:00
Michael Telatynski
6293684218
Fix Room Settings Dialog Notifications tab icon
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-01 12:57:28 +01:00
Michael Telatynski
4a4a13ac75
Fix UserInfo e2e buttons to match Figma
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-01 12:21:18 +01:00
Travis Ralston
0a6f54da33
Label and use UNSAFE_componentWillMount to minimize warnings
...
These TODO comments are expected to be fixed ASAP, but until that happens let's minimize the errors in the console for development.
For https://github.com/vector-im/riot-web/issues/12877
These all aren't using componentDidMount because they do something which causes application instability if componentDidMount were used. Much of these calls are expected to move into constructors once they are converted to real classes.
2020-03-31 14:15:23 -06:00
Travis Ralston
3f99332f4b
Use componentDidMount in place of componentWillMount where possible
...
This fixes a common React warning we see. Most of these components should be using constructors instead, however componentDidMount is just as good (and doesn't require converting most of these).
Conversion to classes will be done in a later stage of React warning fixes.
For https://github.com/vector-im/riot-web/issues/12877
2020-03-31 14:14:17 -06:00
Travis Ralston
c86d75693b
Fix a number of minor code quality issues
...
Most of these are complaints from my IDE. Discovered by going through nearly every file looking for React warnings.
2020-03-31 14:05:56 -06:00
Travis Ralston
6112d92f80
Remove debugging
2020-03-30 20:11:23 -06:00
Travis Ralston
ffa75ef48c
Wire up all the dialog parts for SSO, using device deletion as a POC
2020-03-30 20:03:46 -06:00
Michael Telatynski
63853d9de1
Add download logs button to BugReportDialog
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-30 16:12:28 +01:00
Michael Telatynski
8c2b910c03
rework SlashCommands to better expose aliases
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-30 13:59:08 +01:00
Michael Telatynski
19aae087e0
Field: make id optional, generate one if not provided
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-29 22:59:15 +01:00
Bruno Windels
44ce5b5764
Merge pull request #4267 from matrix-org/bwindels/setupcrosssigningafterskip
...
Fix: make self-verification wait for incoming request
2020-03-26 10:08:15 +00:00
Zoe
936a4a0022
lint
2020-03-25 11:47:07 +00:00
Zoe
8b2ae3e20f
If cached keys are present in the key backup dialog, use them
2020-03-25 11:41:59 +00:00
Bruno Windels
3e59127d12
use SetupEncryptionBody to show a dialog from "Verify this session"
2020-03-24 16:39:43 +01:00
David Baker
96ec18a662
Merge pull request #4242 from matrix-org/dbkr/symmetric-ssss-migrate
...
Migration to symmetric SSSS
2020-03-24 13:12:24 +00:00
Michael Telatynski
1469690835
Fix logout when Olm failed to load.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-23 14:48:55 +00:00
Bruno Windels
39bd1da1d0
update copy
2020-03-20 15:43:05 +01:00
Bruno Windels
1620f2159b
add 2020 foundation copyright
2020-03-20 15:36:58 +01:00
Bruno Windels
b97b887305
fix lint
2020-03-20 15:36:58 +01:00
Bruno Windels
510b71b0e5
extract manual device verification out of device verify dialog
...
as the plan is to remove the latter
2020-03-20 15:36:58 +01:00
David Baker
ea62a13e59
Merge remote-tracking branch 'origin/develop' into dbkr/symmetric-ssss-migrate
2020-03-19 21:14:27 +00:00
David Baker
c8691c73ff
Allow key backup restore to get the key backup passphrase
...
And pass this in as the new callback to bootstrap to get the old
key backup passphrase.
2020-03-19 20:42:16 +00:00
Michael Telatynski
c616107d1c
Merge pull request #4233 from matrix-org/t3chguy/invite_fixes
...
Invite Dialog fixes
2020-03-19 17:32:30 +00:00
Zoe
d4486a3eeb
Merge pull request #4229 from matrix-org/foldleft/11574-handle-upload-errors
...
Report to the user when a key signature upload fails
2020-03-19 16:00:18 +00:00
Michael Telatynski
fa6a937896
don't block onFinished as there are other ways to close modal
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-19 09:58:49 +00:00
Michael Telatynski
1dc30beb95
disable textarea when busy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-19 09:58:04 +00:00
Michael Telatynski
963c0a7b3f
Hide remove target buttons when busy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-18 21:16:41 +00:00
Michael Telatynski
dd9ead0166
Invite dialog: backspace on empty field remove right-most target
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-18 21:09:52 +00:00
Michael Telatynski
22c8df9f23
Update DM invite copy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-18 21:08:37 +00:00
Michael Telatynski
d593a76f28
Merge branches 'develop' and 't3chguy/kbd' of github.com:matrix-org/matrix-react-sdk into t3chguy/kbd
2020-03-18 20:41:13 +00:00
Michael Telatynski
cad28c81c0
Add Keyboard shortcuts dialog
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-18 16:40:21 +00:00
Michael Telatynski
42ee157645
Merge pull request #4217 from matrix-org/t3chguy/gemini
...
Remove Gemini Scrollbars
2020-03-18 14:03:51 +00:00
Michael Telatynski
ef79492f2c
Merge pull request #4209 from matrix-org/t3chguy/redesign/room_directory
...
Room Directory Explore Servers redesign
2020-03-18 11:51:42 +00:00
Zoe
ea99eebb7b
Report to the user when a key signature upload fails
2020-03-17 11:45:27 +00:00
Michael Telatynski
44b0aa2d88
Remove remainders of gemini-scrollbar and react-gemini-scrollbar
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-17 10:31:45 +00:00
Michael Telatynski
82a37ba0ad
Fix styling of NetworkDropdown dialogs
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-16 12:00:56 +00:00
Michael Telatynski
b68d4583d1
migrate UnknownDeviceDialog away from Gemini
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-13 23:49:28 +00:00
Michael Telatynski
ee1659625c
Add Field validation to TextInputDialog
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-13 17:32:02 +00:00
Michael Telatynski
86e53ea2c3
Initial attempt to redesign explore servers in room directory
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-13 00:02:50 +00:00
Bruno Windels
91de7fd7b6
also allow passing a promise to a verif request to the verification dialog
2020-03-10 18:59:45 +01:00
Travis Ralston
a50e4f624c
Merge pull request #4149 from matrix-org/travis/fix-directory-results
...
Suggest the server's results as lower quality in the invite dialog
2020-03-03 10:29:37 -07:00
Travis Ralston
7cfaa63aac
Fix the last char of people's names being cut off in the invite dialog
...
If someone named "TravisR" was being searched for with just "Travis", the last R in their name would be cut off because of the highlighting. Entering "TravisR" would restore it. Likewise, searching for "vis" would have done the same thing.
2020-02-28 14:08:43 -07:00
Travis Ralston
6269780f4b
Suggest the server's results as lower quality
...
This is a quick win for fixing https://github.com/vector-im/riot-web/issues/12488 but might not be a long-term solution. Idea is to see how this feels and go from there, which may mean scoring the results again to filter them in or altering the debounce timers.
2020-02-28 13:57:56 -07:00
Travis Ralston
a44d96bb77
Merge pull request #4144 from matrix-org/travis/error-handler-invite
...
Ensure errors when creating a DM are raised to the user
2020-02-28 11:04:27 -07:00
Travis Ralston
46a6af0ad1
Ensure errors when creating a DM are raised to the user
...
Fixes https://github.com/vector-im/riot-web/issues/12186
Note: this will still result in an empty room being created, but that's a Synapse issue and not something we can solve.
2020-02-27 17:10:31 -07:00
Stuart Mumford
c96dd9715a
Fix no cancel button just for Registration
2020-02-26 21:56:01 +00:00
Travis Ralston
6dcbed0320
Merge pull request #4123 from matrix-org/travis/invite-populate
...
Ensure DMs tagged outside of account data work in the invite dialog
2020-02-25 09:45:52 -07:00
Travis Ralston
7091e7a4af
Use the right keyword
2020-02-25 09:19:37 -07:00
Zoe
1d8756b95d
text improvements
2020-02-25 15:40:06 +00:00
Zoe
9ed83b8648
Show a warning dialog when user indicates a new session wasn't them
2020-02-25 11:37:01 +00:00
Travis Ralston
866ed68615
Ensure DMs tagged outside of account data work in the invite dialog
...
Fixes https://github.com/vector-im/riot-web/issues/12418
Includes a refactor so we don't need to litter the code with the same magic string for DM tags.
2020-02-24 19:43:49 -07:00
Zoe
381cbbabb0
Merge pull request #4106 from matrix-org/foldleft/verification-devtool
...
Add verification request viewer in devtools
2020-02-24 14:34:45 +00:00
Zoe
f3ac3554a9
include observeOnly
2020-02-24 14:17:34 +00:00
Zoe
0d3d837871
useEventEmitter hook instead of manually using code
2020-02-24 13:44:04 +00:00
Zoe
af514385b2
Avoid shadowing window.setTimeout
2020-02-24 11:53:12 +00:00
Zoe
71bdc5987b
added clarifying comment
2020-02-24 11:33:49 +00:00
Zoe
0663ab3b87
lint, and detect new requests
2020-02-24 10:17:33 +00:00
Michael Telatynski
b2c1242207
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-23 22:19:18 +00:00
Michael Telatynski
d783ce86c8
Use noreferrer in addition to noopener for edge case browsers
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-23 22:14:29 +00:00
Travis Ralston
c906b9eccf
Filter out empty strings when pasting IDs into the invite dialog
...
Fixes https://github.com/vector-im/riot-web/issues/12459
2020-02-21 13:26:37 -07:00
Zoe
72789897a0
Quick n dirty verificatio request viewer in devtools
2020-02-21 17:15:53 +00:00
Travis Ralston
bcb1d73c3c
Appease the linter
2020-02-20 23:21:35 -07:00
Travis Ralston
8ba274a382
Allow creating a room with only yourself in it
...
Fixes https://github.com/vector-im/riot-web/issues/12092
2020-02-20 23:16:21 -07:00
Travis Ralston
f491e4222a
Convert the user's last filter into a selection if possible
...
Fixes https://github.com/vector-im/riot-web/issues/12440
2020-02-20 23:10:43 -07:00
Travis Ralston
62aaa0db9a
Always insert suggestions for user IDs
...
Fixes https://github.com/vector-im/riot-web/issues/12419
2020-02-20 23:02:10 -07:00
Travis Ralston
00cc253594
Always suggest a pill for MXID-looking users
...
Part of https://github.com/vector-im/riot-web/issues/12440
2020-02-20 23:02:10 -07:00
Bruno Windels
fb28bbbaa6
dont say we can scan when we dont
2020-02-20 12:06:34 +01:00
Bruno Windels
913caf67a9
Merge pull request #4081 from matrix-org/bwindels/cancelondialogclose
...
Cancel verification request on dialog close
2020-02-20 11:00:00 +00:00
Zoe
0e0aadd3f2
fixed inexplicible scope bug
2020-02-18 11:30:10 +00:00
Zoe
164b355ffe
abstract out the check for available target devices
2020-02-18 11:25:19 +00:00
Bruno Windels
46e63fd571
cancel on dialog close
2020-02-18 11:14:16 +01: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
91c9c00712
Merge pull request #4044 from matrix-org/bwindels/riotx-qr-compat
...
Make QR self-verification compatible with RiotX
2020-02-11 17:20:40 +00: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
a84e90df51
Merge pull request #4042 from matrix-org/bwindels/encryptionpaneleverywhere
...
Use EncryptionPanel everywhere, part I
2020-02-11 15:16:47 +00:00
Zoe
6b6d612041
Fix error message rendering for key entry
...
Relates to https://github.com/vector-im/riot-web/issues/12288
2020-02-11 12:02:12 +00:00
Zoe
d47d13256f
Merge pull request #4041 from matrix-org/foldleft/12221-reset-cross-signing
...
Button to reset cross-signing and SSSS keys
2020-02-10 17:14:05 +00:00
Bruno Windels
9dde09d36f
cleanup
2020-02-10 17:35:10 +01:00
Travis Ralston
ccde5530d2
Add reciprocate as a method
2020-02-10 17:34:45 +01:00
Travis Ralston
afc38b92a0
Always send scan for RiotX (for now)
2020-02-10 17:33:19 +01:00
Bruno Windels
936b40f6b5
remove commented out code
2020-02-10 16:19:27 +01:00
Bruno Windels
a693af0c6b
fix lint
2020-02-10 16:19:27 +01:00
Bruno Windels
a865cfb013
put encryption in a proper dialog with close button
2020-02-10 16:19:27 +01:00
Bruno Windels
39fab02fcc
rename DeviceVerifyOwnDialog to VerificationRequestDialog
...
as it works (and we want to use it) for any verification request,
not just between two devices of the same user
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
ee23bfe625
need to close the current dialog before opening a new modal
2020-02-10 16:19:27 +01:00
Bruno Windels
f368339b78
cram EncryptionPanel into a Dialog when clicking from new session dialog
2020-02-10 16:19:27 +01:00
Bruno Windels
b210c9cb76
close dialog after clicking continue
2020-02-10 16:19:27 +01:00
Bruno Windels
747a4866e2
indenting
2020-02-10 16:19:27 +01:00
Travis Ralston
bc5a59339b
Send NewSessionReviewDialog through dialogs
2020-02-10 16:19:27 +01:00
Bruno Windels
5866d67c88
Alterations to DeviceVerifyDialog to support picking QR code
2020-02-10 16:18:44 +01:00
Bruno Windels
6b85ca2fb9
add qr code method to new session dialog
2020-02-10 16:17:49 +01:00
Bruno Windels
496dfc6187
send a .request and open it in the right panel on new session verify
2020-02-10 16:17:05 +01:00
Michael Telatynski
74af4fd764
disabled submit button be disabled
2020-02-09 15:07:07 +00:00
Bruno Windels
e016cbefff
support header image in QuestionDialog
2020-02-07 18:36:41 +01:00
Zoe
a260d7a147
manual lint
2020-02-07 15:53:43 +00:00
Zoe
b08c5d8410
lint
2020-02-07 15:46:31 +00:00
Zoe
8fdae73e03
Button to reset cross-signing and SSSS keys
2020-02-07 14:55:01 +00:00
Michael Telatynski
4d0d6cdaa4
Merge branch 'develop' into t3chguy/password_completion
2020-02-05 20:24:37 +00:00
J. Ryan Stinnett
02cada7cc6
First pass of copy changes
2020-01-31 12:15:19 +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
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
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
Zoe
a9d85e1fa3
lint
2020-01-30 16:27:35 +00:00
Zoe
4a3ea30e52
copy for verification screen
2020-01-30 16:11:05 +00:00
Zoe
9f5f15d1d3
Update copy when the user verifies their own devices
2020-01-30 15:59:59 +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
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
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
Michael Telatynski
a549c42022
Update copy for right panel verification
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-29 12:10:50 +00:00
Travis Ralston
45735d5ae3
Merge pull request #3970 from matrix-org/travis/user-lists/fix-paste
...
Let users paste text if they've already started filtering invite targets
2020-01-29 11:45:21 +00:00
Travis Ralston
e200988dbf
Merge pull request #3969 from matrix-org/travis/user-lists/suggestions
...
Filter event types when deciding on activity metrics for DM suggestions
2020-01-29 11:40:32 +00:00
Travis Ralston
95a78538e0
Break after getting timestamp
2020-01-29 11:23:48 +00:00
Travis Ralston
a138a66e77
Let users paste text if they've already started filtering invite targets
...
Fixes https://github.com/vector-im/riot-web/issues/11814
2020-01-29 11:22:03 +00:00
Travis Ralston
8d12657483
Filter event types when deciding on activity metrics for DM suggestions
...
Fixes https://github.com/vector-im/riot-web/issues/12083
2020-01-29 11:14:33 +00:00
Travis Ralston
610354220e
Automatically focus on the invite dialog input
...
Fixes https://github.com/vector-im/riot-web/issues/12070
2020-01-29 11:01:00 +00:00
Michael Telatynski
2c973f7467
Merge pull request #3950 from matrix-org/t3chguy/cs_verification_decoration
...
Cross Signing Right Panel Verification Decoration
2020-01-28 23:57:48 +00:00
David Baker
de295cc350
Merge remote-tracking branch 'origin/develop' into dbkr/better_flow_for_upgrade_on_login
2020-01-28 17:49:57 +00:00
Michael Telatynski
76e61b9948
Merge branches 'develop' and 't3chguy/cs_verification_decoration' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/cs_verification_decoration
2020-01-28 17:19:59 +00:00
David Baker
abfa593791
Make the 'encryption upgrade' flow better
...
Fixes https://github.com/vector-im/riot-web/issues/12086
2020-01-28 16:36:07 +00:00
Half-Shot
ff532dd684
Merge remote-tracking branch 'origin/develop' into hs/bridge-info-pretty
2020-01-28 16:01:50 +00:00
Half-Shot
7c0a461cbb
Merge remote-tracking branch 'origin/develop' into hs/bridge-info-pretty
2020-01-28 11:22:02 +00:00