1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00
Commit Graph

583 Commits

Author SHA1 Message Date
Matt Bishop
7d96a95d24
Exclude tests from Sonar (#10102) 2024-07-16 09:15:14 -04:00
aj-rosado
0e2c486a38
[AC-2509] add member access component (#9411)
* Added new report card and FeatureFlag for MemberAccessReport

* Add new "isEnterpriseOrgGuard"

* Add member access icon

* Show upgrade organization dialog for enterprise on member access report click

* verify member access featureflag on enterprise org guard

* add comment with TODO information for follow up task

* Initial member access report component

* Improved readability, removed path to wrong component and refactored buildReports to use the productType

* finished MemberAccessReport layout and added temporary service to provide mock data

* Moved member-access-report files to bitwarden_license/
Removed unnecessary files

* Added new tools path on bitwarden_license to the CODEOWNERS file

* added member access description to the messages.json

* layout changes to member access report

* Created new reports-routing under bitwarden_license
Moved member-access-report files to corresponding subfolder

* Added search logic

* Removed routing from member-access-report BL component on OSS.
Added member-access-report navigation to organizations-routing on BL

* removed unnecessary ng-container

* Added OrganizationPermissionsGuard and canAccessReports validation to member-access-report navigation

* replaced deprecated search code with searchControl

* Address PR feedback

* removed unnecessary canAccessReports method
2024-07-09 18:36:18 +01:00
✨ Audrey ✨
24b84985f5
[PM-9598] Introduce integrations (#10019)
Factor general integration logic out of the forwarder code.

- Integration metadata - information generalized across any integration
- Rpc mechanism - first step towards applying policy to integrations is abstracting their service calls (e.g. static baseUrl)

Email forwarder integrations embedded this metadata. It was extracted to begin the process of making integrations compatible with meta-systems like policy.

This PR consists mostly of interfaces, which are not particularly useful on their own. Examples on how they're used can be found in the readme.
2024-07-09 11:04:40 -04:00
Todd Martin
2b1fe2d305
Updated codeowners for new design system team (#9913)
* Updated codeowners for new design system team.

* Moved Angular and Bootstrap dependencies

* Moved additional dependencies.

* Updated ownership

Co-authored-by: Will Martin <contact@willmartian.com>

---------

Co-authored-by: Will Martin <contact@willmartian.com>
2024-07-05 11:19:51 -04:00
Daniel García
33c985e00b
[PM-8789] Move desktop_native into subcrate (#9682)
* Move desktop_native into subcrate

* Add publish = false to crates
2024-07-01 15:19:29 +02:00
Opeyemi
982031633c
add env protection and restriction to USDEV (#9584)
* add  env protection and restriction to USDEV
2024-06-27 23:20:57 +01:00
Addison Beck
3c8eeb4420
Remove the bit prefix from Bitwarden License managed build artifacts (#9855)
* Rename `license_type.prefix` to `license_type.build_prefix`

* Introduce `license_type.artifact_prefix`

* Remove the `bit` prefix from Bitwarden License managed build artifacts

* Update the release job to download the correct artifacts

* Update .github/workflows/build-cli.yml

Co-authored-by: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com>

* Update .github/workflows/build-cli.yml

Co-authored-by: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com>

* Update .github/workflows/build-cli.yml

Co-authored-by: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com>

---------

Co-authored-by: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com>
2024-06-27 12:47:52 -04:00
Michał Chęciński
0fc489cfa0
[BRE-133] Fix Partial Desktop Release (#9825) 2024-06-27 13:51:29 +02:00
Michał Chęciński
039c5ee6ac
[BRE-151] Fix Staged Rollout Desktop workflow (#9824) 2024-06-27 13:50:54 +02:00
Addison Beck
76a3cb5a46
Update CLI storefronts to use bitwarden licensed artifacts (#9827)
* Update the build job to use `bit` artifacts for stores

* Update the CLI's license in `package.json` for the NPM store

* Add license configuration to `snapcraft.yaml`
2024-06-26 16:01:05 -04:00
Matt Gibson
ac2cfa2dfd
Add setuptools to mac pipeline (#9834)
* Add setuptools to mac pipeline

Mac runners have progressed above python 3.12, which removed `distutils`. We need to ensure it's installed for node-gyp compilations by installing the setuptools package.

* Add missed mac build
2024-06-26 16:46:41 +02:00
Ike
41e1d91558
[PM-5156] [PM-5216] Duo v2 removal (#9513)
* remove library and update package and webpack

* update 2fa flow and remove feature flag

* update request and response models

* fix merge conflicts
2024-06-25 11:09:45 -07:00
renovate[bot]
d7d35a9e2f
[PM-6446][deps] Platform: Update argon2 to v0.40.1 (#8073)
* [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>
2024-06-24 13:28:34 -04:00
Dillon Beresford
ffb99efebb
Include sources in scan workflow for Sonar (#9789) 2024-06-21 19:07:38 -06:00
Robyn MacCallum
aba64b989b
Update release-browser.yml (#9667) 2024-06-14 15:20:17 -04:00
Robyn MacCallum
87c1f9c2af
Update build-browser.yml (#9654) 2024-06-14 12:59:47 -04:00
Matt Bishop
2d43a12ce9
Conditionally use Codecov secret (#9626) 2024-06-13 15:08:52 -04:00
Vince Grassia
6233100754
Remove Bump CLI Formula workflow (#9601) 2024-06-12 09:06:02 -06:00
Opeyemi
9a35608fc3
Revert "restrict deployment to USDEV and protect environment (#9571)" (#9583)
This reverts commit f9faeeba4c.
2024-06-11 15:31:37 +01:00
Opeyemi
f9faeeba4c
restrict deployment to USDEV and protect environment (#9571)
* restrict deployment to USDEV and protect environment

* remove converting env name to lower char
2024-06-11 12:03:04 +01:00
Dillon Beresford
d594b680f9
[PM-7025] Add permission for test results (#9569)
* 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>
2024-06-10 14:24:56 -04:00
Dillon Beresford
7fb9408202
[PM-7025] include check-run in workflows where secrets are used (#9135)
* 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>
2024-06-10 10:54:24 -05:00
Thomas Rittson
474a5a8c22
Add bit-cli directory to cli build workflow (#9491) 2024-06-06 09:06:27 +10:00
Matt Gibson
490e6c322d
Improve jest performance (#9496)
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.
2024-06-04 10:40:41 -04:00
Michał Chęciński
1bf3a4b6eb
[BRE-94] Replace dawidd6/action-download-artifact with bitwarden/gh-actions/download-artifacts (#9494) 2024-06-04 16:25:53 +02:00
Opeyemi
107ac5dc38
Upgrade to macos-13 runner (#9457) 2024-05-31 13:58:10 -06:00
Daniel James Smith
2015f0964f
[PM-8229] Bump node to 20.13.1-LTS (#8078)
* 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>
2024-05-30 13:24:06 +02:00
Daniel James Smith
86d6be3187
[PM-8448] Create BItwarden Send UI library package (#9402)
* 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>
2024-05-29 11:26:40 +01:00
Alex Urbina
81c1456f6b
BRE-87 ADD: Slack notification enable feature and check in version-bump workflow (#9385) 2024-05-27 15:35:19 -06:00
Thomas Rittson
c0bb7b9edf
[AC-2631] Add device-approval command scaffolding (#9351)
* Add device-approval scaffolding

* Refactor: move helpers to BaseProgram

* Update CODEOWNERS
2024-05-27 11:03:23 +10:00
Matt Bishop
f3b82c30f2
Use latest PR template (#9360) 2024-05-24 10:47:16 -04:00
Addison Beck
954d427539
Account for commercial licensed CLI code in pipelines (#9293)
* Add `:oss` prefix to preexisting npm commands

* Build `bit` and `oss` versions in `build-cli` workflow

* Update release job to publish new artifacts

* Rename build job tasks for clarity
2024-05-24 09:36:26 -05:00
Vince Grassia
cdaded2049
BRE-64 - Fix version bump message (#9321) 2024-05-23 15:05:54 +02:00
Alex Urbina
b0cc480853
FIX: version-auto-bump.yml trigger parameters (#9298) 2024-05-21 16:34:19 -06:00
Opeyemi
acb153520e
[BRE-50] - Update Slack Notif Channel Ref (#9267)
* delete slack notif channel ref

* update slack channel reference
2024-05-21 19:22:15 +01:00
Alex Urbina
f0a3d942c7
BRE-40 ADD: step to report upcoming release version to Slack (#9201) 2024-05-21 14:07:04 -04:00
Robyn MacCallum
f07840339e
Add autofill as codeowners to ddg files (#9268)
* Add autofill as codeowners to ddg files

* Add comments
2024-05-20 10:37:52 -04:00
Daniel James Smith
e774089d0e
Make premium.component to be owned by team-billing-dev (#8935)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-05-02 15:04:38 -04:00
MtnBurrit0
f07d1039c1
Display commit status in GH summary (#8918) 2024-04-29 08:25:59 -06:00
Cesar Gonzalez
5dc200577c
[PM-7663] Update Build Pipeline for Beta Labelling (#8903)
* [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>
2024-04-26 15:15:36 -04:00
watsondm
423d8c71b5
CLOUDOPS-1592 Remove artifacts R2 steps from desktop release workflows (#8897)
* CLOUDOPS-1592 Remove artifacts R2 steps from desktop release workflows

* CLOUDOPS-1592 Remove artifacts R2 steps from staged rollout workflow
2024-04-24 11:01:51 -04:00
MtnBurrit0
c8a3cb5708
[DEVOPS-1919] - Slack messages contain the incorrect git commit sha (#8813)
* 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>
2024-04-19 13:39:06 -06:00
Cesar Gonzalez
1cde2dbaef
[PM-7527] Add Build Manifest v3 build step to the build-browser.yml Github action (#8777)
* [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
2024-04-17 14:38:47 +00:00
Cesar Gonzalez
65f1bd2e3a
[PM-7527] Get MV3 build artifacts in main branch with clear messaging that that the build is not to be released (#8771)
* [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>
2024-04-16 16:35:53 -05:00
Matt Bishop
7375dc9aab
Exclude not exploitable state from scanner SARIF results (#8603) 2024-04-04 08:41:39 -04:00
cyprain-okeke
9956f020e7
[AC-1911] Clients: Create components to manage client organization seat allocation (#8505)
* 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
2024-04-02 17:04:02 +01:00
watsondm
07c172d3a3
Revert "CLOUDOPS-1369 Remove R2 bucket secrets and step from artifacts (#8534)" (#8546)
This reverts commit 7021e94475.
2024-03-29 09:43:06 -04:00
watsondm
7021e94475
CLOUDOPS-1369 Remove R2 bucket secrets and step from artifacts (#8534) 2024-03-28 16:44:40 -04:00
Matt Bishop
14e8e34b2d
Adjust scan permissions (#8513) 2024-03-27 12:35:13 -04:00
Daniel García
2064862afc
[PM-6832][PM-7030] Rollback macos runner version to 11 (#8450) 2024-03-26 12:23:01 -04:00