Commit Graph

396 Commits

Author SHA1 Message Date
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
Kyle Spearrin b5c70c4941 encrypt cipher data 2017-10-13 22:34:36 -04:00
Kyle Spearrin 925102a86b fcall to just Q() 2017-10-13 21:39:31 -04:00
Kyle Spearrin 2b5915b257 convert to promises. loginService cipher refactor 2017-10-13 17:07:20 -04:00
Kyle Spearrin 44f5812a36 build models for cipher types 2017-10-13 14:04:03 -04:00
Oscar Hinton a99ce875ca Website icons (#285)
* Initial attempt at adding favicons.

* Cache the favicons for 30 days.

* Refactor faviconService, remove unused faviconDirective.

* Change icon url to icons.bitwarden.com. Update style to support dynamic size of icon.

* Use hostname instead of domain.

* Fix getFavicon throwing an exception if the uri is not a valid url.

* Add enabled property to faviconService to prevent slow calls to storage. Fixed chrome not displaying chrome://favicon properly.

* Fix chrome disable favicon not working as expected.

* Add default icon.

* Fix jshint errors.

* Cleanup of faviconService, removed caching related code. Add faviconComponent for handling favicons.

* Remove faviconService, moved functionallity into faviconComponent.

* Fix faviconComponent not updating when uri changes.

* Rename favicon to icon.

* Improve whitelist.
2017-10-12 14:48:29 -04:00
Kyle Spearrin 5a6c43e46e dont skip totp copy if from autofill command 2017-10-11 22:52:46 -04:00
Kyle Spearrin 847c3df7df remove query string from manifest popup 2017-10-11 22:30:47 -04:00
Kyle Spearrin 41c3007821 expand vault uses a popup instead of a new tab 2017-10-10 12:42:24 -04:00
Kyle Spearrin 22e1c7d58d only skip username only fill when from autofiller 2017-10-07 13:17:43 -04:00
Kyle Spearrin 7561ae4996 skip autofill username option 2017-10-07 13:10:04 -04:00
Kyle Spearrin 79f20f09cb lint fixes 2017-10-06 10:36:45 -04:00
Kyle Spearrin d4cf0fe338 manage ui location for popup app 2017-10-06 00:05:08 -04:00
Kyle Spearrin 311a18a307 add site form and autofill detection improvements 2017-10-05 22:30:46 -04:00
Kyle Spearrin 9aaf080716 autofill adjustments 2017-09-29 15:12:23 -04:00
Kyle Spearrin 714b166035 sidebar is only available in newer ff versions 2017-09-29 09:13:21 -04:00
Kyle Spearrin 3ce2fb484a fix remember bug and auto-focus on lock screen 2017-09-28 11:03:41 -04:00
Kyle Spearrin 6fa5582883 added support for sidebar 2017-09-28 10:39:31 -04:00
Kyle Spearrin 068fd5d06c add/edit login custom fields 2017-09-25 10:20:26 -04:00
Kyle Spearrin eace0f32f0 copy totp to clipboard from popup document in ff 2017-09-22 15:31:31 -04:00
Kyle Spearrin 5089cbded6 autofill fixes 2017-09-22 15:11:30 -04:00
Kyle Spearrin 19621accaa Auto-fill additions/improvements
- Auto0fill custom fields
- Smarter auto-fill detection for usernames
- Auto-fill username even if no password on screen
2017-09-22 12:10:19 -04:00
Kyle Spearrin 835bb6ffa7 login custom fields view/edit 2017-09-21 22:45:24 -04:00
Kyle Spearrin 56e1f6c25b cipher request login subclass, sync fixes 2017-09-21 10:43:33 -04:00
Kyle Spearrin 8a1e8678f8 move from login to cipher apis 2017-09-20 17:13:38 -04:00
Kyle Spearrin b48c86a572 remove debug logging from sync operations 2017-09-20 12:33:18 -04:00
Kyle Spearrin fd538494c0 convert to using new sync api 2017-09-20 12:28:41 -04:00
Kyle Spearrin d1fb388ea3 switch back to forge decrypt implementation (perf) 2017-09-19 12:47:52 -04:00
Kyle Spearrin 9ee016251a move jwt token to authorization header 2017-09-14 13:21:00 -04:00
Kyle Spearrin e9e0abd792 log sync service 2017-09-08 13:39:14 -04:00
Kyle Spearrin f36c046a36 doRefreshToken to its own function 2017-09-07 23:56:05 -04:00
Kyle Spearrin 41c32f3874 auto-fill basic auth prompts 2017-09-07 23:26:56 -04:00
Kyle Spearrin 01e48377e9 combine token refresh methods. added api logging 2017-09-07 13:21:49 -04:00
Kyle Spearrin ff0fde161e rebuild tokenrequest obj on login api 2017-09-06 15:52:06 -04:00
Kyle Spearrin 4641240d47 refactor custom env urls, cleanup bg script a bit 2017-09-04 12:09:11 -04:00
Kyle Spearrin 1f8e30b5cd catch security error when setting env urls 2017-09-03 12:58:42 -04:00
Kyle Spearrin 19a59e6177 remove old auth bearer code. move sync methods 2017-08-31 14:17:52 -04:00
Kyle Spearrin 43c27387fc use access_token3 still for now 2017-08-30 13:00:43 -04:00
Kyle Spearrin de097eaacf fix this reference to sort method 2017-08-30 08:43:06 -04:00
Kyle Spearrin ae6c609c91 move sort to service 2017-08-30 08:35:34 -04:00
Kyle Spearrin e01f3fd40c sort fixes when never used 2017-08-29 13:03:08 -04:00
Kyle Spearrin 518585cfb5 track last used autofill for priority filling 2017-08-29 12:52:11 -04:00
Kyle Spearrin 8804cc5a96 lint fixes 2017-08-29 12:49:44 -04:00
Kyle Spearrin 69abbdaf8d fixes for edge 2017-08-28 22:27:29 -04:00
Kyle Spearrin c66803ce1f web vault url environment for U2F 2017-08-28 18:08:08 -04:00
Kyle Spearrin ad544e5240 refactor autofill. add auto-fill on page load 2017-08-28 13:00:46 -04:00
Kyle Spearrin c40465f292 handle revision api failure case 2017-08-28 11:24:14 -04:00
Kyle Spearrin 220703a9d7 environment settings 2017-08-22 12:01:17 -04:00
Kyle Spearrin 966927fe3c revert to single access token param 2017-08-10 10:16:26 -04:00
Kyle Spearrin 3ee9b1bba1 makeEncKey to use UInt8Array 2017-08-04 15:29:44 -04:00
Kyle Spearrin dedd64b82a added missing two-step login i18n strings 2017-07-31 09:54:52 -04:00
Kyle Spearrin a6ee05ef93 added option to disable auto totp copying 2017-07-22 23:09:01 -04:00
Kyle Spearrin 592b14149f copy totp to clipboard when autofilling 2017-07-22 23:09:01 -04:00
Kyle Spearrin e4baa19232 lint fixes 2017-07-14 15:34:05 -04:00
Kyle Spearrin cf850838b5 lint fixes 2017-07-14 15:09:41 -04:00
Kyle Spearrin 3a8f149008 premium membership page 2017-07-13 22:33:34 -04:00
Kyle Spearrin 1c693a45b3 totp alg updates 2017-07-13 14:46:16 -04:00
Kyle Spearrin 81ad214f2f misc fixes 2017-07-12 13:38:06 -04:00