Commit Graph

299 Commits

Author SHA1 Message Date
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