From 85a973afd487b52ffaea031a35d618e2711f62e4 Mon Sep 17 00:00:00 2001
From: cwille97
Date: Tue, 23 Mar 2021 17:11:24 -0400
Subject: [PATCH 1/3] Add locale info for hint equals password (#701)
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
---
src/locales/en/messages.json | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json
index 51434de4..b258dd93 100644
--- a/src/locales/en/messages.json
+++ b/src/locales/en/messages.json
@@ -3801,5 +3801,8 @@
},
"webAuthnSuccess": {
"message": "WebAuthn verified successfully!
You may close this tab."
+ },
+ "hintEqualsPassword": {
+ "message": "Your password hint cannot be the same as your password."
}
}
From 1b74d22b46d07bd307ef95767f9ce1fa1613cf52 Mon Sep 17 00:00:00 2001
From: Daniel James Smith
Date: Wed, 24 Mar 2021 15:07:34 +0100
Subject: [PATCH 2/3] Removed appveyor.yml and replaced badge in README.md
(#896)
* Deleted appveyor.yml
* Replaced appveyor badge with GitHub workflow badge
---
README.md | 4 +--
appveyor.yml | 83 ----------------------------------------------------
2 files changed, 2 insertions(+), 85 deletions(-)
delete mode 100644 appveyor.yml
diff --git a/README.md b/README.md
index 604411b0..3aea4bd1 100644
--- a/README.md
+++ b/README.md
@@ -5,8 +5,8 @@
The Bitwarden web project is an Angular application that powers the web vault (https://vault.bitwarden.com/).
-
-
+
+
diff --git a/appveyor.yml b/appveyor.yml
deleted file mode 100644
index 52d3b39f..00000000
--- a/appveyor.yml
+++ /dev/null
@@ -1,83 +0,0 @@
-image:
-- Visual Studio 2017
-- Ubuntu1804
-
-branches:
- except:
- - l10n_master
- - gh-pages
-
-services:
-- docker
-
-stack: node 10
-
-init:
-- ps: |
- if($isWindows) {
- Install-Product node 10
- }
-
-install:
-- ps: |
- $env:PACKAGE_VERSION = (Get-Content -Raw -Path .\package.json | ConvertFrom-Json).version
- $env:PUSH_DOCKER = "false"
- $env:PROD_DEPLOY = "false"
- $env:TAG_NAME = ""
- if($env:APPVEYOR_REPO_TAG -eq "true" -and $env:APPVEYOR_RE_BUILD -eq "True") {
- $env:PROD_DEPLOY = "true"
- $env:TAG_NAME = $env:APPVEYOR_REPO_TAG_NAME.TrimStart("v")
- echo "This is a production deployment for ${env:TAG_NAME}."
- }
- if("${env:DOCKER_USERNAME}" -ne "" -and "${env:DOCKER_PASSWORD}" -ne "") {
- $env:PUSH_DOCKER = "true"
- }
- if($isWindows) {
- choco install cloc --no-progress
- cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
- }
-
-before_build:
-- node --version
-- npm --version
-- sh: |
- if [ "${PUSH_DOCKER}" == "true" ]
- then
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- fi
-- cmd: set "GIT_PATH=C:\Program Files\Git\mingw64\libexec\git-core"
-- cmd: set "PATH=%GIT_PATH%;%PATH%"
-
-build_script:
-- sh: chmod +x ./build.sh
-- ps: |
- if($isLinux) {
- ./build.sh
- ./build.sh tag dev
-
- if($env:PROD_DEPLOY -eq "true") {
- ./build.sh tag beta
- ./build.sh tag $env:TAG_NAME
- }
-
- docker images
-
- if($env:PUSH_DOCKER -eq "true") {
- ./build.sh push dev
-
- if($env:PROD_DEPLOY -eq "true") {
- ./build.sh push beta
- ./build.sh push latest
- ./build.sh push $env:TAG_NAME
- }
- }
- }
-- cmd: npm install
-- cmd: npm run build:prod
-
-after_build:
-- sh: |
- if [ "${PUSH_DOCKER}" == "true" ]
- then
- docker logout
- fi
From 6067c1610c583167fc1a2970fca5fbe65836f932 Mon Sep 17 00:00:00 2001
From: Matt Gibson
Date: Fri, 26 Mar 2021 16:54:13 -0500
Subject: [PATCH 3/3] Azure upload blobs (#875)
* Include AzureStorageService in SendService
* Provide DI for abstrace AzureStorageService
* Use file upload service
* Update jslib
---
jslib | 2 +-
src/app/services/services.module.ts | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/jslib b/jslib
index f20af0cd..cfc76878 160000
--- a/jslib
+++ b/jslib
@@ -1 +1 @@
-Subproject commit f20af0cd7c90adc07783950bed197b5d47892d6f
+Subproject commit cfc76878154c5b292b729e2909bec1848f5cc23c
diff --git a/src/app/services/services.module.ts b/src/app/services/services.module.ts
index e5c48fe9..e7fc177f 100644
--- a/src/app/services/services.module.ts
+++ b/src/app/services/services.module.ts
@@ -37,6 +37,7 @@ import { CryptoService } from 'jslib/services/crypto.service';
import { EnvironmentService } from 'jslib/services/environment.service';
import { EventService as EventLoggingService } from 'jslib/services/event.service';
import { ExportService } from 'jslib/services/export.service';
+import { FileUploadService } from 'jslib/services/fileUpload.service';
import { FolderService } from 'jslib/services/folder.service';
import { ImportService } from 'jslib/services/import.service';
import { NotificationsService } from 'jslib/services/notifications.service';
@@ -64,6 +65,7 @@ import { CryptoFunctionService as CryptoFunctionServiceAbstraction } from 'jslib
import { EnvironmentService as EnvironmentServiceAbstraction } from 'jslib/abstractions/environment.service';
import { EventService as EventLoggingServiceAbstraction } from 'jslib/abstractions/event.service';
import { ExportService as ExportServiceAbstraction } from 'jslib/abstractions/export.service';
+import { FileUploadService as FileUploadServiceAbstraction } from 'jslib/abstractions/fileUpload.service';
import { FolderService as FolderServiceAbstraction } from 'jslib/abstractions/folder.service';
import { I18nService as I18nServiceAbstraction } from 'jslib/abstractions/i18n.service';
import { ImportService as ImportServiceAbstraction } from 'jslib/abstractions/import.service';
@@ -113,7 +115,8 @@ const folderService = new FolderService(cryptoService, userService, apiService,
const collectionService = new CollectionService(cryptoService, userService, storageService, i18nService);
searchService = new SearchService(cipherService, consoleLogService);
const policyService = new PolicyService(userService, storageService);
-const sendService = new SendService(cryptoService, userService, apiService, storageService,
+const fileUploadService = new FileUploadService(consoleLogService, apiService);
+const sendService = new SendService(cryptoService, userService, apiService, fileUploadService, storageService,
i18nService, cryptoFunctionService);
const vaultTimeoutService = new VaultTimeoutService(cipherService, folderService, collectionService,
cryptoService, platformUtilsService, storageService, messagingService, searchService, userService, tokenService,
@@ -213,6 +216,7 @@ export function initFactory(): Function {
{ provide: PlatformUtilsServiceAbstraction, useValue: platformUtilsService },
{ provide: PasswordGenerationServiceAbstraction, useValue: passwordGenerationService },
{ provide: ApiServiceAbstraction, useValue: apiService },
+ { provide: FileUploadServiceAbstraction, useValue: fileUploadService },
{ provide: SyncServiceAbstraction, useValue: syncService },
{ provide: UserServiceAbstraction, useValue: userService },
{ provide: MessagingServiceAbstraction, useValue: messagingService },