Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into auth/pm-8113/2fa-comp…
Browse files Browse the repository at this point in the history
…s-ui-refresh + merge conflict fixes
  • Loading branch information
JaredSnider-Bitwarden committed Dec 19, 2024
2 parents 4ddc319 + fff4126 commit 5c49f6e
Show file tree
Hide file tree
Showing 625 changed files with 28,959 additions and 7,351 deletions.
21 changes: 15 additions & 6 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,19 @@ apps/web/src/utils/ @bitwarden/team-platform-dev
apps/web/src/app/core @bitwarden/team-platform-dev
apps/web/src/app/shared @bitwarden/team-platform-dev
apps/web/src/translation-constants.ts @bitwarden/team-platform-dev
# Workflows
.github/workflows/brew-bump-desktop.yml @bitwarden/team-platform-dev
.github/workflows/build-browser.yml @bitwarden/team-platform-dev
.github/workflows/build-cli.yml @bitwarden/team-platform-dev
.github/workflows/build-desktop.yml @bitwarden/team-platform-dev
.github/workflows/build-web.yml @bitwarden/team-platform-dev
.github/workflows/chromatic.yml @bitwarden/team-platform-dev
.github/workflows/lint.yml @bitwarden/team-platform-dev
.github/workflows/locales-lint.yml @bitwarden/team-platform-dev
.github/workflows/repository-management.yml @bitwarden/team-platform-dev
.github/workflows/scan.yml @bitwarden/team-platform-dev
.github/workflows/test.yml @bitwarden/team-platform-dev
.github/workflows/version-auto-bump.yml @bitwarden/team-platform-dev

## Autofill team files ##
apps/browser/src/autofill @bitwarden/team-autofill-dev
Expand All @@ -92,7 +105,8 @@ apps/desktop/macos/autofill-extension @bitwarden/team-autofill-dev
# DuckDuckGo integration
apps/desktop/native-messaging-test-runner @bitwarden/team-autofill-dev
apps/desktop/src/services/duckduckgo-message-handler.service.ts @bitwarden/team-autofill-dev

# SSH Agent
apps/desktop/desktop_native/core/src/ssh_agent @bitwarden/team-autofill-dev @bitwarden/wg-ssh-keys

## Component Library ##
.storybook @bitwarden/team-design-system
Expand Down Expand Up @@ -125,9 +139,6 @@ apps/cli/src/locales/en/messages.json
apps/desktop/src/locales/en/messages.json
apps/web/src/locales/en/messages.json

## Ssh agent temporary co-codeowner
apps/desktop/desktop_native/core/src/ssh_agent @bitwarden/team-platform-dev @bitwarden/wg-ssh-keys

## BRE team owns these workflows ##
.github/workflows/brew-bump-desktop.yml @bitwarden/dept-bre
.github/workflows/deploy-web.yml @bitwarden/dept-bre
Expand All @@ -143,8 +154,6 @@ apps/desktop/desktop_native/core/src/ssh_agent @bitwarden/team-platform-dev @bit
.github/workflows/release-desktop-beta.yml
.github/workflows/release-desktop.yml
.github/workflows/release-web.yml
.github/workflows/version-auto-bump.yml
.github/workflows/version-bump.yml

## Docker files have shared ownership ##
**/Dockerfile
Expand Down
35 changes: 34 additions & 1 deletion .github/workflows/build-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ jobs:
build-containers:
name: Build Docker images
runs-on: ubuntu-22.04
permissions:
security-events: write
id-token: write
needs:
- setup
- build-artifacts
Expand Down Expand Up @@ -270,6 +273,7 @@ jobs:
run: echo "name=$_AZ_REGISTRY/${PROJECT_NAME}:${IMAGE_TAG}" >> $GITHUB_OUTPUT

- name: Build Docker image
id: build-docker
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
with:
context: apps/web
Expand All @@ -279,11 +283,40 @@ jobs:
tags: ${{ steps.image-name.outputs.name }}
secrets: |
"GH_PAT=${{ steps.retrieve-secret-pat.outputs.github-pat-bitwarden-devops-bot-repo-scope }}"
- name: Install Cosign
if: github.event_name != 'pull_request_target' && github.ref == 'refs/heads/main'
uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.0

