Commit Graph

477 Commits

Author SHA1 Message Date
Daniel Ternyak 4bf0e9209f
Update mycrypto-shepherd to 1.4.0 (#1883) 2018-06-01 14:53:55 -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
Daniel Ternyak f64474bb54
chore(package): update electron to version 2.0.1 (#1859)
Closes #1686
2018-05-29 13:44:42 -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
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
greenkeeper[bot] 14915f6364 fix(package): update @parity/qr-signer to version 0.2.1 (#1800) 2018-05-15 10:50:08 -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
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
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 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
HenryNguyen5 55254db206 Fix react yarn type resolution (#1545)
* Fix react yarn type resolution

* Update yarn lock
2018-04-17 14:27:00 -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
Daniel Ternyak 5f0732992a
chore(package): update @types/react to version 16.3.11 (#1535)
Closes #1510
2018-04-16 18:20:39 -05:00
greenkeeper[bot] 3a0526cb4b chore(package): update @types/react to version 16.3.10 (#1510) 2018-04-16 18:19:14 -05:00
greenkeeper[bot] 8ce45a0c83 fix(package): update react-dom to version 16.3.2 (#1531) 2018-04-16 17:58:09 -05:00
greenkeeper[bot] 3fa699d5bd chore(package): update react-test-renderer to version 16.3.2 (#1529) 2018-04-16 17:57:06 -05:00
greenkeeper[bot] c59b6463c4 fix(package): update react to version 16.3.2 (#1530) 2018-04-16 17:56:53 -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
HenryNguyen5 682b75b07d Fix jest tests (#1534)
* Fix jest tests with different fetch lib

* Make exact dep version
2018-04-16 17:23:03 -05:00
greenkeeper[bot] 6084b62b26 fix(package): update moment to version 2.22.1 (#1524) 2018-04-16 10:12:58 -05:00
greenkeeper[bot] c87c494d01 fix(package): update react-transition-group to version 2.3.1 (#1520) 2018-04-16 10:12:39 -05:00
greenkeeper[bot] ed44784f9f chore(package): update ts-jest to version 22.4.3 (#1522) 2018-04-16 10:10:09 -05:00
greenkeeper[bot] 4e357df9a4 chore(package): update @types/lodash to version 4.14.107 (#1523) 2018-04-16 10:08: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 574c628e61 Create script to update tokens list from ethereum-lists/tokens (#1247)
* Add script to update tokens from ethereum-lists/tokens, commit output.

* Force decimals to be integers.

* Eth-lists-script Typescript (#1508)

* Update scripts to handle collisions, and use typescript

* Add comment on duplicateAddress validator

* Lock dep on ts-node

* Fix tsc errors

* revert tokens update

* make implicit anys
2018-04-13 12:02:00 -05:00
Daniel Ternyak 2bb706d4a1
chore(package): update @types/react to version 16.3.9 (#1503)
Closes #1488
2018-04-12 18:18:32 -05:00
greenkeeper[bot] 28fc8b795b chore(package): update @types/jest to version 22.2.3 (#1493) 2018-04-12 15:51:07 -05:00
greenkeeper[bot] d87b8d3a82 chore(package): update @types/react-dom to version 16.0.5 (#1487) 2018-04-12 15:50:51 -05:00
Daniel Ternyak b22ecb6260
Downgrade rc-slider to fix alignment issues (#1500) 2018-04-12 13:08:00 -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
greenkeeper[bot] 1394c099c0 chore(package): update @types/react to version 16.3.6 (#1482) 2018-04-09 15:05:21 -05:00
greenkeeper[bot] 2a1d748c25 chore(package): update @types/react-transition-group to version 2.0.8 (#1483) 2018-04-09 15:05:05 -05:00
greenkeeper[bot] f9e59fdd73 fix(package): update wallet-address-validator to version 0.1.6 (#1478) 2018-04-09 12:13:43 -05:00
Daniel Ternyak 3f6491a9ee
Add core-js to package.json (#1479) 2018-04-09 10:56:38 -05:00
greenkeeper[bot] 12f0b949e7 chore(package): update @types/react-router-dom to version 4.2.6 (#1396) 2018-04-07 18:42:29 -05:00
Daniel Ternyak d35a7b4782
Tag Beta Release 0.7.0 2018-04-06 17:27:45 -05:00
Daniel Ternyak 0fb8cf9b8a
chore(package): update lint-staged to version 7.0.4 (#1470)
Closes #1421
2018-04-06 17:25:35 -05:00
greenkeeper[bot] bfc004638f fix(package): update mycrypto-shepherd to version 1.0.1 (#1468) 2018-04-06 16:36:21 -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
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
greenkeeper[bot] ab2b559dd2 chore(package): update @types/react to version 16.3.5 (#1443) 2018-04-05 22:24:08 -05:00
greenkeeper[bot] 5b3a0853b2 fix(package): update jsonschema to version 1.2.4 (#1442) 2018-04-05 22:09:39 -05:00
greenkeeper[bot] 935fa719f2 fix(package): update wallet-address-validator to version 0.1.5 (#1440) 2018-04-05 22:09:21 -05:00
HenryNguyen5 1047975b1b Update to typescript 2.8.1 (#1456) 2018-04-05 21:17:58 -05:00
HenryNguyen5 8b051c13a2 Add coverage reporting with coveralls (#1459) 2018-04-05 20:51:48 -05:00
Daniel Ternyak c9676cac62
Deterministic Webpack 4 (#1445)
* (Reapplied) Upgrade to Webpack 4

* remove yarn.lock from gitignore

* add yarn.lock

* custom hashing for css and client bundle filenames

* add hash-files dep

* update deps

* add .wwp-cache to .gitignore

* use latest git hash as filename hash

* remove unused hash-files dep

* update favicon plugin

* remove yarn.lock
2018-04-05 15:53:36 -05:00