Commit Graph

683 Commits

Author SHA1 Message Date
HenryNguyen5 41f8ab8966 Auto token add (#1808)
* Add support for decimal and symbol getters

* Make custom token form interactive via address lookup

* Add balance field, improve error handling

* Fix lint errors

* Fix erc20 interface

* Expand method name

* Normalize parameter name

* Remove extra variable

* Stricten typing for decimals

* Use common input field between decimal and symbol fields

* use mycrypto-nano-result
2018-06-15 16:10:30 -05:00
Danny Skubak cd26970d7f [Fix] Make ENS Value Consistent (#1956)
* add hex prefix to labelHash

* update formatting, display highest bid as ether

* remove unused var
2018-06-15 15:48:19 -05:00
William O'Beirne 88ba6b7d23 Fix Stuck Node on Metamask Logout (#1951) 2018-06-14 11:22:41 -05:00
William O'Beirne a3fe8db5cf No Private Keys Online (#1466)
* Alternative generate options

* Back button when choosing wallet options

* Disable insecure wallets online.

* Style adjustments.

* Splash of color, generate on html build too.

* Removed unnecessary image

* Delete file
2018-06-13 19:21:02 -05:00
Danny Skubak 9c9f3c3611 [Fix] Estimate Gas on Value Field Change (#1942)
* estimate gas on value set

* update test, add test, update snapshot
2018-06-13 17:54:05 -05:00
r-kononov 14e361b843 Add GO support (#1938) 2018-06-13 15:39:50 -05:00
HenryNguyen5 74cb8de16e Custom node defaults (#1829)
* Add eth-exists dep

* Add elementary support for custom nodes

* Update eth-exists references
2018-06-12 12:01:14 -05:00
Daniel Ternyak 237c826141
Show (AUTO) in Node Selection (#1931) 2018-06-11 17:54:36 -05:00
HenryNguyen5 59d2b73fad Revamp Offline Status Checker (#1917)
* Revamp app status to be event listener based

* Update lockfile

* Update snapshot

* Show invalid only if .has-blurred

* revert yarn.lock changes

* Clean up input classes and types (#1925)

* Show invalid for Nonce Field when empty (#1930)
2018-06-11 17:43:39 -05:00
Danny Skubak c21d520422 Bug Fix for #1813 (#1927)
* move transaction reset to componentWillMount

* revert initialState change
2018-06-11 16:53:49 -05:00
Danny Skubak d75cd5ccdb Bug Fix for #1863 (#1929)
* use RedirectWithQuery wrapper instead of Redirect

* remove unused var
2018-06-11 16:46:03 -05:00
William O'Beirne 5ba62ccd45 Hex prefix & checksum paper wallet address. (#1926) 2018-06-11 16:22:25 -05:00
Daniel Ternyak 835b81a94c
Set custom dPath for address verification on ledger (#1918)
* set custom dPath for address verification on ledger

* trigger mycryptobuild
2018-06-08 12:49:43 -05:00
Daniel Ternyak 2b60ba9650
Update Tokens (#1886) 2018-06-01 16:05:55 -05:00
Akira Takizawa 8e9e01ad4c ETC Chainkorea Node (#1877) 2018-05-31 10:45:58 -05:00
Daniel Ternyak b047c89690
Update ETC Epool Node URL (#1876) 2018-05-30 22:56:08 -05:00
Daniel Ternyak bc9ded503f
Remove MyCrypto Chrome Extension from Onboarding (#1875) 2018-05-30 22:36:04 -05:00
William O'Beirne c29d13eac8 Add New Networks w/ Refactor (MUSIC, ETSC, EGEM, CLO) (#1862)
* Add EGEM, ETSC, and MUSIC networks. Remove unused gasEstimate property.

* Add CLO
2018-05-30 18:57:12 -05:00
William O'Beirne 724f1161ea Fix getting stuck pending when node load fails (#1871) 2018-05-29 21:24:38 -05:00
Cody Burns 9f9f0a527a Update epool node (#1867)
mewapi.epool.io >> mew.epool.io
2018-05-29 16:09:19 -05:00
Daniel Ternyak e0fd7dfe56
Google Site Verification (#1865) 2018-05-29 13:45:04 -05:00
William O'Beirne a057136c83 Simplify Web3 Provider Identifier (#1861)
* Check in progress

* Revert some files to develop.
2018-05-29 13:39:20 -05:00
Daniel Ternyak 0f6273ec03
Fix JSON (#1866) 2018-05-29 12:45:28 -05:00
James Prado cecd7f865c Simplex promo (#1839)
* Add simplex promo for euro

* Fix when isEuroLocal() called

* Add promo strings to translation files
2018-05-29 10:52:14 -05:00
William O'Beirne a043334685 Node Refactor (#1603)
* Initial work on refactoring node definitions to reduce number of places theyre defined, amount of copy pasting.

* Use makeAutoNodeNAme instead of manually appending _auto

* Add getNetVersion to list of unsupported methods

* PR feedback

* Rework web template node selector to be a network selector. Refactor some types to help with that. Better handle removing custom nodes.

* Remove color dropdown.

* Fix selecting custom networks. Show notification if change network intent fails.

* Use selectors for current node / network instead of intuiting from nodeSelection

* Add id key to all networks, simplify add and remove custom node and network functions.

* Fix a lot of uses of network.name to use network.id instead.

* Dont allow network chainid conflicts

* Fix web3 network by chainid

* Add testnet badge to network selector

* Change nomenclature from change(Node|Network)(Intent)? to change(Node|Network)(Requested|Succeeded)

* tscheck

* Better code for chainid collision

* Remove console logs

* Fix tests

* Network selector becomes self contained component used both by web header and electron nav.

* Dont select node again

* Additional title text

* tscheck

* Custom node behavior in Electron

* Close panel too

* Convert node label data into selector function

* tscheck

* Parens & space
2018-05-29 09:51:42 -05:00
HenryNguyen5 9bdeab2307 Clear transaction state on tab changes (#1852) 2018-05-25 12:30:22 -05:00
HenryNguyen5 9817f9576f Add dropdown for boolean inputs (#1845) 2018-05-24 18:22:33 -05:00
Daniel Ternyak 120791e75b
Update Electron Expiration (#1844) 2018-05-24 17:10:57 -05:00
Connor Bryan 04f75a6a27 Address Manager (#1657)
* Add a new route for AddressBook

* Further templating of the AddressBook view

* Add initial functionality to handle a table of existing address labels

* Make the linter happy

* Adjust paths

* Factor out TableRow and add common functionality

* Add initial Redux boilerplate for addressBook | fix minor linting issues

* Swap out terminology and types

* Connect up to Redux

* Connect data for AddressBookTable to Redux

* Use temporary fields for addition

* Remove alignment and index column

* Stopping point

* Adjust the sizing of rows to be consistent

* Initial implementation of a dropdown for the address field

* Minor styling to dropdown

* Stopping point

* Apply a focus concept onto the factory

* Add keyboard controls for the address field dropdown

* Adjust label of address field when it matches an addressBook entry

* Properly handle attempting to blur a non-existent component

* Minor styling changes on dropdown box

* Standardize address casing, add accessibility to dropdown

* Create an addressLabel component

* Pass refs correctly and fix some typings

* Exact version

* Add module name mapping for shared/keycodes

* addressBook reducer tests

* Add functionality to DeterministicModal

* Minor changes / Add test for addressBook selectors

* Move out AddressBookTable to a component

* Typing, translation and restructuring

* More typing and translation fixes

* More linting fixes

* More type changes

* Variable name for dropdown background

* Fix TS type errors, lint errors, remove unused props

* Used a different selector and removed method: AddressBookTable

* Linter was mad

* Linter mad again :(

* Add a translation and adjust styling of AddressBookTable

* Move the onBlur to a class method

* Prevent the default behavior of up/down/enter for dropdown

* Let's do it this way instead

* Adjust the styling on DeterministicWalletModal labels

* Change `AddressBookTable` into a pseudo-table using section and div

* Use readable keys vs. keycodes

* Put the dropdown in InputFactory and position it correctly

* Sanitation of label adding and changing

* Prevent duplicate labels in AddressBook and Row

* Add a box shadow and use `invalid` class insted of custom

* Use emphasis vs strong for address in dropdown

* Display the label undernearth the input vs. changing it

* Isolate AccountAddress into its own component

* Introduce interactivity to AccountAddress

* Fully incorporate with Redux

* Validation for AccountAddress

* Add validation notifications for address field on AddressBookTable

* Minor formatting

* Adjust wrappage for optimal flexboxxing

* Make AddressBookTable responsive

* Show an invalid input in "real time" instead of only on submit

* Real time input validation for AddressBookTableRow

* Responsive-ize the To address dropdown

* Hide identicons instead at small enough screen sizes

* Fix repsonsiveness of dropdown further

* Fix responsiveness of table rows and inputs

* Truncate account info and switch identicons to the right for consistency

* Use classnames instead of targetting element directly for DWM

* Display a notice if the entered query doesnt match a label and isnt an addr

* Don't show an error on the To address if its a label entry

* Display an error under AddressBookTableRow in real time

* Display errors in real time for AddressBookTable temp inputs

* Add realtime validation to AccountAddress

* Ensure toChecksumAddress is used when entering labels to address manager

* Show errors even after blurring.

* Only show errors on address/label entry if they have been blurred

* On certain inputs, show an invalid input immediately

* Add displayed errors for labels with 0x and labels containing ens

* Move ENS checking validation out

* Add a saga for addLabelForAddress

* Completely revamp the redux side of Address Manager and test it all

* Adjust components to use new redux addressBook

* Incorporate new redux into AddressBookTableRow and clean up for linter

* Make linter and tests happy

* Another reduxy overhaul

* Still fixing it

* More redux updates

* Finalize redux stuff.

* Incorporate new reduxy way into AddressBookTable & Row

* Incorporate redux changes into Account Address

* Small tests fix

* Add and fix some selector tests

* Addressing Will's comments

* Shortened visibility class for line length reasons.
2018-05-21 18:10:51 -05:00
HenryNguyen5 c763b2ac98 Ledger types (#1690)
* Do not truncate errors, pretty output

* Introduce helpers for sagas

* Update yarn lock

* Initial types

* Finish types

* cleanup

* Fix imports and filenames to cooperate with internal typings
2018-05-21 15:47:25 -05:00
Seena Rowhani 7e605c4058 Don't require leading 0 in amount field (#1718)
Don't require leading 0 in amount field
2018-05-21 13:53:33 -05:00
Alejandro Cavallero c2f79128bd Add network unit to account balance on testnets (#1717)
* Adding network unit to account balance

* Shows network name only if it is testnet

* Replacement of private function

* Private function at the end
2018-05-21 13:52:24 -05:00
HenryNguyen5 d5013b8810 Strip hex prefix for bytes inputs (#1811) 2018-05-21 13:11:08 -05:00
HenryNguyen5 661d862311 Improve electron versioning (#1777)
* Add electron version as package json field, unify version export

* Base electron versioning on assets in uploaded binaries

* Update schema, remove dead code

* Remove unused import

* Remove console logs

* correct electron-version

* better styling for versions

* bump electron-version
2018-05-14 12:06:04 -05:00
Daniel Ternyak 44b3ed411f
Don't show "stable" welcome modal on Electron (#1779) 2018-05-14 11:54:49 -05:00
James Prado a77aa3a02c Fix input validation styles (#1778)
* Fix input validation styles

* Remove green borders
2018-05-13 20:39:54 -05:00
Daniel Ternyak 58949dd44e
Update token list (#1776) 2018-05-13 14:57:53 -05:00
HenryNguyen5 8d27d0ba4d Improve form validation (#1772)
* Change gas price validation to be string input based

* Change sanitization to use Nunber

* Have validators use Number over parseFloat

* Fix css validation class

* Add valid css to address field

* Add data field validation

* Remove unused import

* Fix button being hidden on inputs

* Dead code removal

* Unify textarea and input class validation

* Adjust validity styling to only apply after a value has been inputted

* Do not pass custom props to DOM
2018-05-13 14:24:50 -05:00
Daniel Ternyak 32416469e4
Adjust privacy policy URL (#1775) 2018-05-13 14:09:19 -05:00
HenryNguyen5 039aab09a2 Do not allow custom tokens to be added with the same address (#1770)
* Do not allow custom tokens to be added with the same address

* prettify
2018-05-12 23:20:36 -05:00
HenryNguyen5 0e7a2ef2e8 Automatically track custom tokens (#1769) 2018-05-12 22:58:58 -05:00
HenryNguyen5 5baa356ee1 Fix integer checks for custom token decimals (#1753) 2018-05-12 18:28:03 -05:00
James Prado 12864b30d9 Add custom meta tags for social-media seo (#1755) 2018-05-12 18:27:34 -05:00
Daniel Ternyak 40e6093202
Add private key deprecation information (#1748)
* add copy/link to PR for deprecation

* Add Parity Signer and MetaMask to pkey warning
2018-05-12 18:26:18 -05:00
HenryNguyen5 fee8d63088 Parse bytes types to a hex buffer (#1731)
* Parse bytes types to a hex buffer

* Revert yarn lock changes
2018-05-11 14:07:51 -05:00
HenryNguyen5 6c84654172 Increase shepherd thresholds (#1736)
* Mark depreciated react lifecycles as unsafe

* Rename mycrypto-shepherd ->  myc-shepherd, increase thresholds

* swap myc-shepherd for mycrypto-shepherd
2018-05-11 14:02:50 -05:00
William O'Beirne ae2ac4f2c6 Production Release Changes (#1673)
* Remove beta agreement, move modals to Root, and initial work on welcome modal.

* Local storage detection for welcome modal

* Remove announcement from header. Allow tooltips to point in non-top directions.

* Show modal fade at bottom on non-footer modals

* Update README

* Update all links back to old mycrypto to classic.mycrypto, add footer link too.

* Localize welcome modal

* Remove release candidate version text, change to legacy.mycrypto instead of classic.mycrypto.

* update banner; add hackerone link
2018-05-11 10:15:32 -05:00
Daniel Ternyak 1e9fe1b394
Update Footer (#1746) 2018-05-10 23:35:10 -05:00
Daniel Kmak f06186e883 Upgrade EAC libs to v1.0.0-beta.3. (#1714) 2018-05-10 22:12:49 -05:00
HenryNguyen5 8c7d89f22b Mark depreciated react lifecycles as unsafe (#1733) 2018-05-10 21:34:27 -05:00
Kazunori Seki 2ed8caf078 Japanese V4 full translation (#1655)
* Japanese V4 full translation

PIck all the labels from en.js and sorted in the same order.

* merge conflicts
2018-05-08 22:47:12 -05:00
William O'Beirne a8740e0fc2 Show version in Electron (#1730)
* Add app version to both support us page and help menu

* Typescriptery
2018-05-08 22:06:35 -05:00
Daniel Ternyak 9e844b71f9
Update Release Candidate Version (#1709) 2018-05-01 21:15:27 -05:00
Daniel Ternyak 347b2f0684
Use proxy.mycryptoapi.com for rates (#1710) 2018-05-01 21:13:38 -05:00
HenryNguyen5 dc8edc91b7 Remove checksumming of keystore address (#1697) 2018-05-01 20:45:22 -05:00
HenryNguyen5 d348e3c112 Fix retry scan if you have no tokens (#1708)
* Fix retry scan if you have no tokens.

* Swap out updateTokenBalances for retryTokenBalances
2018-05-01 20:45:02 -05:00
HenryNguyen5 9d1a218a0e Fix Estimate Gas (#1698)
* Properly pad hex encoded data

* Remove to address for gas estimation if its zero value
2018-04-30 20:07:59 -05:00
William O'Beirne 34ef8857da Trezor Help Link & Decrypt UI (#1695) 2018-04-30 13:40:39 -05:00
William O'Beirne a57d17a3e0 Fix Duplicate DPaths & Deterministic Modal Improvements (#1682)
* Fix dPath uniqueness

* Pass around dPath object, not just path, to maintain uniqueness

* Improve deterministic modal UI

* Fix custom dpaths
2018-04-30 13:39:25 -05:00
William O'Beirne 82e0530bec Allow Network Change Offline (#1683)
* Allow changing to offline node when currently offline

* Fix tests
2018-04-26 22:55:31 -05:00
William O'Beirne 5733833f5e Wallet Selection Optimization (#1680) 2018-04-26 13:24:28 -05:00
William O'Beirne 4f6dde23c0 Render Falsey Contract Outputs (#1684) 2018-04-26 13:19:54 -05:00
HenryNguyen5 df2c3bc7fd Add Error Boundary to Parity Signer (#1675)
* add jenkins config for mac signing (#1666)

* More RC Bugfixes (#1670)

* add jenkins config for mac signing (#1664)

* Fix #1653

* Fix #1648

* Fix #1638

* Fix test

* Electron Alpha Prep (#1671)

* Adjust update flow to not auto update, not publish in CI

* Revert "Adjust update flow to not auto update, not publish in CI"

This reverts commit 74fb382ce8d8cd9e227703ccfa8d6310bffd9dda.

* First pass at new app version modal

* Added app alpha notice that either warns you about alpha, or blocks the whole app.

* Improve newer version detection, add unit tests

* Remove native auto update behavior

* add jenkins config for mac signing (#1664)

* Notice once per session

* copy changes per PR review

* More RC Bugfixes (#1669)

* Fix #1653

* Fix #1648

* Fix #1638

* Fix test

* Add errorable component

* Fix lint

* Change instance order
2018-04-26 01:26:37 -05:00
Maciej Hirsz cf59688896 Enable Parity Signer Message Signing (#1663)
* Enable Parity Signer to sign messages

* Verify that message signature is correct

* Type systems are awesome :)
2018-04-25 19:36:29 -05:00
William O'Beirne 5542791af8 Electron Alpha Prep (#1665)
* Adjust update flow to not auto update, not publish in CI

* Revert "Adjust update flow to not auto update, not publish in CI"

This reverts commit 74fb382ce8d8cd9e227703ccfa8d6310bffd9dda.

* First pass at new app version modal

* Added app alpha notice that either warns you about alpha, or blocks the whole app.

* Improve newer version detection, add unit tests

* Remove native auto update behavior

* Notice once per session

* copy changes per PR review
2018-04-24 22:29:34 -05:00
HenryNguyen5 54102d07b0 More RC Bugfixes (#1669)
* Fix #1653

* Fix #1648

* Fix #1638

* Fix test
2018-04-24 22:26:53 -05:00
Taylor Monahan 8146f14f7a Change "Ether Wallets" to "ether wallets" in footer copy (#1620) 2018-04-23 18:59:23 -05:00
Taylor Monahan d31ee202a1 Adjust language capitalization (#1622)
Adjust language capitalization
2018-04-23 18:40:04 -05:00
William O'Beirne 9d2199970b Update Create Wallet Tutorial Screenshots (#1661) 2018-04-23 18:38:12 -05:00
HenryNguyen5 12d29e5b94 RC Bugfixes (#1644)
* Fix #1569

* Use common component for handling "to" address

* If to address becomes invalid, hide contract interact explorer

* Add IS_CONTRACT_INTERACTION mode - fix bugs related to contract interact

* Bump shepherd version to fix bugs related to metamask + network switches

* Update mycrypto link downloads

* Update facebook link

* Remove console log from checktx

* Fix dollar sign on contract address in conf modal

* Fix unchecksummed address for metamask signing

* Cleanup unused classname

* Update generate keystore file description to be correct

* Add space to create new wallet banner

* Remove extra variable

* Do checksumming in library function instead of component

* Clear state on address change
2018-04-23 18:35:24 -05:00
Daniel Ternyak 699e4d6fa9
Prep Launch of Release Candidate 1.0.0 (#1538)
* Prep launch of Release Candidate

* add RC to readme

* add steely referral links
2018-04-16 20:32:17 -05:00
William O'Beirne aa0f9cd455 Electron Redesign (#1505)
* Frameless Electron. Separate electron template. Generecize navigation link. Move nav info to config.

* Add controls for language and node, network status to sidebar.

* Sticky headers

* Move custom node modal into standalone component. Render modals via portal. Add custom node modal opening to electron node list.

* Conditional styling based on environment.

* Fix active node highlight

* Add frame back in, draggable only on OSX, fix sidebar scroll.

* Remove panel content after delay.

* Adjust window sizes

* Style desktop help nav icon

* Remove unused var

* Move style to param

* Remove unused

* Update snapshot

* Fix oversized stretching, zindex fighting

* Make electron work better with various screen sizes

* Remove not-working https option for electron

* Add beta banner

* Fix web footer

* Address changes
2018-04-16 18:30:58 -05:00
William O'Beirne 2ddd5df7dc Fix Ledger DPaths, Improve Error Messaging (#1517) 2018-04-16 18:07:00 -05:00
HenryNguyen5 6c8f3ff64a Only do node checks when node change is not pending (#1525)
* Only do node checks when node change isnt pending

* bump mycrypto-shepherd version

* Use shepherds selectors

* Use shepherd pending state for checking for offline

* Fix tsc error

* mycrypto-shepherd -> myc-shepherd

* set mycrypto-shepherd
2018-04-16 17:51:15 -05:00
William O'Beirne adad64d45f Fix TREZOR dpath on TOMO network (#1519) 2018-04-16 17:50:20 -05:00
William O'Beirne c7c17843b0 Deprecation Warning for Insecure Unlocks (#1526) 2018-04-16 10:36:14 -05:00
William O'Beirne 944128bd29 ETC commonwealth node (#1518) 2018-04-15 11:45:36 -05:00
Daniel Kmak 985ea0fb89 Ethereum Alarm Clock Integration (#1343)
* [FEATURE] Initial EAC integration.

* Title and explanation

* [FEATURE] Move the Schedule Payment to the main tab.

* [FEATURE] TimeBounty slider.

* [FEATURE] Move to main menu.

* [FEATURE] Redirection to the DApp for details.

* [FEATURE] Timestamp scheduling

* Scheduling: Basic date and time widget

* Linting fixes

* Moved the datetime field to new tab

* Fixed push errors

* Added missing specs

* Undid unintentional UI change

* Fixed some failing tests

* Ignore datetime parameter when checking if a transaction is full

* Added a date selector widget and renamed ScheduleTimestamp to ScheduleDate

* Marked componentDidMount

* Initialized Pikaday

* Revert "Initialized Pikaday"

This reverts commit 4e5bf5b2b882f236f5977400abf9b7092cbd1592.

* Revert "Marked componentDidMount"

This reverts commit 85d52192ac58f4b6ca9219e702f7390cd27e582f.

* Revert "Added a date selector widget and renamed ScheduleTimestamp to ScheduleDate"

This reverts commit aaad0ac9b565a78d1bfc631754160919fd38a59b.

* Converted the date picker into a datetime picker

* Added decent styling to the datetimepicker

* Added validation to the datetime picker

* Fixed prepush errors for scheduling timestamp

* Adjusted validation logic scheduling timestamp

* [FEATURE] Move scheduling to main tab.

* [FEATURE] Timezone selector

* [FEATURE] Scheduling: Timezone selector

* Removed zombie files

* [FEATURE] Reimplement Time Bounty.

* [FEATURE] Time/block selector

* [FEATURE] Add Window Size field.

* [FEATURE] Time/block switch functionality

* Implemented time/block switcher fuctionality

* [FEATURE] Add Schedule Gas Price field.

* [FEATURE] Scheduling toggle

* [FEATURE] Add basic styling and network check.

* [FEATURE] Add Schedule Gas Limit field

* [FEATURE] "Scheduled" button styling

* Reordered, renamed and centered scheduling elements

* Added the toggle button styling

* Class -> ClassName

* [FEATURE] Add Deposit field

*  [FEATURE] Move scheduling code into one directory

* [FIX] Scheduling responsiveness

* [FIX] Datetime picker not working on md screens

* [FEATURE] Timestamp Scheduling basic functionality

* [FIX] Fix data serialization.

* [FEATURE] Timezone inclusion

* [FEATURE] Add ChronoLogic logo.

* [FEATURE] Add link to image.

* [FIX] Update CSS of logo.

* [FEATURE] Default Window Size

* [FEATURE] Modified Help component to enable acting as a tooltip

* [FEATURE] Call contract to validate scheduling params

* [FIX] Change moment import to fix tests

* [FEATURE] Gas estimation for scheduling

* [FEATURE] Additional validation

* [FEATURE] UI changes and descriptions

* [FEATURE] Add tooltip to window and fix fee display.

* [FIX] Fix ethereumjs-abi dependency.

* [FEATURE] Hide scheduling when sending tokens.

* [FIX] Improved styling datetime picker

* [FEATURE] Add Redux state for scheduling

* [FEATURE] Create Toggle component, Share code between components

* [FEATURE] Use Tooltip component for help.

* [FEATURE] Better datetime picker

* [FEATURE] Remove fee

* Trigger mycryptobuild

* [FIX] Timestamp scheduling - Validation match

* [FIX] EAC integration touchups

* [FIX] Code review fixes

* [FIX] Window Size type

* [FIX] Type fixes.

* [FIX] Make tooltips only show on icons + resposiveness fixes

* [FIX] Break tooltips into more lines

* [FIX] Remove unnecessary code.

* [FIX] Remove unnecessary code.

* [FIX] Remove unnecessary types declaration.

* [FIX] Fee class names
2018-04-14 17:21:33 -05:00
William O'Beirne 7798b9cef1 Show Recent Addresses on View Only (#1514)
* Add recent addresses to reducer, show them on view only decrypt.

* Update test
2018-04-14 14:10:21 -05:00
Daniel Ternyak f63bd92edf
Update ETH Token List (#1498)
* update ETH token list (as of April 11th, 2018)

* fix SMT duplicated tokens

* adjust tokens test to gather errors instead of failing on first test

* separate duplicate tokens

* update token list (april 13th, 2018)
2018-04-13 12:14:29 -05:00
Connor Bryan 7320413dab Mnemonic Redesign (#1501)
* Added a shuffle to swap out the numbers and made them read-only.

* Add a border and an index when selecting a confirmation word

* Add error flashing

* Transform the inputs into buttons when confirming

* Change naming of "peek" to "revealing"

* If statement needs brackets

* Linter complaints

* Code cleanup

* Formatting and removing unused styles.

* Move out shuffle to a util

* Additional test cases

* Function call, forgot the parens

* Adjust sizing and position of confirmation index in Mnemonic button

* Implement requested style changes: selected buttons, margins on inputs

* Use lodahs shuffle

* No need to spread this array
2018-04-12 23:50:36 -05:00
William O'Beirne a40b2cc499 Fix a bunch of non-new tab links and mistranslated text (#1506) 2018-04-12 23:36:51 -05:00
William O'Beirne b4c4b05df6 Add QR signer modal to root so its always available (#1509) 2018-04-12 23:34:30 -05:00
Daniel Ternyak db1a7ca2c3
Allow network selection via query parameter (#1496)
* initial non-working design

* continue implementation

* don't export shared type

* delay before requesting currentBlock

* setup one-time node change intent

* working implementation without node pulse

* dispatch action instead of call to enable node pulse

* Remove copy changes

* add test case for delay in handleNodeChangeIntent saga

* don't redundantly change networks

* Cleanup code and add tests (#1504)
2018-04-12 18:17:46 -05:00
HenryNguyen5 43ef6e95d4 Add getNetVersion to ignored methods for web3 (#1491)
* Add getNetVersion to ignored methods for web3

* update mycrypto-shepherd version
2018-04-11 19:18:56 -05:00
Daniel Ternyak 54dc4f94e3
Allow metamask unlock on all networks (#1490) 2018-04-10 21:53:54 -05:00
HenryNguyen5 6a05436e1d Simpler offline checks (#1492)
* Fix sign message not returning

* Use shepherd offline state for offline checks

* Use hasCheckedOnline

* Fix tests

* Fix tsc err
2018-04-10 21:53:27 -05:00
HenryNguyen5 b9694c7be8 Unset Web3 to previous node (#1472) 2018-04-09 12:23:37 -05:00
HenryNguyen5 05a751b1f3 Fix ledger signing (#1473)
* Fix sign message not returning

* Remove unused bufferToHex

* trigger mycryptobuild
2018-04-09 12:15:57 -05:00
Maciej Hirsz 54980d745b Update parity signer link (#1477)
* Update the link

* Skip extension altogether
2018-04-09 12:13:27 -05:00
HenryNguyen5 5e76b9f04c Fix web3 unset (#1467)
* initial mvp

* First functioning pass

* Add token balance shim

* Add working web3 implementation

* Fix tests

* Fix tsc errors

* Implement token batch splitting

* Undo logger change

* Fix linting errors

* Revert makeconfig change

* Add typing to token proxy + use string interpolation

* Remove useless parameter

* Remove logging

* Use type coercion to fix proxied methods

* Update shepherd

* Update to typescript 2.8.1

* Fix merged typings

* Address PR comments

* replace myc-shepherd with mycrypto-shepherd

* fix web3 nodes not unsetting

* Fix tscheck

* Strip web3 network prefix from node dropdown
2018-04-06 17:23:25 -05:00
HenryNguyen5 08a7cb1f2b Check for buffer type and decode to hex instead of utf8 (#1469)
* Check for buffer type and decode to hex instead of utf8

* Fix typo
2018-04-06 16:34:43 -05:00
Maciej Hirsz 307e941684 Parity Signer (#1349)
* Parity Signer Squashed

* ParitySigner to be a container

* Parity Signer: style and polish

* target blank on appstore links

* PR fixes

* Move QrSignerModal to SendTransaction container

* Rework redux, use signing saga

* Cleanup

* Use new logo, change helpLink

* Rework finalize actions and types a bit

* Webcam info + wiki link on unlock screen

* Make the Parity QR Signer its own component, that has error messaging and ismore robust about adding / removing cameras.

* Unneded l10n
2018-04-06 16:32:25 -05:00
Daniel Ternyak c65296d953
Add Etherchain links (#1462)
* add etherchain to transaction succeeded notification

* additional etherchain links

* shorten verify copy

* fix config mis-match
2018-04-06 16:08:28 -05:00
HenryNguyen5 04eaa08d6c Shepherd MVP Integration (#1413)
* initial mvp

* First functioning pass

* Add token balance shim

* Add working web3 implementation

* Fix tests

* Fix tsc errors

* Implement token batch splitting

* Undo logger change

* Fix linting errors

* Revert makeconfig change

* Add typing to token proxy + use string interpolation

* Remove useless parameter

* Remove logging

* Use type coercion to fix proxied methods

* Update shepherd

* Update to typescript 2.8.1

* Fix merged typings

* Address PR comments

* replace myc-shepherd with mycrypto-shepherd
2018-04-06 15:52:48 -05:00
William O'Beirne ad838f6eb2 Reduce Shapeshift Requests (#1463)
* Use market info instead of fetching each and every pair.

* Make loaders the size of the content.
2018-04-06 13:59:07 -05:00
William O'Beirne 8fb0e03d8d Add New Networks (#1259)
* Add new networks.

* Handle typing issues with DPath being possibly undefined.

* Remove copied nodes from tests.

* Review comments, refactor makeExplorer.

* Remove ETSC

* Re-add import

* Update snapshot
2018-04-06 09:02:02 -05:00
HenryNguyen5 1047975b1b Update to typescript 2.8.1 (#1456) 2018-04-05 21:17:58 -05:00
William O'Beirne acd1610083 Fix unlock header toggle logic (#1454) 2018-04-05 16:23:15 -05:00
William O'Beirne c3d1e4e3af Token Balance retry button & equivalent values fix (#1453)
* Add refresh button to token balances error. Refactor actions a bit.

* Fix assertion error from bn on rates
2018-04-05 16:19:14 -05:00