Commit Graph

333 Commits

Author SHA1 Message Date
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
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
Daniel James Smith dd7bfcdc12
Removed unnecessary brackets 2021-11-02 10:09:44 +01:00
Daniel James Smith 9d79bae1c8
When vault is locked also check for personal ownership policy 2021-10-29 18:50:55 +02:00
Daniel James Smith 439b1f52c0
Merge pull request #2132 from bitwarden/unlock-on-autofill
Unlock on autofill (shortcut and contextMenu)
2021-10-22 13:49:13 +02:00
Daniel James Smith f394cbf57f
Revert "Remove check for isVivaldi"
This reverts commit c318b58185.
2021-10-22 10:01:18 +02:00
Oscar Hinton ce2e6c3cb4
Remove empty catch blocks and remove allow-empty-catch tslint rule (#2136) 2021-10-21 11:10:46 +02:00
Daniel James Smith c318b58185
Remove check for isVivaldi 2021-10-20 17:52:10 +02: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 6a02487778
Merge pull request #2134 from jesseliu612/master
solved a casing issue that may lead to build fail
2021-10-20 15:47:05 +02:00
Liu Junqi 75c0680968 solved a casing issue that may lead to build fail 2021-10-20 21:11:46 +08:00
Daniel James Smith d96b19b9fc
Merge branch 'master' of https://github.com/bitwarden/browser into reduce-binking-of-notificationBar 2021-10-19 18:55:47 +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 c793552dfd
Enable unlock on autofill via keyboard shortcut 2021-10-19 15:55:36 +02:00
Daniel James Smith 86e3b9e423
Add missing types 2021-10-19 14:15:15 +02:00
Daniel James Smith 3bb58baf45
Add types for addLogin and changePassword runtime messages 2021-10-19 12:10:31 +02:00
Daniel James Smith d4e91a81f9
Capitalize class name: LockedVaultPendingNotificationsItem 2021-10-19 11:20:55 +02:00
Daniel James Smith bed17673a8
Reduce blinking of notificationBar when other tabs update 2021-10-18 18:03:46 +02:00
Daniel James Smith 06e47dea17
Added types: Use chrome.tabs instead of any 2021-10-18 18:02:19 +02:00
Daniel James Smith 2299abe7a6
Make linter happy 2021-10-18 16:47:14 +02:00
Daniel James Smith 95e9387314
Remove logic out of notification content scripts 2021-10-18 16:42:32 +02:00
Daniel James Smith fd8de4ca0c
Use messages/events instead of main.unlockCompleted 2021-10-18 16:41:42 +02:00
Daniel James Smith 2699e0f5a0
Add types for common browser functions 2021-10-18 16:34:14 +02:00
Daniel James Smith 1bf7a7cad6
Perform null check on chrome.runtime 2021-10-18 16:31:59 +02:00
Daniel James Smith 4b49b1fcc0
Add type CipherView for AutoFill functionality 2021-10-18 16:10:13 +02:00
Daniel James Smith 92459c6098
Declare and use types for notificationQueue 2021-10-15 19:51:24 +02:00
Daniel James Smith d1977f1f08
Added type declarations where chrome.tabs.Tab applies 2021-10-15 19:42:05 +02:00
Daniel James Smith f951c860ea
Shorten variable name 2021-10-15 15:35:31 +02:00
Daniel James Smith 79f849fd92
Make linter happy 2021-10-15 15:32:56 +02:00
Daniel James Smith ca0fe76172
Move routing of actions after unlock into main.background
As we are unable to send a message from one background script to another, I moved the routing of the retryAction into main.background and call processMessages on the notificationBackground in unlockCompleted
2021-10-15 15:28:10 +02:00
Daniel James Smith 9c0bfd28db
Close login tab before executing existing unlock flow 2021-10-15 15:20:00 +02:00
Daniel James Smith 7388cd174e
Move notificationQueue from main into notification.background 2021-10-15 15:09:13 +02:00
Daniel James Smith 0eb7fe1407
Extract logic for notificationBar into new NotificationBackground class 2021-10-15 15:03:25 +02:00
Daniel James Smith 40ba8a5cde
Removed devepency on popupUtilsService as not needed for login via Tab 2021-10-14 19:05:02 +02:00
Daniel James Smith e9f46f2ac1
Capitalize class names 2021-10-13 22:08:02 +02:00
Daniel James Smith 7f98ce347d
Re-focus to last open tab before user was prompted for log in 2021-10-11 17:46:43 +02:00
Daniel James Smith b74efc1dbf
Set the expiry for credential notification to 5 instead of 30 minutes 2021-10-08 15:43:54 +02:00
Daniel James Smith 89344a7c36
Close loginTab after login was done by user 2021-10-08 15:28:44 +02:00
Daniel James Smith f56a9146be
Open prompt for login in tab instead of popout 2021-10-08 15:26:39 +02:00
Daniel James Smith 4fc968f682
Renamed command openPopout to promptForLogin 2021-10-08 15:23:37 +02:00
Daniel James Smith 79f097b3cd
Renamed command addToRetryQueue to addToLockedVaultPendingNotifications 2021-10-08 15:22:21 +02:00
Daniel James Smith 75c8c4205f
Move retryQueue from main to runtime and rename it to lockedVaultPendingNotifications 2021-10-08 13:23:05 +02:00
Daniel James Smith 2613a8cfea
Merge branch 'master' of https://github.com/bitwarden/browser into add-login-with-locked-vault 2021-10-08 12:45:35 +02:00