1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-09-27 03:53:00 +02:00
Commit Graph

69 Commits

Author SHA1 Message Date
Oscar Hinton
3aa52a5537
Add eslint (#1369) 2022-02-24 20:50:19 +01:00
Addison Beck
2b22a39d45
[chore] Update jslib (#1277)
* [chore] Update jslib

* [bug] Correct value for system theme dropdown key

* [chore] Update jslib
2022-01-31 18:00:37 -05:00
Daniel James Smith
bb597e96a7
Use ThemeType instead of string (#1275) 2022-01-28 14:46:07 +01:00
Addison Beck
ff7dd4ad8f
[bug] Don't monitor vault timeout action valueChanges until after init (#1271) 2022-01-26 09:33:37 -05:00
Daniel James Smith
37b03b09a1
[Account Switching] Design changes to settings menu (#1244)
* Design changes to settings menu

* Remove black border on settings headers

* Pull in jslib

* Only load account related settings when authed

* Hide account related settings when not authed

* Change settings titles

* Changes discussed with Danielle
2022-01-20 22:56:15 +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
Thomas Rittson
15e8e5fec9
Use theme enum and platformUtilsService helpers (#1094)
* Use new theme enum and platformUtilsService helper

* Use theme enum

* Update jslib

* Fix linting
2021-10-05 06:30:09 +10:00
Oscar Hinton
0297ea57da
Use explicit import paths (#1084) 2021-09-20 10:41:57 +02:00
Oscar Hinton
aa19e678f7
Vault Timeout Policy (#1052) 2021-09-15 20:02:46 +02:00
Thomas Rittson
ebaf27b7c9
Use a modal to set the unlock pin (#1064)
* Use separate modal to set pin

* Remove incorrect label

* Fix tab focus for settings and set-pin modals

* Remove leftover code

* Update jslib
2021-09-13 10:52:58 +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
af5898a001
Add setting for disabling auto prompt of biometrics (#873)
* Add setting for disabling auto prompt of biometrics

* Ensure window is visible before prompting for biometrics
2021-05-06 20:19:48 +02:00
Oscar Hinton
6acfba4b40
Remove dead code (#839)
* Remove last remnants of old analytics code
2021-04-14 23:43:22 +02:00
Matt Gibson
e76e56d824 Match linter rules 2021-02-03 12:21:22 -06:00
Hinton
1613aaee4d Add entitlements to mac, disable browser integration on Windows Store 2021-01-25 14:47:29 +01:00
Hinton
d0a5326bd7 Fix linting errors 2020-12-22 17:16:12 +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
Hinton
02a3fbde99 Disable browser integration on Mac for non MAS version (for now) 2020-12-16 21:49:05 +01:00
Hinton
22ddd8db60 Ensure settings are saved 2020-12-16 09:38:28 +01:00
Hinton
41e72b22b8 Prevent disabling enableTray on linux when using other tray settings 2020-12-15 20:47:21 +01:00
Kyle Spearrin
2bfba0be5c
add supprot for encrypted json export (#607)
* add supprot for encrypted json export

* fix lint issues
2020-12-08 12:09:31 -05:00
Chad Scharf
e9b58ee9fe
Merge branch 'master' into feature/fit-finish 2020-12-04 12:39:44 -05:00
Hinton
f512df309d Add support for "openAtLogin" 2020-11-25 20:43:29 +01:00
Hinton
f926f80d8c Wip start on login 2020-11-23 15:04:35 +01:00
Hinton
2cbe7f3d0a Add support on mac for minimize to menu bar on close, minimize or start 2020-11-20 17:20:51 +01:00
Hinton
ae5a5082db Change "hide dock" to "always show dock" 2020-11-20 15:55:05 +01:00
Hinton
002dd2752b Add setting for toggling hide dock 2020-11-20 14:05:50 +01:00
Hinton
45302e5bd5 Add settings toggle to enable/disable browser integration 2020-10-07 18:25:18 +02: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
Vincent Salucci
9a040644bf
Added warning dialog for log out action (#438) 2020-04-25 08:13:48 -05:00
Elias Papavasileiou
a84af15c93
Add minimize when copying to clipboard option (#390)
* Add minimize when copying to clipboard option

* Change minimizeOnCopyToClipboardKey constant reference and fix whitespace

* Extend feature to context menus and view component

* Cleanup and refactor methods

* Refactor copy method and add minimizeOnCopyToClipboardKey constant to electronConstants.ts

* Use window.main subclass and fix formatting

* Revert "Use window.main subclass and fix formatting"

This reverts commit 0159613751.

* Reimplement part of 0159613751

* Add null check to VaultComponent::copyValue

* Remove unused import
2020-04-14 16:11:41 -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
MartB
4e2ee15456
sweetalert2: remove superflous text argument. (#391) 2020-02-24 12:58:23 -05:00
Kyle Spearrin
663a84a3c4 tweaks to swal2 2020-02-24 10:13:26 -05:00
MartB
84af4ee48f
sweetalert: move to sweetalert2. (#388)
The styling got adjusted to stay as close as possible to the original sweetalert1 styles.
The only visible change is the button order, it is the same as in the web-vault now (OK - CANCEL instead of CANCEL - OK)

- Removed old postinstall gulp hack
- Added tsconfig type definition for sweetalert2 module typing.
2020-02-24 09:45:01 -05:00
Kyle Spearrin
6ab5b59f66 show locale name for language selection 2019-09-06 09:36:48 -04:00
Kyle Spearrin
a519ed2580 memory stored pinProtectedKey 2019-08-29 10:01:59 -04:00
Kyle Spearrin
2bb71e6af1 preferences and menu bar labels for mac 2019-06-01 22:02:16 -04:00
Kyle Spearrin
5d7f73b263 lock on system locked 2019-03-19 16:12:26 -04:00
Kyle Spearrin
30e2380b0b verbatim with no autocomplete on PIN input 2019-03-06 14:40:13 -05:00
Kyle Spearrin
940b7c655c auto clear clipboard 2019-02-27 11:29:31 -05:00
Kyle Spearrin
1002991022 soft lock with PIN 2019-02-14 14:00:09 -05:00
Kyle Spearrin
2c91a2004c pin locking 2019-02-13 10:06:58 -05: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
071074632a remove analytics settings 2019-01-15 11:05:45 -05:00
h44z
03117facbb Close to tray (#168)
* Close to Tray implemented

* Enable Tray Icon on Linux

* Rever german locale

* Revert eaf730e51c

* Show quit button in file menu only for linux and windows
2018-12-03 15:55:55 -05:00
Kyle Spearrin
2ca8ac573b move toaster and analytics to platform utils 2018-10-03 09:42:11 -04:00