Commit Graph

55 Commits

Author SHA1 Message Date
Oscar Hinton c27f421d56
Add eslint (#2405) 2022-02-24 18:14:04 +01:00
Vincent Salucci ebbf1d8b90
[Help] Update links to new pattern (#2324)
* [Help] Update links to new pattern

* Update jslib
2022-02-08 17:44:56 -06:00
addison 6da6e46900 [bug] await the vault timeout dropdown change event 2022-02-07 11:44:16 -05:00
Vincent Salucci 33314869f0
[Icons] Update Font Sheet (#2272)
* [Icons] Update Font Sheet

* Prettier updates

* Updated refresh -> generate

* Updated closed folder icon

* Reverted to using a base class

* Update jslib

* Removed unused import

* Updated eye/eye-slash icon references

* Update jslib

* Updating fallback image for cipher icon

* Update jslib

* Removed duplicate icon base class

* Update jslib

* Prettier

Co-authored-by: Hinton <oscar@oscarhinton.com>
2022-01-28 04:53:06 -06:00
Daniel James Smith bd770c90ed
[Account Switching] Base changes for account switching (#2250)
* Pull in jslib

* Create new state models

* Create browser specific stateService

* Remove registration deprecated services, register stateService

* Replace usage of deprecated services (user, constants)

* Add missing properties to BrowserGroupingsComponentState

* Remove StorageService from initFactory

* Clear the correct state

* Add null check when restoring send-grouping state

* add remember email

* Initialize stateservice in services.module

* Fix 'lock now' not working

* Comment to remove setting defaults on install

* Pull jslib

* Remove setting defaults on install

* Bump jslib

* Pass the current userId to services when logging out

* Bump jslib

* Override vaultTimeout default on account addition

* Pull latest jslib

* Retrieve vaultTimeout from stateService

* Record activity per Account

* Add userId to logout and add fallback if not present

* Register AccountFactory

* Pass userId in messages

* Base changes for account switching di fixes (#2280)

* [bug] Null checks on Account init

* [bug] Use same stateService instance for all operations

We override the stateService in browser, but currently don't pull the background service into popup and allow jslib to create its own instance of the base StateService for jslib services.
This causes a split in in memory state between the three isntances that results in many errors, namely locking not working.

* [chore] Update jslib

* Pull in jslib

* Pull in jslib

* Pull in latest jslib to multiple stateservice inits

* Check vault states before executing processReload

* Adjust iterator

* Update native messaging to include the userId (#2290)

* Re-Add UserVerificationService

* Fix email not being remembered by base component

* Improve readability of reloadProcess

* Removed unneeded null check

* Fix constructor dependency (stateService)

* Added missing await

* Simplify dependency registration

* Fixed typos

* Reverted back to simple loop

* Use vaultTimeoutService to retrieve Timeout

Co-authored-by: Addison Beck <abeck@bitwarden.com>
Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>
2022-01-27 22:22:51 +01:00
Oscar Hinton 8fe821b9a3
Apply Prettier (#2238) 2021-12-21 15:43:35 +01:00
Oscar Hinton e4aaf81816
Replace toaster library (#2210) 2021-12-07 20:42:18 +01: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
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
Kyle Spearrin e365a3e892 use new get web vault url method 2018-06-25 08:06:38 -04:00
Tiago 60bb4f6840 search webVaultUrl for settings. closes bitwarden/browser#635 (#657) 2018-06-25 07:41:23 -04:00