- name: Sign image with Cosign
if: github.event_name != 'pull_request_target' && github.ref == 'refs/heads/main'
env:
DIGEST: ${{ steps.build-docker.outputs.digest }}
TAGS: ${{ steps.image-name.outputs.name }}
run: |
IFS="," read -a tags <<< "${TAGS}"
images=""
for tag in "${tags[@]}"; do
images+="${tag}@${DIGEST} "
done
cosign sign --yes ${images}
- name: Scan Docker image
id: container-scan
uses: anchore/scan-action@5ed195cc06065322983cae4bb31e2a751feb86fd # v5.2.0
with:
image: ${{ steps.image-name.outputs.name }}
fail-build: false
output-format: sarif

- name: Upload Grype results to GitHub
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
sarif_file: ${{ steps.container-scan.outputs.sarif }}

- name: Log out of Docker
run: docker logout


crowdin-push:
name: Crowdin Push
if: github.event_name != 'pull_request_target' && github.ref == 'refs/heads/main'
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,31 @@ jobs:
run: |
npm ci
npm run lint
rust:
name: Run Rust lint on ${{ matrix.os }}
runs-on: ${{ matrix.os || 'ubuntu-latest' }}

strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest

steps:
- name: Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Check Rust version
run: rustup --version

- name: Run cargo fmt
working-directory: ./apps/desktop/desktop_native
run: cargo fmt --check

- name: Run Clippy
working-directory: ./apps/desktop/desktop_native
run: cargo clippy --all-features --tests
env:
RUSTFLAGS: "-D warnings"
2 changes: 1 addition & 1 deletion .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}

