Commit Graph

283 Commits

Author SHA1 Message Date
Opeyemi 28dbb4c8a8
update ::set-output to latest (#4177)
* update ::set-output to latest

* update workflow for linter error
2022-12-05 15:04:04 +00:00
Oscar Hinton 0a73290714
[SM-329] Merge libs/electron into desktop (#3989) 2022-12-02 12:45:09 +01:00
Michał Chęciński 81c98778e9
Add switch to github and electron releases (#4158) 2022-11-30 12:51:54 -08:00
Vince Grassia d18b2ecd56
Fix the Staged Rollout Desktop workflow (#4157) 2022-11-30 09:36:09 -05:00
Opeyemi 922239504d
fix_staged_rollout_typo (#4156) 2022-11-30 14:14:05 +00:00
Joseph Flinn 4d14508729
Replace a double quote with a double quote...or maybe a Greek comma... (#4151) 2022-11-29 15:48:25 -07:00
Daniel James Smith db2d8aaa7e
Rename files and folders per ADR #12 (#4106)
Renamed folders:
./apps/desktop/src/models/nativeMessaging
./apps/desktop/src/models/nativeMessaging/encryptedMessagePayloads
./apps/desktop/src/models/nativeMessaging/encryptedMessageResponses
Renamed all files
Cleaned up entries in whitelist-capital-letters.txt
2022-11-24 15:05:45 +01:00
Daniel James Smith 175eef5376
[TDL-192] Rename email forwarders per ADR #12 (#4107) 2022-11-24 14:55:24 +01:00
Joseph Flinn d7d6347628
Update the version hash for the QA Web build artifact to follow SemVer syntax (#4102) 2022-11-22 06:29:59 -08:00
Daniel James Smith 80f5a883e0
[PS-1884] [TDL-189] [TDL-203] Move libs/node files to CLI and rename per ADR12 (#4069)
* Extract files only used in cli out of libs/node

Move commands from libs/node to cli
Move program from libs/node to cli
Move services from libs/node to cli
Move specs from libs/node to cli

Naming changes based on ADR 12
Rename commands
Rename models/request
Rename models/response
Remove entries from whitelist-capital-letters.txt

* Merge lowDbStorageService into base class

Move logic from extended lowdbStorage.service.ts into base-lowdb-storage.service.ts
Delete lowdb-storage.service.ts
Rename base-lowdb-storage.service.ts to lowdb-storage.service.ts

* Merge login.command with base class

program.ts - changed import temporarily to make it easier to review
Remove passing in clientId, set "cli" when constructing ssoRedirectUri call
Remove setting callbacks, use private methods instead
Remove i18nService from constructor params
Add syncService, keyConnectorService and logoutCallback to constructor
Merge successCallback with handleSuccessResponse
Remove validatedParams callback and added private method
Move options(program.OptionValues) and set in run()
Delete login.command.ts

* Rename base-login.command.ts to login.command.ts

* Merge base.program.ts with program.ts
2022-11-18 13:20:19 +01:00
Daniel James Smith 6049e588e4
Rename nodeCryptoFunctionService (#4070) 2022-11-17 15:46:49 +01:00
cyprain-okeke cba0f31937
[PS 1045] bw login with apikey argument fails on cli (#3959)
* Add fix for bw login with apikey argument fails bug

* Changes after running the prettier

* Revert chnages on the launch.json file

* Changes after running a lint

* Renaming a filename to remove capital letters

* Resolving the error on test run

* Renaming file names due lint errors

* Renaming new files to conform to snake case

* Remove the test for user api login strategy

* Adding the user api login test and file renaming

* Rename file name to organization-api-login.spec.ts

* Fixing the lint error on PR

* Adding the apiLogIn.strategy to whitelist-capital-letters

* Removing all the apiLogIn.strategy in whitelist-capital-letters.

* Fixing PR comment relating OrganizationApiTokenRequest

* Resolve PR comment on OrganizationApiTokenRequest model

* Fixing PR comment of separating organization token model

* fixing the lint error message

* Fixing the lint error

* Reverting the changes on lunch.js

* revert the actual content on launch.json

* Reverting changes relating to organization api login

* Removing the OrganizationIdentityTokenResponse file

* Removing OrganizationIdentityTokenResponse file

Co-authored-by: dynwee <onwudiweokeke@gmail.com>
2022-11-17 12:50:37 +01:00
Vince Grassia fa110a21d0
Add branch check for Staged Rollout Desktop workflow (#4062) 2022-11-16 10:48:49 -05:00
Todd Martin 4a225cb271
Updated workflows to not create Github deployment on Dry Run. (#4049) 2022-11-14 13:43:28 -05:00
Opeyemi 03581d893d
Devops 1039 update release flow dry run step names (#4016) 2022-11-14 14:35:42 +00:00
Daniel James Smith 0e78910582
[PS-1805] BEEEP: Renamed importers based on agreed naming-convention (#3978)
* Rename all importer related files

Renamed all files based on our naming convention which we decided on with https://github.com/bitwarden/adr/blob/master/decisions/0012-angular-filename-convention.md

* Removed entries from whitelist-capital-letters.txt

* Rename missing safeInCloud test data

* Fix broken import

* Renamed folders (removed capital letters)

* Fix filename of BitwardenCsvImporter

* Fix imports of onepassword mac/win importer tests

* Remove already renamed folders from whitelist

* Rename dashlaneImporters to dashlane

Rename the folder
Fix all the imports
Remove dashlaneImporters from white-list

* Rename keeperImporters to keeper

Rename the folder
Fix all the imports
Remove keeperImporters from white-list

* Rename onepasswordImporters to onepassword

Rename the folder
Fix all the imports
Remove onepasswordImporters from white-list

* Rename safeinCloud test data folder

* Fix onepassword importer type imports
2022-11-11 16:20:03 +01:00
Oscar Hinton f7d5ee4f9e
Add folders to whitelist (#3994) 2022-11-10 15:08:04 +01:00
Michał Chęciński 618253fb14
Run enforce labels workflow on version bump in clients repo (#4006)
* Fix version bump to run enforce labels workflow

* Add login to Azure

* Trigger enforce labels manually from bump version workflow

* Update .github/workflows/enforce-labels.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

* Update .github/workflows/version-bump.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2022-11-08 13:54:29 -05:00
Daniel James Smith 6851f406ef
Extract and fix trigger for PR auto responses (Translation-PRs) (#3992)
* Extract and fix trigger for PR auto responses

* Fix permission used for job
2022-11-08 17:53:25 +01:00
Opeyemi 0443c9acaa
add run-name for releases to include their workflow trigger (#3996)
* add run-name for releases to include their workflow trigger

* add edit for linter error

* Update .github/workflows/release-web.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2022-11-08 10:02:51 -05:00
Joseph Flinn bc3879e194
Adding the 'libs/**' directory back to the Desktop build pipeline PR trigger list (#3938) 2022-10-31 17:24:02 -06:00
Michał Chęciński b637c2f172
Fix rust tests apt-get install (#3933) 2022-10-31 14:29:41 +01:00
Thomas Rittson da47992a22
[EC-272] Web workers using EncryptionService (#3532)
* Add item decryption to encryptService
* Create multithreadEncryptService subclass to handle web workers
* Create encryption web worker
* Refactor cipherService to use new interface
* Update dependencies
2022-10-28 07:38:54 +10:00
Michał Chęciński 4ff1a25634
Move renovate.json to .github folder (#3905) 2022-10-27 13:22:28 +02:00
Rui Tomé d9542c45d9
[EC-417] Remove chromeCsvImporter.ts from the lint whitelist (#3892)
* [EC-417] Remove chromeCsvImporter.ts from the lint whitelist
2022-10-25 11:52:53 +01:00
Oscar Hinton 9c292028e1
[SM-243] Upgrade windows-rs (#3516) 2022-10-24 11:46:50 +02:00
Vince Grassia ff3420d373
DEVOPS-1016 - Fix Desktop/Browser pipelines to support hotfix process (#3828) 2022-10-19 09:22:57 -06:00
Matt Gibson 23d4dcd839
Build all browser MV3 artifacts (#3835)
only uploading Chrome, Edge and Opera artifacts for now, as those support manifest V3

Also corrects build artifact to lower case.
2022-10-19 07:31:04 -05:00
Oscar Hinton cf2d3f5382
[SM-288] Rename requests and responses to follow naming convention (#3806) 2022-10-18 19:01:42 +02:00
Daniel James Smith 1ed5ea49f1
Add job to close translation PRs (#3730) 2022-10-18 13:09:25 +02:00
Oscar Hinton 9e68d4dd4f
[SM-296] Remove desktop security from the whitelist (#3822) 2022-10-18 10:20:20 +02:00
Oscar Hinton a7fdd40d70
Add CI check to forbid filenames with capital letters in them (#3807) 2022-10-18 10:05:33 +02:00
Matt Gibson 930359fb18
Inform that we track issues outside of Github (#3703)
* Inform that we track issues outside of Github

* Use checkboxes for info acknowledgement
2022-10-17 09:39:00 -05:00
Michał Chęciński 13444307dd
Change trigger for desktop autobump (#3794) 2022-10-17 11:50:54 +02:00
sneakernuts dff15b6e8e
Update-workflows-git-signing (#3725)
* crowdin workflow update

* version bump workflow update

* pinned gha for importing gpg key

* added steps for kv + updated import gpg key action

* Updated crowdin workflow to utilize kv
2022-10-13 21:47:13 +00:00
Vince Grassia 3742732ae8
Update retrieve secrets steps in workflows (#3705) 2022-10-13 12:38:47 -07:00
mimartin12 f489d1b277
Add artifact extract step (#3773) 2022-10-13 11:54:26 -06:00
Opeyemi 9f87fd7f57
edit CLI choco retrieve secret (#3767) 2022-10-12 16:31:20 +01:00
Joseph Flinn a1b13f9b18
Change the download target for cloudflare deploy (#3759) 2022-10-11 18:05:12 -07:00
Joseph Flinn d442632fc2
Add the cloudflare unzip back (#3758) 2022-10-11 17:57:34 -07:00
mimartin12 94cfa2d0d3
Update artifact steps in Web build worklfow (#3756) 2022-10-11 16:57:19 -07:00
mimartin12 96aba0f994
Update Dry Run step and artifact path (#3751) 2022-10-11 14:45:58 -06:00
mimartin12 7f62c5c54f
Remove unzip step (#3750) 2022-10-11 14:38:18 -06:00
mimartin12 e7b2dbf486
Remove unzip step (#3749) 2022-10-11 14:27:11 -06:00
Vince Grassia a027ee5a08
DEVOPS-915 - Automate Staged Rollouts for Desktop (#3704) 2022-10-11 10:46:36 -04:00
Michał Chęciński c8e4f88379
[DEVOPS-1014] Fix desktop autobump workflow (#3736)
* Fix desktop autobump workflow

* Fix desktop autobump workflow accoring to vince suggestions in mobile

* Update ubuntu version
2022-10-11 16:35:25 +02:00
Opeyemi 333bc27972
Update download artifact action (#3735) 2022-10-10 20:35:44 +01:00
Vince Grassia f2159d71ea
Add staged rollout desktop workflow (#3702) 2022-10-06 09:54:37 -04:00
Alexey Zilber 9ca877a7be
Cloudops 165 (#3661)
* Upload artifacts to R2 after we do S3.

* Added beta check line to R2 upload
2022-10-04 21:38:48 +08:00
Opeyemi 39399b5cf8
fix: typo in auto issues responses (#3670) 2022-10-03 15:49:15 +01:00