Jaco Greeff
539164945a
Merge branch 'master' into ui-2
2017-05-03 14:19:47 +02:00
Jaco Greeff
70e87677b3
Retrieve block headers only for header-only info ( #5480 )
...
* Add parity_getBlockHeaderByNumber
* Use parity_getBlockHeaderByNumber for retrieval
2017-05-03 14:12:06 +02:00
Jaco Greeff
1c2580b4a6
Ui 2 shell updates ( #5541 )
...
* Stateless components
* Adjust borders
* Stateless for status
* Externalise link colors
* css lint
* stateless
* Create ui/IconCache, replacing redux
* Update Signer buttons
* Requests background
* Adjust request styling
* Stateless components
* ParityBar background alignment
* Shell updates
* Remove Tooltip
2017-05-03 10:46:09 +02:00
Jaco Greeff
e7484d07aa
Ui 2 styling adjustments ( #5534 )
...
* Stateless components
* Adjust borders
* Stateless for status
* Externalise link colors
* css lint
* stateless
* Create ui/IconCache, replacing redux
* Update Signer buttons
* Requests background
* Adjust request styling
* Stateless components
* ParityBar background alignment
2017-05-02 17:50:44 +02:00
Jaco Greeff
278dfcdcc5
Merge remote-tracking branch 'origin/ui-2' into ui-2
2017-04-28 11:26:34 +02:00
Jaco Greeff
4c04b61f8a
Merge branch 'master' into ui-2
2017-04-28 11:26:24 +02:00
Jaco Greeff
37dd488579
UI 2 component & modal splits ( #5525 )
...
* Remove mui from Actionbar
* Add semantic-ui to vendor.js
* Stateless components
* Multi-item spacing
* Stateless components
* Stateless components
* Default font
* Context passing
* Move Vault modals into Vault dapp
* Move modals to their respective views
2017-04-28 11:21:05 +02:00
Tomasz Drwięga
28dcbc6426
Support external eth_sign ( #5481 )
...
* Display a QR for eth_sign requests.
* Support raw confirmation of eth_sign
* Fix ethkey issue on nightly.
* Fixing test.
* Fixing test.
2017-04-27 18:23:22 +02:00
Jaco Greeff
2f0ce06cc1
Ui 2 shell ( #5510 )
...
* Split application into ~/shell
* reset.css back to index
2017-04-26 10:56:31 +02:00
Jaco Greeff
ec37cf6700
Settings running as dapp
2017-04-24 11:21:04 +02:00
Jaco Greeff
c044534d6a
Allow status updates on 2nd API instance
2017-04-21 16:03:50 +02:00
Jaco Greeff
5fc6a5627e
First iteration of Status page (WIP)
2017-04-21 15:20:43 +02:00
Jaco Greeff
2459501f4e
Home as dapp
2017-04-21 13:14:07 +02:00
Jaco Greeff
23469a99e8
Fix API references to @parity/api
2017-04-21 11:40:22 +02:00
Jaco Greeff
ba03ed4eea
Refresh UI on nodeKind changes, e.g. personal -> public ( #5312 )
...
* Poll details based on nodeKind
* Delay long polling when public/light
* Reload UI when nodeKind changed
* Fix tests (not using dispatch, reload instead)
* PR grumbles/cleanups
2017-04-20 17:31:15 +02:00
Nicolas Gotchac
37690cfde2
Refactoring of Tokens & Balances ( #5372 )
...
* Remove ETH filter
* Remove unused Blockchain reducer+actions
* Simpler Token updates and fetching
* Cleanup use of balances
* Cleanup of balances
* Cleanup of Balances
* Linting
* Update List Component
* Separate tokens from balances
* Refactoring balance fetchin and storing - Part I
* Linting
* Better ETH token description and use
* Working Transfer with new logic
* Add debugging
* Querying the tokens filter on new block
* Fixing the tests - PART I
* Fix txCount
2017-04-19 18:00:05 +02:00
Nicolas Gotchac
e83de5cde2
Store the pending requests per network version ( #5405 )
...
* Store the requests in LS per network version
* Fixing tests
* Add network switching test
* Fixes
2017-04-19 15:15:43 +02:00
Jaco Greeff
1987dad527
Allow signing via Qr ( #4881 )
...
* QR code scanning in-place
* QrScan component
* Update tests
* s/store/createStore/ in props
* Create of actual accountsInfo entry
* Exteral/hardware forget, no password change
* Add external accounts to accounts list
* Render external accounts in section (along with hw)
* Manul test bugfixes
* Display Qr code for tx signing
* Align QR code
* Hints for QR operations
* Generate actual qr codes based on tx data
* Add leading 0x if not found
* Update tests for 0x leading addition
* from & rpl without leading 0x
* Auto-detect QR code size (input length)
* Confirm raw
* WIP (lots of logging)
* WIP
* Chain-replay protection
* Readability
* Re-add r: chainId
* s = 0, r = 0, v = chainId
* Update eth_signTransaction to send transaction object
* And it actually works.
* Externalise createUnsigned/createSigned
* Check for nonce updates (future: subscriptions)
* Allow gas overrides
* Expose formatted condition
* Extract calculation (cap at 40)
* Remove debug log
* Fix rename linting
* Allow for signing hash & rlp (App support forthcoming)
* WIP
* User original qrcode-generator package
* Complete hash + rlp signing
* Accurate QR code size calculation
* Simplify type calculation
* R-eactivate current mobile interface (TODO for new)
* Move napa to dep
* Allow external accounts visibility in dapps
* Allow napa install on CI
* Allow new signTransaction & signTransactionHash functionality
2017-03-31 23:36:24 +02:00
Nicolas Gotchac
5fa088114c
Cleanup the Status View ( #5317 )
...
* Better view of Settings and Mining Settings
* Cleanup Status view
* Node Logs refactoring
* Cleanup Status
* Move RPC Calls files
* Basic Peers view
* Add Peers table
* style table header
2017-03-29 14:38:07 +02:00
Nicolas Gotchac
a99721004b
Minimise transactions progress ( #4942 )
...
* Watch the requests and display them throughout the app
* Linting
* Showing Requests
* Fully working Transaction Requests Display
* Add FormattedMessage to Requests
* Clean-up the Transfer dialog
* Update Validations
* Cleanup Create Wallet
* Clean Deploy Contract Dialog
* Cleanup Contract Execution
* Fix Requests
* Cleanup Wallet Settings
* Don't show stepper in Portal if less than 2 steps
* WIP local storage requests
* Caching requests and saving contract deployments
* Add Historic prop to Requests MethodDecoding
* Fix tests
* Add Contract address to MethodDecoding
* PR Grumbles - Part I
* PR Grumbles - Part II
* Use API Subscription methods
* Linting
* Move SavedRequests and add tests
* Added tests for Requests Actions
* Fixing tests
* PR Grumbles + Playground fix
* Revert Playground changes
* PR Grumbles
* Better showEth in MethodDecoding
2017-03-28 14:34:31 +02:00
Nicolas Gotchac
8a37f9599f
Reload UI on network switch ( #4864 )
...
* Reload UI on network switch
* Don't bither with timeout.
2017-03-13 13:19:43 +01:00
Nicolas Gotchac
e73d867dab
Better handling of Solidity compliation ( #4860 )
...
* Better use of SW
* Safe-guard against pending SW register bug (in Chrome)
* Added a simple Worker for Solidity compilation
2017-03-11 15:25:45 +01:00
Nicolas Gotchac
e2069d2e29
Don't check for enode, don't fail if no enode ( #4495 ) ( #4861 )
2017-03-10 19:40:47 +01:00
Nicolas Gotchac
4d08e7b0ae
Update Wallet to new Wallet Code ( #4805 )
...
* Update Wallet Version
* Update Wallet Library
* Update Wallets Bytecodes
* Typo
* Separate Deploy in Contract API
* Use the new Wallet ABI // Update wallet code
* WIP .// Deploy from Wallet
* Update Wallet contract
* Contract Deployment for Wallet
* Working deployments for Single Owned Wallet contracts
* Linting
* Create a Wallet from a Wallet
* Linting
* Fix Signer transactions // Add Gas Used for transactions
* Deploy wallet contract fix
* Fix too high gas estimate for Wallet Contract Deploys
* Final piece ; deploying from Wallet owned by wallet
* Update Wallet Code
* Updated the Wallet Codes
* Fixing Wallet Deployments
* Add Support for older wallets
* Linting
2017-03-07 20:19:55 +01:00
Jaco Greeff
0b24a3d7f6
Etherscan links based on netVersion identifier ( #4772 )
...
* Use netVersion to determine external links
* Update additional isTest references
2017-03-06 08:54:59 +01:00
Jaco Greeff
9b6170a37b
Update testnet detection ( #4746 )
2017-03-03 19:49:46 +01:00
Jaco Greeff
b11caaf071
UI support for hardware wallets ( #4539 )
...
* Add parity_hardwareAccountsInfo
* Ledger Promise interface wrapper
* Initial hardwarestore
* Move ~/views/historyStore to ~/mobx
* split scanLedger
* test createEntry
* Also scan via parity_hardwareAccountsInfo
* Explanation for scanning options
* react-intl-inify tooltips
* add hwstore
* Listen for hw walet updates
* Return arrays from scanning
* Readability
* add u2f-api polyfill
* check response.errorCode
* Support hardware types in state.personal
* Tooltips (to be split into sep. PR)
* Tooltips support intl strings
* FormattedMessage for strings to Tooltip
* Fix TabBar tooltip display
* signLedger
* Use wallets as an object map
* PendingForm -> FormattedMessage
* Pending form doesn't render password for hardware
* Groundwork for JS API signing
* Show hardware accounts in list
* Cleanup rendering conditions
* Update RequestPending rendering tests (verification)
* Tests for extended signer middleware
* sign properly & handle response, error
* Align outputs between Parity & Ledger u2f
* Ledger returns checksummed addresses
* Update ethereum-tx for EIP155 support
* Update construction of tx
* Updates after sanity checks (thanks @tomusdrw)
* Allow display for disabled IdentityIcon
* Disabled accounts
* Disabled auto-disabling
* Password button ebaled for hardware
* Don't display password hint for hardware
* Disable non-applicable options when not connected
* Fix failing test
* Confirmation via ledger (u2f)
* Confirm on device message
* Cleanups & support checks
* Mark u2f as unsupported (until https)
* rewording
* Pass account & disabled flags
* Render attach device message
* Use isConnected for checking availability
* Show hardware accounts in defaults list
* Pass signerstore
* Update u2f to correct version
* remove debug u2f lib
* Update test (prop name change)
* Add ETC path (future work)
* new Buffer -> Buffer.from (thanks @derhuerst)
2017-03-02 23:51:56 +01:00
Jaco Greeff
609e24ef04
Enhance dialog layouts (round 1) ( #4637 )
...
* Added SelectionList component for selections
* Use SelectionList in DappPermisions
* AddDapps uses SelectionList
* Fix AccountCard to consistent height
* Display type icons in creation dialog
* Complimentary colours
* Convert Signer defaults to SelectionList
* Fix Geth import - actually pass addresses through
* Work from addresses returned via RPC
* Display actual addresses imported (not selected)
* Update tests to cover bug fixed
* Prettyfy Geth import
* Description on selection actions
* SelectionList as entry point
* Update failing tests
* Subtle selection border
* Styling updates for account details
* Add ModalBox summary
* AddAddress updated
* Convert VaultAccounts to SelectionList
* Add tests for SectionList component
* Add tests for ModalBox component
* Re-apply stretch fix
* Apply scroll fixes from lates commit in #4621
* Clear name on switch (test in #4652 , not pulling in)
* Remove refs (cleanup)
2017-02-24 18:05:39 +01:00
Nicolas Gotchac
4bae2c751c
Fixes BadgeReg Middleware ( #4547 ) ( #4556 )
2017-02-15 13:42:55 +01:00
Nicolas Gotchac
8aaa18d75d
Fix pasting of value in Input fields ( #4555 )
...
* Fix logging and logger issues
* onPaste submit value + pasted text (#4553 )
2017-02-15 13:37:58 +01:00
Nicolas Gotchac
ace5c27211
Several fixes to the Wallet in general ( #4504 )
...
* Fix address non-ellipsis on Wallet view
* Add warning if daily limit has been reached
* Add OOG warnings to TxHash
* Fixes to the Warning
* Added stringified version of the changes
* Add wallet link for notifications
* Fix tests
* Use Formatted Messages
* React Intl
* s/ui.walletSettings/walletSettings in React Intl
2017-02-10 18:27:18 +01:00
Nicolas Gotchac
e8175f4cca
Build embedded Parity JS properly and separatly ( #4426 )
...
* Add a specific embed webpack build // output assets in JSON
* WIP Embed
* Updated Webpack
* Update exports // Webpack config
* Fix app build fail
* Fix NPm scripts
* Reduce Embed dependencies
* Fix NPM exports
* remvoe stats
* Lazy-Load worker (not to load in embed)
* PR Grumbles + Fix tests
2017-02-09 15:30:57 +01:00
Gav Wood
4553f517ce
Fix eth_sign/parity_postSign ( #4432 )
...
* Fix dispatch for signing.
* Remove console log
* Fix signing & tests.
2017-02-04 16:00:28 +01:00
Jaco Greeff
cd4d489b57
Add block & timestamp conditions to Signer ( #4411 )
...
* WIP
* WIP (with lint)
* Update ui/RadioButtons
* transaction.condition
* Date & Time selection in-place
* Swap to condition-only
* Fix tests, align naming
* Pick error properly from validation
* Update tests
* condition: time sent withough ms
* Format numbers as base-10
* override popup styles (zIndex)
* Pass condition to signer
* Update expectation (failing test typo)
* Adjust min/max height for expanded bar
* Fix address display
* Fix name display
* Number inputs for gas/gasPrice/blockNumber
* Default blockNumber to 1 (align with min setting)
* Update tests with min value
* Add Block Number
* Fix failing tests (after blockNumber intro)
2017-02-03 20:01:09 +01:00
Gav Wood
75ecabbd28
Fix signing ( #4363 )
...
* Fix signing.
* Fix linting.
* Fix linting.
* Address grumble.
2017-01-31 14:15:08 +01:00
Gav Wood
8404edb656
Fix whitespace ( #4299 )
...
* Fix whitespace.
* Update copyright years/owner.
* Push release only for tags.
2017-01-25 18:51:41 +01:00
Jaco Greeff
66e540edf8
Eslint formatting updates ( #4234 )
...
* Eslint updated (newline-after-var)
* Fix newline-after-var
* Eslint updated (one-var-declaration-per-line)
* Fix one-var-declaration-per-line
* Fix additional errors
* Lint after merge
2017-01-23 13:39:52 +01:00
Nicolas Gotchac
8edaab806e
Fix wrong token handling ( #4254 )
...
* Fixing wrong token displayed
* Linting
* Revert filtering out
* Revert the revert
2017-01-20 19:49:09 +01:00
Jaco Greeff
29e91f80d1
Disable notifications ( #4243 )
2017-01-20 15:48:14 +01:00
Jannis Redmann
df9110dd5e
cache registry reverses in local storage ( #4182 )
...
* cache reverses in localStorage
* bugfixes 🐛 , linting fixes 👕
* registry caching: store last block
* registry caching: store per chain
* localStorage -> store
* code style ✨
* code style 👕
2017-01-20 10:07:47 +01:00
Jaco Greeff
c1ce65c870
Poll for upgrades as part of global status (long) ( #4197 )
...
* Poll for upgrades as part of global status (long)
* Fix path
2017-01-18 12:44:18 +01:00
Nicolas Gotchac
81beec1352
Don't pop-up notifications after network switch ( #4076 )
...
* Better notifications
* Don't pollute with notifs if switched networks
* Better connection close/open events / No more notifs on change network
* PR Grumbles
* Add close and open events to HTTP // Add tests
* Fix tests
* WIP Signer Fix
* Fix Signer // Better reconnection handling
* PR Grumbles
* PR Grumbles
* Fixes wrong fetching of balances + Notifications
* Secure API WIP
* Updated Secure API Connection + Status
* Linting
* Linting
* Updated Secure API Logic
* Proper handling of token updates // Fixing poping notifications
* PR Grumbles
* PR Grumbles
* Fixing tests
2017-01-12 14:25:32 +01:00
Jaco Greeff
32dbf9958e
Better error log reporting & handling ( #4128 )
2017-01-11 17:02:39 +01:00
Jannis R
f12937a21e
reverse caching: use subscribeToEvents
2017-01-09 19:09:22 +01:00
Jannis R
cca7627fb8
reverse caching: PR grumbles
2017-01-09 17:49:06 +01:00
Jannis R
61a42cc7e4
reverse caching: pass API into middleware
2017-01-09 16:59:33 +01:00
Jannis R
92742e663a
merge master into jr-reverse-caching
2017-01-09 12:50:26 +01:00
Nicolas Gotchac
e1847442cc
Fix balances update ( #4077 )
...
* Fix balances fetching
* Fix fetching balances while syncing
2017-01-09 11:15:00 +01:00
Nicolas Gotchac
40f0ee004f
Key derivation in Worker ( #4071 )
...
* Add Signer Key Derivation in Service Worker
* Several fixes throughout the UI
* Hint for external account // working Worker
* Add Worker state change
* PR Grumbles
2017-01-09 11:14:36 +01:00
Jannis R
71e80f10d8
reverse caching: optimize timing
...
Users quickly want all reverses registered in the path,
but don't care so much about live data.
2017-01-05 17:27:25 +01:00