Commit Graph

631 Commits

Author SHA1 Message Date
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
Kyle Spearrin f2f34c8e70 implement platform utils additions 2018-01-25 14:31:54 -05:00
Kyle Spearrin 6a22410a60 analytics id as any 2018-01-24 12:24:31 -05:00
Kyle Spearrin 869446f7e7 remove logging 2018-01-15 23:32:37 -05:00
Kyle Spearrin 962bd24974 safari fix for autofill totp and context menu options 2018-01-15 23:28:07 -05:00
Kyle Spearrin b7e97178b1 stronger device type checks 2018-01-15 21:40:42 -05:00
Kyle Spearrin 64e2debb77 global message handler for popop 2018-01-13 20:30:14 -05:00
Kyle Spearrin b6a8594d08 internal runtime messages in safari 2018-01-13 18:16:19 -05:00
Kyle Spearrin c0262306f8 delay i18n loads 2018-01-12 21:51:07 -05:00
Kyle Spearrin 76752f81c6 lock view open check for safari 2018-01-12 21:31:46 -05:00
Kyle Spearrin 0a056a3941 send message to safari tab for autofill 2018-01-12 14:44:44 -05:00
Kyle Spearrin 3e8db9dc36 settings storage on safari. secure storage option. 2018-01-12 00:06:53 -05:00
Kyle Spearrin c6de902901 formatting fixes 2018-01-11 23:42:50 -05:00
Kyle Spearrin 61dc7454d3 safari fixes 2018-01-11 23:39:16 -05:00
Kyle Spearrin 2b6c2bd4e2 more safari APIs 2018-01-11 23:04:47 -05:00
Kyle Spearrin 625ae961c4 safari check on view open 2018-01-11 22:22:07 -05:00
Kyle Spearrin b2f2cff117 i18n service for safari 2018-01-11 22:13:57 -05:00
Kyle Spearrin f0189b4f71 move autofill models 2018-01-11 15:59:07 -05:00
Kyle Spearrin 12ad4f6df8 safari device checks and tests 2018-01-11 15:49:29 -05:00
Kyle Spearrin 3743e5b409 isSafari checks 2018-01-11 15:34:55 -05:00
Kyle Spearrin 82e88eb1ba move "in UI" methods to popup utils 2018-01-11 15:30:58 -05:00
Kyle Spearrin 9921d6dba3 move initListSectionItemListeners to popup utils 2018-01-11 15:21:43 -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
Kyle Spearrin 7ca71cb9a1 move lock service ti jslib 2018-01-09 23:18:55 -05:00
Kyle Spearrin 5c98e94198 move collection service tio jslib 2018-01-09 23:12:14 -05:00
Kyle Spearrin d6eeab7b23 move cipherService to jslib 2018-01-09 23:05:46 -05:00
Kyle Spearrin 16a3555cd4 move settings service to jslib 2018-01-09 22:47:53 -05:00
Kyle Spearrin 6baae1113b move folder service to jslib 2018-01-09 22:39:38 -05:00
Kyle Spearrin 893c41d7cf move container service to jslib 2018-01-09 22:28:21 -05:00
Kyle Spearrin f20c217321 migrate constants to jslib 2018-01-09 22:22:49 -05:00
Kyle Spearrin 0069c2b700 convert environment service to jslib 2018-01-09 20:20:45 -05:00
Kyle Spearrin eb031eda0f convert password generator to jslib 2018-01-09 17:55:28 -05:00
Kyle Spearrin 79aca025d0 convert totp service to jslib 2018-01-09 17:45:17 -05:00
Kyle Spearrin cfbd67060a convert user service to jslib 2018-01-09 17:37:40 -05:00
Kyle Spearrin 56bde82b41 convert api, appid, and token services to jslib 2018-01-09 16:20:15 -05:00
Kyle Spearrin f51bebd99a import ts through node_modules alias 2018-01-09 14:26:20 -05:00
Kyle Spearrin bb98c7e4da converted cryptoservice to jslib 2018-01-08 15:37:11 -05:00
Kyle Spearrin e68f7a1141 convert domain models to jslib 2018-01-08 15:23:36 -05:00
Kyle Spearrin 5d39030e05 convert data models to jslib 2018-01-08 15:12:09 -05:00
Kyle Spearrin a78b8ec79c convert request/response models to jslib 2018-01-08 14:45:34 -05:00
Kyle Spearrin fd931c23d1 attach/read container service to window 2018-01-07 00:15:12 -05:00
Kyle Spearrin 03258e50f7 Refactor for barrels. Utils service to jslib 2018-01-06 22:13:48 -05:00
Kyle Spearrin c018f096b4 moved service abstractions to jslib 2018-01-06 15:47:46 -05:00
Kyle Spearrin dc15edcd4d moved all enums to jslib 2018-01-06 14:22:55 -05:00
Kyle Spearrin cbf8b00b33 rename to browser platform utils 2018-01-05 16:38:50 -05:00
Kyle Spearrin 4a08bf6b71 rename browser utils to platform utils 2018-01-05 16:30:15 -05:00
Kyle Spearrin 01cf48bbed rename browserType to deviceType 2018-01-05 11:13:24 -05:00
Kyle Spearrin 2ef937f333 IdleBackground, clean up lock service chrome refs 2018-01-04 17:04:26 -05:00
Kyle Spearrin 2986bd1e29 browserUtilsService.isViewOpen 2018-01-04 16:49:58 -05:00
Kyle Spearrin 701d81a2eb rename storage service implementation 2018-01-04 16:15:06 -05:00
Kyle Spearrin d39c5b37dc abstract MessagingService 2018-01-04 16:06:00 -05:00
Kyle Spearrin 0fbbc4a0b9 static ContainerService for edge case dependencies 2018-01-04 14:16:40 -05:00
Kyle Spearrin 0dd711471b separated BrowserUtils from generic Utils 2018-01-04 12:32:10 -05:00
Kyle Spearrin ac0126b210 abstract storage service 2018-01-04 10:51:21 -05:00
Kyle Spearrin 596e7b8a3b added german username field labels 2017-12-29 16:12:57 -05:00
Kyle Spearrin a2f2e6cfc5 add browser type support for vivaldi and safari 2017-12-18 14:21:22 -05:00
Kyle Spearrin 5ce3a4ae37 `.toString()` all device-type headers 2017-12-15 11:12:13 -05:00
Kyle Spearrin 58481633eb added device type header to requests 2017-12-15 09:58:26 -05:00
Kyle Spearrin 21963cb9d3 add support for "post-code" autofilling 2017-12-13 08:52:07 -05:00
Kyle Spearrin 6f2163ef4c moved more apis to runtime.background 2017-12-07 15:36:24 -05:00
Kyle Spearrin 142e33eb05 explicitly set boolean autofill value to false
resolves #422
2017-12-07 14:01:27 -05:00
Kyle Spearrin 4e17b74d2b lint fix 2017-12-06 22:36:11 -05:00
Kyle Spearrin e340396ce1 logout callback is always available 2017-12-06 22:35:21 -05:00
Kyle Spearrin 81c01de641 resolving this contexts 2017-12-06 22:28:33 -05:00
Kyle Spearrin a4127f2571 dont allow shorthand property assignments 2017-12-06 14:23:34 -05:00
Kyle Spearrin a5add2c6f9 pass utilsService to i18n function 2017-12-06 14:05:49 -05:00
Oscar Hinton 81fcfb4f6f [TypeScript] Convert background entry script to TypeScript (#419)
* Convert background entry file to typescript. Remove global forge & tldjs variables.

* Minor cleanup.
2017-12-06 13:51:49 -05:00
Kyle Spearrin 97b509e1f6 support fuzzy fill other labels. `hasValue` helper 2017-12-06 11:11:52 -05:00
Kyle Spearrin 41d615a8fe support for label left/top and more intel. selects 2017-12-06 09:11:37 -05:00
Kyle Spearrin 09f6b36bbb i18nService is passed in 2017-12-05 20:51:22 -05:00
Kyle Spearrin eab83a9756 fixes to generation service 2017-12-05 12:14:45 -05:00
Kyle Spearrin 184a3db7c8 convert password history to ts. added clear option 2017-12-05 11:56:13 -05:00
Kyle Spearrin 9822f95938 various fixes for generator history 2017-12-05 11:33:12 -05:00
Kyle Spearrin 4b820bb7bd set default options for password generator 2017-12-05 10:58:40 -05:00
Kyle Spearrin 61fb18ec4b delay i18n load on edge for constants 2017-12-04 09:06:49 -05:00
Kyle Spearrin b6a5180a6a dont throw error on none found 2017-11-29 10:06:02 -05:00
Kyle Spearrin b297c4279a postal code has higher priority than city/state 2017-11-24 23:47:04 -05:00
Oscar Hinton a45f2c2fd7 More tests (#395)
* Test UtilsService.newGuid

* Replace UtilsService.extendObject with Object.assign.

* Test getBrowser.

* Replace var with const.
2017-11-24 18:14:03 -05:00
Kyle Spearrin 2b042da237 additional logic for cc month filling 2017-11-24 15:49:13 -05:00
Kyle Spearrin b3d34e86fd preserve collection ids on save 2017-11-23 22:33:08 -05:00
Kyle Spearrin 2e9b3d0943 view grouping of ciphers for a collection 2017-11-22 21:55:48 -05:00
Kyle Spearrin 2d81466d25 add support for syncing collections 2017-11-22 13:17:59 -05:00
Kyle Spearrin 197200b840 ignore readonly and disabled fields 2017-11-22 08:31:22 -05:00
Kyle Spearrin 4ceac37849 resolve shadow warning 2017-11-20 09:06:36 -05:00
Oscar Hinton 4531846ff8 Add support for running unit tests (#381)
* Add test runner.

* Fix tests. Add tests for UtilsService.getDomain

* Test getHostname.

* Add two missing test cases and fix getDomain.
2017-11-17 16:33:58 -05:00
Kyle Spearrin f9b00c6871 edge hates `for of` loops :( 2017-11-16 12:49:23 -05:00
Kyle Spearrin cd4c2d6d10 handle api error cases better 2017-11-16 11:12:41 -05:00
Kyle Spearrin a166dc65b1 handle server errors for attachment save 2017-11-15 22:36:20 -05:00
Kyle Spearrin 3b6e9d7b0b int events again each time page changes 2017-11-15 14:27:30 -05:00
Kyle Spearrin 2f7b6790db fixes for edge 2017-11-15 14:27:30 -05:00
Kyle Spearrin bed28aebaa interface cryptoservice 2017-11-13 16:12:23 -05:00
Kyle Spearrin 11f392b036 interfaced utilsservice for popup and dependencies 2017-11-13 15:37:38 -05:00
Kyle Spearrin 907247b3a7 allow csv field names as well 2017-11-13 14:09:45 -05:00
Kyle Spearrin 745b17fe95 support regex in custom field names 2017-11-13 13:07:59 -05:00
Kyle Spearrin 202d008cb0 only autofill viewable fields for card/identities 2017-11-11 22:25:16 -05:00
Kyle Spearrin c6274dd1dc hasOwnProperty continue 2017-11-11 08:10:58 -05:00
Kyle Spearrin 12851a6e80 autofill improvements for cards and identities 2017-11-10 23:47:42 -05:00
Kyle Spearrin 594f2114a7 move tools component html 2017-11-10 21:23:50 -05:00
Kyle Spearrin 0f7a7c56dc fixes for initListSectionItemListeners 2017-11-09 21:58:46 -05:00
Kyle Spearrin 9fe4b29a1c convert initListSectionItemListeners to js
Removed jQuery from background
2017-11-09 17:16:41 -05:00