Commit Graph

299 Commits

Author SHA1 Message Date
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
Kyle Spearrin be327e4f5a logout async 2018-05-15 23:40:30 -04:00
Kyle Spearrin d431e53e46 clear collections on logout 2018-05-15 23:27:06 -04:00
Kyle Spearrin c67b63a452 refactor utils service to utils 2018-04-23 13:04:11 -04:00
Kyle Spearrin 06e56f0b57 copy totp from each implementation of autofill 2018-04-23 10:02:30 -04:00
Kyle Spearrin 271f9df8ae pass crypto function service more 2018-04-21 23:55:34 -04:00
Kyle Spearrin b97a6321de switch to web crypto function service 2018-04-21 23:23:34 -04:00
Kyle Spearrin 8cb524cf02 hostname as name when adding login from notif. 2018-04-13 17:43:46 -04:00
Kyle Spearrin 83fe3442d3 init i18n 2018-04-11 15:59:39 -04:00
Kyle Spearrin 3ebb09fa8d converted i18nservice properly 2018-04-11 14:52:49 -04:00
Kyle Spearrin 98b852287d sweet alert dialog implementation 2018-04-10 14:20:03 -04:00
Kyle Spearrin 7ab1fbeb28 pack with ngtools 2018-04-06 11:48:45 -04:00
Kyle Spearrin 4e20efdee1 fix i18n 2018-04-04 10:24:09 -04:00
Kyle Spearrin 0187ac4b96 move audit service to background service 2018-03-21 09:38:03 -04:00
Kyle Spearrin 5ef72091db set badge for all windows when locked 2018-03-03 22:48:38 -05:00
Kyle Spearrin cd7b38ecde fix sort function ref 2018-03-02 12:43:12 -05:00
Kyle Spearrin c27f5836bf support for cipher login uris and match detection 2018-03-02 12:04:21 -05:00
Kyle Spearrin bf149b4c49 Uppercase Bitwarden 2018-02-27 13:37:57 -05:00
Kyle Spearrin e0f90849fc installedVersionKey constant 2018-02-16 15:50:23 -05:00
Kyle Spearrin af8af663cf react to jslib changes 2018-02-13 17:23:30 -05:00
Kyle Spearrin f382f125be i18n2service 2018-01-26 22:38:54 -05:00
Kyle Spearrin caf45ad484 extract analytics class to jslib 2018-01-26 10:48:32 -05:00
Kyle Spearrin d9fb4f2d67 proper typings 2018-01-24 13:27:58 -05:00
Kyle Spearrin ee036db2dd refactor and cleanup analytics class 2018-01-19 16:19:24 -05:00
Kyle Spearrin 755bac0989 delay final bootstrap steps to make sure all init 2018-01-19 11:52:05 -05:00
Kyle Spearrin 8795edad82 boolean, not true. derp 2018-01-19 11:46:32 -05:00
Kyle Spearrin 6834e26b37 reseed storage on update in chrome 2018-01-19 11:42:35 -05:00
Kyle Spearrin 43f563d187 2fa login fixes for duo on safari 2018-01-18 16:17:58 -05:00
Kyle Spearrin bdc3eb559c onInstalled listener must be wired up in ctor 2018-01-17 23:21:17 -05:00
Kyle Spearrin 4a34f9be59 default lock options to "on restart" 2018-01-17 22:42:31 -05:00
Kyle Spearrin c942dd3410 add support for shortcuts to edge and vivaldi 2018-01-17 13:38:32 -05:00
Kyle Spearrin 98c734bc09 ga event for open popup 2018-01-17 10:23:11 -05:00
Kyle Spearrin f60414c872 add fixes for keybaord shortcuts in safari 2018-01-17 10:11:09 -05:00
Kyle Spearrin 09ef4b08aa mousetrap keyboard shortcuts for safari 2018-01-17 09:12:16 -05:00
Kyle Spearrin bd0ce5c316 checkOnInstalled for safari 2018-01-16 00:03:17 -05:00
Kyle Spearrin b6a8594d08 internal runtime messages in safari 2018-01-13 18:16:19 -05:00
Kyle Spearrin c87f6ed2d3 i18n service to tabs background 2018-01-13 15:09:52 -05:00
Kyle Spearrin 561de6df04 load i18n in notificat bar for safari 2018-01-13 15:09:05 -05:00
Kyle Spearrin 698632a1df safari tabs apis 2018-01-13 14:56:38 -05:00
Kyle Spearrin 0e5de1a914 never domain is any 2018-01-13 10:30:40 -05:00
Kyle Spearrin 4077630a92 update message data keys 2018-01-13 10:19:05 -05:00
Kyle Spearrin 52c370f2b9 fix key 2018-01-13 10:17:40 -05:00
Kyle Spearrin ce4e8a9fae get data for tab 2018-01-13 10:13:31 -05:00
Kyle Spearrin 6c7646a481 listen for events in safari on bg runtime 2018-01-12 23:15:27 -05:00
Kyle Spearrin f01ee13102 pass storage to runtime bg 2018-01-12 22:31:54 -05:00
Kyle Spearrin 02b0afd79a get autofiller enabled via message to bg 2018-01-12 22:31:03 -05:00
Kyle Spearrin 84989aa9e2 evaluate none folder as a string function 2018-01-12 21:53:11 -05:00
Kyle Spearrin c0262306f8 delay i18n loads 2018-01-12 21:51:07 -05:00
Kyle Spearrin ede38dd07c use href for reloading popover 2018-01-12 21:20:49 -05:00
Kyle Spearrin 06c8f17d06 listen to messages from BrowserApi 2018-01-12 15:29:01 -05:00
Kyle Spearrin 497984e353 process messages in background runtime 2018-01-12 15:20:19 -05:00
Kyle Spearrin 0a056a3941 send message to safari tab for autofill 2018-01-12 14:44:44 -05:00
Kyle Spearrin de910ee195 lint fixes 2018-01-12 13:27:40 -05:00
Kyle Spearrin 9597e76e92 reload popup fix 2018-01-12 12:41:51 -05:00
Kyle Spearrin 839bd4e8fc new runtime 2018-01-12 12:24:34 -05:00
Kyle Spearrin c5c95aacb3 reload window popup when opened on safari 2018-01-12 12:22:55 -05:00
Kyle Spearrin 2f107ea0c2 convert pages to use browser api message functions 2018-01-12 11:32:42 -05:00
Kyle Spearrin 8f438d818b converting chrome refs to BrowserApi 2018-01-12 11:09:30 -05:00
Kyle Spearrin c10ade46c0 refactor analytics to ts 2018-01-12 10:05:30 -05:00
Kyle Spearrin 3e8db9dc36 settings storage on safari. secure storage option. 2018-01-12 00:06:53 -05:00
Kyle Spearrin 61dc7454d3 safari fixes 2018-01-11 23:39:16 -05:00
Kyle Spearrin 6b507c9071 avoid chrome refs 2018-01-11 22:36:22 -05:00
Kyle Spearrin 9644b7eeb3 added typings to popup services 2018-01-11 14:45:27 -05:00
Kyle Spearrin 482a1c6d57 move sync service to jslib 2018-01-09 23:27:15 -05:00