Commit Graph

116 Commits

Author SHA1 Message Date
Oscar Hinton d5334360dd
Add support for no intrusive biometric (#2431) 2022-03-15 13:13:39 +01:00
Vincent Salucci 0b6e0b0e12
[Captcha] Implement captcha for 2fa (#2428)
* [Captcha] Implement captcha for 2fa

* Update jslib
2022-03-03 17:02:24 -06: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
Thomas Rittson 7d43835ea2
Update client for authService refactor (#2302) 2022-02-08 09:06:37 +10: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
Patrick H. Lauke 6e050349e4 Add aria-pressed attribute to all toggleVisibility buttons
Closes https://github.com/bitwarden/browser/issues/2228
2021-12-18 20:22:11 +00:00
Patrick H. Lauke 1916136f4c Merge branch 'master' into patrickhlauke-issue1987 2021-12-13 17:37:42 +00:00
Oscar Hinton 3eb860f464
BEEEP: Refactor services DI (#2201) 2021-12-06 12:21:07 +01:00
Thomas Rittson 3a1c050502
Update jslib (#2202)
* Update jslib

* Update constructors

* Update jslib
2021-11-29 10:14:04 +10:00
Daniel James Smith fdbcf81d2b
Condensed text to verifyIdentity instead of different text for pin and no pin 2021-11-22 17:20:08 +01:00
Daniel James Smith 1af712df04
Hide password input when using key connector 2021-11-21 13:04: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
Patrick H. Lauke c8fc7ee6fc Add basic heading markup 2021-11-02 22:41:17 +00:00
Oscar Hinton ce2e6c3cb4
Remove empty catch blocks and remove allow-empty-catch tslint rule (#2136) 2021-10-21 11:10:46 +02:00
Thomas Rittson 6ff7112bb7
Add type="button" to button elements (#2131)
* Add type="button" to button elements

* Add  type="button" to button elements in notificationBar
2021-10-20 07:52:12 +10:00
Thomas Rittson 82138a08ff
[Refactor] Use rxjs first instead of unsubscribe from queryParams (#2112)
* Use rxjs first instead of unsubscribe

* Update jslib
2021-10-15 07:58:59 +10:00
Vincent Salucci ddfb02e938
[Reset Password] Update jslib (#2106)
* Update jslib

* Updated constructor
2021-10-08 16:58:14 -05:00
Patrick H. Lauke 03b60d17bb Change CRLF to LF 2021-10-01 14:55:53 +01:00
Patrick H. Lauke bd005ffeef
Update src/popup/accounts/home.component.html
Co-authored-by: Addison Beck <addisonbeck1@gmail.com>
2021-10-01 14:43:09 +01:00
Patrick H. Lauke f359a1c2be Merge branch 'master' into patrickhlauke-a11y-patch2 2021-09-28 19:50:11 +01:00
Oscar Hinton b0bc00a2c0
Prevent the lock component from removing the biometric error message (#2087) 2021-09-28 16:37:18 +02:00
Vincent Salucci c1613f79cd
[Reset Password v1] Refactor ForcePasswordReset flow (#2063)
* [Reset Password v1] Refactor ForcePasswordReset flow

* Update jslib
2021-09-24 08:34:09 -05:00
Patrick H. Lauke f389ea2951 Change links to buttons in new components/fragments that appeared after latest merge 2021-09-18 17:55:18 +01:00
Patrick H. Lauke 6b0167a098
Merge branch 'master' into patrickhlauke-a11y-patch2 2021-09-18 17:47:59 +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
Vincent Salucci bb99af6e24
[SSO/Auto Enroll] Fix type for banner (#2073) 2021-09-16 23:00:40 -05:00
Vincent Salucci d7754441d3
[SSO/Auto Enroll] Set Password banner (#2050)
* [SSO/Auto Enroll] Set Password banner

* Fix merge conflict

* Add missing string/style

* Update jslib
2021-09-07 12:06:43 -05:00
Patrick H. Lauke fdb3e25d98
Apply suggestions from code review
Co-authored-by: Addison Beck <addisonbeck1@gmail.com>
2021-09-02 22:06:36 +01:00
Vincent Salucci 1c7504a691
[Callout] Update UI structure (#2020)
* [Callout] Update UI structure

* Update jslib
2021-08-27 17:04:45 -05: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
Matt Gibson 4890ca3c51
Add iframe allow to initial load (#2005)
* Add iframe allow to initial load

Chrome seems to balk at this attribute being added after the fact. It
may be a race condition or an intentional block, but adding to the
template fixes our missing allow attribute problem.

* Update jslib
2021-08-13 09:23:36 -05:00
addison c9a244471e also moved the rmp check in the two factor component 2021-08-11 13:44:09 -04:00
addison a54c4c8efa changed the header for the update temp password screen 2021-08-11 12:22:28 -04:00
addison 8e56790265 moved the update temp password check on login to right after syncing finishes 2021-08-11 12:19:08 -04:00
addison 2c954d2ce0 implemented password score styling for update temp password 2021-08-11 12:09:10 -04:00
Vincent Salucci 2bddc1017b [Reset Password v1] Update Temp Password 2021-08-05 10:01:58 -05:00
Patrick H. Lauke d528d72b4d Change links to buttons
- more semantically accurate, will expose these as buttons to assistive technologies
- note: while having block-level elements like `<div>` inside a `<button>` is an html validation error, it does not affect functionality as long as there's no more structure inside it
2021-07-31 20:50:46 +01:00
Oscar Hinton 7cf4cfe3d1
Add support for helpers in environment service (#1967) 2021-07-23 22:32:42 +02:00
Matt Gibson 55917b6cb0
Feature/use hcaptcha if bot (#1968)
* Add captcha to login page

* Include log service in DI providers for api-action directive

* Add captcha to register page

* update jslib
2021-07-23 13:22:53 -05:00
Oscar Hinton 786dd28a84
Add a button to prompt WebAuthn on FF and Safari (#1879) 2021-06-08 09:29:11 +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
Oscar Hinton d252fd1740
Bump dependencies (#1792)
* Bump dependencies
2021-04-23 10:45:20 +02:00
Oscar Hinton eeb61b019b
Increase popup width on linux during WebAuthn process (#1772)
* Expand popup width on linux during WebAuthn prompt

* Refactor
2021-04-06 23:10:22 +02:00
Oscar Hinton e0f4386042
Add support for WebAuthn to browser extension (#1379) 2021-03-17 22:14:26 +01:00
Vincent Salucci 61d7fcfc85
Fixed lint warnings (#1655) 2021-03-02 12:31:52 -06:00
Oscar Hinton 3e79dd245b
Safari Web Extension Port from App Extension (#1531) 2021-02-03 20:36:05 +01:00
Oscar Hinton ccac6307c6
Make biometric button tabable to improve accessibility (#1578) 2021-01-28 20:24:33 +01:00