Commit Graph

103 Commits

Author SHA1 Message Date
Oscar Hinton f3a4fde513
Remove keytar and biometric logic (#706) 2022-04-04 21:00:49 +02:00
Matt Gibson a4fba0e1c5
Feature/move to jest (#744)
* Switch to jest

* Fix jslib-angular package name

* Make angular test project

* Split up tests by jslib project

* Remove obsolete node test script

* Use legacy deps with jest-preset-angular

* Move web tests to common

* Remove build from pipeline

This was only being used because we were not using ts runners.
We are now, so build is unnecessary
2022-03-28 16:00:42 +02:00
Oscar Hinton 554dc8d873
Bump node-forge to 1.2.1 (#722) 2022-03-22 14:05:55 +01:00
Daniel James Smith 6e345bc4cc
Dashlane Csv-Importer (#708)
* Move existing dashlane importer into dashlaneImporters

* Add testData for Dashlane CSV importer

* Add dashlane Csv importer and unit tests

* Fixed linting issues

* Moved dashlaneCsv types to own file

* Register DashlaneCsv importer

* Removed temp private method and use base impl

* rename spec imports

* Move scope of mapped columns

* Migrate folders into collection if imported via org
2022-03-07 19:21:23 +01:00
Oscar Hinton 60878cd4ed
Add eslint (#610) 2022-02-22 15:39:11 +01:00
Matt Gibson 19bf7c75a3
Use node-ts and jasmine-ts to run tests (#621)
* Use node-ts and jasmine-ts to run tests

* prettier

* Add tsconf-paths module
2022-01-20 14:07:13 -06:00
Daniel James Smith 8460629de4
Bump electron from 16.0.2 to 16.0.7 (#613) 2022-01-17 17:27:14 +01:00
Oscar Hinton 8b2dfc6cdc
Add Prettier configuration (#574) 2021-12-16 12:45:01 +01:00
Daniel James Smith 3fc7dd7089
Bump electron to 16 (#579)
* Bump electron to 16.0.2

* Bump electron-update to 4.6.1
2021-12-14 19:03:54 +01:00
Daniel James Smith 8fc3cf50d2
Bump node to 16 and npm (#575)
* Bump engines required to node 16 and npm 8

* Bump @types/node to 16
The dep on node 14.18 will get cleaned up once we bump electron

* Modify build.yml to build with node 16 and npm 8

* Update requirements in README.md

* Remove install step for npm 8
npm v8.1.2 is included in node v16

* Rename install step

* Fixed typo
2021-12-13 11:43:10 +01:00
Daniel James Smith e9630eeae5
Sync package-lock.json after Angular bump (#573)
* Sync package-lock.json after Angular bump

* Add form-data as dev dependency and bump typescript

* Install rxjs as dev-dep in root package.json
2021-12-10 12:50:24 +01:00
Oscar Hinton 6a179ab2df
Bump angular to 12. (#571) 2021-12-09 15:00:26 +01:00
Daniel James Smith e2c72a75f9
Update electron to 14.2.0 (#534)
* Update electron to 14.1.1

* Update electron to 14.2.0 and fix it to this version

* Removed ^ from electron in electron/package-lock.json
2021-11-03 17:18:19 +01:00
Oscar Hinton 91c5393ae7
Bump packages in root jslib (#507) 2021-10-01 17:24:49 +02:00
Oscar Hinton 1016bbfb9e
Split jslib into multiple modules (#363)
* Split jslib into multiple modules
2021-06-03 18:58:57 +02:00
Oscar Hinton 2c297e2f45
Bump NPM to v7 (#389)
* Try bumping npm again

* Add NPM requirement to readme
2021-05-26 21:45:23 +02:00
Oscar Hinton ba1a40af4e
Bump node to 14 (#358)
* Bump node requirement to 14 and npm to 7
2021-05-12 18:55:00 +02:00
Oscar Hinton aca098645a
Bump dependencies (#350)
* Bump dependencies
2021-04-22 21:17:14 +02:00
Oscar Hinton 3c872e56f2
Revert "Password reprompt (#343)" (#353)
This reverts commit 372e139810.
2021-04-21 20:49:18 +02:00
Oscar Hinton 372e139810
Password reprompt (#343)
Add support for password reprompt on cipher items
2021-04-15 16:14:33 +02:00
Kyle Spearrin cbd86a83c5 npm audit fix 2021-04-09 12:01:29 -04:00
Snyk bot 2428b7e592
fix: package.json & package-lock.json to reduce vulnerabilities (#334)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-NODEFETCH-674311
- https://snyk.io/vuln/SNYK-JS-PAPAPARSE-564258
2021-04-09 11:58:32 -04:00
Snyk bot 0c7af12ffa
fix: upgrade @microsoft/signalr-protocol-msgpack from 3.1.0 to 3.1.13 (#327)
Snyk has created this PR to upgrade @microsoft/signalr-protocol-msgpack from 3.1.0 to 3.1.13.

See this package in npm:
https://www.npmjs.com/package/@microsoft/signalr-protocol-msgpack

See this project in Snyk:
https://app.snyk.io/org/kspearrin/project/38b1ffd6-0f49-4f56-b34f-c800f1e8b2aa?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2021-04-09 11:44:33 -04:00
Snyk bot 0826247c7a
fix: upgrade node-forge from 0.7.6 to 0.10.0 (#329)
Snyk has created this PR to upgrade node-forge from 0.7.6 to 0.10.0.

See this package in npm:
https://www.npmjs.com/package/node-forge

See this project in Snyk:
https://app.snyk.io/org/kspearrin/project/38b1ffd6-0f49-4f56-b34f-c800f1e8b2aa?utm_source=github&utm_medium=upgrade-pr
2021-04-09 11:02:38 -04:00
Snyk bot 08cd6874a5
fix: upgrade core-js from 2.6.2 to 2.6.12 (#328)
Snyk has created this PR to upgrade core-js from 2.6.2 to 2.6.12.

See this package in npm:
https://www.npmjs.com/package/core-js

See this project in Snyk:
https://app.snyk.io/org/kspearrin/project/38b1ffd6-0f49-4f56-b34f-c800f1e8b2aa?utm_source=github&utm_medium=upgrade-pr
2021-04-09 11:00:20 -04:00
Snyk bot bb5482be72
fix: upgrade @microsoft/signalr from 3.1.0 to 3.1.13 (#326)
Snyk has created this PR to upgrade @microsoft/signalr from 3.1.0 to 3.1.13.

See this package in npm:
https://www.npmjs.com/package/@microsoft/signalr

See this project in Snyk:
https://app.snyk.io/org/kspearrin/project/38b1ffd6-0f49-4f56-b34f-c800f1e8b2aa?utm_source=github&utm_medium=upgrade-pr
2021-04-09 11:00:08 -04:00
Snyk bot db02b78384
fix: upgrade big-integer from 1.6.36 to 1.6.48 (#325)
Snyk has created this PR to upgrade big-integer from 1.6.36 to 1.6.48.

See this package in npm:
https://www.npmjs.com/package/big-integer

See this project in Snyk:
https://app.snyk.io/org/kspearrin/project/38b1ffd6-0f49-4f56-b34f-c800f1e8b2aa?utm_source=github&utm_medium=upgrade-pr
2021-04-09 10:59:42 -04:00
Oscar Hinton 7cc23dab72
Bump electron to 11.3.0 (#308) 2021-03-15 23:11:51 +01:00
Matt Gibson 09c444ddd4
Add send to cli (#253)
* Upgrade commander to 7.0.0

* Add url to Api call

This is needed to allow access to sends that are available from a
different Bitwarden server than configured for the CLI

* Allow upload of send files from CLI

* Allow send search by accessId

* Utils methods used in Send CLI implementation

* Revert adding string type to encrypted file data

* linter fixes

* Add Buffer to ArrayBuffer used in CLI send implementation
2021-01-29 15:08:52 -06:00
Chad Scharf 06239aea2d
update package https-proxy-agent (#246)
* update package http-proxy-agent

* Update syntax appropriately

* Explicitly add utils package to fix broken tests

* Revert "Explicitly add utils package to fix broken tests"

This reverts commit 2cf03fdcbae89e55124c7e36201238520434f8cc.

* Import util in spec to make sure it gets bundled

* Revert "Import util in spec to make sure it gets bundled"

This reverts commit 79264cdab0ef37af855d64a6dc3ef574575309d2.

* Add alias to ensure util module resolves in tests

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2021-01-27 20:08:56 -05:00
Oscar Hinton d1c46e6bdc
Update electron to 11.1.1 (#247) 2021-01-26 22:49:47 +01:00
Addison Beck 9ddec9baf8
Lunr search bug (#251)
* changed hrtime library

* changed import style
2021-01-25 15:03:28 -05:00
Oscar Hinton 1742228715
Make fingerprint optional for browser integration (#234)
* Make fingerprint optional for browser integration

* Force focus on biometrics

* Add dependency
2020-12-21 13:26:16 -05:00
Kyle Spearrin f30d6f8027 update electron builder 2020-09-24 11:41:54 -04:00
Oscar Hinton 8fe78916e2
Upgrade Angular to 9 (#151)
* Upgrade Angular to 8

* Upgrade Angular to 9

* Fix format

* Add ordered-imports tslint rule

* Upgrade Angular CDK to 9.2.4
2020-08-17 12:14:40 -04:00
Oscar Hinton e516692559
Upgrade TypeScript (#148)
* Update typescript to 3.6.5 along with tslint to latest.

* Upgrade @types/node to 12.12.54 to get rid of compile errors.

* Update tslint.

* Use @types/node 10.17.28 instead
2020-08-12 15:42:42 -04:00
Kyle Spearrin 7d49902eea
SSO login for generic clients and CLI (#140)
* sso

* move break into try block

* make client id dynamic

* clientId is a string, DOH!

* reject if port not available

* lint fixes
2020-08-03 15:24:26 -04:00
Oscar Hinton c62f5287cd
Desktop biometrics support (#119)
* Initial work on windows hello support

* Switch to use windows.security.credentials.ui UserConsentVerifier

* Fix linting warnings

* Remove unessesary supportsBiometric from lock screen

* Rename biometric.main to windows.biometric.main. Add abstraction for biometric.

* Add support for dynamic biometric text.

* Add untested darwin implementation

* Rename fingerprintUnlock to biometric

* Add new functions to cliPlatformUtils.service.ts.

* Hide login if biometric is not supported

* Export default for biometric.*.main.ts

* Remove @nodert-win10-rs4/windows.security.credentials

* Add build requirements to readme

* Auto prompt biometric when starting the application.

* Ensure we support biometric before trying to auto prompt.

* Fix review comments and linting errors
2020-07-23 13:32:20 -04:00
mtgto 8438cafbd0
Update lunr type (#93) 2020-04-14 15:16:18 -04:00
Kyle Spearrin 47617c6160 upgrade electron 2020-01-27 09:18:18 -05:00
Kyle Spearrin 51705604c4 npm audit 2020-01-27 08:57:59 -05:00
Kyle Spearrin f75ae0d429 remove angular http module 2020-01-27 08:55:26 -05:00
Kyle Spearrin 3f17b642b4 upgrade signalr client 2020-01-09 17:27:07 -05:00
Kyle Spearrin b3d1e9d233 npm i 2019-10-21 08:41:16 -04:00
Kyle Spearrin dc4d2e131d npm audit fix 2019-10-07 14:45:24 -04:00
Kyle Spearrin 6372d24104 update keytar 2019-07-31 23:41:13 -04:00
Kyle Spearrin 692d1ec201 upgrade signalr libs 2019-07-25 20:41:28 -04:00
Kyle Spearrin e89f295e1d upgrade to electron 5 2019-07-24 14:32:16 -04:00
Kyle Spearrin bc5a6e02c1 native fetch with proxy support on node api 2019-06-24 11:07:26 -04:00
Kyle Spearrin dc37528d22 update jasmine types 2019-03-29 00:09:21 -04:00