Merge branch 'release/3.6.1' into main
This commit is contained in:
@@ -173,12 +173,13 @@ class PasswordWizardCtrl extends PureViewCtrl<Props, State> implements PasswordW
|
|||||||
}
|
}
|
||||||
|
|
||||||
async processPasswordChange() {
|
async processPasswordChange() {
|
||||||
|
await this.application.downloadBackup();
|
||||||
await this.setState({
|
await this.setState({
|
||||||
lockContinue: true,
|
lockContinue: true,
|
||||||
processing: true
|
processing: true
|
||||||
});
|
});
|
||||||
await this.setFormDataState({
|
await this.setFormDataState({
|
||||||
status: "Processing encryption keys..."
|
status: "Processing encryption keys…"
|
||||||
});
|
});
|
||||||
const newPassword = this.props.securityUpdate
|
const newPassword = this.props.securityUpdate
|
||||||
? this.state.formData.currentPassword
|
? this.state.formData.currentPassword
|
||||||
|
|||||||
@@ -18,5 +18,5 @@ export interface Bridge {
|
|||||||
onMajorDataChange(): void;
|
onMajorDataChange(): void;
|
||||||
onInitialDataLoad(): void;
|
onInitialDataLoad(): void;
|
||||||
onSearch(text?: string): void;
|
onSearch(text?: string): void;
|
||||||
downloadBackup(): void;
|
downloadBackup(): void | Promise<void>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -147,7 +147,6 @@ export class WebApplication extends SNApplication {
|
|||||||
}
|
}
|
||||||
|
|
||||||
presentPasswordWizard(type: PasswordWizardType) {
|
presentPasswordWizard(type: PasswordWizardType) {
|
||||||
this.bridge.downloadBackup();
|
|
||||||
const scope = this.scope!.$new(true) as PasswordWizardScope;
|
const scope = this.scope!.$new(true) as PasswordWizardScope;
|
||||||
scope.type = type;
|
scope.type = type;
|
||||||
scope.application = this;
|
scope.application = this;
|
||||||
@@ -157,6 +156,10 @@ export class WebApplication extends SNApplication {
|
|||||||
this.applicationElement.append(el);
|
this.applicationElement.append(el);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
downloadBackup(): void | Promise<void> {
|
||||||
|
return this.bridge.downloadBackup();
|
||||||
|
}
|
||||||
|
|
||||||
authenticationInProgress() {
|
authenticationInProgress() {
|
||||||
return this.currentAuthenticationElement != null;
|
return this.currentAuthenticationElement != null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
flex-basis: 0;
|
flex-basis: 0;
|
||||||
min-width: 400px;
|
min-width: 400px;
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-reach-dialog-content] .sk-modal-content,
|
[data-reach-dialog-content] .sk-modal-content,
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
:root {
|
||||||
|
--sn-stylekit-font-size-editor: 1.154rem;
|
||||||
|
}
|
||||||
|
|
||||||
.sn-component {
|
.sn-component {
|
||||||
.sk-notification {
|
.sk-notification {
|
||||||
&.unpadded {
|
&.unpadded {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "standard-notes-web",
|
"name": "standard-notes-web",
|
||||||
"version": "3.6.0",
|
"version": "3.6.1",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user