Commit Graph

152 Commits

Author SHA1 Message Date
Oscar Hinton 9189d4d21e Improve null checks in content scripts (#2390) 2022-02-15 16:14:41 +01:00
addison 9d37811986 [bug] Point autofill at the correct storage key 2022-02-07 12:07:38 -05:00
Daniel James Smith 65b493cce0
Fix regression in notificationBar (#2314)
(cherry picked from commit 2844e06aa8)
2022-02-07 11:33:55 +01:00
Daniel James Smith 71913a5eb5
Update badge number when saving a new entry (#2284)
* Rename message to changePasswordMessage

* Rename message variable to addLoginMessage

* Add early return and remove unneeded if below

* Update badge and menu after adding an entry

* Adjusted casing of enum properties

* Add explicit check for queueMessageType

* Turn NotificationQueueMessageType into simple enum
2022-01-25 08:16:36 +01:00
Oscar Hinton 8fe821b9a3
Apply Prettier (#2238) 2021-12-21 15:43:35 +01: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 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 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 a1022c8b27
Set iframe.src so that the check in closeExistingAndOpenBar actually works 2021-10-18 18:48:52 +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 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 6a567ed3bf
Fix input element lookup from label (#2102) 2021-10-08 07:15:55 +10: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
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 705c287e1a
Removed unneeded alert/info functionality from notificationBar 2021-09-30 16:50:17 +02:00
Daniel James Smith 686c7fbfff
Pass vault state (locked/unlocked) to notificationBar 2021-09-30 16:09:42 +02:00
Oscar Hinton 205b1153de
Disable Private Vault Export Policy (#2064) 2021-09-15 21:06:13 +02: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
Mathew Hodson da12cbcd37
Don't use deprecated initKeyEvent() for autofill (#2001) 2021-08-11 12:40:36 -05:00
Tecsi Aron cf59d24c51
Update autofill.js
Removed `="true"`
2021-06-02 22:28:07 +03:00
Tecsi Aron 1081f505d6
Update autofill.js
Removed data-lpignore.
2021-06-02 21:09:30 +03:00
Tecsi Aron d303e61745 Update autofill.js
Adds the option for web developers to exclude fields with an attribute, also added the LastPass variant of this functionality for better compatibility with existing pages.
2021-06-02 12:54:07 +03:00
Oscar Hinton e0f4386042
Add support for WebAuthn to browser extension (#1379) 2021-03-17 22:14:26 +01:00
Matt Gibson 1868b99d17
Linter updates and fixes (#1604) 2021-02-10 09:40:15 -06:00
Oscar Hinton 3e79dd245b
Safari Web Extension Port from App Extension (#1531) 2021-02-03 20:36:05 +01:00
Chad Scharf 336f8f3117
Revert "Safari Web Extension Port from App Extension" 2021-01-13 17:08:33 -05:00
Hinton 9fb80823ba Remove safari only code from autofill. 2020-12-11 16:13:50 +01:00
Hinton a9c9108053 Remove more old safari app ext code 2020-12-11 15:25:35 +01:00
Matt Gibson c95230fc48
Close 2fa window if redirected from sso login (#1480)
* Close 2fa window if redirected from sso login

This is a workaround until we can get browser extension sso to use the
toolbar popup.

other changes are linter autofixs

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-09 15:30:03 -06:00
Kyle Spearrin c4e88ac1bc
lock vault shortcut only for safari (#1452) 2020-11-06 10:51:35 -05:00
comparesheriff 6b6fc33b6f
Add 'lock_vault' command (#1450)
* Update manifest.json

Add additional command to lock the vault

* Update shortcuts.ts

add mousetrap binding for lock_vault command

* Update commands.background.ts

add option to lock vault with shortcut

* Update messages.json

add german key for lock_vault

* Update messages.json

add english key for 'lock_vault' command

* remove commandLockVaultDesc from de message pack

* Update messages.json

* Update shortcuts.ts

update comment for safari keybinding

* Update shortcuts.ts

remove confusing comment

Co-authored-by: ljakobitz@dev5310.com <ljakobitz@dev5310.com>
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-11-06 10:43:06 -05:00
Kyle Spearrin 3629c2c0d5
use element classList to add animations (#1436) 2020-10-22 12:32:33 -04:00
Chad Scharf 382651cc8d removed old edge shortcut key(s) 2020-09-15 11:04:32 -04:00
Chad Scharf dbbd07641a Remove old IE Edge hacks 2020-09-15 10:50:45 -04:00
Kyle Spearrin b7c2c76230
finish autofill from view, other misc cleanup (#1368)
* finish autofill from view, other misc cleanup

* compare hostnames for authResult
2020-08-24 10:17:15 -04:00
Matt Smith 4b3cd22bce Merge branch 'master' into feature/sso 2020-08-19 15:08:09 -05:00
Matt Smith 3b560fca22 Implemented feedback 2020-08-14 15:20:16 -05:00
Matt Smith 2d56510f0e Modifications made to support browser sso 2020-08-14 12:48:50 -05:00
Chad Scharf 36e5087479 Added Cmd+Shift+P for autofill in safari 2020-08-12 17:08:34 -04:00
Matt Smith e10e006b51 Removed dev logging 2020-08-11 15:29:11 -05:00
Matt Smith 1d0b549123 Modifications made to support SSO in Browser 2020-08-11 15:25:07 -05:00
Kyle Spearrin 6e04920180
cmd + 8 to autofill for safari (#1292) 2020-06-12 12:50:56 -04:00
Kyle Spearrin 0fd5979637 also autofill on mod+9 2019-11-22 08:08:56 -05:00
Kyle Spearrin 3e1e05ab4f ally on notification bar 2019-10-09 10:12:06 -04:00
Kyle Spearrin cedca132f6 remove old downloader page/script 2019-08-23 09:58:48 -04:00
Kyle Spearrin 0a2f413ab4 app path prefix for safari 2019-08-22 16:05:19 -04:00
Kyle Spearrin 8dd574bf9a download file via content script 2019-08-21 21:10:38 -04:00
Kyle Spearrin eec577372c include downloader script and page 2019-08-21 16:50:15 -04:00