Commit Graph

57 Commits

Author SHA1 Message Date
Robyn MacCallum 42bb8cd5f8 Run prettier 2021-12-21 14:48:22 -05:00
Robyn MacCallum 40cbf61ab7 Merge remote-tracking branch 'origin/master' into account-switching_refactor_implement-service-changes 2021-12-21 14:44:09 -05:00
Oscar Hinton 8fe821b9a3
Apply Prettier (#2238) 2021-12-21 15:43:35 +01:00
Robyn MacCallum a49f9fad06 extend state service 2021-12-16 09:39:46 -05:00
Robyn MacCallum f7d2e9c6a4 Merge remote-tracking branch 'origin/master' into account-switching_refactor_implement-service-changes
# Conflicts:
#	src/background/main.background.ts
#	src/background/notification.background.ts
#	src/popup/accounts/lock.component.ts
#	src/popup/accounts/login.component.ts
#	src/popup/services/services.module.ts
#	src/popup/settings/excluded-domains.component.ts
#	src/popup/settings/settings.component.ts
2021-12-13 14:15:23 -05:00
Oscar Hinton e4aaf81816
Replace toaster library (#2210) 2021-12-07 20:42:18 +01:00
Robyn MacCallum 3fd627a67b Merge remote-tracking branch 'origin/master' into account-switching_refactor_implement-service-changes 2021-11-15 15:03:56 -05:00
Robyn MacCallum d476d4961a Initial swap from activeAccount to stateService 2021-11-12 16:11:38 -05:00
Thomas Rittson cf28435ce3
[Key Connector] Add support for key connector and OTP (#2156)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-11-09 18:59:51 +01:00
addison 85e3436de6 [refactor] Replace references to deprecated services
Several refactors were done on the data storage layer of jslib to support Account Switching for desktop.
These changes have been implemented here for parity across clients, improved readability, and to make it easier
to add Account Switching to other clients later if desired.

* The UserService was removed, and so all references have been replaced with the new access points for that data (activeAccount and organizationService most often)
* The StorageService is now considered a "global" scope, where as we have a new "account" scope to consider. Any "account" scope storage items I have moved to saving with
an ActiveAccountService instance instead of a StorageService instance.
* ConstantsServices have been removed and replaced with a StorageKey enum that holds keys that were in ConstantServices and in other feature scoped services.
2021-10-11 10:42:31 -04:00
Dane Powell 7d797f73fe
Automatic biometrics prompt (#2065)
Co-authored-by: Michael Cho <mcho@tutanota.com>
2021-09-17 10:22:46 +02:00
Thomas Rittson 8f700b0b45
Use a modal to set the unlock pin (#2060)
* Use separate modal for set pin

* Fix modal style and layout

* Minor fixes

* Remove incorrect label

* Fix initial focus and tab a11y

* Fix unrelated linting

* Update jslib
2021-09-16 05:56:29 +10:00
Oscar Hinton 2e6f0f4166
Vault Timeout Policy (#2048) 2021-09-14 13:36:34 +02:00
Oscar Hinton 7cf4cfe3d1
Add support for helpers in environment service (#1967) 2021-07-23 22:32:42 +02:00
Matt Gibson 2be717d0fb
Redefine cipher "share" to "move to organization" (#1903)
* Redefine cipher "share" to "move to organization"

* PR review

* update jslib
2021-06-22 15:44:06 -05:00
Oscar Hinton 4e1958f417
Add jslib as a "real" dependency (#1876)
* Support split jslib

* Fix tests

* Bump jslib
2021-06-07 19:25:37 +02:00
Kyle Spearrin c173217330
use swal titletext to avoid XSS (#1828) 2021-05-13 15:22:49 -04:00
Oscar Hinton 44463e7bc0
Remove dead code (#1787)
* Remove dead analytics code
2021-04-14 23:43:09 +02:00
Oscar Hinton e56e1a5c7f
Add support for browser biometrics on Firefox >= 87 (#1668) 2021-03-10 21:27:05 +01:00
Vincent Salucci 61d7fcfc85
Fixed lint warnings (#1655) 2021-03-02 12:31:52 -06:00
Oscar Hinton 14293a7831
Reload browser extension after enabling nativeMessaging (#1577) 2021-01-27 23:05:50 +01:00
Hinton 559a18a32d Fix linting warnings 2021-01-25 21:27:17 +01:00
Hinton ab759a4746 Remove biometric from firefox 2021-01-25 21:25:36 +01:00
Oscar Hinton 54da244340
Make nativeMessaging optional on all platforms except firefox (#1565)
Make nativeMessaging optional on all platforms except firefox
2021-01-25 17:24:33 +01:00
Hinton 7c468de97c Correctly set biometric state on connect failure 2020-11-30 13:41:08 +01:00
Hinton 0a4d59092b Cleanup, localize error. 2020-10-21 17:18:04 +02:00
Hinton 894d245361 Ensure biometric unlock works even if popup is not in focus 2020-10-12 18:01:34 +02:00
Hinton 5eb0ce1e09 Fix linting errors 2020-10-11 20:45:25 +02:00
Hinton f311101ed9 Initial work of biometric unlock for browser 2020-10-09 17:16:15 +02:00
Chad Scharf dbbd07641a Remove old IE Edge hacks 2020-09-15 10:50:45 -04:00
Oscar Hinton f00bb5e1d7
Upgrade Angular (#1365)
* Upgrade Angular

* Upgrade angular2-toaster and angulartisc2

* Remove ng-upgrade dependency

* Update app.component.ts
2020-08-18 16:13:37 -04:00
Vincent Salucci 0b5cb901aa
Added warning dialog for log out confirmation (#1216) 2020-04-25 09:13:00 -05:00
Vincent Salucci e510738a03
[Auto-Logout] Implement Vault Timeout Options (#1194)
* Update jslib 31a2574 -> 28e3fff

* Initial commit for vault timeout

* Updated timeout/action retrieval in idle.background

* Cycle saved for idle check

* Await async calls for lock/logout in idle bg

* Updated lock vs log out conditional

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-04-06 10:40:16 -05:00
MartB 0b42d14d58
sweetalert: port to sweetalert2 (#1153)
Minor styling changes (same as web and desktop)
2020-03-04 11:42:21 -05:00
Kyle Spearrin 8dea9daeea make sure new edge doesnt open chrome rating 2020-03-03 08:48:11 -05:00
Kyle Spearrin 23acc1bfb3 bitwarden inc. 2020-02-18 22:35:28 -05:00
Kyle Spearrin 60f6863e4f a11y work 2019-10-08 17:04:44 -04:00
Kyle Spearrin eb0bc6a01c memory stored pinProtectedKey 2019-08-29 09:41:04 -04:00
Kyle Spearrin 0e798c610e safari 2fa page cleanup 2019-08-21 10:05:17 -04:00
Kyle Spearrin 2a7e361300 cleanup safari specific features 2019-08-19 15:57:37 -04:00
Kyle Spearrin 7a161fa028 redirect to lock screen on locked event 2019-03-19 15:45:39 -04:00
Kyle Spearrin 220c474992 verbatim with no autocomplete on PIN input 2019-03-06 14:40:09 -05:00
Kyle Spearrin f28d7a1af6 lock with master pass on restart option on PIN lock 2019-02-14 00:46:28 -05:00
Kyle Spearrin f4a7e7591d use user kdf settings for making PIN key 2019-02-13 00:04:34 -05:00
Kyle Spearrin d5cbae7803 support for unlocking with PIN code 2019-02-12 23:53:04 -05:00
Kyle Spearrin 63b72d5e8e fingerprint phrase article 2018-11-16 11:17:16 -05:00
Kyle Spearrin 50dd2048ff view account's fingerprint phrase 2018-11-16 11:08:36 -05:00
Kyle Spearrin 789e79fca6 dont show never lock warning on safari 2018-10-03 22:49:59 -04:00
Kyle Spearrin d16d1d1308 warn user and reseed storage if using Never lock option 2018-10-03 22:46:11 -04:00
Kyle Spearrin 48abc87e0c update device type enums 2018-07-09 09:12:41 -04:00