Commit Graph

53 Commits

Author SHA1 Message Date
Oscar Hinton d5334360dd
Add support for no intrusive biometric (#2431) 2022-03-15 13:13:39 +01:00
Oscar Hinton c27f421d56
Add eslint (#2405) 2022-02-24 18:14:04 +01:00
Thomas Rittson 06ba30fc6b
[BEEEP] Firefox Private Mode (#2294)
* Create background in popup if private mode, remove gates

* Add messaging support to runtime in private mode

* Fix messaging services and general bootstrap logic

* Add private mode warning, remove old component

* Deprecate launchGuardService

* Require in memory account for user to be considered authenticated

* Don't change icon for private mode windows

* Set all icons from background page
2022-02-16 08:06:35 +10:00
addison 55850e6cc6 [bug] Dont block redirecting on logout 2022-02-08 09:49:44 -05:00
addison 9c7f399a76 [bug] Don't force an active user to init activity recording functions 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
Thomas Rittson 805d387469
Move keyConnectorService call to syncService (#2279) 2022-01-28 07:49:23 +10: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
Oscar Hinton 3eb860f464
BEEEP: Refactor services DI (#2201) 2021-12-06 12:21:07 +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
Oscar Hinton a1f7e07f09
Add password show/hide to reprompt (#1902)
Co-authored-by: Addison Beck <abeck@bitwarden.com>
2021-08-27 15:27:22 +02: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 cdc71dd661
Password reprompt (#1784)
* Add support for password reprompt

* Rename passwordPrompt to reprompt.

* Move showPasswordDialog to paltformutils

* Fix swal2 validation error styling

* Group imports

* Update src/_locales/en/messages.json

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2021-05-03 20:56:38 +02:00
Oscar Hinton 44463e7bc0
Remove dead code (#1787)
* Remove dead analytics code
2021-04-14 23:43:09 +02:00
Vincent Salucci 4853fb3e29
[Send] Add/Edit functionality (#1622)
* Update jslib (0951424 -> 1968dbf)

* [Send] Browser integration initial commit

* Update jslib (1968dbf -> 8a3b551)

* Cleaned up integration

* added radio button style support // updated warning UI/UX

* Update jslib (8a3b551 ->42348e2)
2021-02-23 15:37:55 -06:00
Vincent Salucci 8d2e436a05
[Send] Type component (#1608)
* Initial commit of send type component

* Update jslib (ee164be -> 0951424)

* Update constructor for new jslib
2021-02-12 16:28:31 -06:00
Matt Gibson 1868b99d17
Linter updates and fixes (#1604) 2021-02-10 09:40:15 -06:00
Hinton a659c86373 Show fingerprint message 2020-10-19 16:50:25 +02:00
Chad Scharf dbbd07641a Remove old IE Edge hacks 2020-09-15 10:50:45 -04:00
Kyle Spearrin cc0125b920 sweetalert tweaks 2020-03-04 13:51:52 -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 f10606adfd aria-live="polite" on toaster 2019-10-08 14:44:11 -04:00
Kyle Spearrin 90a565fbcb dismiss popover 2019-08-19 11:33:03 -04:00
Kyle Spearrin a3f76cfd3a reload when on same page too 2019-08-16 20:59:54 -04:00
Kyle Spearrin 206530a940 navigate in zone 2019-08-16 20:48:01 -04:00
Kyle Spearrin 6fe414ffbd reload popup on open of safari app popover 2019-08-16 20:46:19 -04:00
Kyle Spearrin 06234f6b23 wire up internal messaging for safari app 2019-08-15 16:36:49 -04:00
Kyle Spearrin 6c7a0d90df addEditCipherInfo w/ collections from state 2019-06-24 21:12:52 -04:00
Kyle Spearrin c5f02f5cfb support authBlocked message 2019-04-18 10:11:01 -04:00
Kyle Spearrin 8cc268cd6c window reload if there is a sidebar, resolves #900 2019-04-04 11:50:49 -04:00
Kyle Spearrin 7a161fa028 redirect to lock screen on locked event 2019-03-19 15:45:39 -04:00
Kyle Spearrin 0df3208d45 wait to reload popup 2019-03-13 22:32:52 -04:00
Kyle Spearrin 3b6f7bb941 use chrome.runtime.reload 2019-03-05 15:05:04 -05:00
Kyle Spearrin 9792a7ade5 reload process on lock 2019-02-25 16:19:19 -05:00
Kyle Spearrin bc5cec82cc control applying saved state and when to show groupings 2018-10-29 09:29:21 -04:00
Kyle Spearrin 0cdc343ce0 forward/back animations for nested cipher folders/cols 2018-10-29 08:58:20 -04:00
Kyle Spearrin 69e664a154 WIP: add support for nested folders and collection 2018-10-26 12:37:55 -04:00
Kyle Spearrin 0691c11154 not async. cleanup tsconfig 2018-10-03 09:51:14 -04:00
Kyle Spearrin 755e3486ee dont need change detector 2018-10-03 09:46:00 -04:00
Kyle Spearrin 815ef17d02 adjustments for edge 18 workarounds 2018-10-03 08:26:46 -04:00
Kyle Spearrin adb3dc78ee remove analytics in favor of platform utils 2018-10-03 00:21:22 -04:00
Kyle Spearrin 89a448b12f platform utils for toasting 2018-10-02 23:33:56 -04:00
Kyle Spearrin 82dd5b8b08 add timeout to swal alerts 2018-04-14 09:39:47 -04:00
Kyle Spearrin 9d5304239a remove duplicate browserapi imports 2018-04-13 22:09:12 -04:00
Kyle Spearrin 4308947893 private mode component 2018-04-13 22:08:24 -04:00
Kyle Spearrin 59ce4b7b67 custom swal content 2018-04-12 23:18:51 -04:00
Kyle Spearrin fa6fc76346 cache groupings page state 2018-04-12 15:56:27 -04:00