- name: Scan with SonarCloud
uses: sonarsource/sonarcloud-github-action@383f7e52eae3ab0510c3cb0e7d9d150bbaeab838 # v3.1.0
uses: sonarsource/sonarcloud-github-action@02ef91109b2d589e757aefcfb2854c2783fd7b19 # v4.0.0
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion apps/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bitwarden/browser",
"version": "2024.12.0",
"version": "2024.12.3",
"scripts": {
"build": "npm run build:chrome",
"build:chrome": "cross-env BROWSER=chrome MANIFEST_VERSION=3 webpack",
Expand Down
25 changes: 23 additions & 2 deletions apps/browser/src/_locales/ar/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,13 @@
"autoFillIdentity": {
"message": "هوية التعبئة التلقائية"
},
"fillVerificationCode": {
"message": "Fill verification code"
},
"fillVerificationCodeAria": {
"message": "Fill Verification Code",
"description": "Aria label for the heading displayed the inline menu for totp code autofill"
},
"generatePasswordCopied": {
"message": "إنشاء كلمة مرور (تم النسخ)"
},
Expand Down Expand Up @@ -1319,6 +1326,12 @@
"enterVerificationCodeApp": {
"message": "أدخل رمز التحقق من 6 أرقام من تطبيق المصادقة الخاص بك."
},
"authenticationTimeout": {
"message": "Authentication timeout"
},
"authenticationSessionTimedOut": {
"message": "The authentication session timed out. Please restart the login process."
},
"enterVerificationCodeEmail": {
"message": "أدخل رمز التحقق المكون من 6 أرقام الذي تم إرساله إلى $EMAIL$.",
"placeholders": {
Expand Down Expand Up @@ -3167,8 +3180,8 @@
"viewAllLogInOptions": {
"message": "View all log in options"
},
"viewAllLoginOptions": {
"message": "عرض جميع خيارات تسجيل الدخول"
"viewAllLoginOptionsV1": {
"message": "View all log in options"
},
"notificationSentDevice": {
"message": "تم إرسال إشعار إلى جهازك."
Expand Down Expand Up @@ -3574,6 +3587,14 @@
"message": "Unlock your account, opens in a new window",
"description": "Screen reader text (aria-label) for unlock account button in overlay"
},
"totpCodeAria": {
"message": "Time-based One-Time Password Verification Code",
"description": "Aria label for the totp code displayed in the inline menu for autofill"
},
"totpSecondsSpanAria": {
"message": "Time remaining before current TOTP expires",
"description": "Aria label for the totp seconds displayed in the inline menu for autofill"
},
"fillCredentialsFor": {
"message": "ملء بيانات الاعتماد لـ",
"description": "Screen reader text for when overlay item is in focused"
Expand Down
27 changes: 24 additions & 3 deletions apps/browser/src/_locales/az/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"message": "Keçid açarı ilə giriş et"
},
"useSingleSignOn": {
"message": "Tək daxil olma üsulunu istifadə et"
"message": "Vahid daxil olma üsulunu istifadə et"
},
"welcomeBack": {
"message": "Yenidən xoş gəlmisiniz"
Expand All @@ -38,7 +38,7 @@
"message": "Bir parol təyin edərək hesabınızı yaratmağı başa çatdırın"
},
"enterpriseSingleSignOn": {
"message": "Müəssisə üçün tək daxil olma"
"message": "Müəssisə üçün vahid daxil olma"
},
"cancel": {
"message": "İmtina"
Expand Down Expand Up @@ -192,6 +192,13 @@
"autoFillIdentity": {
"message": "Kimliyi avto-doldur"
},
"fillVerificationCode": {
"message": "Fill verification code"
},
"fillVerificationCodeAria": {
"message": "Fill Verification Code",
"description": "Aria label for the heading displayed the inline menu for totp code autofill"
},
"generatePasswordCopied": {
"message": "Parol yarat (kopyalandı)"
},
Expand Down Expand Up @@ -1319,6 +1326,12 @@
"enterVerificationCodeApp": {
"message": "Kimlik doğrulayıcı tətbiqindən 6 rəqəmli doğrulama kodunu daxil edin."
},
"authenticationTimeout": {
"message": "Kimlik doğrulama vaxtı bitdi"
},
"authenticationSessionTimedOut": {
"message": "Kimlik doğrulama seansının vaxtı bitdi. Lütfən giriş prosesini yenidən başladın."
},
"enterVerificationCodeEmail": {
"message": "$EMAIL$ ünvanına göndərilən e-poçtdakı 6 rəqəmli doğrulama kodunu daxil edin.",
"placeholders": {
Expand Down Expand Up @@ -3167,7 +3180,7 @@
"viewAllLogInOptions": {
"message": "Bütün giriş seçimlərinə bax"
},
"viewAllLoginOptions": {
"viewAllLoginOptionsV1": {
"message": "Bütün giriş seçimlərinə bax"
},
"notificationSentDevice": {
Expand Down Expand Up @@ -3574,6 +3587,14 @@
"message": "Hesabınızın kilidini açın, yeni bir pəncərədə açılır",
"description": "Screen reader text (aria-label) for unlock account button in overlay"
},
"totpCodeAria": {
"message": "Time-based One-Time Password Verification Code",
"description": "Aria label for the totp code displayed in the inline menu for autofill"
},
"totpSecondsSpanAria": {
"message": "Time remaining before current TOTP expires",
"description": "Aria label for the totp seconds displayed in the inline menu for autofill"
},
"fillCredentialsFor": {
"message": "Kimlik məlumatlarını doldur",
"description": "Screen reader text for when overlay item is in focused"
Expand Down
25 changes: 23 additions & 2 deletions apps/browser/src/_locales/be/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,13 @@
"autoFillIdentity": {
"message": "Аўтазапаўненне асабістых даных"
},
"fillVerificationCode": {
"message": "Fill verification code"
},
"fillVerificationCodeAria": {
"message": "Fill Verification Code",
"description": "Aria label for the heading displayed the inline menu for totp code autofill"
},
"generatePasswordCopied": {
"message": "Генерыраваць пароль (з капіяваннем)"
},
Expand Down Expand Up @@ -1319,6 +1326,12 @@
"enterVerificationCodeApp": {
"message": "Увядзіце 6 лічбаў праверачнага кода з вашай праграмы аўтэнтыфікацыі."
},
"authenticationTimeout": {
"message": "Authentication timeout"
},
"authenticationSessionTimedOut": {
"message": "The authentication session timed out. Please restart the login process."
},
"enterVerificationCodeEmail": {
"message": "Увядзіце 6 лічбаў праверачнага кода, які быў адпраўлены на $EMAIL$.",
"placeholders": {
Expand Down Expand Up @@ -3167,8 +3180,8 @@
"viewAllLogInOptions": {
"message": "View all log in options"
},
"viewAllLoginOptions": {
"message": "Паглядзець усе варыянты ўваходу"
"viewAllLoginOptionsV1": {
"message": "View all log in options"
},
"notificationSentDevice": {
"message": "Апавяшчэнне было адпраўлена на вашу прыладу."
Expand Down Expand Up @@ -3574,6 +3587,14 @@
"message": "Unlock your account, opens in a new window",
"description": "Screen reader text (aria-label) for unlock account button in overlay"
},
"totpCodeAria": {
"message": "Time-based One-Time Password Verification Code",
"description": "Aria label for the totp code displayed in the inline menu for autofill"
},
"totpSecondsSpanAria": {
"message": "Time remaining before current TOTP expires",
"description": "Aria label for the totp seconds displayed in the inline menu for autofill"
},
"fillCredentialsFor": {
"message": "Fill credentials for",
"description": "Screen reader text for when overlay item is in focused"
Expand Down
27 changes: 24 additions & 3 deletions apps/browser/src/_locales/bg/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,13 @@
"autoFillIdentity": {
"message": "Самопопълваща се самоличност"
},
"fillVerificationCode": {
"message": "Попълване на кода за потвърждаване"
},
"fillVerificationCodeAria": {
"message": "Попълване на кода за потвърждаване",
"description": "Aria label for the heading displayed the inline menu for totp code autofill"
},
"generatePasswordCopied": {
"message": "Генериране на парола (копирана)"
},
Expand Down Expand Up @@ -1319,6 +1326,12 @@
"enterVerificationCodeApp": {
"message": "Въведете шестцифрения код за потвърждение от приложението за удостоверяване."
},
"authenticationTimeout": {
"message": "Време на давност за удостоверяването"
},
"authenticationSessionTimedOut": {
"message": "Сесията за удостоверяване е изтекла. Моля, започнете отначало процеса по вписване."
},
"enterVerificationCodeEmail": {
"message": "Въведете шестцифрения код за потвърждение, който е бил изпратен на $EMAIL$.",
"placeholders": {
Expand Down Expand Up @@ -3167,7 +3180,7 @@
"viewAllLogInOptions": {
"message": "Вижте всички възможности за вписване"
},
"viewAllLoginOptions": {
"viewAllLoginOptionsV1": {
"message": "Вижте всички възможности за вписване"
},
"notificationSentDevice": {
Expand Down Expand Up @@ -3574,6 +3587,14 @@
"message": "Отклюване на регистрацията, отваря се в нов прозорец",
"description": "Screen reader text (aria-label) for unlock account button in overlay"
},
"totpCodeAria": {
"message": "Код за потвърждение на еднократната времево-ограничена парола",
"description": "Aria label for the totp code displayed in the inline menu for autofill"
},
"totpSecondsSpanAria": {
"message": "Оставащо време преди изтичането на текущия код",
"description": "Aria label for the totp seconds displayed in the inline menu for autofill"
},
"fillCredentialsFor": {
"message": "Попълване на данните за",
"description": "Screen reader text for when overlay item is in focused"
Expand Down Expand Up @@ -4884,10 +4905,10 @@
"message": "Генерирана парола"
},
"compactMode": {
"message": "Compact mode"
"message": "Компактен режим"
},
"beta": {
"message": "Beta"
"message": "Бета"
},
"extensionWidth": {
"message": "Ширина на разширението"
Expand Down
Loading

0 comments on commit 5c49f6e

Please sign in to comment.