1
0
mirror of https://github.com/bitwarden/web synced 2025-12-10 13:23:15 +00:00

Merge branch 'master' into soft-delete

This commit is contained in:
Chad Scharf
2020-05-08 09:32:59 -04:00
10 changed files with 32 additions and 15 deletions

2
jslib

Submodule jslib updated: e9db844285...0092aac275

6
package-lock.json generated
View File

@@ -661,9 +661,9 @@
"dev": true "dev": true
}, },
"@types/lunr": { "@types/lunr": {
"version": "2.1.6", "version": "2.3.3",
"resolved": "https://registry.npmjs.org/@types/lunr/-/lunr-2.1.6.tgz", "resolved": "https://registry.npmjs.org/@types/lunr/-/lunr-2.3.3.tgz",
"integrity": "sha512-Bz6fUhX1llTa7ygQJN3ttoVkkrpW7xxSEP7D7OYFO/FCBKqKqruRUZtJzTtYA0GkQX13lxU5u+8LuCviJlAXkQ==", "integrity": "sha512-09sXZZVsB3Ib41U0fC+O1O+4UOZT1bl/e+/QubPxpqDWHNEchvx/DEb1KJMOwq6K3MTNzZFoNSzVdR++o1DVnw==",
"dev": true "dev": true
}, },
"@types/node": { "@types/node": {

View File

@@ -1,6 +1,8 @@
{ {
"name": "bitwarden-web", "name": "bitwarden-web",
"version": "2.13.2", "version": "2.13.2",
"license": "GPL-3.0",
"repository": "https://github.com/bitwarden/web",
"scripts": { "scripts": {
"sub:init": "git submodule update --init --recursive", "sub:init": "git submodule update --init --recursive",
"sub:update": "git submodule update --remote", "sub:update": "git submodule update --remote",
@@ -29,7 +31,7 @@
"@angular/compiler-cli": "^7.2.11", "@angular/compiler-cli": "^7.2.11",
"@ngtools/webpack": "^7.2.2", "@ngtools/webpack": "^7.2.2",
"@types/jquery": "^3.3.6", "@types/jquery": "^3.3.6",
"@types/lunr": "^2.1.6", "@types/lunr": "^2.3.3",
"@types/node-forge": "^0.7.5", "@types/node-forge": "^0.7.5",
"@types/papaparse": "^4.5.3", "@types/papaparse": "^4.5.3",
"@types/webcrypto": "^0.0.28", "@types/webcrypto": "^0.0.28",

View File

@@ -122,7 +122,7 @@ export class PeopleComponent implements OnInit {
} }
get allCount() { get allCount() {
return this.allUsers.length; return this.allUsers != null ? this.allUsers.length : 0;
} }
get invitedCount() { get invitedCount() {

View File

@@ -70,6 +70,15 @@ export class OptionsComponent implements OnInit {
} }
async submit() { async submit() {
if (this.vaultTimeoutAction === 'logOut') {
const confirmed = await this.platformUtilsService.showDialog(
this.i18nService.t('vaultTimeoutLogOutConfirmation'),
this.i18nService.t('vaultTimeoutLogOutConfirmationTitle'),
this.i18nService.t('yes'), this.i18nService.t('cancel'), 'warning');
if (!confirmed) {
return;
}
}
await this.vaultTimeoutService.setVaultTimeoutOptions(this.vaultTimeout != null ? this.vaultTimeout : null, await this.vaultTimeoutService.setVaultTimeoutOptions(this.vaultTimeout != null ? this.vaultTimeout : null,
this.vaultTimeoutAction); this.vaultTimeoutAction);
await this.storageService.save(ConstantsService.disableFaviconKey, this.disableIcons); await this.storageService.save(ConstantsService.disableFaviconKey, this.disableIcons);

View File

@@ -3,7 +3,7 @@
<msapplication> <msapplication>
<tile> <tile>
<square150x150logo src="images/icons/mstile-150x150.png"/> <square150x150logo src="images/icons/mstile-150x150.png"/>
<TileColor>#3c8dbc</TileColor> <TileColor>#175DDC</TileColor>
</tile> </tile>
</msapplication> </msapplication>
</browserconfig> </browserconfig>

View File

@@ -4,14 +4,14 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=1010"> <meta name="viewport" content="width=1010">
<meta name="theme-color" content="#3c8dbc"> <meta name="theme-color" content="#175DDC">
<title page-title>Bitwarden Web Vault</title> <title page-title>Bitwarden Web Vault</title>
<link rel="apple-touch-icon" sizes="180x180" href="images/icons/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="images/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="images/icons/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="images/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/icons/favicon-16x16.png"> <link rel="icon" type="image/png" sizes="16x16" href="images/icons/favicon-16x16.png">
<link rel="mask-icon" href="images/icons/safari-pinned-tab.svg" color="#3c8dbc"> <link rel="mask-icon" href="images/icons/safari-pinned-tab.svg" color="#175DDC">
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="manifest.json">
</head> </head>

View File

@@ -3135,5 +3135,11 @@
"example": "Google" "example": "Google"
} }
} }
},
"vaultTimeoutLogOutConfirmation": {
"message": "Logging out will remove all access to your vault and requires online authentication after the timeout period. Are you sure you want to use this setting?"
},
"vaultTimeoutLogOutConfirmationTitle": {
"message": "Timeout Action Confirmation"
} }
} }

View File

@@ -12,6 +12,6 @@
"type": "image/png" "type": "image/png"
} }
], ],
"theme_color": "#3c8dbc", "theme_color": "#175DDC",
"background_color": "#3c8dbc" "background_color": "#175DDC"
} }

View File

@@ -1,9 +1,9 @@
@import "../css/webfonts.css"; @import "../css/webfonts.css";
$primary: #3c8dbc; $primary: #175DDC;
$primary-accent: #286090; $primary-accent: #1252A3;
$secondary: #ced4da; $secondary: #ced4da;
$secondary-alt: #2c3e50; $secondary-alt: #1A3B66;
$success: #00a65a; $success: #00a65a;
$info: #555555; $info: #555555;
$warning: #bf7e16; $warning: #bf7e16;