Commit Graph

38 Commits

Author SHA1 Message Date
Thomas Rittson 6bd5d579af
[PS-74] Fix user authentication state checks (#2481)
* Replace vaultTimeoutService.isLocked
2022-05-02 07:57:40 +10:00
Oscar Hinton c27f421d56
Add eslint (#2405) 2022-02-24 18:14:04 +01:00
Oscar Hinton 8fe821b9a3
Apply Prettier (#2238) 2021-12-21 15:43:35 +01:00
Daniel James Smith f3ed0329a8
Changed param of arrow function for check of CipherRepromptType 2021-11-09 09:43:11 +01:00
Daniel James Smith d448c402dc
Filter ciphers that have password reprompt set when using unlock on autofill via contextMenu 2021-11-05 14:18:59 +01:00
Daniel James Smith 39a189e7b3
Fixed formatting 2021-10-20 17:49:58 +02:00
Daniel James Smith fd9455873d
Add literal for noopCommand suffix 2021-10-20 17:45:19 +02:00
Daniel James Smith ec13cfd70c
Pick first cipher matching url as no specific cipher was selected by the user when vault is locked 2021-10-19 16:11:48 +02:00
Daniel James Smith de1d26bd8d
Add messageListener for unlockCompleted 2021-10-19 16:10:43 +02:00
Daniel James Smith 0e832ee435
Remove noop - openPopup and use promptForLogin instead when vault is locked 2021-10-19 16:09:50 +02:00
Daniel James Smith 0f000731b9
Pass tab onto getClickedElement, no need to look up the current tab 2021-10-19 16:04:32 +02:00
Daniel James Smith 421ab36215
Pass tab onto cipherAction, no need to look up the current tab 2021-10-19 16:03:39 +02:00
Daniel James Smith fc0c7a04b7
Add types for contextMenus.background 2021-10-19 16:00:38 +02:00
Daniel James Smith 4b49b1fcc0
Add type CipherView for AutoFill functionality 2021-10-18 16:10:13 +02:00
Thomas Rittson cffd4b3515
Fix Copy Custom Field Name on pages with iframes (#2091)
* Improve error messages

* Send getClickedElement msg to specific frameId

* Add support for finding input element from label

* Use i18n for error messages

* Fix unrelated linting
2021-10-07 09:52:33 +10:00
Thomas Rittson 0bd22dcddc
Add new context menu item: Copy Custom Field Name (#2045)
* Add "Copy custom field name" context menu item

* Title case context menu string

* Improve Copy Custom Field Name logic

* Move CopyClickedElement to runtime.background

* Update dependencies

* Add comments, refactor logic, add failure messages

* Fix typo and linting

* Fix typos

* Move null check inside function
2021-09-02 07:51:43 +10: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 44463e7bc0
Remove dead code (#1787)
* Remove dead analytics code
2021-04-14 23:43:09 +02:00
Matt Gibson 1868b99d17
Linter updates and fixes (#1604) 2021-02-10 09:40:15 -06:00
Hinton f311101ed9 Initial work of biometric unlock for browser 2020-10-09 17:16:15 +02: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
Kyle Spearrin f8759cc17a formatting 2020-03-03 10:42:49 -05:00
Matthew Knox ceb4f3771d
More options for copying TOTP values (#1130)
* Implement ability to copy TOTP values without needing to view the full record"

* Remove changes to popup as they will be addressed separately
2020-03-03 10:40:06 -05:00
Vincent Salucci 9b4f1045f3
Enforce Password Generator Policy Options (#1155) 2020-02-28 11:43:27 -06:00
Kyle Spearrin 277480e7ff still allow password generation when vault locked 2019-10-15 09:36:29 -04:00
Kyle Spearrin 2c6b3927d4 log event when copying password from context menu 2019-07-12 15:16:06 -04:00
Kyle Spearrin 856776a7cf dont attempt certain bg tasks when locked state 2019-03-06 16:50:04 -05:00
Kyle Spearrin ada83aae8f use `navigator.clipboard` to copy text if available 2018-08-13 09:44:59 -04:00
Kyle Spearrin c67b63a452 refactor utils service to utils 2018-04-23 13:04:11 -04:00
Kyle Spearrin caf45ad484 extract analytics class to jslib 2018-01-26 10:48:32 -05:00
Kyle Spearrin ee036db2dd refactor and cleanup analytics class 2018-01-19 16:19:24 -05:00
Kyle Spearrin 0a056a3941 send message to safari tab for autofill 2018-01-12 14:44:44 -05:00
Kyle Spearrin 8f438d818b converting chrome refs to BrowserApi 2018-01-12 11:09:30 -05:00
Kyle Spearrin d6eeab7b23 move cipherService to jslib 2018-01-09 23:05:46 -05:00
Kyle Spearrin eb031eda0f convert password generator to jslib 2018-01-09 17:55:28 -05:00
Kyle Spearrin f51bebd99a import ts through node_modules alias 2018-01-09 14:26:20 -05:00
Kyle Spearrin 03258e50f7 Refactor for barrels. Utils service to jslib 2018-01-06 22:13:48 -05:00
Kyle Spearrin b51ea6e22d context menus background 2017-12-07 16:02:15 -05:00