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
Damir Jelić
81e61d6f9d
EventIndexPanel: Move the comments around for the getStats calls.
2020-02-20 14:46:10 +01:00
Damir Jelić
a650c47d6b
ManageEventIndexDialog: Add a space before the function parenthesis.
2020-02-20 14:46:10 +01:00
Damir Jelić
1897d67818
EventIndexPanel: Catch getStats failures.
...
Getting the stats can fail when used with Seshat. Tantivy periodically
garbage collects its files. Smaller files are merged and the old ones
are removed.
If garbage collection occurs while we try to get the stats, which go
trough the files and figure out their sizes, we can end up trying to
figure out the file size of a removed file. The getStats call will fail
in this case but we can ignore the failure since we will likely get a
nice result next time we try.
2020-02-20 14:46:10 +01:00
Damir Jelić
9e3b0fdf7c
EventIndexPanel: Fix the removal of the updateCurrentRoom listeners.
...
The event listeners that update the current room and try to get the
current stats from the event index don't seem to be unmounted because
this != this confusion.
Turning them into arrow methods of the react class fixes this.
2020-02-20 14:46:10 +01:00
Michael Telatynski
16bbea0b59
Fix various leaks due to method re-binding
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-20 02:35:30 +00:00
Zoe
c8e65bfa65
flip sense of 'force' flag in if statement
2020-02-11 17:56:25 +00:00
Zoe
5382a52519
Fixed bug where key reset didn't always return the right key
2020-02-11 15:57:14 +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
Michael Telatynski
2230e746aa
sprinkle preventDefaults on form submission handlers
2020-02-09 15:03:28 +00:00
Michael Telatynski
0393a57b5a
fix submit button disabled breaking async task
2020-02-09 14:49:54 +00:00
Michael Telatynski
150f2b3f84
Merge branches 'develop' and 't3chguy/password_completion' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/password_completion
2020-02-09 14:19:44 +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
b92fe59436
Improve event indexing status strings for translation
...
The strings used for the count of rooms was hard to translate, so this adds a
bit more context.
2020-02-04 23:09:49 +00:00
Damir Jelić
d8576f23de
ManageEventINdexDialog: Fix a line length issue.
2020-02-01 12:11:49 +01:00
Damir Jelić
75fe3c2219
ManageEventIndexDialog: Show how many rooms are being currently crawled.
2020-02-01 12:01:53 +01:00
Damir Jelić
01c1c2364b
ManageEventIndexDialog: Add back a control for the crawler sleep time.
2020-01-31 18:46:45 +01:00
J. Ryan Stinnett
d5811cad28
Change UI auth title for cross-signing
2020-01-31 15:04:51 +00:00
J. Ryan Stinnett
02cada7cc6
First pass of copy changes
2020-01-31 12:15:19 +00:00
David Baker
96d5fb5ce3
Only display the first zxcvbn warning/suggestion
...
As per comment
Fixes https://github.com/vector-im/riot-web/issues/12150
2020-01-31 10:59:35 +00:00
Michael Telatynski
a180dddc66
Pass an ID to the <Field/> as needed and fix div inside p nesting
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-29 22:31:19 +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
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
David Baker
39c8a9d204
Start new key backup in security setup flow
...
Part of https://github.com/vector-im/riot-web/issues/11889
2020-01-28 19:42:09 +00:00
David Baker
5e1b42b350
unused component
2020-01-28 17:21:42 +00:00
David Baker
546acb696d
Add confirmation to skip button
...
Re-using the opt out phase which was unused
2020-01-28 17:15:50 +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
Damir Jelić
e2dd2bd950
Merge branch 'poljar/seshat-ui-pr' into develop
2020-01-27 17:18:17 +01:00
Damir Jelić
e38f1191a5
ManageEventIndex: Clarify that we're currently not downloading any messages.
2020-01-27 15:51:19 +01:00
Damir Jelić
7e0ab2f0a3
DisableEventIndexDialog: Turn the cancel button red.
2020-01-27 15:28:43 +01:00
David Baker
437b45f8a6
Remember password for e2e bootstrapping
...
Fixes https://github.com/vector-im/riot-web/issues/12046
2020-01-25 15:28:06 +00:00
David Baker
3d7137d4ad
Setup flow for cross-signing on login / registration
...
Still outstanding:
* Keep password from login / registration
* Confirmation on skip button
Fixes https://github.com/vector-im/riot-web/issues/11902
2020-01-24 19:11:57 +00:00
Damir Jelić
9f3e5ab1db
ManageEventIndexDialog: Remove an unused import.
2020-01-24 16:52:26 +01:00
Damir Jelić
3208ac60c7
ManageEventIndexDialog: Override the Disable button class to be danger.
2020-01-24 16:47:29 +01:00
Damir Jelić
ddea7415c7
EventIndexPanel: Use formatCountLong to format the event and room counts.
2020-01-24 16:15:06 +01:00
Damir Jelić
2252f48e04
DisableEventIndexDialog: Use a self-closing tag for the buttons.
2020-01-24 15:26:24 +01:00
Damir Jelić
97d55f63a3
DisableEventIndexDialog: Remove the incorrect class on the dialog.
2020-01-24 15:26:09 +01:00
Damir Jelić
ee133a9c71
DisableEventIndexDialog: Remove an unused import.
2020-01-24 11:56:19 +01:00
Damir Jelić
6f919eaeec
DisableEventIndexDialog: Use the correct spinner.
2020-01-24 11:27:56 +01:00
Damir Jelić
128c0b7300
ManageEventIndexDialog: Use formatCount to format the message and room count.
2020-01-24 11:11:53 +01:00
Damir Jelić
71024d1418
ManageEventIndexDialog: Properly indent the content of the BaseDialog.
2020-01-24 11:03:40 +01:00
Damir Jelić
cba7764784
DisableEventIndexDialog: Use the DialogButtons element for the buttons.
2020-01-24 11:00:28 +01:00
Damir Jelić
72a58d0c2c
DisableEventIndexDialog: Properly indent the content of the BaseDialog.
2020-01-24 09:59:26 +01:00
Damir Jelić
b59863781f
DisableEventIndexDialog: Fix a typo.
2020-01-24 09:58:17 +01:00
Damir Jelić
93facca479
ManageEventIndex: Rename the file to contain the Dialog suffix.
2020-01-24 09:54:46 +01:00
Damir Jelić
f763ae3c7b
DisableEventIndex: Rename the file to contain the Dialog suffix.
2020-01-24 09:50:58 +01:00
Damir Jelić
4ea2d4f90e
ManageEventIndex: Rewrite the docs and rename the dialog class.
2020-01-24 09:45:29 +01:00
Damir Jelić
d30fd3eac0
DisableEventIndex: Rename the class.
2020-01-24 09:39:56 +01:00