Commit Graph

362 Commits

Author SHA1 Message Date
Thomas Rittson 0c9ec9e635 update service deps 2021-05-13 10:51:07 +10:00
Thomas Rittson a591c4d457 Explain how to verify email for Sends 2021-05-12 13:38:07 +10:00
Oscar Hinton cdc71dd661
Password reprompt (#1784)
* Add support for password reprompt

* Rename passwordPrompt to reprompt.

* Move showPasswordDialog to paltformutils

* Fix swal2 validation error styling

* Group imports

* Update src/_locales/en/messages.json

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2021-05-03 20:56:38 +02:00
Oscar Hinton 44463e7bc0
Remove dead code (#1787)
* Remove dead analytics code
2021-04-14 23:43:09 +02:00
Oscar Hinton 97ac4a3267
Bump jslib (#1776) 2021-04-07 20:43:07 +02:00
Oscar Hinton ae4c1b29d2
Add support for biometrics to Safari (#1775)
* Add Biometrics support to Safari
2021-04-07 17:39:59 +02:00
Matt Gibson b69bbd3501
Use azure direct upload for send and attachments (#1744)
* Use azure direct upload for send and attachments

* Add required attachment changes

* update jslib
2021-03-29 10:16:31 -05:00
Oscar Hinton e0f4386042
Add support for WebAuthn to browser extension (#1379) 2021-03-17 22:14:26 +01:00
Oscar Hinton 75f84f6723
Resolve FF < 77 not working (#1706) 2021-03-15 15:44:10 +01:00
Chad Scharf 23a56d5da2
Merge pull request #1630 from vrnvorona/add-disable-badge-counter
Option to disable badge text on icon
2021-03-12 15:23:56 -05:00
Vlad c7040231e5 context menu no matching logins fix 2021-03-09 20:02:57 +03:00
Vlad 518722c781 Fixes for text logic
Moved settings check above setting text, also added send message when settings is changed
Now when settings is changed, current tab badge is changed immediately, and other tabs do so in milliseconds after switch
2021-03-06 19:18:11 +03:00
Oscar Hinton 97fb84a3e3
Resolve safari not refreshing badge correctly (#1644) 2021-03-01 17:32:18 +01:00
Vlad eb59c9e692 browser version of 287 issue
added condition when badge should set text based on setting
2021-02-22 01:35:14 +03:00
Oscar Hinton 2ac9f92267
Resolve safari not checking vault timeout every 10s (#1615) 2021-02-20 11:10:33 +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
Oscar Hinton 8e20e48373
Resolve safari not working due to missing chrome api (nativeMessaging) (#1585) 2021-01-29 23:31:36 +01:00
Oscar Hinton 14293a7831
Reload browser extension after enabling nativeMessaging (#1577) 2021-01-27 23:05:50 +01:00
Oscar Hinton 0511905ab4
Handle desktop logged into a different account for biometrics (#1533) 2021-01-15 16:44:27 +01:00
Oscar Hinton c4388dad66
SystemService, Store if fingerprints have been validated or not (#1528) 2021-01-13 23:31:44 +01:00
Chad Scharf 336f8f3117
Revert "Safari Web Extension Port from App Extension" 2021-01-13 17:08:33 -05:00
Chad Scharf ebd2439edd
Merge pull request #1491 from Hinton/feature/safari-webext
Safari Web Extension Port from App Extension
2021-01-13 16:23:09 -05:00
Hinton db59f2791a Merge branch 'master' of github.com:bitwarden/browser into feature/safari-webext
# Conflicts:
#	src/browser/safariApp.ts
#	src/safari/safari/SafariExtensionViewController.swift
#	src/services/browserPlatformUtils.service.ts
2021-01-13 14:21:45 +01:00
addison c41fbac467 Merge branch 'master' into Permissions 2021-01-12 18:51:36 -05:00
Hinton 98cc69c6fa Solve native messaging silently disconnecting when restarting the desktop app 2021-01-05 15:12:48 +01:00
Hinton e922ff0bc2 Make error handler more generic 2021-01-04 20:53:49 +01:00
addison 7abb5fa08e Implemented Custom role and permissions 2020-12-22 15:02:14 -05:00
Oscar Hinton 83cea49a1b
Add missing break statement (#1503) 2020-12-21 09:18:18 -05:00
Hinton 47b6934699 Make checking fingerprint optional 2020-12-18 16:06:36 +01:00
Hinton 72c6f52ae2 Resolve review comments 2020-12-16 21:44:12 +01:00
Hinton 95d475a9d3 Show an error when biometrics is disabeld in desktop app or not supported 2020-12-16 17:32:51 +01:00
Hinton c4185fe6ee Add support for multiple concurrent extensions with native messaging 2020-12-16 15:47:30 +01:00
Matt Gibson e23d96a350
Add ConsoleLogService dependency from jslib (#1488)
* Pre-emptively add new jslib dependency

* Add ConsoleLogService dependency

* Update jslib

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-14 11:56:40 -06:00
Hinton 36bda45c2e Add SFSafariAppExtensionBundleIdentifiersToReplace 2020-12-14 10:20:41 +01:00
Hinton a9c9108053 Remove more old safari app ext code 2020-12-11 15:25:35 +01:00
Hinton 25a2af903a Merge branch 'master' of https://github.com/bitwarden/browser into feature/safari-webext
# Conflicts:
#	src/background/runtime.background.ts
2020-12-11 14:33:46 +01:00
Vincent Salucci a1542f050d
[Policy] Personal Ownership (#1481)
* Initial commit for personal ownership

* Removed TODO // Updated allowPersonalOwnership logic to include necessary org/user checks

* Fixed import order

* Updated jslib (dcbd09e -> 72bf18f)

* Fixed casing for error message
2020-12-09 14:11:25 -06:00
Hinton 0f2c4b4a59 Remove more old safari app extension logic 2020-12-09 18:23:44 +01:00
Hinton 27ca7cc739 WIP Safari web extension 2020-12-07 20:00:49 +01:00
Chad Scharf 6760cec1ec
Merge pull request #1426 from Hinton/feature/desktop-bridge
Browser <-> desktop communication
2020-12-04 12:21:23 -05:00
Matt Gibson e9d85190d4
Use helper method to get web vault url (#1476)
The helper method yields either 1) the configured web vault url or 2)
the configured server url. If neither are configured, null is returned,
which is already handled by defaulting to vault.bitwarden.com

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-11-30 12:59:31 -06:00
Hinton 7c468de97c Correctly set biometric state on connect failure 2020-11-30 13:41:08 +01:00
Hinton dd4e6ce5d9 Update jslib (PR 185) 2020-11-23 21:31:55 +01:00
Hinton 0e2432d6f4 Review comments 2020-11-23 14:27:36 +01:00
Hinton 6257764c37 Resolve review comments 2020-11-19 19:16:29 +01:00
Hinton e9f7834a00 Merge branch 'master' of https://github.com/bitwarden/browser into feature/desktop-bridge 2020-11-19 19:04:20 +01:00
Kyle Spearrin 63eb0959a7
support for sr lang. resolve sendService deps (#1466) 2020-11-18 16:54:29 -05:00
Hinton 0a29b30b99 Merge branch 'master' of https://github.com/bitwarden/browser into feature/desktop-bridge
# Conflicts:
#	src/_locales/en/messages.json
2020-11-16 10:07:54 +01: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
Hinton c1b099f5da Handle invalidatedEncrytption message 2020-10-23 14:40:50 +02:00
Hinton 222665dd9d Fix error in firefox 2020-10-21 20:39:58 +02:00
Hinton 251d0fdde3 Handle another error message 2020-10-21 17:50:27 +02:00
Hinton 0a4d59092b Cleanup, localize error. 2020-10-21 17:18:04 +02:00
Hinton 9064298309 Display error message when browser integration is disabled, or desktop not running 2020-10-21 15:56:10 +02:00
Hinton a3dbf8b65d Unlock using master key from desktop 2020-10-19 18:34:40 +02:00
Hinton a659c86373 Show fingerprint message 2020-10-19 16:50:25 +02:00
Hinton 378f603709 Setup new encryption flow 2020-10-19 12:20:45 +02:00
Hinton 90bba83ae5 wip 2020-10-16 17:08:53 +02:00
Hinton 41134aee98 Minor cleanup 2020-10-16 12:01:07 +02:00
Hinton a77cca82c8 Encrypt messages and verify timestamp. 2020-10-12 21:18:47 +02:00
Hinton 894d245361 Ensure biometric unlock works even if popup is not in focus 2020-10-12 18:01:34 +02:00
Hinton 5eb0ce1e09 Fix linting errors 2020-10-11 20:45:25 +02:00
Hinton f311101ed9 Initial work of biometric unlock for browser 2020-10-09 17:16:15 +02:00
Chad Scharf 7f1cc0199b Ensure auto auto-fill ignores new-password 2020-09-21 15:41:06 -04:00
Kyle Spearrin 5ec2a70027
change default match on basic auth to host (#1397) 2020-09-21 10:21:09 -04:00
Kyle Spearrin bf967089d1
fixes to SSO process (#1395) 2020-09-18 16:03:08 -04:00
Kyle Spearrin b91b5b5be0 dont set setCryptoKeys to null 2020-09-15 16:27:28 -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
Josep Marí fe2557e21c
Cycle through every login when using the auto-fill shortcut (#956)
* Cycle through every login when using the auto-fill shortcut

* Leave imports ordering as it was

* Undo formatting

* Move logic to jslib

* Remove unused method
2020-08-12 16:05:12 -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
Hinton 954d78a46e Merge branch 'master' of https://github.com/bitwarden/browser into feature/hidden-password 2020-06-11 20:35:30 +02:00
Vincent Salucci e6856a52b4
Initial commit: made lock state default (#1261) 2020-05-28 13:30:11 -05:00
Kyle Spearrin d3ab19becb
Check for premium access for totp copying option (#1252)
* Check for premium access for totp copying option

* restore old null check logic
2020-05-26 14:53:17 -04:00
hinton 5e4259db38 Add support for hidden password 2020-05-24 19:59:49 +02:00
Vincent Salucci a96a20e1ca
[Auto-Logout] Updated Context Menu State (#1201)
* Added context menu states

* Refactored title logic

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-04-07 19:19:47 -05:00
Vincent Salucci 02b0f15c6d
Update jslib (28e3fff -> 72e3893) (#1199)
* Update jslib 28e3fff -> 72e3893

* Update vaultTimeoutService init

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-04-06 12:44:28 -05: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
Kyoro f18deddb59
Add context menu entry sanitation (#1198)
Fixes a bug where a context menu entry
(auto-fill, copy password, etc.)
would display incorrectly when it included an ampersand.
2020-04-06 11:25:07 -04: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 fadbb01e6a update jslib and construct policyService 2020-01-28 22:35:40 -05:00
Kyle Spearrin 11d34cff88 dont toLower the saved username on addLogin 2020-01-18 07:34:12 -05:00
Kyle Spearrin f02c44decf normalize username detection 2019-12-26 07:51:16 -05:00
Kyle Spearrin 277480e7ff still allow password generation when vault locked 2019-10-15 09:36:29 -04:00
Kyle Spearrin e62253142b fix show popover command to resolve now 2019-09-21 09:50:57 -04:00
Kyle Spearrin 056cff04a1 badge text number inclusive of 9, resolves #1001 2019-09-04 12:57:17 -04:00
Kyle Spearrin eb0bc6a01c memory stored pinProtectedKey 2019-08-29 09:41:04 -04:00
Kyle Spearrin d2083c2665 cleanup for safari 2019-08-21 09:42:34 -04:00
Kyle Spearrin 9475de3971 remove unused function 2019-08-20 13:21:46 -04:00
Kyle Spearrin 2a7e361300 cleanup safari specific features 2019-08-19 15:57:37 -04:00
Kyle Spearrin 206530a940 navigate in zone 2019-08-16 20:48:01 -04:00
Kyle Spearrin 30a77e0c43 init tabs on safari 2019-08-16 20:46:56 -04:00
Kyle Spearrin 06234f6b23 wire up internal messaging for safari app 2019-08-15 16:36:49 -04:00
Kyle Spearrin 72d0c7d860 local locale json from safari app 2019-08-14 16:54:40 -04:00
Kyle Spearrin 80d0bd68f1 remove ols safari api dependencies 2019-08-13 15:47:03 -04:00
Kyle Spearrin 9e8094468b fix function signatures 2019-08-13 11:50:28 -04:00
Kyle Spearrin 73db5cd59a setup safari app messaging 2019-08-12 12:31:36 -04:00
Kyle Spearrin d2bd4b0a0f fix lint issue 2019-07-14 11:25:36 -04:00
glitsj16 9244164487 Fix #971 (#972) 2019-07-12 23:22:44 -04:00
Kyle Spearrin 2c6b3927d4 log event when copying password from context menu 2019-07-12 15:16:06 -04:00
Kyle Spearrin fd04be2d98 collection event for autofill 2019-07-12 14:54:17 -04:00
Kyle Spearrin 1fece3079f event logging on view page 2019-07-09 13:56:17 -04:00
Kyle Spearrin ded5ace0de null check 2019-06-28 23:33:53 -04:00
Dustin Falgout 4d3ffad257 Update idle.background.ts (#961)
Handle cases where `chrome.idle` doesn't exist and there is no `browser` object either. Fixes #960
2019-06-28 23:24:38 -04:00
Kyle Spearrin 8cc268cd6c window reload if there is a sidebar, resolves #900 2019-04-04 11:50:49 -04:00
Kyle Spearrin 7a161fa028 redirect to lock screen on locked event 2019-03-19 15:45:39 -04:00
Kyle Spearrin 856776a7cf dont attempt certain bg tasks when locked state 2019-03-06 16:50:04 -05:00
Kyle Spearrin 3b6f7bb941 use chrome.runtime.reload 2019-03-05 15:05:04 -05:00
Kyle Spearrin 490933c2d8 clearPendingClipboard on lock/logout 2019-02-27 11:57:29 -05:00
Kyle Spearrin 5b088b2b3c clear clipboard timeout implemented 2019-02-27 09:28:16 -05:00
Kyle Spearrin 9792a7ade5 reload process on lock 2019-02-25 16:19:19 -05:00
Kyle Spearrin 1be90ce6bd refreshBadgeAndMenu on cipher delete, closes #877 2019-02-22 15:37:05 -05:00
Kyle Spearrin f28d7a1af6 lock with master pass on restart option on PIN lock 2019-02-14 00:46:28 -05:00
Kyle Spearrin a2064939d2 reseed storage on logout 2019-02-13 11:34:42 -05:00
Kyle Spearrin 74e150116e update badge and menu on ciphers added/edited 2019-01-03 10:22:55 -05:00
Kyle Spearrin e43826e395 firefox now supports other context menu options 2018-12-15 22:14:05 -05:00
Bogdan 54dba414f3 fix match the character . literally (#772) 2018-11-12 08:15:05 -05:00
Kyle Spearrin 2709846b46 no need for another variable 2018-11-12 06:58:53 -05:00
Bogdan 3ee3f1e055 Remove leading www. from name on saveAddLogin (#771) 2018-11-12 06:56:39 -05:00
Kyle Spearrin 48a0b84bfe getDomain moved to jslib 2018-10-13 22:52:49 -04:00
Kyle Spearrin d16d1d1308 warn user and reseed storage if using Never lock option 2018-10-03 22:46:11 -04:00
Kyle Spearrin d2e5c9b6ea detech password changes with 2 equal passwords 2018-09-07 08:01:50 -04:00
Kyle Spearrin f6850072ea Fix !== null checks 2018-08-30 21:47:49 -04:00
Kyle Spearrin 2bb3d27408 user canAccessPremium checks 2018-08-28 23:17:39 -04:00
Kyle Spearrin e4cac73174 support for logout notification 2018-08-28 08:38:29 -04:00
Kyle Spearrin 423bbc20b7 update jslib, sync on unlock reconnect 2018-08-23 09:26:07 -04:00
Kyle Spearrin 8c187b99a2 update connection on lock state changes 2018-08-22 21:47:30 -04:00
Kyle Spearrin 22c991f655 disconnect and connect on idle states 2018-08-22 21:10:23 -04:00
Kyle Spearrin 58c6a9c768 update jslib 2018-08-20 22:23:52 -04:00
Kyle Spearrin 50c94f587d implement notifications service 2018-08-20 17:40:39 -04:00
Kyle Spearrin ff6e86e84d clear search index 2018-08-13 14:09:26 -04:00
Kyle Spearrin 4ab36bc8ee implement search service 2018-08-13 11:53:16 -04:00
Kyle Spearrin ada83aae8f use `navigator.clipboard` to copy text if available 2018-08-13 09:44:59 -04:00
Kyle Spearrin 4ac447b2d2 check for features being disabled 2018-08-07 09:22:06 -04:00
Kyle Spearrin 539ee0b1b6 detect password change on login 2018-08-06 13:37:29 -04:00
Kyle Spearrin 4076247908 option to disable change password notification 2018-07-31 23:48:11 -04:00
Kyle Spearrin cf57eadd1d detect and update password changes 2018-07-31 23:24:11 -04:00
Kyle Spearrin c4e13f8817 api service to audit service 2018-07-07 23:51:35 -04:00
Kyle Spearrin f1ac179222 update jslib with export deps 2018-07-05 14:42:11 -04:00
Kyle Spearrin 19c8265b9b update folder service deps 2018-06-25 14:56:29 -04:00
Kyle Spearrin 2cbb7788f4 use hasKey helper 2018-06-13 17:19:58 -04:00
Kyle Spearrin 7167dd3fb7 add support for export service 2018-05-17 10:57:52 -04:00
Kyle Spearrin 9c10943806 init lock service 2018-05-16 10:20:49 -04:00