Commit Graph

692 Commits

Author SHA1 Message Date
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
greenkeeper[bot] 8262930200 chore(package): update ts-loader to version 3.3.0 (#874) 2018-01-21 12:23:19 -06:00
Danny Skubak 2d6dbbcb18 Cancel Requests on Wallet Switch (#873)
* add cancellation to nonce

* add cancellation to account/token balance updates

* update tests
2018-01-21 12:23:09 -06:00
Daniel Ternyak ab5fa1a799
Support Non-Ethereum Networks (#849)
* Make UnlockHeader a PureComponent

* MVP

* actually disable wallet format if not determined to be valid format for wallet

* default to correct derivation in mnemonic modal

* cleanup

* fix tslint

* use enums for HD wallet getPath

* Add stricter typing

* Fix labels not updating on selector

* Ban hardware wallet support for custom network unsupported chainIds

* Fix type error

* Fix custom node dPath not being saved

* Fix mnemonic modal

* default path bugfixes

* add react-select

* misc fixes; rabbit holing hard.

* fix tslint

* revert identicon changes

* reload on network change :/

* actually reload on network change

* really really reload on network change

* tslint fixes

* Update styles

* set table width

* fix package versioning

* push broken sagas

* Fix saga test

* fix tslint

* address round of review

* move non-selectors out to utilty; adjust reload timer

* cleanup network util comments

* manage wallet disable at WalletDecrypt instead of in both WalletDecrypt and WalletButton

* Separate WalletDecrypt props into ownProps / StateProps

* disable payment requests on non-eth networks

* specialize connect; separate props

* remove unused state prop

* remove bad import

* create tests for networks

* Clarify Lite-Send error on non-ethereum networkS

* remove string option for network config name

* Create concept of always-on 'EXTRA_PATHS'; include SINGULAR_DTV legacy dPath in 'EXTRA_PATHS'

* fix multiple imports

* address PR comments
2018-01-20 14:06:28 -06:00
greenkeeper[bot] 2420f5488b chore(package): update jest to version 22.1.4 (#868) 2018-01-20 11:58:54 -06:00
James Prado f06d814e24 Rotate promos (#858)
* Rotate promos

* Animate promo rotation

* Update promo rotate funct
2018-01-18 23:40:31 -06:00
Danny Skubak f13d490f1c Fix Offline Send (#857)
* add offline check to isValidAmount selector

* add z-index fix to AdvancedGas components

* remove z-index mod, use bootstrap class instead
2018-01-18 20:55:02 -06:00
greenkeeper[bot] a82cbfbc72 fix(package): update hard-source-webpack-plugin to version 0.5.16 (#863) 2018-01-18 19:58:33 -06:00
greenkeeper[bot] c7372388df chore(package): update @types/lodash to version 4.14.93 (#864) 2018-01-18 19:58:00 -06:00
greenkeeper[bot] 2699b9b13f chore(package): update jest to version 22.1.3 (#861) 2018-01-18 13:21:44 -06:00
William O'Beirne 1713e3fa29 Update trezor-connect.js to v4 (#856)
* Update trezor connect.

* Re-ignore trezor connect, fix typings.
2018-01-17 23:16:47 -06:00
greenkeeper[bot] 9c9d6c2f61 chore(package): update jest to version 22.1.2 (#852) 2018-01-17 11:22:37 -06:00
Danny Skubak 446cc96de1 Ensure Deterministic Builds (#845)
* add klaw-sync dep, add postbuild script

* specify exact klaw-sync version
2018-01-16 12:50:39 -06:00
greenkeeper[bot] d9c7e33bc1 chore(package): update check-node-version to version 3.2.0 (#844) 2018-01-15 23:16:49 -06:00
Eddie Wang 9fb9fcd134 Add webpack-subresource-integrity plugin (#789)
* Add subresource integrity

* add anonymous crossOriginLoading

* add missing ,
2018-01-15 16:51:35 -06:00
Daniel Ternyak 5f07814741
Merge pull request #836 from MyEtherWallet/greenkeeper/jest-22.1.1
chore(package): update jest to version 22.1.1
2018-01-15 12:56:19 -06:00
greenkeeper[bot] 06eebc2186 chore(package): update jest to version 22.1.1
Closes #833
2018-01-15 15:23:48 +00:00