Commit Graph

161 Commits

Author SHA1 Message Date
Thomas Rittson 659c9ea78d
Update i18n string and id for tray menu Lock item (#1334) 2022-02-14 08:40:06 -05:00
Oscar Hinton 166c459da4
Potentially improve path detection of regedit vbs files (#1288) 2022-02-03 19:39:23 +01:00
Addison Beck 48ff9f61ae
[bug] Inactive accounts with power-based timeout settings are not timing out (#1278)
* [bug] Move bulk of system lock checks into app.component

* [review] Extract shared system timeout logic

* [review] Correct an improper number

* [review] Opt for a more locally scoped system timeout helper than a dedicated enum
2022-02-01 11:31:30 -05:00
Addison Beck c1ba54f646
[bug] Patch the windows menu bar regressions (#1273)
* [bug] Patch the windows menu bar regressions

* [chore] Update jslib
2022-01-28 11:27:30 -05:00
Addison Beck 058be7e895
[bug] Disable the preferences screen if there is no active unlocked vault (#1270) 2022-01-26 12:32:00 -05:00
Daniel James Smith 7818ffc2fb
[Account Switching] Fix menus (#1232)
* Fix enabled/disabling menu items with locked state

* Fix the empty about menu (title)

Moved the items to the help menu
2022-01-13 14:29:49 +01:00
Daniel James Smith 2b64ec5375
Fix null ref when building/updating the MenuBar (#1227) 2022-01-12 15:19:18 +01:00
Daniel James Smith d64b00977c
Fix menu separators (#1220)
* Fix separators appearing when they shouldn't

* Use const instead of let
2022-01-07 15:54:35 +01:00
Oscar Hinton 521feae535
Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00
Addison Beck 0b306ca1a7
[Account Switching] [Feature] Add the ability to maintain state for up to 5 accounts at once (#1079)
* [refactor] Remove references to deprecated services

* [feature] Implement account switching

* [bug] Fix state handling for authentication dependent system menu items

* [bug] Enable the account switcher to fucntion properly when switching to a locked accounts

* [feature] Enable locking any account from the menu

* [bug] Ensure the avatar instance used in the account switcher updates on account change

* [style] Fix lint complaints

* [bug] Ensure the logout command callback can handle any user in state

* [style] Fix lint complaints

* rollup

* [style] Fix lint complaints

* [bug] Don't clean up state until everything else is done on logout

* [bug] Navigate to vault on a succesful account switch

* [bug] Init the state service on start

* [feature] Limit account switching to 5 account maximum

* [bug] Resolve app lock state with 5 logged out accounts

* [chore] Update account refrences to match recent jslib restructuring

* [bug] Add missing awaits

* [bug] Update app menu on logout

* [bug] Hide the switcher if there are no authed accounts

* [bug] Move authenticationStatus display information out of jslib

* [bug] Remove unused active style from scss

* [refactor] Rewrite the menu bar

* [style] Fix lint complaints

* [bug] Clean state of loggout out user after redirect

* [bug] Redirect on logout if not explicity provided a userId that isn't active

* [bug] Relocated several settings items to persistant storage

* [bug] Correct account switcher styles on all themes

* [chore] Include state migration service in services

* [bug] Swap to next account on logout

* [bug] Correct DI service

* [bug] fix loginGuard deps in services.module

* [chore] update jslib

* [bug] Remove badly merged scss

* [chore] update jslib

* [review] Code review cleanup

* [review] Code review cleanup

Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-12-15 17:32:00 -05:00
Oscar Hinton fa98ef37ec
Hide change password when using key connector (#1153) 2021-11-12 08:41:08 +10:00
Thomas Rittson afb30d5e0b
[Key Connector] Add support for key connector and OTP (#1135)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-11-09 19:00:01 +01:00
Oscar Hinton 6f69486c36
Remove empty catch blocks and remove allow-empty-catch tslint rule (#1117) 2021-10-21 11:10:36 +02:00
Daniel James Smith 72b688e241
Fix broken link to open Edge extension store from Help menu (#1025) 2021-08-18 07:46:53 +02:00
Thomas Rittson 3aa171a664
[macOS] Don't enable secure input when app is not in focus (#970)
* Don't engage macOS secure input if not focused

* Refactor to use focusInputOnPageLoad

* Fix style and linting

* Refactor to remove focusOnPageLoad

* Update jslib
2021-07-05 08:06:24 +10: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 20b8a83dd8
Disconnect active connections when closing native messaging. Fix exe path on windows (#865) 2021-05-03 09:59:40 +02:00
Oscar Hinton 418625682a
Write native messaging manifests for Chromium (#862) 2021-04-29 16:12:57 +02:00
Oscar Hinton b5492e9546
Simplify logic for resolving path to exe for native messaging (#814) 2021-03-25 23:11:31 +01:00
Oscar Hinton 64da326be3
Attempt to create NativeMessagingHosts directory if not already exist (#808) 2021-03-23 23:35:25 +01:00
Oscar Hinton 85f29e1222
Write native messaging manifests for Chrome/edge beta/dev/canary (#804) 2021-03-22 22:16:02 +01:00
Hinton c2e8e07002 Fix edge case where tmp directory doesn't exist in home dir on mac. 2021-03-18 21:33:14 +01:00
aimuz 444a06d6f7 support vivaldi for macos 2021-03-16 17:00:27 +08:00
Chad Scharf ab24604d18 fix lint errors - trailing whitespace 2021-03-10 10:45:56 -05:00
aimuz 0a56bcb5c9 fix: Edge supported by biometrics 2021-03-09 09:49:45 +08:00
Daniel James Smith 8207d86df5 Fixes #723
Change the link for fileBugReport to point to https://github.com/bitwarden/desktop/issues
2021-02-24 20:07:36 +01:00
Matt Gibson 113c035152 Add trailing comma to linter 2021-02-08 12:58:44 -06:00
Matt Gibson ba173f9da5 Add main menu copy and shortcut and context copy for totp 2021-02-08 11:20:12 -06:00
Nathan Higley 9da60f8c0d Fixed menu reloading bug 2021-02-05 14:36:49 -05:00
Matt Gibson e76e56d824 Match linter rules 2021-02-03 12:21:22 -06:00
proletarius101 6dc81a6e01
Fix electron 11 support (#708) 2021-02-03 12:47:44 -05:00
Oscar Hinton c09ba7051f
Add trailing slash to ipc.config.socketRoot. (#695) 2021-01-26 16:32:25 -05:00
Hinton 89c47277e8 Only change socketRoot on mac 2021-01-26 19:11:36 +01:00
Oscar Hinton d1011870f0
Fix paths for native messaging on mac (#691) 2021-01-26 12:01:46 -05:00
Oscar Hinton a71bdb1e29
Fix native-messaging uninstall not removing the files (#681) 2021-01-25 12:55:21 -05:00
Hinton 8d9698101d Adding regedit to src/package.json 2021-01-04 20:31:33 +01:00
Hinton 87d399a3f9 Merge branch 'master' of https://github.com/bitwarden/desktop into hotfix/multiple-extensions 2020-12-21 22:36:00 +01:00
Hinton e639fa6674 Make fingerprint validation optional, update readme with debug info for native messaging 2020-12-18 15:47:48 +01:00
Matt Gibson 8f704d20e5 Force update of tray menu if on linux 2020-12-17 14:53:38 -06:00
Hinton c5edb3e04e Fix autostart in snap 2020-12-14 22:45:36 +01:00
Chad Scharf e9b58ee9fe
Merge branch 'master' into feature/fit-finish 2020-12-04 12:39:44 -05:00
Hinton 28943f4bc1 Fix linting errors 2020-11-30 15:10:57 +01:00
Hinton ed0acdead2 Restore focus when displaying sync confirm 2020-11-30 14:58:52 +01:00
Hinton 0cd196f56c Fix linux not creating the autostart dir if not exist 2020-11-27 13:47:25 +01:00
Hinton 75d26de581 Add support for linux autostart 2020-11-27 10:58:47 +01:00
Hinton f512df309d Add support for "openAtLogin" 2020-11-25 20:43:29 +01:00
Hinton 7da03dc91c Fix binary path on linux 2020-11-25 16:45:15 +01:00
Hinton e41023aa09 Add Edge and Opera extension ids 2020-11-25 15:25:18 +01:00
Hinton a05677ab7f Update manifest generation to work with the electron embeeded proxy 2020-11-25 14:29:53 +01:00
Hinton f926f80d8c Wip start on login 2020-11-23 15:04:35 +01:00