1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-29 12:55:21 +01:00

Merge remote-tracking branch 'origin/master' into feature/trusted-device-encryption

This commit is contained in:
Justin Baur 2023-07-13 11:42:42 -04:00
commit 1d71d99b85
No known key found for this signature in database
GPG Key ID: 720FC4DCE0D4CDA5
9 changed files with 28 additions and 28 deletions

2
.github/CODEOWNERS vendored
View File

@ -13,7 +13,7 @@ bitwarden_license/bit-web/src/app/secrets-manager @bitwarden/team-secrets-manage
apps/browser/src/auth @bitwarden/team-auth-dev apps/browser/src/auth @bitwarden/team-auth-dev
apps/cli/src/auth @bitwarden/team-auth-dev apps/cli/src/auth @bitwarden/team-auth-dev
apps/desktop/src/auth @bitwarden/team-auth-dev apps/desktop/src/auth @bitwarden/team-auth-dev
apps/web/src/auth @bitwarden/team-auth-dev apps/web/src/app/auth @bitwarden/team-auth-dev
# web connectors used for auth # web connectors used for auth
apps/web/src/connectors @bitwarden/team-auth-dev apps/web/src/connectors @bitwarden/team-auth-dev
bitwarden_license/bit-web/src/app/auth @bitwarden/team-auth-dev bitwarden_license/bit-web/src/app/auth @bitwarden/team-auth-dev

View File

@ -145,8 +145,8 @@ jobs:
- name: Build - name: Build
run: npm run dist run: npm run dist
- name: Build Manifest v3 # - name: Build Manifest v3
run: npm run dist:mv3 # run: npm run dist:mv3
- name: Gulp - name: Gulp
run: gulp ci run: gulp ci
@ -179,12 +179,12 @@ jobs:
path: apps/browser/dist/dist-opera.zip path: apps/browser/dist/dist-opera.zip
if-no-files-found: error if-no-files-found: error
- name: Upload Opera MV3 artifact # - name: Upload Opera MV3 artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 # uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with: # with:
name: dist-opera-MV3-${{ env._BUILD_NUMBER }}.zip # name: dist-opera-MV3-${{ env._BUILD_NUMBER }}.zip
path: apps/browser/dist/dist-opera-mv3.zip # path: apps/browser/dist/dist-opera-mv3.zip
if-no-files-found: error # if-no-files-found: error
- name: Upload Chrome artifact - name: Upload Chrome artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
@ -193,12 +193,12 @@ jobs:
path: apps/browser/dist/dist-chrome.zip path: apps/browser/dist/dist-chrome.zip
if-no-files-found: error if-no-files-found: error
- name: Upload Chrome MV3 artifact # - name: Upload Chrome MV3 artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 # uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with: # with:
name: dist-chrome-MV3-${{ env._BUILD_NUMBER }}.zip # name: dist-chrome-MV3-${{ env._BUILD_NUMBER }}.zip
path: apps/browser/dist/dist-chrome-mv3.zip # path: apps/browser/dist/dist-chrome-mv3.zip
if-no-files-found: error # if-no-files-found: error
- name: Upload Firefox artifact - name: Upload Firefox artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
@ -214,12 +214,12 @@ jobs:
path: apps/browser/dist/dist-edge.zip path: apps/browser/dist/dist-edge.zip
if-no-files-found: error if-no-files-found: error
- name: Upload Edge MV3 artifact # - name: Upload Edge MV3 artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 # uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with: # with:
name: dist-edge-MV3-${{ env._BUILD_NUMBER }}.zip # name: dist-edge-MV3-${{ env._BUILD_NUMBER }}.zip
path: apps/browser/dist/dist-edge-mv3.zip # path: apps/browser/dist/dist-edge-mv3.zip
if-no-files-found: error # if-no-files-found: error
- name: Upload browser source - name: Upload browser source
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2

View File

@ -243,7 +243,7 @@ jobs:
shell: pwsh shell: pwsh
run: | run: |
cd dist cd dist
choco push choco push --source=https://push.chocolatey.org/
npm: npm:
name: Publish NPM name: Publish NPM

View File

@ -1,6 +1,6 @@
{ {
"name": "@bitwarden/browser", "name": "@bitwarden/browser",
"version": "2023.7.0", "version": "2023.7.1",
"scripts": { "scripts": {
"build": "webpack", "build": "webpack",
"build:mv3": "cross-env MANIFEST_VERSION=3 webpack", "build:mv3": "cross-env MANIFEST_VERSION=3 webpack",

View File

@ -2,7 +2,7 @@
"manifest_version": 2, "manifest_version": 2,
"name": "__MSG_extName__", "name": "__MSG_extName__",
"short_name": "__MSG_appName__", "short_name": "__MSG_appName__",
"version": "2023.7.0", "version": "2023.7.1",
"description": "__MSG_extDesc__", "description": "__MSG_extDesc__",
"default_locale": "en", "default_locale": "en",
"author": "Bitwarden Inc.", "author": "Bitwarden Inc.",

View File

@ -3,7 +3,7 @@
"minimum_chrome_version": "102.0", "minimum_chrome_version": "102.0",
"name": "__MSG_extName__", "name": "__MSG_extName__",
"short_name": "__MSG_appName__", "short_name": "__MSG_appName__",
"version": "2023.7.0", "version": "2023.7.1",
"description": "__MSG_extDesc__", "description": "__MSG_extDesc__",
"default_locale": "en", "default_locale": "en",
"author": "Bitwarden Inc.", "author": "Bitwarden Inc.",

View File

@ -45,7 +45,7 @@ export class InitService {
const urls = process.env.URLS as Urls; const urls = process.env.URLS as Urls;
urls.base ??= this.win.location.origin; urls.base ??= this.win.location.origin;
this.environmentService.setUrls(urls); await this.environmentService.setUrls(urls);
this.environmentService.initialized = true; this.environmentService.initialized = true;
setTimeout(() => this.notificationsService.init(), 3000); setTimeout(() => this.notificationsService.init(), 3000);

View File

@ -293,7 +293,7 @@ export class EnvironmentService implements EnvironmentServiceAbstraction {
} }
} else { } else {
// If we are setting the region to EU or US, clear the self-hosted URLs // If we are setting the region to EU or US, clear the self-hosted URLs
this.stateService.setEnvironmentUrls(new EnvironmentUrls()); await this.stateService.setEnvironmentUrls(new EnvironmentUrls());
if (region === Region.EU) { if (region === Region.EU) {
this.setUrlsInternal(this.euUrls); this.setUrlsInternal(this.euUrls);
} else if (region === Region.US) { } else if (region === Region.US) {

2
package-lock.json generated
View File

@ -189,7 +189,7 @@
}, },
"apps/browser": { "apps/browser": {
"name": "@bitwarden/browser", "name": "@bitwarden/browser",
"version": "2023.7.0" "version": "2023.7.1"
}, },
"apps/cli": { "apps/cli": {
"name": "@bitwarden/cli", "name": "@bitwarden/cli",