Commit Graph

688 Commits

Author SHA1 Message Date
Daniel Ternyak 7e154175f7
Address Derivation (CI) (#529)
* improve derivation-checking performance by batching docker calls; move into spec dir

* remove npm command to run derivation-checking; create 'int-test' (integration) command and hook up into jest

* add integration testing to CI; configure docker / docker image (dternyak/eth-priv-to-addr) in CI

* docker build -> docker pull

* use travis build matrix to group tests and improve build times

* remove int-test call

* attempt travis 'job' with all tests running in parallel

* remove typo

* attempt travis 'job' with all tests running in parallel (round 2)

* organize integration tests

* refactor/cleanup

* refactor/address comments
2017-12-05 22:24:40 -08:00
Daniel Ternyak f6965abb9d
chore(package): update nodemon to version 1.12.5 (#526)
Closes #518
2017-12-05 17:53:37 -08:00
greenkeeper[bot] 45d9c933e6 chore(package): update prettier to version 1.9.1 (#527) 2017-12-05 17:45:37 -08:00
greenkeeper[bot] 599a24056e chore(package): update lint-staged to version 6.0.0 (#505) 2017-12-05 13:54:20 -08:00
greenkeeper[bot] 4e8ae02dd9 chore(package): update @types/lodash to version 4.14.87 (#513) 2017-12-05 13:13:09 -08:00
William O'Beirne 8f878abab1 Mobile CSS Improvements (#525)
* Banner announcement cuts off mailchimp on mobile

* Hide site version on mobile. Added version to footer as well in case someone _really_ needs to check it.

* Shrink pre-footer font size on mobile.

* Fix column breakpoint for force offline send (Was stacking, now remains side-by-side.)

* Reduce header dropdown sizes at mobile. Force gas dropdown to the left side so its not offscreen.

* Columnify contracts for better mobile behavior and less code.

* Remove leftover string interpolation

* Better mobile header / nav sizing.
2017-12-05 11:51:21 -08:00
greenkeeper[bot] 69a63d8731 chore(package): update webpack to version 3.10.0 (#517) 2017-12-05 11:37:52 -08:00
greenkeeper[bot] d14dea5bd6 chore(package): update prettier to version 1.9.0 (#524) 2017-12-05 10:37:25 -08:00
Daniel Ternyak 7c53eec7b2
Fix Production Build (#522) 2017-12-04 19:13:27 -08:00
greenkeeper[bot] 6fd487323a chore(package): update @types/react to version 16.0.26 (#514) 2017-12-04 14:54:20 -06:00
HenryNguyen5 387567e43b Fix Prettier Configuration (#515) 2017-12-03 18:32:07 -06:00
greenkeeper[bot] 646824de14 chore(package): update ts-jest to version 21.2.4 (#506) 2017-12-02 16:39:23 -06:00
William O'Beirne 6cb0ebff5b Fix EquivalentValue crash on invalid tokens (#511) 2017-12-01 14:40:27 -06:00
Daniel Ternyak 4b3def2fce
Tag Release 0.0.5 (#507) 2017-12-01 10:34:27 -06:00
skubakdj c54453729c Web3 Future Proof, Refactor, Bugfixes (#481)
* correct web3 hide/show logic

* refactor web3 node lib

* refactor web3 wallet to use new web3 node

* update web3 node init to use new lib

* update web3 wallet saga to use new lib, address unlock flow bug

* remove comments

* add validators for web3 methods

* update web3 node to use latest standards

* remove legacy function

* update lib call, add account unlock check

* add & use new flavor of unsetWeb3Node

* address PR feedback

* add test, update tests, update snapshot
2017-12-01 10:32:29 -06:00
William O'Beirne b638b746de Custom Nodes - Final Touches (#501)
* Add warning about matching nodes, only allow one url:port combination of nodes.

* Fix up alert styling.

* Custom network form.

* Add custom network to redux store. Setup infrastructure for removal and display.

* Persist custom networks to LS, show them in display.

* Force chain id, make typing happy.

* Display custom networks in network dropdown.

* Fix form validation, purge unused custom networks.
2017-12-01 10:09:51 -06:00
greenkeeper[bot] eb490a78b3 chore(package): update awesome-typescript-loader to version 3.4.1 (#503) 2017-11-30 22:05:27 -06:00
William O'Beirne c88ff3ba69 Arrow function to prevent error in Sign Message (#502) 2017-11-30 15:58:28 -06:00
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