* [deps] Platform: Update argon2 to v0.40.1
* Update inclusion in context isolation
* Ensure node-gyp available for mac builds
Mac runners seem to have progressed above python 3.12, which removed `distutils`. We need to ensure it's installed for node-gyp compilations.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
* include check-run in workflows where secrets are used
* revert changes in build-cli workflow and add check-run to codecov
* assert token permissions
* include required permissions
* re-arrange permissions in alphabetical order
---------
Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
* include check-run in workflows where secrets are used
* revert changes in build-cli workflow and add check-run to codecov
* assert token permissions
---------
Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
Utilizing resources based on thread availability improves performance vs fixed threading.
The linked issue for CI crashes has not been closed. Once this is solves, `runInBand` may improves performance in CI.
* Update .nvmrc from v18 to v20
* Update engines setting node 18->20 and npm 9->10
* Use yao-pkg/pkg instead of vercel/pkg
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
* Create the send-ui library package
Create folder
Create package.json
Create jest config
Create tsconfig and tsconfig.spec.json
Create README
Add empty barrel file for exporting future members
* Register @bitwarden/send-ui with all clients and libs
* Register with eslint
* Fix linting issue with README
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
* [PM-7663] Update build pipeline for beta labeling
* [PM-7663] Update build pipeline for beta labelling
* [PM-7663] Update build pipeline for beta labelling
* [PM-7663] Update build pipeline for beta labelling
* [PM-7663] Update build pipeline for beta labelling
* [PM-7663] Incorporate build workflow for the Chrome manifest v3 beta
* [PM-7663] Update build pipeline for beta labeling
* [PM-7663] Update build pipeline for beta labeling
* [PM-7663] Update build pipeline for beta labeling
* [PM-7663] Ensure we can have a valid version number based on the github run id
* [PM-7663] Ensure we can have a valid version number based on the github run id
* [PM-7663] Reverting change made to the run id, as it will not function
* [PM-7663] Reverting change made to the run id, as it will not function
* [PM-7663] Reverting change made to the run id, as it will not function
* [PM-7663] Reverting change made to the run id, as it will not function
* [PM-7663] Reverting a typo
* Fix Duplicate `process.env
* Learn how to use
---------
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
* Initial run to see what data I can access
* Update to use JQ
* Use dev action
* Implement artifact build sha
- Moved notify job to happen post artifact check
- Removed git sha job
- Updated jobs to use real artifact sha
* Update .github/workflows/deploy-web.yml
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
* Handle web build triggers
- Update GH environment with commit as well
---------
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
* [PM-7527] Get MV3 build artifacts in main branch with clear messaging that that the build is not to be released
* [PM-7527] Add `Build Manifest v3` build step to the build-browser.yml Github action
* [PM-7527] Get MV3 build artifacts in main branch with clear messaging that that the build is not to be released
* Update .github/workflows/build-browser.yml
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
---------
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
* implementing the clients changes
* resolve pr comments on message.json
* moved the method to billing-api.service
* move the request and response files to billing folder
* remove the adding existing orgs
* resolve the routing issue
* resolving the pr comments
* code owner changes
* fix the assignedseat
* resolve the warning message
* resolve the error on update
* passing the right id
* resolve the unassign value
* removed unused logservice
* Adding the loader on submit button
* DEVOPS-1843 REFACTOR: Trigger web vault deploy step to send the build-web run-id to deploy-web workflow
* DEVOPS-1843 ADD: build-web-run-id input to deploy-web workflow to download specific run_id artifact
* DEVOPS-1843 FIX: build-web-run-id input in build-web workflow
* DEVOPS-1843 REFACTOR: build-web-run-id parameter type to number
* DEVOPS-1843 ADD: build-web-run-id input to deploy-web workflow to workflow_dispatch
* DEVOPS-1843 FIX: build-web-run-id type in deploy-web.yml
* DEVOPS-1843 REFACTOR: web vault deploy action to use GitHub Run ID
* DEVOPS-1843 REFACTOR: cloud asset download steps in deploy-web.yml
* DEVOPS-1843 REFACTOR: description for build-web workflow Run ID
Co-authored-by: MtnBurrit0 <77340197+mimartin12@users.noreply.github.com>
---------
Co-authored-by: MtnBurrit0 <77340197+mimartin12@users.noreply.github.com>
* Switch from timestamp to hash comparison
* Switch flag placement
* Add a value to the --compare-hash option
* Setting compare-hash to a string value
* undo debug default
* WIP admin console layout
* Update icons
* Migrate more things
* Migrate the last pages
* Move header to web
* Fix story not working
* Convert header component to standalone
* Migrate org layout to standalone
* Enable org switcher
* Add AC to product switcher
* Migrate provider portal to vertical nav
* Migrate PM
* Prettier fixes
* Change AC and PP to use secondary variant layout & update logos
* Remove full width setting
* Remove commented code
* Add header to report pages
* Add provider portal banner
* Fix banner for billing pages
* Move vault title to header
* Prevent scrollbar jumping
* Move send button to header
* Replace search input with bit-search
* Remove unused files and css
* Add banner
* Tweak storage option
* Fix duplicate nav item after merge
* Migrate banner state to state provider framework
* [AC-2078] Fix device approvals header
* [PM-5861] Hide AC from product switcher for users that do not have access
* [PM-5860] Fix Vault and Send page headers
* [AC-2075] Fix missing link on reporting nav group
* [AC-2079] Hide Payment Method and Billing History pages for self-hosted instances
* [AC-2090] Hide reports/event log nav items for users that do not have permission
* [AC-2092] Fix missing provider portal option in product switcher on page load
* Add null check for organization in org layout component
* [AC-2094] Fix missing page header for new client orgs page
* [AC-2093] Update New client button styling
* Fix failing test after merge
* [PM-2087] Use disk-local for web layout banner
* [PM-6041] Update banner copy to read "web app"
* [PM-6094] Update banner link to marketing URL
* [PM-6114] add CL container component to VVR pages (#7802)
* create bit-container component
* add container to all page components
* Fix linting errors after merge with main
* Fix product switcher stories
* Fix web-header stories
* mock org state properly in product switcher stories (#7956)
* refactor: move web layout migration banner logic into a service (#7958)
* make CL codeowner of web header files
* move migration banner logic to service; update stories
* [PM-5862] Ensure a sync has run before hiding navigation links
* Remove leftover banner global state
* Re-add dropped selfHosted ngIf
* Add rel noreferrer
* Remove comment
---------
Co-authored-by: Shane Melton <smelton@bitwarden.com>
Co-authored-by: Will Martin <contact@willmartian.com>
* Move libs/exporter into libs/tools/*
Migrating all files from libs/exporter over to libs/tools/export/vault-export/vault-export-core
Rename package to vault-export-core
Fix all file paths
* Update libs and tsconfig imports
* Fix client imports
* Fix eslint, jest and package-lock.json
* Update CODEOWNERS
* Add README.md to whitelist-capital-letters
* Fix vault-export-service tests not running
* Update libs/tools/export/vault-export/README.md
Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
* Fix types imports
* Export types from vault-export-core
* Fixed content of README
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
Class based router guards are deprecated as of Angular 15.2, per angular.io/guide/deprecations#router-class-and-injection-token-guards. To simplify future angular upgrades we need to resolve these deprecations.
This PR migrates the HasPremium and DebounceNavigationService guards to use the new functional pattern.
* Moved password-strength component to Tools
* Move zxcvbn into Tools ownership
zxcvbn is the library currently used to calculate the password-strength
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
* Move tldts into ownership of autofill
This was initially introduced by me, but is largely used for validating urls for autofill.
* Move @types/jsdom and jsdom to tools
This dependency is only using within the importers in the cli (running node)
* Add oidc-client-ts to tools
This dependency got introduced with the Lastpass direct import
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
* [PM-5043] Update owernship of code belonging to autofill team
* [PM-5043] Updating location of webRequest.background.ts file to belong to autofill team
* [PM-5043] Updating location of autofill component settings within the popup
Assign ownership to many of the remaining libs/common files.
Criteria for ownership:
* Files used by a single team, is now owned by that team.
* Files related to a domain owned by a team is now owned by that team.
* Where ownership is unclear the "lowest level" service takes ownership.
* Create libs/tools-folder and README.md
* Assign libs/tools to be owned by team-tools-dev
* Add exception for the capital README in libs/tools
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
* Adding all messages.json files besides en/ into ownership of team-tools-dev
* Add newline and extend header comment
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
* Get node version from .nvmrc and use in setup-node action
* Fix substitution
* Fix substitution 2
* Fix substitution 3
* Add ls
* Add ls
* Override working directory
* Fix override working directory
* Fix
* Add ls
* Checkout repo