Commit Graph

111 Commits

Author SHA1 Message Date
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
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 58f40b0085
Fix glob processing in npm. Ban single param parens (#257) 2021-02-04 09:49:23 -06: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
Matt Gibson 1420082348
Do not export trashed items (#241)
* Do not export trashed items

* Test Item exporting

Does not test organization export. Export's use of apiService is not
very testable. We will either need a testApiService or to refactor
apiService to make mocking easier.

* Linter fixes
2020-12-30 15:08:02 -06: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
Matt Gibson 2c414ce27a
Use log service for console messages (#221)
* Use logService for console messages

* Implement a base ConsoleLog service

Use this class as a default for other services that would like to output
to console. This service is overriden in CLI and Desktop to use CLI's
consoleLogService and electronLogService, respectively.

* Use browser-process-hrtime for timing

* test LogService implementations

* Ignore default import of hrtime

* Clean up imports. Require ConsoleLog injection

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-11 10:44:57 -06:00
Chad Scharf 85faee21ee
Fixed import for HttpsProxyAgent (#202)
* Fixed import for HttpsProxyAgent

* Try this fix again?

* One more effort, otherwise need to revert

* Syntax error

* Lint error fix

* revert https-proxy-agent version
2020-11-13 15:07:34 -05:00
Marcos Soutullo Rodriguez 37682e7146
Bump https-proxy-agent dep. to 5.0.0 (#201) 2020-11-13 14:06:30 -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
mtgto 72b4c4401a
Add the lint to CI script (#87) 2020-03-11 09:06:45 -04:00
Kyle Spearrin 98ae9b0629 bitwarden inc. 2020-02-18 22:33:47 -05: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 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 4bf44fa5b8 update electron updater 2019-07-24 15:09:51 -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
Kyle Spearrin a22bb09fc3 update karma deps 2019-03-27 14:41:06 -04:00
Kovah 19516c20ff Add support for CdkDragDrop in add-edit.component.js (#35) 2019-03-27 14:22:59 -04:00
Kyle Spearrin 50e6f24679 update keytar 2019-03-20 11:44:02 -04:00
Kyle Spearrin d8f9177c03 move ciphers paging in jslib for shared use 2019-03-19 11:31:53 -04:00
Kyle Spearrin d4c2b20a25 shared login and logout commands 2019-03-18 10:33:29 -04:00
Kyle Spearrin b5b4222b32 base cli program 2019-03-16 11:26:31 -04:00
Kyle Spearrin 13a160fb79 move shared CLI items to jslib 2019-03-15 22:33:19 -04:00
Kyle Spearrin 49e06e77c4 electron storage implementation 2019-03-11 22:36:29 -04:00
Kyle Spearrin 93244b5c90 use jsdom for DOMParser 2019-02-07 16:55:49 -05:00
Kyle Spearrin 39b2ba1548 update angular and electron 2019-01-21 23:38:16 -05:00
Kyle Spearrin 58ed2ed0a2 update electron 2018-12-26 14:55:21 -05:00