Commit Graph

99 Commits

Author SHA1 Message Date
Daniel James Smith 03c279865f
BEEEP: Add missing languages (#1382)
* Pull in jslib

* Register missing languages
2022-03-01 13:52:53 +01:00
Oscar Hinton 3aa52a5537
Add eslint (#1369) 2022-02-24 20:50:19 +01:00
Addison Beck b227ae13f6
Remove unused import (#1298) 2022-02-09 21:34:01 -05:00
Addison Beck c1a3178538
Update jslib (#1293)
* Update jslib

* [style] Ran prettier
2022-02-03 14:39:49 -05:00
Oscar Hinton 3c99920435
Add support for handling multiple accounts with native messaging (#1266) 2022-01-27 20:52:06 +01:00
Oscar Hinton 7d46e5c145
Add explicit init to native messaging service (#1262) 2022-01-24 16:10:32 +01:00
Addison Beck 653ff8f45f
[Bug] VaultTimeout incorrectly defaults to "Never" (#1230)
* [Bug] VaultTimeout incorrectly defaults to "Never"

The default desktop vault timeout value is "On Restart", but there is no default set for this in the state service and account model.
This commit extends the StateService and Account model to consider the special vault timeout default requirements needed for desktop.

* [style] Lint fixes

* [chore] Update jslib
2022-01-12 11:37:23 -05: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 04cfdb246d
BEEEP: Refactor services DI (#1175) 2021-12-06 12:03:02 +01:00
Oscar Hinton 0297ea57da
Use explicit import paths (#1084) 2021-09-20 10:41:57 +02:00
Oscar Hinton 2ba8925b81
Add password show/hide to reprompt (#959) 2021-08-27 15:30:44 +02:00
Daniel James Smith a325ca2363
Added a comment to I18nService (#1032) 2021-08-19 22:40:33 +02:00
Trey Greer 6990056c04
Add AZ language (#988) 2021-07-12 07:44:40 +10:00
Trey Greer cf56b68ba5
add Kannada language (#980) 2021-07-07 07:40:17 +10:00
Matt Gibson bd0fb024c1
Always get key from storage to ensure biometric prompt. (#952)
* Always get key from storage to ensure biometric prompt.

* Update jslib

* Update jslib
2021-06-15 13:40:34 -05: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
Trey Greer cc165420f7
Update src/services/i18n.service.ts
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
2021-05-14 18:19:45 -04:00
tgreer-bw a24618be32 add missing languages from Crowdin 2021-05-14 16:42:12 -04:00
Kyle Spearrin 0d5d8b671d
use swal titletext to avoid XSS (#884) 2021-05-13 15:22:52 -04:00
Oscar Hinton 42564285d9
Password reprompt (#838)
* Add support for password reprompt
2021-05-04 21:32:03 +02:00
Matt Gibson e76e56d824 Match linter rules 2021-02-03 12:21:22 -06:00
Hinton 8084b28013 Ensure we only setup a communication when userId matches 2021-01-15 10:59:09 +01:00
Hinton d0a5326bd7 Fix linting errors 2020-12-22 17:16:12 +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 d20aaeb0e5 Display error message when biometric is disabled in the desktop 2020-12-16 17:25:30 +01:00
Hinton c13d6f810e Add support for communicating with multiple extensions at the same time 2020-12-16 15:42:46 +01: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 77715443d9 Merge branch 'master' of https://github.com/bitwarden/desktop into feature/browser-communication 2020-11-19 18:49:40 +01:00
Kyle Spearrin a18a35fa0b
support for sr lang. resolve sendService deps (#593) 2020-11-18 16:13:05 -05:00
Hinton da0cd3d588 Send error when failing to decrypt message 2020-10-23 14:40:31 +02:00
Hinton 77fc0ce55b Cleanup code 2020-10-21 16:48:40 +02:00
Hinton a6563e7de2 Send key to browser. 2020-10-19 18:34:24 +02:00
Hinton 2ac6148821 Show fingerprint message 2020-10-19 16:50:33 +02:00
Hinton 54c53e432b Setup new encryption flow 2020-10-19 12:21:07 +02:00
Hinton 74b51c9a6c wip 2020-10-16 17:09:17 +02:00
Hinton d83e2bc117 Use proper logging, fix linting errors. 2020-10-12 21:34:41 +02: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 44cd222626 Minor cleanup 2020-10-12 18:03:16 +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 44c4fd2e80 language updates 2020-09-15 13:38:36 -04:00
Kyle Spearrin 91884e9205
Add support for greek language (#454) 2020-05-22 23:14:22 -04:00
Kyle Spearrin 64ea5f38eb add ca language 2019-01-18 15:57:33 -05:00