Commit Graph

2912 Commits

Author SHA1 Message Date
Oscar Hinton e4aaf81816
Replace toaster library (#2210) 2021-12-07 20:42:18 +01:00
Daniel James Smith 86b4340bfb
Merge pull request #2200 from bitwarden/crowdin-auto-sync
Autosync Crowdin Translations
2021-12-06 21:23:04 +01:00
Oscar Hinton 17aa403461
Fix DI not working (#2211) 2021-12-06 19:56:07 +01:00
Oscar Hinton 3eb860f464
BEEEP: Refactor services DI (#2201) 2021-12-06 12:21:07 +01:00
github-actions b8feca16ec Autosync the updated translations 2021-12-03 00:04:46 +00:00
Thomas Rittson 86650941e4
[A11y] Fix contrast on extension icons (#2203)
* Update extension icons to for a11y contrast

* Fix images
2021-12-01 07:07:34 +10:00
Thomas Rittson 3a1c050502
Update jslib (#2202)
* Update jslib

* Update constructors

* Update jslib
2021-11-29 10:14:04 +10:00
Daniel James Smith 8192a5e47b
Merge pull request #2135 from bitwarden/update-year-in-copyright
Update copyright year in .plist files for safari
2021-11-24 15:30:49 +01:00
Daniel James Smith 00bc1c4f4a
Added copyright span to the plist file I missed 2021-11-24 15:25:22 +01:00
Daniel James Smith d3002499b9
Changed copyright date to a span 2021-11-24 11:39:23 +01:00
Daniel James Smith fdbcf81d2b
Condensed text to verifyIdentity instead of different text for pin and no pin 2021-11-22 17:20:08 +01:00
Daniel James Smith 1af712df04
Hide password input when using key connector 2021-11-21 13:04:07 +01:00
github-actions c0731877e8 Autosync the updated translations 2021-11-19 00:04:45 +00:00
Thomas Rittson adb95e76f4
[Key Connector] Hide "Master Pass On Restart" prompt when setting pin (#2186)
* Disable Master Pass on Restart for Key Connector

* Update jslib
2021-11-18 21:38:47 +10:00
Daniel James Smith ec502c06a5
Merge pull request #2180 from bitwarden/fix/save-when-locked
Don't save passwords if user is logged out
2021-11-17 20:33:02 +01:00
Oscar Hinton 378e6433be
Update export design (#2184) 2021-11-17 20:31:35 +01:00
Daniel James Smith 5294ffacc1
Center login and 2fa entry when login via new tab 2021-11-16 13:48:47 +01:00
Daniel James Smith daf20bbf57
Do not prompt for new login if user is not logged in 2021-11-16 13:34:06 +01:00
Thomas Rittson f85a6958bc
Update jslib and service dependencies (#2179)
* Update service deps

* Fix linting

* Update jslib
2021-11-16 20:50:58 +10:00
Thomas Rittson 42cd5da397
Add missing i18n strings (#2181) 2021-11-16 20:41:13 +10:00
Thomas Rittson 7b3f8d4223 Don't save passwords if user is logged out 2021-11-16 14:14:48 +10:00
github-actions 98ac1fbdd5 Autosync the updated translations 2021-11-12 00:04:22 +00:00
Thomas Rittson cf28435ce3
[Key Connector] Add support for key connector and OTP (#2156)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-11-09 18:59:51 +01:00
Kyle Spearrin 0039d4aaea
url encode data from msg_handler content script (#2170) 2021-11-09 12:26:17 -05: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 d4231589ad
Merge pull request #2151 from bitwarden/responsive-notificationBar
Even more responsive notification bar
2021-11-04 20:59:04 +01:00
Daniel James Smith a1c3614764
Simplify text displayed in notificationBar and remove css which modified it 2021-11-04 18:44:38 +01:00
Daniel James Smith c667b000b9
Merge pull request #2155 from patrickhlauke/patrickhlauke-issue1096
Prevent passphrase words from breaking over two lines (when using `-` separator)
2021-11-04 16:09:11 +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
Patrick H. Lauke c8fc7ee6fc Add basic heading markup 2021-11-02 22:41:17 +00:00
Patrick H. Lauke 0ef7a60ba3 Prevent passphrase words from breaking over two lines
Closes https://github.com/bitwarden/browser/issues/1096
2021-11-02 17:43:56 +00:00
Daniel James Smith f20a1e7424
Merge pull request #2153 from bitwarden/check-for-personal-ownership-when-vault-is-locked
When vault is locked also check for personal ownership policy
2021-11-02 12:20:57 +01:00
Daniel James Smith dd7bfcdc12
Removed unnecessary brackets 2021-11-02 10:09:44 +01:00
Thomas Rittson bbbf152c62
Fix performance on MacOS, Chrome & external screen (#2104)
* Fix performance on MacOS, Chrome & external screen

* Undo dev logging, tidy up
2021-11-02 08:15:49 +10: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 d495ed6c1f
Handle displaying folder select: small screen vs. un-/locked vault 2021-10-28 23:23:00 +02:00
Daniel James Smith da80904d54
Fill translations and responsively switch them for smaller screens 2021-10-28 23:21:42 +02:00
Daniel James Smith ad1653ec3f
Merge pull request #2138 from jesseliu612/master
fix issue #1933
2021-10-28 13:10:24 +02:00
Joseph Flinn c7b0420e12 Version bump 1.54.0 2021-10-27 08:14:35 -07:00
github-actions 62982c5381 Autosync the updated translations 2021-10-27 14:30:31 +00:00
gabrielfin 2228ffac47
Do not autofill inputs meant for password recovery (#1999)
Fixes issue #1956
2021-10-25 16:16:01 +10: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
Liu Junqi d48fb927eb also modified the minNumbers&minSpecial field 2021-10-22 11:40:51 +08:00
Liu Junqi e88467551b Merge branch 'master' of github.com:bitwarden/browser 2021-10-22 10:11:51 +08:00
Liu Junqi 80d4739757 fix issue #1933 2021-10-22 10:11:01 +08:00
Thomas Rittson 5f9541b1cf
Fixes for dynamic modal a11y (#2116)
* Add modal-dismiss, remove tabindex from modals

* Remove modal-dismiss styles

* Update jslib

* remove cdkTrapFocus etc
2021-10-22 07:42:30 +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
Daniel James Smith 3be6e42849
Update copyright year in .plist files for safari 2021-10-20 18:46:56 +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
Daniel James Smith 581e0421ca
Merge pull request #2129 from bitwarden/reduce-binking-of-notificationBar
Reduce blinking of notification bar
2021-10-20 15:22:17 +02:00
Liu Junqi 75c0680968 solved a casing issue that may lead to build fail 2021-10-20 21:11:46 +08:00
Thomas Rittson 6ff7112bb7
Add type="button" to button elements (#2131)
* Add type="button" to button elements

* Add  type="button" to button elements in notificationBar
2021-10-20 07:52:12 +10: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 b8676cf398
Merge pull request #2119 from bitwarden/refactor-save-update-prompt
[Tech-Debt]: Refactor save update prompt
2021-10-19 13:31:31 +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 344878ef4f
Simplify forwarding tab messages to runtime 2021-10-19 11:47:25 +02:00
Daniel James Smith d4e91a81f9
Capitalize class name: LockedVaultPendingNotificationsItem 2021-10-19 11:20:55 +02:00
Daniel James Smith a1022c8b27
Set iframe.src so that the check in closeExistingAndOpenBar actually works 2021-10-18 18:48:52 +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
Kyle Spearrin 35cbd12fd5 New translations messages.json (Serbian (Cyrillic)) 2021-10-14 19:12:30 -04:00
Kyle Spearrin 50ce4f5fa8 New translations messages.json (Slovenian) 2021-10-14 19:12:29 -04:00
Kyle Spearrin fa42ea800d New translations messages.json (Slovak) 2021-10-14 19:12:28 -04:00
Kyle Spearrin d64e01bcb1 New translations messages.json (Russian) 2021-10-14 19:12:26 -04:00
Kyle Spearrin b6ca4d9471 New translations messages.json (Portuguese) 2021-10-14 19:12:25 -04:00
Kyle Spearrin d052e68a9c New translations messages.json (Polish) 2021-10-14 19:12:24 -04:00
Kyle Spearrin 093f0b3d2f New translations messages.json (Dutch) 2021-10-14 19:12:23 -04:00
Kyle Spearrin 0b7eef5cb7 New translations messages.json (Lithuanian) 2021-10-14 19:12:22 -04:00
Kyle Spearrin 619a24b946 New translations messages.json (Korean) 2021-10-14 19:12:21 -04:00
Kyle Spearrin fa3353df2a New translations messages.json (Japanese) 2021-10-14 19:12:20 -04:00
Kyle Spearrin 474e6cc468 New translations messages.json (Swedish) 2021-10-14 19:12:19 -04:00
Kyle Spearrin afc09e9340 New translations messages.json (Italian) 2021-10-14 19:12:18 -04:00
Kyle Spearrin 03a3c9d77d New translations messages.json (Hebrew) 2021-10-14 19:12:17 -04:00
Kyle Spearrin f83b769dd3 New translations messages.json (Finnish) 2021-10-14 19:12:16 -04:00
Kyle Spearrin 22e7b3324f New translations messages.json (Greek) 2021-10-14 19:12:15 -04:00
Kyle Spearrin 6b957e1c38 New translations messages.json (German) 2021-10-14 19:12:14 -04:00
Kyle Spearrin 5ba4d35542 New translations messages.json (Danish) 2021-10-14 19:12:13 -04:00
Kyle Spearrin 5176f96b32 New translations messages.json (Czech) 2021-10-14 19:12:12 -04:00
Kyle Spearrin d2d57620b5 New translations messages.json (Catalan) 2021-10-14 19:12:11 -04:00
Kyle Spearrin b49c69b7c3 New translations messages.json (Bulgarian) 2021-10-14 19:12:10 -04:00
Kyle Spearrin 2c24608469 New translations messages.json (Belarusian) 2021-10-14 19:12:09 -04:00
Kyle Spearrin 47c89027c4 New translations messages.json (Spanish) 2021-10-14 19:12:08 -04:00
Kyle Spearrin e5789097b0 New translations messages.json (Hungarian) 2021-10-14 19:12:07 -04:00
Kyle Spearrin 2d68b37407 New translations messages.json (French) 2021-10-14 19:12:06 -04:00
Kyle Spearrin 3f52428fa2 New translations messages.json (Turkish) 2021-10-14 19:12:05 -04:00
Kyle Spearrin 54f82eaee2 New translations messages.json (Chinese Simplified) 2021-10-14 19:12:04 -04:00
Kyle Spearrin 31de516012 New translations messages.json (English, India) 2021-10-14 19:12:01 -04:00
Kyle Spearrin 7ba748f2d3 New translations messages.json (Norwegian Bokmal) 2021-10-14 19:11:59 -04:00
Kyle Spearrin b4746386bd New translations messages.json (Kannada) 2021-10-14 19:11:58 -04:00
Kyle Spearrin d09266dbc4 New translations messages.json (Sinhala) 2021-10-14 19:11:57 -04:00
Kyle Spearrin 82762ab3c4 New translations messages.json (Malayalam) 2021-10-14 19:11:56 -04:00
Kyle Spearrin ef39e19f00 New translations messages.json (Filipino) 2021-10-14 19:11:55 -04:00
Kyle Spearrin 84483da620 New translations messages.json (English, United Kingdom) 2021-10-14 19:11:54 -04:00
Kyle Spearrin 50f9aca3ca New translations messages.json (Hindi) 2021-10-14 19:11:53 -04:00
Kyle Spearrin 087721dd9e New translations messages.json (Azerbaijani) 2021-10-14 19:11:52 -04:00
Kyle Spearrin d9df6f5191 New translations messages.json (Ukrainian) 2021-10-14 19:11:51 -04:00
Kyle Spearrin 3a2e0991c9 New translations messages.json (Latvian) 2021-10-14 19:11:50 -04:00
Kyle Spearrin cc2ebf1398 New translations messages.json (Norwegian Nynorsk) 2021-10-14 19:11:49 -04:00
Kyle Spearrin a956cfd037 New translations messages.json (Croatian) 2021-10-14 19:11:48 -04:00
Kyle Spearrin 918f6d4a35 New translations messages.json (Thai) 2021-10-14 19:11:47 -04:00
Kyle Spearrin b418e196cd New translations messages.json (Bengali) 2021-10-14 19:11:45 -04:00
Kyle Spearrin 286da2a6c7 New translations messages.json (Persian) 2021-10-14 19:11:44 -04:00
Kyle Spearrin e11546ab0d New translations messages.json (Indonesian) 2021-10-14 19:11:43 -04:00
Kyle Spearrin ff980b4cc8 New translations messages.json (Portuguese, Brazilian) 2021-10-14 19:11:42 -04:00
Kyle Spearrin 0786e75103 New translations messages.json (Vietnamese) 2021-10-14 19:11:41 -04:00
Kyle Spearrin cee315e6b1 New translations messages.json (Chinese Traditional) 2021-10-14 19:11:40 -04:00
Kyle Spearrin a70d8bd979 New translations messages.json (Estonian) 2021-10-14 19:11:39 -04:00
Kyle Spearrin 50452e4805 New translations messages.json (Romanian) 2021-10-14 19:11:37 -04:00
Chad Scharf 192be0df2e
Merge pull request #2117 from bitwarden/crowdin-auto-sync
Autosync Crowdin Translations
2021-10-14 18:00:03 -04:00
Thomas Rittson 82138a08ff
[Refactor] Use rxjs first instead of unsubscribe from queryParams (#2112)
* Use rxjs first instead of unsubscribe

* Update jslib
2021-10-15 07:58:59 +10:00
github-actions 4a51f5ec9e Autosync the updated translations 2021-10-14 21:42:11 +00: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
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
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
Daniel James Smith b74efc1dbf
Set the expiry for credential notification to 5 instead of 30 minutes 2021-10-08 15:43:54 +02:00