Commit Graph

570 Commits

Author SHA1 Message Date
Eddie Wang 818ad9fef5 Add Private key to V3 keystore functionality (#336)
* setup components, reducers, actions, and added routes

* removed redux, using local state and ethereumjs-wallet

* added validation and state reset

* added visibility options and changed btn colors

* updated isValidPrivKey and updated some components to stateless functional comp

* componentize input and add placeholder message

* removed cn from KeystoreDetails

* adds isValidPrivate to buffer check and min pw length to 0

* remove packagelock to fix merge conflict

* added utilities tab removed keystore tab

* adds fixpkey in validators and uses it across two components

* added checksum removal and btn css fixes

* Fixed en.json formatting - also removed fixedPkey

* Added unit tests for isValidPrivKey

* add runtime checks and rename stripHexPrefix to strippedPrivateKey

* switch back to stripHexPrefix

* Add constant for n-factor

* enforce 9 char minimum
2017-11-30 14:16:30 -06:00
Daniel Ternyak 4f48eee99e
chore(package): update webpack to version 3.9.1 (#498)
Closes #497
2017-11-30 12:11:44 -06:00
greenkeeper[bot] 92a4551085 Update typescript to the latest version 🚀 (#467)
* chore(package): update typescript to version 2.6.2

* fix RPC type error
2017-11-30 11:36:10 -06:00
Eddie Wang 980366694c RPC Error Handling (#384)
* create ensureOkResponse and check against RPC responses

* Merge with develop branch

* added single unit test

* main nodes added

* getBalance method

* remove console.log

* minor conflict fix - readd polyfill to integration test

* added two more method tests

* seperate rpcnode from extended classes

* fixes etherscan

* added all tests

* revert files with only formatting changes

* remove console.logs - still need to update snapshot before tests will pass

* updated snapshot due to RpcNode fixes for Infura and Etherscan nodes

* added RpcNodeTest config so we don't rely on constants in code

* undo formatting changes

* Multiple fixes to error handling tokens.

* Fixed TSC errors

* Minor styling edit - change async func to promise

* changed shape of tokenBalances

* change balance type back to stricter TokenValue type

* remove package.json change and include test for error state.

* minor change removing unneeded line of code

* added longer timeout for api

* update snapshot
2017-11-29 23:35:17 -06:00
skubakdj a40b22fc68 Modified File Blacklist for Travis (#448) 2017-11-29 22:26:27 -06:00
skubakdj 6c09e7160a Saga Testing (#415)
* add exports to config saga, refactor

* add config saga tests

* add exports to necessary files

* add remaining saga test & snapshots

* update orders saga spec to use Infinity constant

* update dWallet saga spec snapshot

* refactor config saga slightly

* update config saga spec

* update config saga snapshot

* update rates saga spec

* remove unused vars from config saga spec
2017-11-29 22:07:16 -06:00
William O'Beirne 31963b334c CI & Commit Hook Improvements (#411)
* Add tscheck command, add more stuff to prepush and precommit hooks, clean up travis output.

* Move tscheck to prepush, remove running tests entirely.

* Put tslint on prepush as well.
2017-11-29 17:20:24 -06:00
William O'Beirne 5d3e461301 Read-Only Address Wallet (#386)
* Check in.

* Add read only wallet and new types for that. Convert some components to require full wallet.

* Fix readonly property, fix uncaught throw.

* Disable address only on some tabs.

* Use FullWalletOnly render callback to handle signing.

* Work around uncertain wallet type.

* Fix function args.

* Undo bug fix that should be done in another branch.

* Disable button while address is bad.

* Remove log.

* Convert anonymous functions to class functions.
2017-11-29 17:14:57 -06:00
Daniel Ternyak 2030b60550
chore(package): update check-node-version to version 3.1.1 (#492)
Closes #490
2017-11-29 13:46:00 -06:00
William O'Beirne 5b07395ee4 Throw on CryptoCompare API error (#486)
* Throw properly on API error.
2017-11-29 13:45:38 -06:00
greenkeeper[bot] 51db31b9fa fix(package): update moment to version 2.19.3 (#491) 2017-11-29 12:42:54 -06:00
greenkeeper[bot] a3f35f565f fix(package): update react to version 16.2.0 (#489) 2017-11-28 21:48:08 -06:00
greenkeeper[bot] 03583ee4f8 fix(package): update react-dom to version 16.2.0 (#488) 2017-11-28 21:43:31 -06:00
greenkeeper[bot] 080f2e0adb chore(package): update react-test-renderer to version 16.2.0 (#487) 2017-11-28 21:39:43 -06:00
Eddie Wang 01f020ff59 Strip hex prefix from raw private key displayed during wallet generation (#388) 2017-11-28 18:56:16 -06:00
greenkeeper[bot] 6da5fac1d1 Update @types/history to the latest version 🚀 (#389)
* chore(package): update @types/history to version 4.6.2

* Rework type to newly added history overrides.
2017-11-28 18:47:29 -06:00
William O'Beirne 2451f817d4 Display less than for low balances (#485)
* Display less than for short balances.

* show 4 decimals places for short value
2017-11-28 18:28:30 -06:00
William O'Beirne 1221a73a46 Better Offline Detection / Handling (#478)
* Change navigator.onLine to actually pinging the network. Refactor notifications to take Infinity instead of 'infinity'

* Stop polling when forced offline.

* Show spinners if unit display balance is null, show offline text if were actually offline.

* Fix issue with typescript and connected union-prop components.

* Only ping the node when navigator.onLine changes.
2017-11-28 18:17:26 -06:00
greenkeeper[bot] 1eb687c670 chore(package): update @types/lodash to version 4.14.86 (#477) 2017-11-28 12:15:27 -06:00
greenkeeper[bot] a16964f9f9 chore(package): update redux-test-utils to version 0.2.2 (#475) 2017-11-28 07:29:28 -06:00
James Prado 8d91979e26 Refactor & Update Footer to Match V3 (#455) 2017-11-27 23:43:30 -06:00
greenkeeper[bot] 2d642f3dc7 chore(package): update check-node-version to version 3.0.0 (#449) 2017-11-27 23:00:11 -06:00
James Prado 34ca5a6d1d Show confirm transaction copy during hardware wallet signing (#454)
* Add msg for users to confirm tx on hw

* Update msg
2017-11-27 22:52:52 -06:00
William O'Beirne 37184e4c4e Remove duplicate transaction.ts file (#468) 2017-11-27 22:33:38 -06:00
greenkeeper[bot] 6bd4cda4ee chore(package): update @types/react-redux to version 5.0.14 (#471) 2017-11-27 18:39:21 -06:00
skubakdj 142ec4adc8 Redux-Form Refactor - Bugfix (#469)
* remove walletPasswordForm prop

* update GenerateWallet test

* update GenerateWallet snapshot
2017-11-27 16:27:49 -06:00
greenkeeper[bot] c9ad43969c chore(package): update @types/react-router to version 4.0.19 (#465) 2017-11-27 14:34:09 -06:00
greenkeeper[bot] af5fc98eec chore(package): update @types/react-router-dom to version 4.2.3 (#463) 2017-11-27 14:33:32 -06:00
greenkeeper[bot] 96cc41b7df chore(package): update webpack-dev-middleware to version 1.12.2 (#460) 2017-11-27 14:33:10 -06:00
skubakdj 2570abd977 Remove Redux-Form in Generate Wallet (#466)
* remove redux-form from package.json, vendors, reducers

* refactor GenerateWallet components, remove redux-form dependency
2017-11-27 14:31:23 -06:00
greenkeeper[bot] b2a3e1e45e chore(package): update webpack-hot-middleware to version 2.21.0 (#457) 2017-11-26 17:57:34 -06:00
Daniel Ternyak f63055bd63
chore(package): update copy-webpack-plugin to version 4.2.3 (#452)
Closes #451
2017-11-24 13:18:29 -06:00
greenkeeper[bot] 63f8c7b580 chore(package): update @types/jest to version 21.1.8 (#450) 2017-11-23 12:53:24 -06:00
greenkeeper[bot] 8d9373eee9 chore(package): update webpack-dev-middleware to version 1.12.1 (#447) 2017-11-22 17:45:31 -06:00
greenkeeper[bot] a03a170545 chore(package): update @types/react-router-dom to version 4.2.2 (#439) 2017-11-21 18:32:40 -06:00
Daniel Ternyak a5fd608f17
Re-Order Decrypt Options to Match V3 (#445) 2017-11-21 18:32:20 -06:00
greenkeeper[bot] d8c8a49d7d chore(package): update @types/jest to version 21.1.7 (#438) 2017-11-21 14:29:14 -06:00
James Prado d28f2cee1f Remove Bity Rates from Local Storage (#435)
* Remove bityRates from localstorage

* Store swap.bityRates in ls as initial value

* Store swap bityrates as empty obj in ls
2017-11-21 13:55:46 -06:00
greenkeeper[bot] f9b64d1f25 chore(package): update @types/react-router to version 4.0.18 (#440) 2017-11-21 13:55:20 -06:00
James Prado 0ef6380777 Wallet-Decrypt/Send Tooltips (#436)
* Update Help component && Fix some css errors
2017-11-21 12:33:20 -06:00
Daniel Ternyak 410927010b
Merge pull request #433 from MyEtherWallet/greenkeeper/node-sass-4.7.2
Update node-sass to the latest version 🚀
2017-11-20 16:13:22 -06:00
greenkeeper[bot] 794eef38c8 chore(package): update node-sass to version 4.7.2 2017-11-20 21:56:11 +00:00
Daniel Ternyak 5e18ec4311
Tag Alpha 0.0.4 (#428) 2017-11-18 14:54:08 -06:00
William O'Beirne c0cd668c64 Custom Nodes (#322)
* Layed out components for custom nodes.

* Outline of custom nodes. Still missing various features and error handling.

* Persist custom nodes to local storage.

* Make custom nodes removable.

* Add latest block functions, call it when switching nodes.

* Initialize correct node, move node utils into utils file.

* Fix names

* Send headers along with rpc requests.

* Remove custom network options for now.

* PR feedback.

* One last log.

* Fix tests.

* Headers in batch too.

* Switch to node when you add it.

* Reduce hackery.

* Clean up linter and tsc.

* Fix latest block hex conversion.

* Unit tests.

* Fix missing property.

* Fix Modal title typing.
2017-11-18 14:33:53 -06:00
William O'Beirne 1510533ec7 Equivalent values for all tokens (ETH + ERC20s) (#420)
* Fetch all token rates at once. Add option for displaying all token values.

* Ensure spinner always shows before equivalent values are ready.

* Fix up test.
2017-11-18 14:15:02 -06:00
greenkeeper[bot] c1b7ba5b5e chore(package): update awesome-typescript-loader to version 3.4.0 (#424) 2017-11-18 12:44:27 -06:00
greenkeeper[bot] 7699dcefd5 chore(package): update node-sass to version 4.7.1 (#422) 2017-11-18 01:31:23 -06:00
skubakdj c31490c8b4 Redux Reducer Tests (#390)
* set return type in resetWallet action creator

* update config reducer test

* update generateWallet reducer test

* update swap reducer test

* update wallet reducer test

* create customTokens reducer test

* create deterministicWallets reducer test

* create ens reducer test

* create notifications reducer test

* add crypto compare success/fail actions

* add rates reducer test

* remove unnecessary comments

* remove more comments

* remove duplicate import

* update wallet reducer test to use BN

* update dWallet reducer test to use BN

* update wallet reducer tests

* update rates reducer tests
2017-11-17 13:12:27 -08:00
William O'Beirne 159000caf8 Add information about typing connected components. (#412) 2017-11-17 10:49:00 -08:00
greenkeeper[bot] ca76661957 chore(package): update copy-webpack-plugin to version 4.2.1 (#417) 2017-11-17 10:34:22 -08:00