* 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
* Use logService for console messages
* linter autofixes
* Use full import path
* 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.
* linter fixes
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
* Fix import of 1password csv
* 1password is using '\' as a quote escape character.
* 1password's csv headers are sometimes capitalized. We want to identify
them case insensitively
* Change cipher type based on csv type header
* Translate 1password data to correct fields
* Test identity and credit card import
* linter fixes
* Do not use node 'fs' module
Karma is being used for automated tests so node modules are not available
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
* Add context menu on right click to mac
* Add hide dock setting
* Change "hide dock" to "always show dock"
* Add support on mac for minimize to menu bar on close, minimize or start
* Add "openAtLogin" to ElectronConstants
* Add "restoreFromTray" to TrayMainService
* support for encrypted json export
* adjust filename prefix for encrypted formats
* flip if logic
* remove format param from encrypted export
* encryptedFormat getter
The helper method yields either 1) the configured web vault url or 2)
the configured server url. If neither are configured, null is returned,
which is already handled by defaulting to vault.bitwarden.com
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
* Update web sso content to indicate window OK to close
This is done after the authResult handoff message is delivered to the
extension. It is not possible to close the window from javascript as
closing a window is limited to the script that opened it.
If we maintain a reference to the web window, it should be possible to
subscribe to the authResult message and close the web windows from the
browser.
* Use i18n for close tab message
* delete cookie after it is used
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>