* Lock lowdb storage file to avoid dirty data collisions
* Retry lock acquire rather than immediately fail
* Add proper-lockfile types to dev dependencies
* remove proper-lockfile from jslib.
This package is incompatible with Browser implementations.
* await lock on create
* Revert "Add policy property to TakeoverResponse"
This reverts commit 31da5081e6833cf8a9d5bb869c14600f25ca3f39.
* Add getEmergencyGrantorPolicies to api service
* 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
* 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>
* 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
It is not possible to edit and share at the same time. Browser extension
currently utilizes this layout and it is confusing. This change is in
conjunction with altering that UI.
* 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>
* Change cipher type based on csv type header
* Test identity and credit card import
* Do not use node 'fs' module
Karma is being used for automated tests so node modules are not available
* WIP: mac and windows 1password importer split
Need to improve windows field identification to limit secret data
exposure and improve user experience
* Hide fields with likely secret values
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
* Initial commit of personal ownership enforcement
* Updated policy type enum
* Sync'd eventType for Policy_Updated with server enum value
* Added policyId to eventResponse model
* Removed explicit typing