Commit Graph

601 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
addison 2e793a31dd [style] Fix lint complaints 2021-12-17 14:53:21 -05:00
addison 6368b352ad [bug] Implemented browser state service calls 2021-12-17 14:45:23 -05:00
Robyn MacCallum a49f9fad06 extend state service 2021-12-16 09:39:46 -05:00
Robyn MacCallum 2a54bb89b7 Fixes for updates to jslib 2021-12-01 12:22:00 -05:00
Robyn MacCallum 2a8775fa40 convert key from string 2021-11-17 10:14:32 -05: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 2113c709a4
[Linked fields] Add Linked Field as a custom field type (#1963)
* Proof of concept for Linked custom field type

* Linked Fields for all cipher types, use dropdown

* Fix linked icon alignment

* Tweak linked icon alignment and style

* Move add-edit custom fields to own component

* Disable copy for linked field

* Use Field.LinkedId to store linked field info
2021-11-04 07:40:42 +10:00
gabrielfin 2228ffac47
Do not autofill inputs meant for password recovery (#1999)
Fixes issue #1956
2021-10-25 16:16:01 +10:00
Oscar Hinton ce2e6c3cb4
Remove empty catch blocks and remove allow-empty-catch tslint rule (#2136) 2021-10-21 11:10:46 +02: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
Kyle Spearrin 812741219d
Ability to auto-fill span elements (#2095)
* ability to autofill span elements

* add modification comments
2021-09-30 16:02:13 -04:00
Oscar Hinton a848406ce0
Use explicit import paths (#2074) 2021-09-17 15:44:27 +02: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
Daniel James Smith 2ebd8603f6
Fixed order of supportedLocales to have 'en' as fallback again 2021-08-19 22:10:13 +02:00
Oscar Hinton 056fdba6dd
Hide biometric setting when running in Android (#1907) 2021-07-16 10:11:21 +02:00
Trey Greer 1e3f2acfd4
Add AZ language (#1949) 2021-07-12 22:11:04 +10:00
tgreer-bw a55593a3c5 add Kannada language 2021-07-06 06:39:39 -04:00
Matt Gibson f35f3550a7
Get either 'Bitwarden' and 'Bitwarden_biometric' keys. (#1904)
* Get either 'Bitwarden' and 'Bitwarden_biometric' keys.

* Fix let var typo

* Fix string handling error

* Retrieve biometric key from Desktop

* Null check key
2021-06-22 15:11:29 -05:00
Matt Gibson 5251ed2853
Must await to get stored value (#1899) 2021-06-16 08:36:14 -05:00
Thomas Rittson c19d4f882d
Merge pull request #1898 from dltmurphy/deprecated
Use addEventListener instead of addListener (deprecated)
2021-06-15 21:00:27 -07:00
Matt Gibson a54ce615c8
Update jslib (#1895)
* Update jslib

* Update jslib

* Revert `isDesktopClient`
2021-06-15 13:40:49 -05: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
Thomas Rittson d00d081817 Convert sets to arrays before saving in storage 2021-06-04 09:38:17 +10:00
Thomas Rittson 56e127d20c Merge branch 'master' into feature-aopl-options 2021-05-18 10:11:40 +10:00
Thomas Rittson f429e1f874 Merge branch 'master' into totp-copy-page-load-2 2021-05-18 06:53:11 +10:00
Thomas Rittson bdd8663fb3 Merge branch 'master' into feature-aopl-options 2021-05-17 13:46:53 +10:00
Thomas Rittson 59c50f7fb0 remove unused skipTotp option on doAutoFill 2021-05-17 13:19:43 +10:00
Daniel James Smith a31366e5c9 Fixed support for ml language 2021-05-14 15:59:24 +02:00
Thomas Rittson 13b0e09c2c Merge branch 'master' into feature-aopl-options 2021-05-14 10:55:14 +10:00
Thomas Rittson af61732800 Copy TOTP after all autofills, remove old UI 2021-05-14 10:04:08 +10:00
tgreer-bw 7a8e1b60d9 added missing languages from Crowdin 2021-05-13 13:54:56 -04:00
Thomas Rittson 8c29cf7f33 Organize Options page and add headings 2021-05-05 13:57:50 +10:00
Thomas Rittson 0da4f7df73
Merge branch 'master' into copy-totp-on-auto-fill 2021-05-05 12:23:37 +10: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 d252fd1740
Bump dependencies (#1792)
* Bump dependencies
2021-04-23 10:45:20 +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
Thomas Rittson 4956cf9d8d Fix linting 2021-03-15 12:35:23 +10:00
Tom Rittson 396870e507 add new autofill on page load features 2021-03-12 12:07:16 +10:00
Tomer Shvueli da37add779 fix: Updated styles and copy, simpler logic 2021-03-11 11:00:39 -05: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