1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-30 13:03:53 +01:00
Commit Graph

930 Commits

Author SHA1 Message Date
Oscar Hinton
c6c8042ecf [Typecript] Convert current (#372)
* Convert current controller to component.

* Remove unessesary $ctrl.loaded checks.

* Fix bindings for callbacks.

* Re-format html.

* Add UtilService interface to current component.

* Set sucessfully to boolean, change setTimeout to $timeout.
2017-11-14 13:44:34 -05:00
Kyle Spearrin
0c8dc0c3ec check for errors and remove scope dependency 2017-11-14 11:38:21 -05:00
Kyle Spearrin
00b8a3e7be convert export to ts component 2017-11-14 11:29:00 -05:00
Kyle Spearrin
b9139eec33 refactored out main. props to each ctrl. 2017-11-14 10:10:13 -05:00
Kyle Spearrin
947e51f3b5 pop out component 2017-11-14 10:04:23 -05:00
Kyle Spearrin
f084da6202 no devicePushToken for browser 2017-11-14 09:48:21 -05:00
Kyle Spearrin
ef0f4632ca remove unused currentYear 2017-11-13 16:40:18 -05:00
Kyle Spearrin
4664c783f2 add missing types to models 2017-11-13 16:21:45 -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
b13bb49164 update autofiller to es6 syntax 2017-11-10 23:52:29 -05:00
Kyle Spearrin
12851a6e80 autofill improvements for cards and identities 2017-11-10 23:47:42 -05:00
Kyle Spearrin
8b0019ea94 fix password detection when changing 2017-11-10 22:05:10 -05:00
Kyle Spearrin
d63ae79704 no wrapping div for totp 2017-11-10 22:04:55 -05:00
Kyle Spearrin
105d21e75a formatting 2017-11-10 21:30:53 -05:00
Kyle Spearrin
594f2114a7 move tools component html 2017-11-10 21:23:50 -05:00
Kyle Spearrin
22409461dc
Merge pull request #367 from bitwarden/typescript
Typescript conversion
2017-11-09 22:45:30 -05:00
Kyle Spearrin
dd382ecee7 assign papaparse to window.Papa 2017-11-09 22:41:35 -05:00
Kyle Spearrin
133e3d5b55 remove jquery usage from bar 2017-11-09 22:38:09 -05:00
Kyle Spearrin
0f7a7c56dc fixes for initListSectionItemListeners 2017-11-09 21:58:46 -05:00
Kyle Spearrin
be389bd7ac duo fixes to window 2017-11-09 21:58:34 -05:00
Kyle Spearrin
7c3fec98d1 remove all jquery dependencies from popup 2017-11-09 21:58:22 -05:00
Kyle Spearrin
92192b4f6e initListSectionItemListeners on pass generator 2017-11-09 17:20:06 -05:00
Kyle Spearrin
9fe4b29a1c convert initListSectionItemListeners to js
Removed jQuery from background
2017-11-09 17:16:41 -05:00
Oscar Hinton
bcf0f19aa2 [Typescript] Convert password generator (#366)
* Convert password generator to typescript.

* Misc cleanup.
2017-11-09 15:33:51 -05:00
Kyle Spearrin
04ff1e6fba minify vendor 2017-11-09 14:28:18 -05:00
Kyle Spearrin
ae5ad770aa assign libs to window 2017-11-09 12:38:43 -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
f1e0681639 remove Q library 2017-11-07 17:04:04 -05:00
Kyle Spearrin
44eedc8b1d require all templates for in-line html 2017-11-07 16:59:21 -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
Kyle Spearrin
fda669c701 dont lose order of els when reducing limit 2017-11-04 10:21:23 -04:00
Kyle Spearrin
b1da228c36 missed $ctrl. on export check 2017-11-03 19:50:38 -04:00
Oscar Hinton
45a269a5f0 Fix initListSectionItemListeners (#355) 2017-11-03 17:21:07 -04:00
Oscar Hinton
8ae178aff3 Rewrite lock module to TypeScript. (#354) 2017-11-03 16:40:44 -04:00
Kyle Spearrin
e250d9b658 assign u2f to window 2017-11-03 16:08:52 -04:00
Kyle Spearrin
6d89cc91f7 fix callback for setUserIdAndEmail 2017-11-03 15:56:22 -04:00
Oscar Hinton
cee9face7f [TypeScript] Popup app services (#353)
* Convert services to typescript.

* Change to for of.
2017-11-03 15:53:35 -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
4d0c27d1f8 autofill animations 2017-11-02 16:46:40 -04:00
Kyle Spearrin
7c3b612f3f Revert "Added auto fill animation. (#341)"
This reverts commit 3061f276c5.
2017-11-02 16:36:12 -04:00
Ahmed Tarek
3061f276c5 Added auto fill animation. (#341)
* New Crowdin translations (#338)

* New translations messages.json (Chinese Simplified)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Romanian)

* New translations copy.resx (Romanian)

* New translations messages.json (Russian)

* New translations messages.json (Slovak)

* New translations messages.json (Spanish)

* New translations messages.json (Swedish)

* New translations messages.json (Thai)

* New translations messages.json (Turkish)

* New translations messages.json (Ukrainian)

* New translations messages.json (Danish)

* New translations messages.json (Vietnamese)

* New translations messages.json (Portuguese)

* New translations messages.json (Polish)

* New translations copy.resx (Chinese Simplified)

* New translations messages.json (French)

* New translations messages.json (Chinese Traditional)

* New translations messages.json (Croatian)

* New translations messages.json (Czech)

* New translations messages.json (Dutch)

* New translations messages.json (Finnish)

* New translations messages.json (German)

* New translations messages.json (Hindi)

* New translations messages.json (Hungarian)

* New translations messages.json (Indonesian)

* New translations messages.json (Italian)

* New translations messages.json (Japanese)

* version bump

* subtitle for folder listing. folder icon.

* version bump

* subtitle should be searchable

* Added autofill animation.
2017-11-02 16:35:10 -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
7455b39835 reference component now that ui router is updated 2017-11-02 08:11:10 -04:00
Oscar Hinton
a66e32590b [Typescript] Convert tools page to TS (#344)
* Convert controller to TS.

* Remove $scope and move methods into class.

* Convert tools to component.
2017-11-02 08:02:14 -04:00
Kyle Spearrin
e415a659ad migrate crypto service to ts 2017-11-01 23:40:39 -04:00
Kyle Spearrin
53824a02a2 crypto key 2017-11-01 23:39:42 -04:00
Kyle Spearrin
c073d74e04 utils service additions 2017-11-01 23:39:42 -04:00
Kyle Spearrin
9633ffe265 enums 2017-11-01 23:39:42 -04:00
Oscar Hinton
c18f5a8076 Upgrade ui-router to 1.0.10 (#345)
* Start upgrading to ui-router 1.0.0

* Remove ui-router event polyfill.
2017-11-01 19:38:30 -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
34ae8adf4d promise resolve shorthand 2017-11-01 14:20:18 -04:00
Kyle Spearrin
3f354336ef import models individually 2017-11-01 14:15:48 -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
Kyle Spearrin
6086bf5812 typescript models 2017-11-01 10:27:07 -04:00
Oscar Hinton
4b68163cbd Convert utilService to typescript. (#342) 2017-11-01 09:18:05 -04:00
Kyle Spearrin
72d09b0331 subtitle should be searchable 2017-10-31 10:29:31 -04:00
Kyle Spearrin
015658b6df version bump 2017-10-31 10:06:47 -04:00
Kyle Spearrin
0d62f99437 subtitle for folder listing. folder icon. 2017-10-31 10:05:33 -04:00
Kyle Spearrin
3493379aec format index.html 2017-10-31 09:25:27 -04:00
Kyle Spearrin
97f65b19c8 convert action buttons component to ts 2017-10-31 09:17:18 -04:00
Kyle Spearrin
b3c671cca0 convert icon component to ts 2017-10-30 23:44:53 -04:00
Oscar Hinton
f922b2e0cb Add TSLint (#340)
* Add tslint.

* Disable alphabetic ordering.

* Change place on selectionTitle.
2017-10-30 17:49:56 -04:00
Kyle Spearrin
b8a2088279 version bump 2017-10-30 08:58:42 -04:00
Kyle Spearrin
744408e227
New Crowdin translations (#338)
* New translations messages.json (Chinese Simplified)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Romanian)

* New translations copy.resx (Romanian)

* New translations messages.json (Russian)

* New translations messages.json (Slovak)

* New translations messages.json (Spanish)

* New translations messages.json (Swedish)

* New translations messages.json (Thai)

* New translations messages.json (Turkish)

* New translations messages.json (Ukrainian)

* New translations messages.json (Danish)

* New translations messages.json (Vietnamese)

* New translations messages.json (Portuguese)

* New translations messages.json (Polish)

* New translations copy.resx (Chinese Simplified)

* New translations messages.json (French)

* New translations messages.json (Chinese Traditional)

* New translations messages.json (Croatian)

* New translations messages.json (Czech)

* New translations messages.json (Dutch)

* New translations messages.json (Finnish)

* New translations messages.json (German)

* New translations messages.json (Hindi)

* New translations messages.json (Hungarian)

* New translations messages.json (Indonesian)

* New translations messages.json (Italian)

* New translations messages.json (Japanese)
2017-10-30 08:46:08 -04:00
Kyle Spearrin
141dfa2dc7 a few formatting updates 2017-10-28 22:39:38 -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
e57f3fe5f0 autofill command should only query current window 2017-10-27 10:34:38 -04:00
Kyle Spearrin
9488b48915 non-checkboxes have higher priority in limits 2017-10-26 09:19:18 -04:00
Kyle Spearrin
a2480bf2df fixes for keys 2017-10-26 08:32:04 -04:00
Kyle Spearrin
f491515904 timeout on first collectIfNeeded 2017-10-25 23:22:17 -04:00
Kyle Spearrin
6896822863 saveAddLogin fix for password 2017-10-25 23:13:50 -04:00
Kyle Spearrin
d19fcd6e4c autofill script fixes 2017-10-25 23:07:00 -04:00
Kyle Spearrin
ebf06a66c5 scope collection from notification bar to a frame 2017-10-25 22:46:02 -04:00
Kyle Spearrin
1c3143867b cleanup autofill service a bit 2017-10-25 21:55:52 -04:00
Kyle Spearrin
0bcc764274 default cipher type data objects 2017-10-25 15:45:39 -04:00
Kyle Spearrin
19f00ebc9c unreachable break 2017-10-25 15:32:07 -04:00
Kyle Spearrin
58fe7dcda4 parse responseText for error model 2017-10-24 14:48:58 -04:00
Kyle Spearrin
c2a49d1074 notification bar tweaks 2017-10-24 13:04:37 -04:00
Kyle Spearrin
18277207f6 fix concat 2017-10-23 23:20:56 -04:00
Kyle Spearrin
0c90d9dba2 set icons server environment url 2017-10-23 23:05:24 -04:00
Kyle Spearrin
a6d56975fb update exporter for logins and note types 2017-10-23 12:40:54 -04:00
Kyle Spearrin
3c296dc5d4 notification bar fixes for edge cases 2017-10-21 14:40:56 -04:00
Kyle Spearrin
8a7e04ddc2 observe subtree 2017-10-21 13:11:47 -04:00
Kyle Spearrin
c26976e865 fixes 2017-10-21 13:11:47 -04:00
Kyle Spearrin
a465074cfc in slide down on lock 2017-10-19 10:27:15 -04:00
Kyle Spearrin
e64714c8d5 open popup when noop item clicked 2017-10-19 09:58:31 -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
77c3daed0e remove deprecated code 2017-10-18 16:10:28 -04:00
Kyle Spearrin
23d1f076f4 make sure uri has . in it before prefixing http 2017-10-18 15:53:06 -04:00
Kyle Spearrin
74eeb1a3c1 fixes from refactors 2017-10-18 14:56:59 -04:00
Kyle Spearrin
4510c80395 New Crowdin translations (#315)
* New translations messages.json (Chinese Simplified)

* New translations messages.json (Portuguese, Brazilian)

* New translations messages.json (Romanian)

* New translations messages.json (Russian)

* New translations messages.json (Slovak)

* New translations messages.json (Spanish)

* New translations messages.json (Swedish)

* New translations messages.json (Thai)

* New translations messages.json (Turkish)

* New translations messages.json (Ukrainian)

* New translations messages.json (Danish)

* New translations messages.json (Vietnamese)

* New translations messages.json (Portuguese)

* New translations messages.json (Polish)

* New translations messages.json (French)

* New translations messages.json (Chinese Traditional)

* New translations messages.json (Croatian)

* New translations messages.json (Czech)

* New translations messages.json (Dutch)

* New translations messages.json (Finnish)

* New translations messages.json (German)

* New translations messages.json (Hindi)

* New translations messages.json (Hungarian)

* New translations messages.json (Indonesian)

* New translations messages.json (Italian)

* New translations messages.json (Japanese)
2017-10-18 13:49:15 -04:00
Kyle Spearrin
1443e4d74a change state, province, and country names to codes 2017-10-18 13:05:54 -04:00
Kyle Spearrin
c3121726d8 add login 2017-10-18 13:04:33 -04:00
Kyle Spearrin
170484ba11 renaming logins to generic items 2017-10-18 12:22:56 -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
69c230af94 fix context menu for logins 2017-10-18 00:05:31 -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
9fe35a9aef filter senders for autofill 2017-10-17 22:52:56 -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
358fb9b277 one time bind various props 2017-10-17 16:38:09 -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
cebf913999 updates to icon component and state init 2017-10-17 13:16:05 -04:00