Commit Graph

3455 Commits

Author SHA1 Message Date
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 2c2de6a233
Merge pull request #2094 from bitwarden/add-login-with-locked-vault
Show save/update password prompt and save credentials even when vault is locked
2021-10-14 22:30:41 +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 732f065012
Add missing semicolons to base.scss 2021-10-14 18:59:38 +02:00
Vince Grassia ca0bcc0535
Add Slack failure alerts (#2115) 2021-10-13 17:54:22 -04:00
Daniel James Smith d8dbeab911
Position the unlock button closer to the master password entry 2021-10-13 22:32:43 +02:00
Daniel James Smith beb6b26f15
Set image alt-text of notification close-button 2021-10-13 22:31:57 +02:00
Daniel James Smith 6fe904d48d
Search for login tab only in current window, in case popup was open 2021-10-13 22:16:24 +02:00
Daniel James Smith e9f46f2ac1
Capitalize class names 2021-10-13 22:08:02 +02:00
Daniel James Smith b910708a31
To center the login prompt use a media query and padding instead 2021-10-12 23:24:05 +02:00
Daniel James Smith f860bcd548
Restrict content width on login prompt via tab 2021-10-12 22:32:05 +02:00
Oscar Hinton 81a675b579
Bump jslib (#2111) 2021-10-11 19:40:50 +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
Vincent Salucci ddfb02e938
[Reset Password] Update jslib (#2106)
* Update jslib

* Updated constructor
2021-10-08 16:58:14 -05:00
Addison Beck 774462d413
Merge pull request #2105 from bitwarden/update-jslib
[chore] Update jslib
2021-10-08 10:46:25 -04:00
addison 4d7f137db2 [chore] update jslib 2021-10-08 10:44:53 -04: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 d8bfb5a029
Added parameter and return types for tabsQueries in BrowserApi 2021-10-08 15:25:36 +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 042c7677e8
Removed base64 encoded images and load them from path instead 2021-10-08 13:28:07 +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
Thomas Rittson a3876db30b
Update jslib (#2103) 2021-10-08 09:56:30 +10:00
Thomas Rittson 6a567ed3bf
Fix input element lookup from label (#2102) 2021-10-08 07:15:55 +10:00
Daniel James Smith ec5a2299ca
Merge pull request #2101 from bitwarden/responsive-notificationbar
Fully responsive notificationBar
2021-10-07 14:19:27 +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
Daniel James Smith 8bc42fcb7f
Made notificationBar fully responsive 2021-10-06 19:40:40 +02:00
Thomas Rittson bbcbcf2b40
Fix breaking typo (#2099) 2021-10-05 08:41:21 +10: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
Addison Beck e4260e7df5
Merge pull request #1988 from patrickhlauke/patrickhlauke-a11y-patch2
A11y: Change links to buttons
2021-10-04 13:02:38 -04: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
Addison Beck 1f87a84b28
Merge pull request #1990 from patrickhlauke/patrickhlauke-a11y-patch3
A11y: use visually hidden styles rather than visibility, make visible on :focus as well
2021-10-01 09:28:22 -04: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
Daniel James Smith 418f37de8c
Remove console.log 2021-09-30 16:58:48 +02:00
Daniel James Smith 23517272fd
saveOrUpdateCredentials: If more than one matching fallback cipher is found, update atleast the first one of them, to ensure saving PW change 2021-09-30 16:56:04 +02:00