Commit Graph

631 Commits

Author SHA1 Message Date
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
David Gleich c209fd72de
Add some german input field names 2020-10-24 13:01:03 +02:00
Hinton b0c9054f23 Update with support for latest jslib 2020-10-23 10:42:58 +02:00
Addison Beck 3d903bbf0c removed an uneeded line of code 2020-10-13 15:33:28 -04:00
Addison Beck fdfb6fb152 tracked last-launched ciphers for autofill 2020-10-12 13:33:26 -04: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
Josep Marí c86151d74f
Update last used index when auto-fill worked correctly (#1425) 2020-10-09 07:31:02 -04:00
Addison Beck 64dd14ffc5 added an escape character to a regex string 2020-09-28 12:57:40 -04:00
Addison Beck a2a994cb4d tweaked autofill ignore settings for code review 2020-09-28 12:07:46 -04:00
Addison Beck 307f59065b beefed up the restrictions on what is considered isLikePassword for autofill 2020-09-25 12:43:29 -04:00
Chad Scharf 7f1cc0199b Ensure auto auto-fill ignores new-password 2020-09-21 15:41:06 -04:00
Kyle Spearrin 2e346dbe2f language updates 2020-09-15 13:38:40 -04:00
Chad Scharf dbbd07641a Remove old IE Edge hacks 2020-09-15 10:50:45 -04:00
Sorin Davidoi 260820711e feat: Use system theme if available
Depends on https://github.com/bitwarden/jslib/pull/161.

Closes https://github.com/bitwarden/browser/issues/1256.
2020-08-31 22:33:01 +02:00
Matt Smith 4b3cd22bce Merge branch 'master' into feature/sso 2020-08-19 15:08:09 -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
Oscar Hinton 289177259a
Upgrade TypeScript (#1355)
* Upgrade TypeScript

* Update login.component.ts

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-08-12 15:45:03 -04:00
Matt Smith 1d0b549123 Modifications made to support SSO in Browser 2020-08-11 15:25:07 -05:00
Chad Scharf 728d181fff
Merge pull request #1322 from Hinton/feature/biometric-jslib
Support biometric changes in jslib
2020-07-29 16:54:45 -04:00
Matt Smith 6c7d730d36 Missed space in formatting. 2020-07-09 14:59:47 -05:00
Hinton a5116728a9 Support biometric changes in jslib 2020-07-09 20:14:51 +02:00
Matt Smith 689f39d365 Modified Chrome to pass in null unicode on clear 2020-07-09 12:25:46 -05:00
Kyle Spearrin c444da9a18 fix missing paren 2020-06-29 14:57:56 -04:00
Jonathan Ehman b4e15aba6e
Avoid a common One Time Password field name (#1314)
Many sites have one time password fields for Two Factor Authentication. A common name for those fields is OneTimePassword or some variant. If these fields were commonly of type "password" it would not be significant. However, since they are commonly of type "text", it is a security risk for users to auto fill these fields.
2020-06-29 10:27:14 -04:00
Kyle Spearrin ae5dbbd267
Add support for greek language (#1246) 2020-05-22 23:15:32 -04:00
Chad Scharf 40ffda4da4 Merge branch 'master' into soft-delete 2020-05-08 09:20:35 -04:00
Kyle Spearrin 166573dafb brand color updates 2020-05-05 16:59:20 -04:00
Chad Scharf 7f49ceead2 lint change revert, failed unit test fix 2020-04-13 11:14:21 -04:00
Chad Scharf a473dc958e Lint errors 2020-04-13 10:32:45 -04:00
Kyle Spearrin 1d03103faf support reversed 13 length month select 2019-10-09 17:12:21 -04:00
Kyle Spearrin 17ce891aab data-recurly attr support for autofill 2019-10-08 12:49:43 -04:00
Kyle Spearrin 93e5eeda6b dont autofill non-empty fields on page load 2019-09-25 09:54:01 -04:00
Kyle Spearrin c99403255d not like password if contains "captcha" 2019-08-30 12:26:50 -04:00
Kyle Spearrin 530d0d2594 added hebrew language 2019-08-29 07:20:41 -04:00
Kyle Spearrin 7d2c4cbd9a isPopoverOpen for safari app 2019-08-20 13:54:10 -04:00
Kyle Spearrin deb5d2bf62 isViewOpen returns promise 2019-08-20 13:47:22 -04:00
Kyle Spearrin 2a7e361300 cleanup safari specific features 2019-08-19 15:57:37 -04:00
Kyle Spearrin d91c96ae65 safari app browser utils 2019-08-19 11:58:43 -04:00
Kyle Spearrin a7dabc45f1 fix safari browser test 2019-08-16 17:11:45 -04:00
Kyle Spearrin 06234f6b23 wire up internal messaging for safari app 2019-08-15 16:36:49 -04:00
Kyle Spearrin fcc777cded fixes to safariapp messaging 2019-08-15 14:48:02 -04:00
Kyle Spearrin e5e04b8fa9 load loacles for safari app 2019-08-15 13:22:26 -04:00
Kyle Spearrin 72d0c7d860 local locale json from safari app 2019-08-14 16:54:40 -04:00
Kyle Spearrin 68593e9df2 storage service communicating with swift app 2019-08-14 12:53:43 -04:00
Kyle Spearrin e36063ff7a handle JSON objects in storage service for safari 2019-08-13 17:35:10 -04:00
Kyle Spearrin d585c21c38 update safari tests 2019-08-13 12:53:57 -04:00
Kyle Spearrin fba1731cb4 proper safari detection in utils 2019-08-13 11:57:20 -04:00
Kyle Spearrin 343ebe341b safari app messaging for storage service 2019-08-13 11:47:29 -04:00
Kyle Spearrin 384f3f1e47 compile fixes 2019-08-13 11:40:57 -04:00
Joris 55db185d6b Fix autofill with empty custom field (#991) 2019-08-12 07:13:06 -04:00
Kyle Spearrin 703474bd93 start converting some safari browser apis 2019-08-05 10:03:25 -04:00
Kyle Spearrin 103662349f support other languages for exp mo/yr on cards 2019-07-29 22:30:57 -04:00
Kyle Spearrin fd04be2d98 collection event for autofill 2019-07-12 14:54:17 -04:00
Jordan Patterson 0bfccfcb4f Support u2f on Vivaldi (#953) 2019-06-20 12:22:58 -04:00
Kyle Spearrin a60c60529f dont call clearclipboard in a loop 2019-05-30 09:37:09 -04:00
Kyle Spearrin 92fb43fc2e organizationUseTotp on totp copy 2019-05-27 22:04:00 -04:00
Kyle Spearrin ea1601c32c formatting 2019-04-20 21:31:09 -04:00
Kyle Spearrin 200fa80260 centralize fillByOpid 2019-04-20 21:29:13 -04:00
Perry Trinh bfb87dbd15 Added limit to length of password when autofilling if max password length exists (#918) 2019-04-20 21:17:39 -04:00
Kyle Spearrin a25ceb49ce autofill improvements for readonly fields 2019-04-06 10:34:44 -04:00
Kyle Spearrin 5b088b2b3c clear clipboard timeout implemented 2019-02-27 09:28:16 -05:00
Kyle Spearrin 91a0566f2c implement readFromClipboard 2019-02-26 22:37:21 -05:00
Kyle Spearrin 2a129c0e52 add billing and mail address to autofill detection 2019-02-07 16:16:45 -05:00
Kyle Spearrin 95c1a5786d add more address keywords 2019-02-07 15:34:16 -05:00
Kyle Spearrin abaf1c5fab improve card autofill detection 2019-02-07 14:26:50 -05:00
Kyle Spearrin 2f0d3af23f verification-code for cvv autofill 2019-01-30 23:54:01 -05:00
Kyle Spearrin d69862c46d autofill exp year when it is a select list 2019-01-29 09:32:20 -05:00
Kyle Spearrin aaeaeba4ee add support for attr prefixing on custom field names 2019-01-19 23:02:07 -05:00
Kyle Spearrin 219eb2bffb add ca language 2019-01-18 15:59:00 -05:00
Kyle Spearrin c6e324bf16 en-GB locale 2019-01-15 20:47:48 -05:00
Kyle Spearrin 5d8f43ab9a check maxLength 2019-01-14 22:45:12 -05:00
Kyle Spearrin 74e4368743 better determine format for exp moth and year on autofill 2019-01-14 13:37:00 -05:00
Chris Lane b8de1d805a Add 'login id' username field name (#811) 2018-12-21 07:36:28 -05:00
Kyle Spearrin b72105b9e0 detect fields from label-aria 2018-11-24 22:54:30 -05:00
Chris Lane 7b2a35845b Add customer-id to username field names (#778)
* Add customer-id to username field names

* Generify customer-id field name
2018-11-15 14:03:12 -05:00
Gabriel Augendre 7d1c071ce2 Add fields met on Ticketac payment form (#767)
Ticketac is a french website for spectacle tickets.
2018-11-05 07:56:17 -05:00
Kyle Spearrin 48a0b84bfe getDomain moved to jslib 2018-10-13 22:52:49 -04:00
Kyle Spearrin 755e3486ee dont need change detector 2018-10-03 09:46:00 -04:00
Kyle Spearrin adb3dc78ee remove analytics in favor of platform utils 2018-10-03 00:21:22 -04:00
Kyle Spearrin 89a448b12f platform utils for toasting 2018-10-02 23:33:56 -04:00
Gabriel Augendre 70c61e80ad Add support for CIC payment form (french bank) (#735)
* Add support for CIC payment form (french bank)

* Use more generic terms
2018-09-23 14:19:59 -04:00
Gabriel Augendre 24531b706b Add fields for LDLC (#729)
* Add fields for LDLC

* Make field matches more generic
2018-09-19 08:13:33 -04:00
Gabriel Augendre 768aab2bf8 Add payment-cc-date met on Yurplan (#718) 2018-09-05 13:52:32 -04:00
Gabriel Augendre 489b19487a Add paymentCardExpiration met on Payplug (#711)
* Add paymentCardExpiration met on Payplug

This commit intends to add support for `paymentCardExpiration`, I'm not sure anymore if that syntax will work 🤔

* Add payment-card-expiration to contains array
2018-09-05 13:27:37 -04:00
Kyle Spearrin f6850072ea Fix !== null checks 2018-08-30 21:47:49 -04:00
Kyle Spearrin e6a4fb10d4 more expiry checks 2018-08-29 13:49:41 -04:00
Gabriel Augendre 1ad45c190e Add card-expiry and expiry, found on IKEA website (#707) 2018-08-29 13:39:19 -04:00
Kyle Spearrin 2bb3d27408 user canAccessPremium checks 2018-08-28 23:17:39 -04:00
Kyle Spearrin fc2b38b8d9 only use clipboard.writeText on firefox 2018-08-20 09:18:33 -04:00
Kyle Spearrin c713088a22 fix copying 2018-08-17 12:25:09 -04:00
Kyle Spearrin ada83aae8f use `navigator.clipboard` to copy text if available 2018-08-13 09:44:59 -04:00
Kyle Spearrin 6ddfd98fc4 is "like" password check 2018-08-03 11:07:40 -04:00
Kyle Spearrin cf57eadd1d detect and update password changes 2018-07-31 23:24:11 -04:00
Kyle Spearrin 6db7804a3b add th and bg languages 2018-07-25 11:18:57 -04:00
Kyle Spearrin 4b3ab983cd autofill fixes for cards 2018-07-16 11:00:49 -04:00
Kyle Spearrin 0d95f66a43 update device string 2018-07-09 09:30:37 -04:00
Kyle Spearrin 48abc87e0c update device type enums 2018-07-09 09:12:41 -04:00
Kyle Spearrin 2636f38b30 exp-mon detection 2018-07-03 22:24:21 -04:00
Kyle Spearrin 74d9b359a5 isSelfHost 2018-06-30 13:51:20 -04:00
Kyle Spearrin d839dc6185 expiration-date for mm, yy, and yyyy 2018-06-18 08:13:26 -04:00
Kyle Spearrin 822b24be76 implement lock timeout 2018-06-09 14:50:29 -04:00
Kyle Spearrin 3ee88c0ee8 update jslib 2018-06-07 23:36:58 -04:00
Kyle Spearrin de08a25c14 autofill adjustments 2018-06-01 08:36:46 -04:00
Gabriel Augendre 9a0b1239e6 Add more expiration date fields (#631)
These should match `expirationDateMonth` and `expirationDateYear`
2018-06-01 08:33:53 -04:00
Kyle Spearrin 78ef55aed4 add korean and persian languages 2018-05-31 22:28:15 -04:00
Kyle Spearrin 324ea5114d implement showToast 2018-05-31 14:42:59 -04:00
Kyle Spearrin 70291453d5 dont use null field names 2018-05-24 09:29:27 -04:00
Kyle Spearrin 58a267243a add street to address detection 2018-05-24 08:57:14 -04:00
Kyle Spearrin 047547169a delayed autofill attempt 2018-05-18 17:05:46 -04:00
Kyle Spearrin ff67b9be82 supports duo platform util 2018-05-16 15:30:36 -04:00
Kyle Spearrin bc6d778b35 dont autofill same field twice 2018-05-12 22:21:39 -04:00
Kyle Spearrin 17b1d84519 option to only fill visible fields (for autofill on page load) 2018-05-08 09:11:32 -04:00
Kyle Spearrin 11a0d8f4c1 centralize some things in jslib 2018-04-24 17:04:49 -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 c4fc9a2c80 move utils tests to jslib 2018-04-17 16:28:22 -04:00
Kyle Spearrin 4de43df261 formatting fixes 2018-04-17 13:27:56 -04:00
Gabriel Augendre a0f8b0f83e Add fields seen on ATOS payment page (#588) 2018-04-17 13:20:52 -04:00
Kyle Spearrin 789bbe55eb fix some things in platform utils 2018-04-14 13:32:56 -04:00
Kyle Spearrin 4993d4b00d restore opr and safari on window 2018-04-14 11:54:59 -04:00
Kyle Spearrin c07d2739dd fix safari test 2018-04-14 10:16:05 -04:00
Kyle Spearrin 9b103f1ff0 fix karma tests 2018-04-14 10:01:31 -04:00
Kyle Spearrin 82dd5b8b08 add timeout to swal alerts 2018-04-14 09:39:47 -04:00
Kyle Spearrin 655edc88f8 implement getLocalesJson 2018-04-11 15:16:35 -04:00
Kyle Spearrin 3ebb09fa8d converted i18nservice properly 2018-04-11 14:52:49 -04:00
Kyle Spearrin 78058c3591 lint fixes 2018-04-10 23:49:46 -04:00
Kyle Spearrin 98b852287d sweet alert dialog implementation 2018-04-10 14:20:03 -04:00
Kyle Spearrin 5fd400bf9d load service module 2018-04-04 08:27:31 -04:00
Kyle Spearrin e806529259 exclude input types from card and ident autofill 2018-03-22 12:28:24 -04:00
Kyle Spearrin 75d4ee3038 platform specific identity client id 2018-03-21 11:21:42 -04:00
Kyle Spearrin 46e3628fd4 better format card expirations 2018-03-15 21:16:40 -04:00
Kyle Spearrin 1613dfdf97 autofill fixes 2018-03-15 20:27:23 -04:00
Gabriel Augendre 5d2b7d2383 Add some other french tags for credit card. (#547)
I encountered these tags on oui.sncf,
the french train company
2018-03-12 08:37:52 -04:00
Kyle Spearrin d54ffd52e3 formatting fixes 2018-03-08 10:39:49 -05:00
Gabriel Augendre 4b88040222 [WIP] Add possible french tags for card auto-fill (#540)
* Add some possible french tags for card form filling

* Remove unused parameter

* Revert "Remove unused parameter"

This reverts commit 994e16b59c.

* Add some values to contains check too

* Add 'credit-card' check
2018-03-07 11:13:37 -05:00
Kyle Spearrin c27f5836bf support for cipher login uris and match detection 2018-03-02 12:04:21 -05:00
Kyle Spearrin 95859594fd card expire fields for autofill 2018-02-27 14:42:08 -05:00
Kyle Spearrin e205bbc999 more options for card and exp dates on autofill 2018-02-27 11:54:57 -05:00
Kyle Spearrin 0664f98bc2 isMacAppStore implementation 2018-02-26 23:51:17 -05:00
Kyle Spearrin 7724fe6815 implement copyToClipboard device utils 2018-02-16 14:00:41 -05:00
Kyle Spearrin af8af663cf react to jslib changes 2018-02-13 17:23:30 -05:00
Kyle Spearrin a18cd026f0 implement showdialog 2018-02-02 23:46:30 -05:00
Kyle Spearrin 479346faf0 placeholder support from interface 2018-02-02 12:03:23 -05:00
Kyle Spearrin 146254b646 switch to jslib auth service 2018-02-01 22:53:36 -05:00
Kyle Spearrin f382f125be i18n2service 2018-01-26 22:38:54 -05:00
Kyle Spearrin 5a662cacb4 remove alerterror 2018-01-26 16:14:03 -05:00
Kyle Spearrin caf45ad484 extract analytics class to jslib 2018-01-26 10:48:32 -05:00