Commit Graph

85 Commits

Author SHA1 Message Date
Oscar Hinton 6f69486c36
Remove empty catch blocks and remove allow-empty-catch tslint rule (#1117) 2021-10-21 11:10:36 +02:00
Kyle Spearrin 9201730fe1 remove old code from #351 2021-07-12 10:11:43 -04:00
Matt Gibson 05e9419d65 Request biometrically secured stored key 2021-06-09 16:55:50 -04:00
Oscar Hinton 296340a5be
Add jslib as a "real" dependency (#941)
* Add jslib as a "real" dependency

* Move more packages to jslib

* Remove some unesessary dev dependencies.

* Add back missing preinstall

* Revert jslib bump

* Fix jslib containing wrong types/node.

* Bump jslib

* Remove unessesary alias

* Remove dummy module
2021-06-07 19:26:36 +02:00
Oscar Hinton b5492e9546
Simplify logic for resolving path to exe for native messaging (#814) 2021-03-25 23:11:31 +01:00
Matt Gibson e76e56d824 Match linter rules 2021-02-03 12:21:22 -06:00
Hinton 2c93385fce Fix electron error on native messaging 2020-12-29 20:53:29 +01:00
Hinton 535ca260d6 Support forcefocus for biometrics 2020-12-21 11:31:33 +01:00
Hinton d86225d551 Fix tray window listeners not working after closing the window 2020-12-11 12:57:32 +01:00
Hinton 03a52d4d63 Fix not working on windows 2020-11-25 11:25:28 +01:00
Hinton d94f441422 Hide dock icon, handle errors occurring on mac 2020-11-25 10:52:01 +01:00
Hinton efb7cc98ae *Wip* Run proxy app through electron 2020-11-23 18:37:04 +01:00
Hinton 04c8b119e3 Merge branch 'master' of https://github.com/bitwarden/desktop into feature/browser-communication
# Conflicts:
#	src/locales/en/messages.json
2020-11-13 15:34:57 +01:00
Chad Scharf c001a00f82 Hide hidden fields on hide/minimize 2020-11-04 12:09:21 -05:00
Chad Scharf 5ff545e541 Undo broadcast service refs (not needed) 2020-11-02 17:08:39 -05:00
Chad Scharf d8d1ee3022 Handle main window hide 2020-10-29 16:35:09 -04:00
Hinton 51b749b1dc Split native messaging into renderer and background service. Encrypt messages and verify timestamp 2020-10-12 21:18:28 +02:00
Hinton c80b538674 Wire up desktop -> browser communication. Add initial biometry support for browser integration 2020-10-11 20:41:10 +02:00
Hinton 45302e5bd5 Add settings toggle to enable/disable browser integration 2020-10-07 18:25:18 +02:00
Hinton cb9c0b318e Add untested support for linux and macos 2020-10-05 20:28:00 +02:00
Hinton 830c4a45ee Replace cosole logs with logService 2020-10-05 20:05:48 +02:00
Hinton 24ef7e1ef6 Generate app manifests and add install scripts for windows 2020-10-05 19:48:51 +02:00
Hinton f09a788103 Initial PoC for browser <-> desktop communication 2020-10-05 15:27:52 +02:00
Kyle Spearrin 0ba2589461
merge sso feature branch (#523)
* Update jslib (101c568 -> 14b01f2) (#506)

* Update jslib (14b01f2 -> 1513b25) (#510)

* [jslib] Update (1513b25 -> 7c3a9d6) (#516)

* update jslib (1513b25 -> 7c3a9d6)

* Updated call to constructor super

* [SSO] Added SSO flows & functionality (#513)

* update jslib

* bump version

* Added sso button (wip)

* Added sso & change password // Added modules/routes // Added strings for localization

* Added password strength comp // reverted login route

* Updated sso component to send client id // added routing for sso // added crypto function to services module provider list

* Added deep linking

* First round of UI updates // Added sso browser launching // Added missing strings

* Updated UI and added missing strings

* Removed extra change password style

* Let constructor for WindowMain handle default width/height

* Prepared for jslib update

* Update jslib (1513b25 -> 7c3a9d6)

* Update login super

* Added params for launchSsoBrowser function

* Update jslib (7c3a9d6 -> 4203937)

* Added missing strings, removed unnecessary class param

* Upgrade TypeScript (#517)

* Updated password score // Update styles

* Removed password-strength component files

* Cleaned up module class // Fixed UL/LI formatting issues

* Use exisiting loading string // removed new string

* Update jslib (4203937 -> 9957125)

* Updated class to perform new submit actions

* Upgrade Angular (#520)

* di resolution for CryptoFunctionServiceAbstraction

* Update jslib (9957125 -> 5d874d0) (#521)

* Updated change password flow to match web

* Updated callout style

Co-authored-by: Kyle Spearrin <kyle.spearrin@gmail.com>
Co-authored-by: Oscar Hinton <hinton.oscar@gmail.com>

Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
Co-authored-by: Oscar Hinton <hinton.oscar@gmail.com>
2020-08-21 09:50:36 -04:00
Oscar Hinton 26b023a3cb
Biometric support (#470)
* Initial work on windows hello support

* Hide login button if not enabled

* Add windows.security.credentials.ui dependency to desktop as well.

* Only enable biometric on windows.

* Add support for dynamic biometric text.

* Add untested darwin implementation

* Ensure we support biometric before showing login with windows hello / touchid.

* Ensure compatability with latest jslib

* Only require module on use.

* Add windows.security.credentials.ui to src/package.json.

* Update requirements

* Update consent messages for biometrics
2020-07-23 13:32:36 -04:00
Kyle Spearrin 848dff7863
tweaks to minimize on copy feature (#432) 2020-04-14 16:52:03 -04:00
Vincent Salucci c1113852a4
[Auto-Logout] Implement Vault Timeout Options (#424)
* Update jslib (31a2574 -> 28e3fff)

* Initial commit of vault timeout implentation

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-04-01 10:18:36 -05:00
Kyle Spearrin 0b05a8f44e disable all global shortcuts 2020-03-12 09:50:19 -04:00
Kyle Spearrin e8c03e30ba temp: remove global shortcut to focusSearch
resolves #402
2020-03-11 09:56:51 -04:00
Marcelo Dominguez f7bfe40b71 Add two globalShortcuts (#351)
Cmd+Shift+L -> Search Vault
Cmd+Shift+G -> Password Generator
2019-12-16 08:59:19 -05:00
Kyle Spearrin 5f4a5faf3c hideTitleBar true 2019-04-13 21:37:42 -04:00
Kyle Spearrin 8b68fa4ea0 init power monitor at end 2019-03-11 23:18:04 -04:00
Kyle Spearrin aa971026ec remove lowdb with electron-store 2019-03-11 22:37:13 -04:00
Kyle Spearrin 65845cd909 start to tray updates 2019-02-02 12:27:06 -05:00
h44z a380188120 Allow app to start minimized (as tray icon) (#169)
* Allow app to start minimized (as tray icon)

* Rever german locale
2019-02-02 12:16:32 -05:00
Kyle Spearrin d494006aff pass project name to updater 2018-11-27 08:32:04 -05:00
Kyle Spearrin eb15764395 replace electron store with lowdb 2018-05-31 09:08:09 -04:00
Kyle Spearrin 786549c2c2 move tray to jslib 2018-05-08 12:05:05 -04:00
Kyle Spearrin 9d969929de more tray icon options 2018-05-05 00:29:02 -04:00
Kyle Spearrin 18feb238a7 move updater to jslib 2018-05-04 14:16:28 -04:00
Kyle Spearrin db0986e95f some fixes for tray icon 2018-05-04 13:16:12 -04:00
tstumm 0f2d1e73b4 Tray icon (#84)
* Implemented configurable tray icon

* Fixed calls to callAnalytics using wrong indicators
2018-05-04 12:45:42 -04:00
Kyle Spearrin 0c0b551f1c move storage defaults out to app 2018-04-26 16:17:14 -04:00
Kyle Spearrin 1f706802f6 main messaging service to jslib 2018-04-26 15:44:07 -04:00
Kyle Spearrin 8239c0cc53 move to base menu and keytar storage from jslib 2018-04-25 15:43:26 -04:00
Kyle Spearrin 1a85017d18 language setting fixes 2018-04-24 23:53:20 -04:00
Costantini Matteo 6bf0821ca6 Add language selection in settings (#75)
* Add language selection in settings

* Removed comment

* Mapping Locale-Language saved as key-value instead of list of objects

* Remove comment

* Revert supported locales array
2018-04-24 23:25:31 -04:00
Kyle Spearrin d02a16a370 move common code to jslib 2018-04-24 16:30:47 -04:00
Kyle Spearrin cd80d68a80 no variable needed for app.getLocale() 2018-02-28 11:57:21 -05:00
Oscar Hinton 06a543c913 Replace os-locale with native electron api, app.getLocale (#46)
* Replace os-locale with native electron api, app.getLocale.

* Remove os-locale from the second package.json.
2018-02-28 10:52:59 -05:00