Commit Graph

91 Commits

Author SHA1 Message Date
Robyn MacCallum 42bb8cd5f8 Run prettier 2021-12-21 14:48:22 -05:00
Robyn MacCallum a49f9fad06 extend state service 2021-12-16 09:39:46 -05:00
Robyn MacCallum d476d4961a Initial swap from activeAccount to stateService 2021-11-12 16:11:38 -05: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
Thomas Rittson 6dfb06c5b0
Use theme enum and platformUtilsService helpers (#2089)
* Use theme enum and platformUtilsService helpers

* Update jslib
2021-10-05 06:30:31 +10: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 056fdba6dd
Hide biometric setting when running in Android (#1907) 2021-07-16 10:11:21 +02:00
Danny Murphy 6cdadc6bdf Fix Deprecation Issue 2021-06-15 10:43:56 +01: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 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
Oscar Hinton 97ac4a3267
Bump jslib (#1776) 2021-04-07 20:43:07 +02:00
Oscar Hinton ae4c1b29d2
Add support for biometrics to Safari (#1775)
* Add Biometrics support to Safari
2021-04-07 17:39:59 +02:00
Oscar Hinton e0f4386042
Add support for WebAuthn to browser extension (#1379) 2021-03-17 22:14:26 +01:00
Oscar Hinton e56e1a5c7f
Add support for browser biometrics on Firefox >= 87 (#1668) 2021-03-10 21:27:05 +01:00
Thomas Rittson c01d405eba Enable FIDO U2F on Edge 2021-03-05 10:04:29 +10:00
Thomas Rittson 962678bd4e Add extra warnings about encrypted export 2021-03-05 07:06:02 +10:00
Matt Gibson 1868b99d17
Linter updates and fixes (#1604) 2021-02-10 09:40:15 -06:00
Oscar Hinton e5764ee16e
Fix copying TOTP not working in Safari (#1598) 2021-02-04 23:34:10 +01:00
Oscar Hinton 3e79dd245b
Safari Web Extension Port from App Extension (#1531) 2021-02-03 20:36:05 +01:00
Hinton ab759a4746 Remove biometric from firefox 2021-01-25 21:25:36 +01:00
Chad Scharf 336f8f3117
Revert "Safari Web Extension Port from App Extension" 2021-01-13 17:08:33 -05:00
Hinton db59f2791a Merge branch 'master' of github.com:bitwarden/browser into feature/safari-webext
# Conflicts:
#	src/browser/safariApp.ts
#	src/safari/safari/SafariExtensionViewController.swift
#	src/services/browserPlatformUtils.service.ts
2021-01-13 14:21:45 +01:00
Chad Scharf e88b73c747
Merge pull request #1373 from sorin-davidoi/system-theme
feat: Use system theme if available
2020-12-16 10:33:33 -05:00
Hinton 7b5ec47ba5 Cleanup a few more safari things 2020-12-09 13:18:29 +01:00
Hinton 27ca7cc739 WIP Safari web extension 2020-12-07 20:00:49 +01:00
Hinton 0e2432d6f4 Review comments 2020-11-23 14:27:36 +01:00
Hinton b0c9054f23 Update with support for latest jslib 2020-10-23 10:42:58 +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
Sorin Davidoi 260820711e feat: Use system theme if available
Depends on https://github.com/bitwarden/jslib/pull/161.

Closes https://github.com/bitwarden/browser/issues/1256.
2020-08-31 22:33:01 +02:00
Matt Smith 4b3cd22bce Merge branch 'master' into feature/sso 2020-08-19 15:08:09 -05:00
Oscar Hinton 289177259a
Upgrade TypeScript (#1355)
* Upgrade TypeScript

* Update login.component.ts

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-08-12 15:45:03 -04:00
Matt Smith 1d0b549123 Modifications made to support SSO in Browser 2020-08-11 15:25:07 -05:00
Chad Scharf 728d181fff
Merge pull request #1322 from Hinton/feature/biometric-jslib
Support biometric changes in jslib
2020-07-29 16:54:45 -04:00
Matt Smith 6c7d730d36 Missed space in formatting. 2020-07-09 14:59:47 -05:00
Hinton a5116728a9 Support biometric changes in jslib 2020-07-09 20:14:51 +02:00
Matt Smith 689f39d365 Modified Chrome to pass in null unicode on clear 2020-07-09 12:25:46 -05:00
Kyle Spearrin 7d2c4cbd9a isPopoverOpen for safari app 2019-08-20 13:54:10 -04:00
Kyle Spearrin deb5d2bf62 isViewOpen returns promise 2019-08-20 13:47:22 -04:00
Kyle Spearrin 2a7e361300 cleanup safari specific features 2019-08-19 15:57:37 -04:00
Kyle Spearrin d91c96ae65 safari app browser utils 2019-08-19 11:58:43 -04:00
Kyle Spearrin a7dabc45f1 fix safari browser test 2019-08-16 17:11:45 -04:00
Kyle Spearrin fba1731cb4 proper safari detection in utils 2019-08-13 11:57:20 -04:00
Jordan Patterson 0bfccfcb4f Support u2f on Vivaldi (#953) 2019-06-20 12:22:58 -04:00
Kyle Spearrin a60c60529f dont call clearclipboard in a loop 2019-05-30 09:37:09 -04:00
Kyle Spearrin 5b088b2b3c clear clipboard timeout implemented 2019-02-27 09:28:16 -05:00
Kyle Spearrin 91a0566f2c implement readFromClipboard 2019-02-26 22:37:21 -05:00