Commit Graph

453 Commits

Author SHA1 Message Date
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
Kyle Spearrin f937fca917 vendors for background. clean out gulp. 2017-11-08 10:22:26 -05:00
Kyle Spearrin 1cd192a398 delete old cipher service 2017-11-07 23:05:36 -05:00
Kyle Spearrin bc98c82303 always set new tokens on refreshes 2017-11-07 10:43:02 -05:00
Kyle Spearrin 5a905bb4c1 convert lock service to ts 2017-11-07 08:24:10 -05:00
Kyle Spearrin e5fec1fc9a move copy to clipboard to static 2017-11-06 21:57:15 -05:00
Kyle Spearrin 9c5a9da9f5 delete old autofill service 2017-11-06 14:21:34 -05:00
Kyle Spearrin 7bf681c291 totp settings fix 2017-11-06 14:20:59 -05:00
Kyle Spearrin 530ed94d3c autofill service to ts 2017-11-06 14:16:06 -05:00
Kyle Spearrin 942d98d798 convert sync service to ts 2017-11-06 11:55:17 -05:00
Kyle Spearrin b05426f953 convert cipher service to ts 2017-11-06 10:58:32 -05:00
Kyle Spearrin 38e235302c fix __edgeMessages 2017-11-04 23:46:15 -04:00
Kyle Spearrin 4fb2d879ec fetch edge messages 2017-11-04 23:35:46 -04:00
Kyle Spearrin bd109f4ed9 fixes and cleanup 2017-11-04 23:18:38 -04:00
Kyle Spearrin bdd40d8755 move domain models to ts 2017-11-04 22:43:07 -04:00
Kyle Spearrin 8e998ff179 lint fixes 2017-11-04 21:37:35 -04:00
Kyle Spearrin 11edb0261b folder service to ts 2017-11-04 21:09:26 -04:00
Oscar Hinton 45a269a5f0 Fix initListSectionItemListeners (#355) 2017-11-03 17:21:07 -04:00
Kyle Spearrin 6d89cc91f7 fix callback for setUserIdAndEmail 2017-11-03 15:56:22 -04:00
Kyle Spearrin 58bf65168e remove old api service 2017-11-03 15:45:35 -04:00
Kyle Spearrin e3dea4084f fix callbacks for user service methods 2017-11-03 15:40:19 -04:00
Kyle Spearrin 2211c569d7 settings service to ts 2017-11-03 15:33:29 -04:00
Kyle Spearrin ee11bb5137 user service to ts 2017-11-03 15:12:49 -04:00
Kyle Spearrin 0c878d78f3 totp service to ts 2017-11-03 13:50:03 -04:00
Kyle Spearrin 8d60c6c824 call into static methods from utils service 2017-11-03 12:36:26 -04:00
Kyle Spearrin 43ef921886 environment service to ts 2017-11-03 12:33:34 -04:00
Kyle Spearrin 6ae7b2e035 convert api service to ts with fetch 2017-11-03 11:59:45 -04:00
Kyle Spearrin 9f9e3245de convert token service to ts 2017-11-02 20:50:00 -04:00
Kyle Spearrin bf38ca9578 convert token service to ts 2017-11-02 17:49:00 -04:00
Kyle Spearrin eb8c4063ca lint fixes 2017-11-02 16:33:54 -04:00
Kyle Spearrin b94a55f655 remove old appid service 2017-11-02 16:32:19 -04:00
Kyle Spearrin 5fd850929d convert appid service to ts 2017-11-02 15:51:05 -04:00
Kyle Spearrin 8eeb5821f0 password generation service to ts 2017-11-02 12:33:43 -04:00
Kyle Spearrin c586349014 cleanup crypto service a bit 2017-11-02 11:07:45 -04:00
Kyle Spearrin 177b97ff97 move some methods to utils and static 2017-11-02 09:30:28 -04:00
Kyle Spearrin fbba9b673d fixes during crypto service testing 2017-11-02 09:17:53 -04:00
Kyle Spearrin c3704c3dfd convert methods to promises 2017-11-02 08:54:40 -04:00
Kyle Spearrin 54a909ab24 tslint fixes 2017-11-02 08:45:31 -04:00
Kyle Spearrin e415a659ad migrate crypto service to ts 2017-11-01 23:40:39 -04:00
Kyle Spearrin c073d74e04 utils service additions 2017-11-01 23:39:42 -04:00
Kyle Spearrin 7f45fd02c0 added static props so we can start using them 2017-11-01 15:48:24 -04:00
Kyle Spearrin acbfac6df3 convert constants service to ts 2017-11-01 15:46:03 -04:00
Kyle Spearrin 9ffbd0bb69 lint fixes 2017-11-01 13:40:38 -04:00
Kyle Spearrin 51f2c9a30c formatting 2017-11-01 11:41:39 -04:00
Kyle Spearrin d94c6de6f1 formatting 2017-11-01 11:41:12 -04:00
Oscar Hinton 4b68163cbd Convert utilService to typescript. (#342) 2017-11-01 09:18:05 -04:00
Oscar Hinton 59754cd530 Setup Webpack & TypeScript (#316)
* TypeScript and WebPack.

* Minor cleanup.

* Add background.js as entry point to webpack.

* Use downloaded fonts for better performance.
Remove google-fonts-webpack-plugin.

* Add the remaining entry points and setup notification bar.

* Update readme for webpack.

* Convert CipherItems to TypeScript to demonstrate how a component looks in TS.

* Fix edge requirering a custom angular version.

* Rewrite gulp tasks for packaging releases.

* Re-add the webpack gulp plugin.

* Remove unessesary line in analytics.
2017-10-28 22:14:14 -04:00
Kyle Spearrin a2480bf2df fixes for keys 2017-10-26 08:32:04 -04:00
Kyle Spearrin 1c3143867b cleanup autofill service a bit 2017-10-25 21:55:52 -04:00
Kyle Spearrin 0c90d9dba2 set icons server environment url 2017-10-23 23:05:24 -04:00
Duc Hoang Nguyen 37907fbf42 firefox: show popup when click "vault is locked" (#314)
* small lint error

* show popup when click "vault is locked"

* moved to loadNoLoginsContextMenuOptions
2017-10-19 08:38:33 -04:00
Kyle Spearrin 74eeb1a3c1 fixes from refactors 2017-10-18 14:56:59 -04:00
Kyle Spearrin 1443e4d74a change state, province, and country names to codes 2017-10-18 13:05:54 -04:00
Kyle Spearrin f4e72aae8a autofill card expiration 2017-10-18 11:50:21 -04:00
Kyle Spearrin cd878c75b2 proper autocomplete prop 2017-10-18 11:07:25 -04:00
Kyle Spearrin 966e4fc69b delete cipher fix 2017-10-18 11:07:05 -04:00
Kyle Spearrin 95c0a5ace2 return results even when domain is not parsable 2017-10-17 23:54:19 -04:00
Kyle Spearrin dadecf2f4d autofill identity 2017-10-17 23:44:12 -04:00
Kyle Spearrin e75fee5278 generate autofill script for card 2017-10-17 22:53:26 -04:00
Kyle Spearrin 3d45cfc7b8 fields are for all types 2017-10-17 21:35:27 -04:00
Kyle Spearrin 0e692d8c86 restructure autofill class for fillscripts by type 2017-10-17 21:30:30 -04:00
Kyle Spearrin a0b953208d only copy totp on login types 2017-10-17 21:10:44 -04:00
Kyle Spearrin 5b6158c0b7 back everywhere, a few password history touch-ups 2017-10-17 17:09:48 -04:00
Oscar Hinton f1262147a3 History of generated passwords (#310)
* Save last 5 passwords.

* Move password history to seperate page.

* Use the util helpers for accessing the local storage.

* Change close to back for password history. Remove unused html.

* Change orderBy to use the date instead of magic array.

* Move historyService to background.

* Add passwords generated from shortcut and contextmenu to history.

* Fix return to edit/add not working in password generator history.

* Change password icon to clipboard.

* Change link to password history to use on-click.

* Clear password generator history on logout.

* Code style fix.

* Add new .wrap class for wrapping long text. Fix password icon.
2017-10-17 16:42:05 -04:00
Kyle Spearrin 0c8ae91d83 revert api screw up 2017-10-17 15:22:40 -04:00
Kyle Spearrin e87f9e268a autofill ui for other types. autofill fixes 2017-10-17 15:22:16 -04:00
Kyle Spearrin 09c340bbe5 Q shorthand 2017-10-17 12:23:32 -04:00
Kyle Spearrin 999689cf7e more promise/utils helper conversions 2017-10-17 12:22:50 -04:00
Kyle Spearrin 0fdee0f13b promise conversions 2017-10-17 09:25:22 -04:00
Kyle Spearrin 1b66b255f3 folder save fixes 2017-10-17 09:07:36 -04:00
Kyle Spearrin ec3f0b25f6 save with server fixes 2017-10-17 09:00:01 -04:00
Kyle Spearrin ba4e2eae15 refactor out callbacks from folderService 2017-10-17 00:03:27 -04:00
Kyle Spearrin ea1ef54c95 rename sorts 2017-10-16 23:21:12 -04:00
Kyle Spearrin 6722793087 rename loginService to cipherService 2017-10-16 23:11:32 -04:00
Kyle Spearrin ad285a7605 action buttons component 2017-10-16 14:45:47 -04:00
Kyle Spearrin fd146afb69 more fixes 2017-10-16 10:20:46 -04:00
Kyle Spearrin 176b9a8ed0 add/edit/view fixes for ciphers 2017-10-16 10:09:17 -04:00
Kyle Spearrin 355a58f67c service fixes for ciphers 2017-10-14 14:29:10 -04:00
Kyle Spearrin 5a1bf8299f vault listing page fixes 2017-10-13 23:11:42 -04:00