1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 14:04:03 +00:00
Commit Graph

744 Commits

Author SHA1 Message Date
Nathan Ansel
64f8cea185 Adds resign step to workflow 2025-02-13 12:23:30 -06:00
Nathan Ansel
908081323e Merge branch 'main' into nathan/fix-autofill-signing
# Conflicts:
#	.github/workflows/build-desktop.yml
2025-02-13 09:27:16 -06:00
Nathan Ansel
d568d64958 Removes mac dev cert from keychain 2025-02-12 16:01:15 -06:00
Justin Baur
9e6643f668 Opera mv3 build changes (#13365)
* Remove MV2 Opera Artifact Creation

* Rename Opera MV3 Artifact
2025-02-12 16:28:36 -05:00
Nathan Ansel
a21365f782 Passes in identity and provisioning profile in after sign call 2025-02-12 15:09:56 -06:00
Nathan Ansel
79cee54a74 Adds a new provisioning profiles location 2025-02-12 08:10:24 -06:00
Matt Andreko
b036d6c0e8 Enabled SonarQube scanning for PRs (#13250)
* Modified Scan workflow to contain PR number during a PR

* Update .github/workflows/scan.yml

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
2025-02-12 09:07:27 -05:00
Nathan Ansel
242c798ec0 Updates all provisioning profile installation steps 2025-02-11 21:59:36 -06:00
Nathan Ansel
aff115a12e Removes spaces from the config file 2025-02-11 16:33:33 -06:00
Justin Baur
e3870a6b28 Firefox mv3 build changes (#13366)
* Remove Firefox MV2 Artifact Creation

* Rename Firefox MV3 Artifact
2025-02-11 16:34:23 -05:00
Nathan Ansel
8a5c4edb62 Print variables 2025-02-11 15:02:01 -06:00
Nathan Ansel
b9ab48e466 Adds a mas build with the autofill extension 2025-02-11 14:26:03 -06:00
Andreas Coroiu
4cb8e85937 [PM-15126] Third attempt: Remove reliance on secrets in build pipelines (#13222)
* feat: create copy of desktop build for PR target

* chore: add temporary file to trigger ci

* fix: remove check-run from regular desktop build

* feat: change browser build to not use pr target

* fix: skip build-safari if secret is not available

* feat: skip safari build if secrets are not available

* feat: let windows desktop build without secrets

* fix: has_secrets not being output correctly

* feat: let macos desktop build without secrets

* feat: don't build browser as part of desktop

* feat: change CLI to pull_request

* feat: let web build without secrets

* feat: tweak lint to run on PR and not just push

* feat: add PR target workflows

* fix: remove wip files

* fix: lint on hotfix-rc branches

* feat: add new workflows to CODEOWNERS

* fix: remove workflow_dispatch

pull_request_target are only intended to be used with contributor PRs and we cannot dispatch builds for these branches so there was no point having that option.
2025-02-11 11:14:09 +01:00
Nathan Ansel
a1dfede4fc Alters how the provisioning profile is provided to xcodebuild 2025-02-06 21:48:42 -06:00
Nathan Ansel
cdb2d4c6b7 Copies the autofill provisioning profile to Xcode 2025-02-06 10:33:28 -06:00
Nathan Ansel
b51e49787f List the profiles 2025-02-06 10:17:36 -06:00
Nathan Ansel
81fa7d17b9 Merge branch 'main' into nathan/fix-autofill-signing 2025-02-06 09:33:07 -06:00
Bernd Schoolmann
59da9918b7 Fix typos in codeowners and codecov (#13284) 2025-02-06 10:57:27 +00:00
Nathan Ansel
767fb81076 Merge branch 'main' into nathan/fix-autofill-signing
# Conflicts:
#	apps/desktop/resources/entitlements.mas.plist
2025-02-05 16:59:32 -06:00
Justin Baur
bd6506dcb1 Add Platform as co-owners (#13270) 2025-02-05 11:07:30 -05:00
Maciej Zieniuk
6deb0dc2ad codecov component coverage for Key Management team (#13104)
* codecov component coverage for Key Management team

* explicit names

* codecov components split by feature

* added master password code ownership

* codecov for key-management-ui
2025-02-05 10:04:08 +01:00
Maciej Zieniuk
09d9857de1 Key Magement UI angular module ownership (#13256) 2025-02-05 00:15:41 +01:00
Nathan Ansel
bdf7547115 Forces native module build 2025-02-04 15:48:11 -06:00
Maciej Zieniuk
d846f88c21 desktop native written in rust code coverage (#13106)
* desktop native written in rust code coverage

* working directory keyword missing fix

* use the same cargo-llvm-cov version as sdk

* rust coverage job working directory

* rust coverage job working directory

* fixing ci

* fixing ci

* fixing ci

* fixing ci

* fixing ci

* fixing ci

* pinning runners

* pinning runners

* remove codecov token
2025-02-04 22:44:01 +01:00
Nathan Ansel
d1f349cc2b Updates the workflow to build from this branch 2025-02-04 14:56:59 -06:00
Nathan Ansel
7309c26f63 Updates workflow to work on the PR branch 2025-02-04 11:52:57 -06:00
Nathan Ansel
654e6ba049 Moves the security command to a previous action 2025-02-03 16:22:08 -06:00
Nathan Ansel
a554113fdc Fixes a typo in a github action 2025-02-03 14:47:39 -06:00
Nathan Ansel
e2331427a0 Updates the signing identity 2025-02-03 14:27:54 -06:00
Nathan Ansel
915c8f190f Fixes the zip command 2025-02-03 11:48:55 -06:00
Colton Hurst
8b62dad247 [PM-17619] Add Intial Windows WebAuthn Plugin Authenticator Bindings Crate (#13112)
* PM-17619: Add intial Windows WebAuthn Plugin Authenticator bindings crate

* PM-17619: Move crate to desktop_native

* PM-17619: Update codeowners file

* PM-17619: Fix failing Mac build

* PM-17619: Switch to OUT_DIR

* PM-17619: cargo fmt

* PM-17619: Update bindings output dir

* PM-17619: Use std::env::var for OUT_DIR

* PM-17619: Prevent clippy failures on the generated Rust code

* PM-17619: Test moving the clippy:all

* PM-17619: Small updates

* PM-17619: Remove todo

* PM-17619: Ignore rustc warnings on the generated code

* PM-17619: Address PR comments
2025-02-03 09:53:53 -05:00
Andreas Coroiu
d7c46bb3a5 [PM-16231] Improved SDK referencing (#12475)
* feat: implement Rc

* feat: use Rc in sdk service

* docs: add an example to `take()`

* fix: clarify function doc

* Add custom eslint rule package with enforced `using` rule (#13009)

* feat: add custom eslint rule

* feat: check for `UsingRequired` instead of hardcoding `Rc`

* chore: move package to libs

* wip: add tests. Tests work when run from same folder but not from root

* fix: add dependencies to renovate

* fix: add empty ts file to avoid typechecking throwing errors

* fix: tests not running from root

* chore: remove unecessary config

* fix: linting

* docs: add readme

* chore: add platform ownership

* chore: clean up comment

* Add support for flat config to "Improved sdk referencing" (#13054)

* WIP flat config for eslint

* Add rxjs

* Configure vscode to use flat config

* Fix some new linting errors

* Remove directory overrides of .eslintrc

* Remove explicit dependencies on typescript-eslint/ and @angular-eslint/

* Add missing rules

* Add rxjs recommended rules

* Add storybook and enabled rxjs-angular rule

* Add buildNoRestrictedImports helper

* Ignore platform import restrictions

* Remove unused ignores

* feat: migrate rules over to .mjs and flat config

* feat: implement support for .mjs tests

* chore: remove old package approach

* chore: update package-lock

* fix: add empty TS file to stop errors

* chore: clean up comments

---------

Co-authored-by: Hinton <hinton@users.noreply.github.com>

* fix: update CODEOWNERS to match folder name

* fix: renovate.json after merge

* fix: package.json, pin versions, sort order

* fix: update package-lock.json

---------

Co-authored-by: Hinton <hinton@users.noreply.github.com>
2025-02-03 15:09:25 +01:00
renovate[bot]
a0e48781bd [deps]: Update codecov/test-results-action action to v1.0.2 (#12962)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-03 11:11:34 +01:00
Vicki League
4936e6ad0e Update codeowner file with new team name (#13179) 2025-01-31 15:04:24 +00:00
Brandon Treston
1a97e86a8f remove dependency from renovate (#13125) 2025-01-29 11:51:02 -05:00
Daniel James Smith
e73cb3e3ff Move premium component into billing ownership (#12927)
* Move premium component into billing ownership

Update CODEOWNERS
Move files within libs/angular
Move files within desktop
Adjust import paths

* Remove configService

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-29 08:09:19 -08:00
Oscar Hinton
70ea75d8f7 [PM-17496] Migrate eslint to flat config (#12806)
The legacy config is deprecated and will be removed in eslint 10. The flat config also allows us to write js functions which will assist in handling limitations with multiple identical rules.
2025-01-28 16:40:52 +01:00
Oscar Hinton
9fe84c35d2 Group linting dependencies (#13049)
* Group linting dependencies

* Update renovate.json
2025-01-27 16:19:38 +01:00
Matt Andreko
0e3e3c16c4 Removed unnecessary CODECOV_TOKEN with updated codecov-action (#12892) 2025-01-27 09:35:04 -05:00
Oscar Hinton
caf3e77d1c Change tsconfig to be owned by platform (#12926) 2025-01-23 14:49:19 +01:00
Michał Chęciński
3fda91e42f Fix deployment_id to deployment-id in workflow files (#13028) 2025-01-23 11:04:54 +00:00
Michał Chęciński
9f524d4b91 Fix name of the release-version-check workflow (#13026) 2025-01-23 09:06:13 +00:00
renovate[bot]
007e2fc951 [deps]: Update github-action minor (#12972)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 11:24:43 -08:00
renovate[bot]
ba24fd54e0 [deps]: Update github/codeql-action action to v3.28.2 (#12963)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 10:18:07 -08:00
Andy Pixley
1b9f546139 [BRE-563] Reverting out electron_publish option. Needs to always happen (#12997) 2025-01-21 16:24:00 +00:00
Oscar Hinton
e5f83ff086 [PM-17031] Create UI-common (#12831)
Extract core functionality from `libs/angular` to allow teams to depend on `libs/ui-common` instead.

Moves the following functionality to `ui-common`.
- `I18nPipe`. `libs/angular` still has an old copy but `components` depends on the new variant from `ui-common`.
- `safeProvider`, `SafeProvider` and `SafeInjectionToken`. `libs/angular`re-exports these to avoid needing to update all consumers.
2025-01-17 10:42:31 -05:00
Todd Martin
87171289f0 Revert Opera to Mv2 build (#12921) 2025-01-17 10:16:52 -05:00
Andy Pixley
65b393e3ee [BRE-563] Adding ability to skip electron publish (#12920) 2025-01-16 21:17:29 +00:00
Andy Pixley
3917f50fdd [BRE-560] Display rollout percentage in run name (#12919) 2025-01-16 15:20:03 -05:00
Oscar Hinton
ca9bb52a89 Move linting dependencies to architecture (#12910) 2025-01-16 17:12:26 +01:00