Commit Graph

708 Commits

Author SHA1 Message Date
Daniel Ternyak cfa2290823
Improve CI Performance (#971) 2018-02-01 01:03:36 -06:00
greenkeeper[bot] 00a84ec0c5 chore(package): update electron-builder to version 19.55.3 (#965) 2018-01-30 11:11:42 -06:00
Daniel Ternyak 84bae60c02
Refactor Generate Transaction (#960)
* Make generic modal

* Allow generic modals to be injected into send button component

* Refactor generate transaction, cleanup transaction sagas, simplify signing process

* Get passing unit tests

* Make previous test more comprehensive

* Fix ts errors
2018-01-29 16:58:07 -06:00
greenkeeper[bot] f748f22e2e chore(package): update @types/webpack-env to version 1.13.4 (#959) 2018-01-29 16:40:27 -06:00
greenkeeper[bot] 10c59ba100 chore(package): update css-loader to version 0.28.9 (#853) 2018-01-29 16:24:06 -06:00
greenkeeper[bot] 0a1b657c71 chore(package): update @types/jest to version 22.1.1 (#956) 2018-01-29 16:18:59 -06:00
greenkeeper[bot] 9dc47f5f58 chore(package): update @types/lodash to version 4.14.98 (#958) 2018-01-29 16:18:17 -06:00
William O'Beirne 3f4837c7c5 Fix metamask reject error (#957) 2018-01-29 16:17:58 -06:00
Daniel Ternyak 0017d5f075
fix(package): update uuid to version 3.2.1 (#848)
Closes #847
2018-01-29 16:08:47 -06:00
HenryNguyen5 c84740c4d4 Generic Confirmation Modal (#940)
* Make generic modal

* Allow generic modals to be injected into send button component
2018-01-29 15:38:28 -06:00
William O'Beirne 9fd00a4f70 MEW-01-011: remove dangerouslySetInnerHTML / Add Lint Rule (#955) 2018-01-29 14:51:02 -06:00
William O'Beirne 9ee30b957d Address messages, warnings and gas limits (#930)
* Move address messages to config folder, add some other messages for common pitfalls.

* Fix checksum vs lowercase issues.

* Use gas limit if an address message specified one. Allow messages to have a custom severity. Add a function for getting message to reduce complexity.

* Handle address message gas limit on all actions, make separate saga fn.

* Apparently I used the wrong takeEvery?
2018-01-29 14:00:43 -06:00
William O'Beirne d1a2c885a2 Performance Improvements (Pure components, debounced gas slider) (#899)
* PureComponent a ton of non-connected components.

* Debounce gas price slider. Keep gas price in state to reflect changes immediately.

* PureComponent balance sidebar and swap unconnected components.

* Import correct component.

* Move debouncing of gas slider to sagas via gasPriceInputIntent action.

* Remove console log.

* Remove leftover file from merge.
2018-01-29 13:13:46 -06:00
greenkeeper[bot] ae8b123cfd chore(package): update ts-jest to version 22.0.2 (#952) 2018-01-29 12:24:37 -06:00
William O'Beirne 83cc70f9c7 Update Readme, bump nvmrc (#954)
* Moved some of readme to wiki. Updated with new commands and feedback.

* Clarify addl dependencies.
2018-01-29 12:24:20 -06:00
Daniel Ternyak d661f0ff5f
Handle unsupported units in EquivalentValues (#939) 2018-01-29 12:23:39 -06:00
Daniel Ternyak 13ad2ada84
Update Electron to latest version (#937) 2018-01-27 17:26:53 -06:00
Daniel Ternyak c1d352bcd0
Remove store2 dependency (#936) 2018-01-27 16:47:00 -06:00
greenkeeper[bot] ab168964be chore(package): update @types/lodash to version 4.14.97 (#935) 2018-01-26 22:08:00 -06:00
greenkeeper[bot] cbb5e5ca30 chore(package): update lint-staged to version 6.1.0 (#927) 2018-01-26 16:12:25 -06:00
William O'Beirne 7fe2888633 Passwordify Private Key & Mnemonic Inputs (#925)
* Create reusable password toggle component, convert private key and mnemonic to it.

* Convert keystore modal to togglable password.

* Remove the restore keystore tab code (defunct).

* Replace wallet info with togglable password. Allow for controlled togglable password.

* Convert last password component (generate) and cleanup unneeded files and styles.
2018-01-26 16:11:52 -06:00
greenkeeper[bot] 77ddf602cc chore(package): update style-loader to version 0.20.0 (#932) 2018-01-26 15:31:49 -06:00
greenkeeper[bot] 2ad766ce99 chore(package): update @types/react-select to version 1.2.0 (#929) 2018-01-26 14:13:02 -06:00
William O'Beirne 2309d05c06 Disable more wallets conditionally + explain why (#924)
* Add more wallet disables, move all into selector.

* Add reasons for disabled wallets.

* Disable read only in lite send.

* Fix view address showing insecure icon.
2018-01-26 14:08:39 -06:00
William O'Beirne df52521c17 MEW-01-009 & MEW-01-010: Electron security fixes (#910)
* Handle opening of external links in electron. Minor refactor of window code.

* Convert updates from in-app modal to electron dialogs. Remove in-app code and preload bridge.

* Refine new window blocking. Re-enable tsconfig to look at electron-app.

* Clean up shared

* Whoops, wrong protocol format
2018-01-26 13:53:51 -06:00
greenkeeper[bot] 2e49d4718b chore(package): update @types/lodash to version 4.14.96 (#911) 2018-01-25 02:00:57 -06:00
James Prado c631f45ab7 Improve Gas Price UX (Part 2) (#850)
* Remove gas dropdown & Add gas sliders

* Update styles

* Revert changes made to requestpayment.tsx

* Update style & add custom labels to GasLimitField

* Update styles

* Update confirm transaction modal

* Revert "Update confirm transaction modal"

This reverts commit 743c9a505fe070feb55f7af550ad918a3d8899d1.

* Add transaction fee to tx confirmation modal

* Update styles

* Remove old gasPriceDropdown files & use network units in tx fee

* Add option to lock gaslimit data

* fix tslint errors

* Rename lockData to readOnly

* Add option to check if validAmount before generating transaction

* Add nonce field if gas slider is readonly

* Automatically set nonce in  <Send/>

* Update snapshot

* Move getNonceRequested to GasSlider component

* Add optional to check value for isValidAmount selector

* Add selector for transaction fee

* Update GasSlider component & Rename to Gas

* update snapshots

* Fix subtabs className

* Update styles

* Remove dataField on contract interact

* rename <Gas/> to <TXMetaDataPanel/>
2018-01-24 21:43:27 -06:00
HenryNguyen5 22c107fe4c Fix misc send issues (#916) 2018-01-24 20:41:39 -06:00
Danny Skubak 2fd4730ebe Add MyCrypto ETH Endpoint (#898) 2018-01-24 20:26:16 -06:00
Daniel Ternyak 02ffa3593a
chore(package): update image-webpack-loader to version 4.0.0 (#909)
Closes #908
2018-01-24 16:23:59 -06:00
William O'Beirne 4fb342a757 Discourage private keys (pt. 1) (#780)
* Insecure wallet blocker warning before unlocking insecure wallet.

* Wrap in quotes to avoid prettier error.

* Make account the homepage. Add a link to generate on the wallet unlock component.

* Fix send routing weirdness.
2018-01-24 16:23:20 -06:00
greenkeeper[bot] 2ac3015ad8 chore(package): update @types/lodash to version 4.14.95 (#906) 2018-01-23 22:54:32 -06:00
Daniel Ternyak 7c0cf7cb9e
Convert Contract dropdowns to react-select (#890)
* use Select in InteractForm instead of handrolled select

* convert InteractExplorer to react-select and tighten types

* remove log

* cleanup json abi placeholder

* Add react-select style overrides (#897)

* Add react-select style overrides

* Add comment

* Add variables & mixins

* Fix border off by 1px

* use simpler .map instead of forEach
2018-01-23 18:33:11 -06:00
greenkeeper[bot] 05b9066f9e chore(package): update @types/jest to version 22.1.0 (#902) 2018-01-23 17:54:23 -06:00
greenkeeper[bot] dbe911f722 chore(package): update @types/lodash to version 4.14.94 (#903) 2018-01-23 17:53:46 -06:00
greenkeeper[bot] f33afac0af chore(package): update @types/react-select to version 1.1.1 (#904) 2018-01-23 17:45:39 -06:00
greenkeeper[bot] 84e9a59ab7 chore(package): update ts-loader to version 3.3.1 (#891) 2018-01-23 11:07:22 -06:00
greenkeeper[bot] 01459b05bd fix(package): update electron-updater to version 2.20.1 (#892) 2018-01-23 11:06:56 -06:00
greenkeeper[bot] e988aa052a chore(package): update electron-builder to version 19.55.2 (#893) 2018-01-23 11:06:42 -06:00
greenkeeper[bot] ae525cbf1f chore(package): update enzyme-to-json to version 3.3.1 (#895) 2018-01-23 11:06:22 -06:00
Oli Oskarsson adc2bec161 Fix nonce field alignment (#894) 2018-01-23 11:05:39 -06:00
HenryNguyen5 75d1be6961 Minimize re-renders due to gas price changes (#886) 2018-01-22 18:12:03 -06:00
William O'Beirne 182eaa4329 Electron App (#854)
* Basic webpack build started.

* Get build working with electron-packager. Not fully satisfied, might investigate electron-builder.

* Custom title bar

* Rewrite all webpack configs to use common function. Organize webpack utils. Split into multiple dist folders.

* Replace electron build with electron-builder. Leave around packager for a bit.

* Check in progress on updater.

* Update modal flow.

* Fix tscheck.

* Adjust publish info.

* Arbitrary version bump.

* Bump version again.

* 5.0.2 bump fix autodownload.

* 5.0.2 bump again, readd dmg

* 5.0.3 bump

* Turn auto update back off. Log errors. Revert versions.

* Add os-specific builds. Improve update failure.

* Open external links in browser in electron.

* Remove custom title bar temporarily.

* Add info about the update download to the modal.

* Turn off development changes.

* Take the postBuild sorting script and move it into a webpack config.

* Initial conversion to typescript and electron-webpack.

* Switch from electron-webpack back to custom config, clean up unused code, typify electron bridge.

* Better typing for bridge.

* Remove unnecessary file.

* Reminify.

* Add shared folder resolving to jest config.

* Add enum to electron events
2018-01-22 17:38:06 -06:00
William O'Beirne 81beab8bc0 Handle Ledger Error with Non-U2F Browsers (#882) 2018-01-22 14:59:02 -06:00
William O'Beirne a58097eeaa Various Browser Quirk Fixes (#881)
* Fix large images in onboarding in safari.

* Fix shapeshift banner centering, adjusted spacing and logo.

* Fix jagged rates.

* Fix small password input on Firefox.

* Remove top and bottom padding on form inputs that would cause cut off text.

* Dont remove top and bottom padding on textareas.

* Prevent flickering from rerender of promos.
2018-01-22 14:44:13 -06:00
William O'Beirne 592caaaf47 Sign Message v3 compatibility (#880)
* Change signed message shape to match v3

* Unit tests for signing

* Change subtab text.
2018-01-22 14:27:37 -06:00
greenkeeper[bot] 2d13c04835 chore(package): update lint-staged to version 6.0.1 (#867) 2018-01-22 06:24:59 -06:00
James Prado b7ba8ac22d Routing Improvements (#859)
* Nest Routes

* Update routing for subtabs

* Revert 'remove subtabs component'

* Update contract routes

* Update subtabs component

* Remove typo

* Update routing to handle disabled subroutes

* add disable prop to request payment tab

* Update request payment disabled condition

* Add CaptureRouteNotFound & RouteNotFound components

* Update ENS routing

* Remove any type

* Display 404 before unlocking wallet
2018-01-22 06:24:05 -06:00
James Prado f9c1134a16 Equivalent Values Bugfixes (#870)
Update <EquivalentValues /> component
Now works on non-ethereum networks
Update dropdown with new <Select /> from react-select
Calculates total value for all coins & tokens
2018-01-21 22:21:48 -06:00
Danny Skubak e0c4599b64 Advanced Settings Input Validation (#872)
* add gas limit/price constants

* add gas limit/price validators & selectors

* apply new gas limit/price validation to components and sagas

* create/apply function to sanitize advanced fields input

* add types, update tests

* fix unrelated failing test
2018-01-21 12:41:20 -06:00