Commit Graph

1196 Commits

Author SHA1 Message Date
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
Daniel Ternyak 67b4653ff4
fix(package): update electron-updater to version 2.21.10 (#1870)
Closes #1586
2018-05-29 16:11:20 -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
Daniel Ternyak f64474bb54
chore(package): update electron to version 2.0.1 (#1859)
Closes #1686
2018-05-29 13:44:42 -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
Daniel Ternyak 3376d7f0f5
chore(package): update electron-builder to version 20.13.4 (#1860)
Closes #1587
2018-05-29 11:17:32 -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
Daniel Ternyak e3f485ecad
Merge pull request #1853 from MyCryptoHQ/hotfix-may-25
Release 1.0.2
2018-05-25 12:47:40 -05:00
Daniel Ternyak 6ba78b89bf
update versions 2018-05-25 12:32:26 -05:00
HenryNguyen5 4d536f71fd
Clear transaction state on tab changes (#1852) 2018-05-25 12:31:44 -05:00
HenryNguyen5 9bdeab2307 Clear transaction state on tab changes (#1852) 2018-05-25 12:30:22 -05:00
Daniel Ternyak 675d01a4e6
Merge pull request #1846 from MyCryptoHQ/hotfix-may-24
Release 1.0.1
2018-05-24 19:44:49 -05:00
Danny Skubak 5200bf54ac
Add Electron Build to Travis (#1830)
* introduce build matrix to travis config

* remove branch exclusion

* trigger mycryptobuild
2018-05-24 19:30:33 -05:00
Daniel Ternyak 61fa744927
Update Versions 2018-05-24 18:28:17 -05:00
HenryNguyen5 28da18e84a
Add dropdown for boolean inputs (#1845) 2018-05-24 18:26:43 -05:00
Daniel Ternyak 693e1972e5
Update Electron Expiration (#1844) 2018-05-24 18:26:33 -05:00
HenryNguyen5 352473ac9f
Strip hex prefix for bytes inputs (#1811) 2018-05-24 18:26:18 -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
Daniel Ternyak 662b0d0925
Remove greenkeeper from readme (#1834) 2018-05-23 11:42:13 -05:00
Danny Skubak 7f21b2014f Add Electron Build to Travis (#1830)
* introduce build matrix to travis config

* remove branch exclusion

* trigger mycryptobuild
2018-05-22 13:04:10 -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 b40c2a9508 TS Improvements (#1676)
* Do not truncate errors, pretty output

* Introduce helpers for sagas

* Update yarn lock
2018-05-21 13:39:03 -05:00
HenryNguyen5 d5013b8810 Strip hex prefix for bytes inputs (#1811) 2018-05-21 13:11:08 -05:00
Daniel Ternyak 5c01fb12c7
Merge pull request #1802 from MyCryptoHQ/develop
1.0.0 (continued)
2018-05-15 10:54:50 -05:00
Danny Skubak 54f3adb86e Add Drawbridge Prod Config (#1801) 2018-05-15 10:52:30 -05:00
greenkeeper[bot] 14915f6364 fix(package): update @parity/qr-signer to version 0.2.1 (#1800) 2018-05-15 10:50:08 -05:00
Daniel Ternyak 16232d6afd
Merge pull request #1781 from MyCryptoHQ/develop
Release 1.0.0
2018-05-14 13:21:17 -05:00
greenkeeper[bot] 1bf124b40d fix(package): update mycrypto-shepherd to version 1.3.3 (#1782) 2018-05-14 13:11:23 -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
Daniel Ternyak b58e278ac5
Exclude components from coverage reports (#1774)
* add 'components' and 'containers' dirs to coverage excluded paths

* add vendor and spec to excluded coverage paths

* trigger mycryptobuild
2018-05-13 13:32:45 -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