Jannis R
61a42cc7e4
reverse caching: pass API into middleware
2017-01-09 16:59:33 +01:00
Jannis R
8c2aa4d87c
address selector: unique registry results
2017-01-09 14:24:04 +01:00
Jannis R
f05ffd2e09
address selector: complete reverses by name as well
2017-01-09 14:13:11 +01:00
Jannis R
38734c92c2
address selector: lower case for reverse completion
2017-01-09 14:03:52 +01:00
Jannis R
92742e663a
merge master into jr-reverse-caching
2017-01-09 12:50:26 +01:00
Jaco Greeff
378739fae1
Use shallow-only rendering in all tests ( #4087 )
...
* Container/Title with shallow
* IdentityName with shallow
* IdentityIcon with shallow
* TypedInput to shallow
* DetailsStep to shallow
2017-01-09 12:40:29 +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
Nicolas Gotchac
cf0a20f08b
Display contract block creation ( #4069 )
...
* Add contract block creation to metadata
* Display mined block for contract on Contracts view
* Better use of Summary for Accounts
* Add sorted by mined block for contracts
* Proper Block Number sort // display in contract page
* PR Grumble
* Linting issues
2017-01-09 09:38:27 +01:00
Jannis R
ba4263e33f
fix tests ✅
2017-01-06 18:55:18 +01:00
Nicolas Gotchac
761ed913a8
Passwords are valid by default ( #4075 )
...
* Passwords are valid by default #4059
* Actually fixing the issue
2017-01-06 17:56:57 +01:00
Nicolas Gotchac
30394bdb1c
Add Origin to events table ( #4073 )
2017-01-06 17:24:35 +01:00
Nicolas Gotchac
81641a5839
Fix tags after Account view ( #4070 )
2017-01-06 17:23:04 +01:00
Jannis R
c4f7b8fb96
merge master into jr-reverse-caching
2017-01-06 16:03:05 +01:00
Tomasz Drwięga
f6349187ef
Bringing back js-sha3
to fix in-browser signing ( #4063 )
...
* Bring back Uint8Array sha3 support
* Added SHA3 test with HEX encoding
* Rename hex2Ascii => hexToAscii
Add tests or the api/util/format functions
Use js-sha3 for sha3 with hex encoding support
* Adding Uint8Array test
* Fixing Transaction import
2017-01-06 15:36:24 +01:00
Jannis R
ad3b89dc14
Merge master into jr-reverse-caching
2017-01-06 13:35:50 +01:00
Nicolas Gotchac
9ab9ff2381
Fix wrong transaction input for contract deployments ( #4052 )
...
* Fix mutable options in Contract API
* Add Swarm hash and meta data from Solidity
* Updates tests for contract deployment
* Add test for deploy without constructor Params
2017-01-06 10:39:18 +01:00
Jannis Redmann
20c1d37b59
let users open urls from dapps view ( #4042 )
...
* browser: better url handling
* browser: pass url as param
* dapps: button to open browser
* dapps url button: remove url validation
* PR grumbles, better URL parsing
* code style ✨
* better URL parsing, react to changed URL fragment
2017-01-05 21:15:01 +01:00
Jannis R
2aa76e5acc
address selector: simple completion for reversed addresses
2017-01-05 18:21:15 +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
Jannis R
6f492a4945
address selector: use cached reverses
2017-01-05 17:19:26 +01:00
Jannis R
b38aa8d01f
reverse caching: middleware
2017-01-05 16:56:40 +01:00
Jannis R
ac2c678e69
reverse caching: redux boilerplate
2017-01-05 16:56:11 +01:00
Jaco Greeff
20ad2e7d42
Util/validation update ( #4051 )
...
* Fix code validation for null inputs
* tests WIP
* tests WIP
* Update validation tests
* Adjust block names, slice (PR comments)
2017-01-05 16:51:27 +01:00
Jaco Greeff
9613145464
Convert ShapeShift modal to store ( #4035 )
...
* WIP
* WIP store
* Store in-place
* WIP tests
* Store completed
* Expand option tests for events
* Fix & test for errors found in manual testing
* Add missing @observer (rookie mistake)
* Fix intl formatting error (completed step)
* Pass store to ErrorStep, test all stages for components
* Add warning messages (e.g. no price found)
* Fix typo
2017-01-05 16:51:16 +01:00
Jaco Greeff
1ef67f68ed
Starting on homestead shows reload snackbar ( #4043 )
...
* Fix issue where starting on homestead showed reload
* Align snackbar timing with errors (60s)
2017-01-05 12:07:10 +01:00
Nicolas Gotchac
d16ab5eac5
Show contract parameters in MethodDecoding ( #4024 )
...
* Add decoding of Inner Contract Deployment params #3715
* Fixed TypedInput when formatted value
* Fix TypedInput
* PR Grumble
* Add test to `Param.toParams`
2017-01-05 12:06:58 +01:00
Jaco Greeff
ddeb06d9cc
UI component updates ( #4010 )
...
* Update blockStatus & test results
* IdentityIcon rendering tests for #3950
* Update IdentityName with external messages
* Expand to cover basic layout sections
* ConfirmDialog rendering tests
* TxHash expansion & tests
* Cleanup ui/*.spec.js PropType warnings
* Use react-intl plural for confirmation/confirmations (verified manually)
2017-01-05 12:06:46 +01:00
Jaco Greeff
602a4429cc
Account view updates ( #4008 )
...
* Fix null account render issue, add tests
* Add tests for #3999 fix (merged in #4000 )
* Only include sinon-as-promised globally for mocha
* Move transactions state into tested store
* Add esjify for mocha + ejs (cherry-picked)
* Extract store state into store, test it
* Use address (as per PR comments)
* Fix failing test after master merge
2017-01-05 12:06:35 +01:00
Nicolas Gotchac
fbb52ac58b
Fix wallet in main net ( #4038 )
2017-01-04 16:25:39 +01:00
Jannis Redmann
839ee9afd7
address selector: support reverse lookup ( #4033 )
...
* address selector: simplify lookup
* address selector: support reverse lookup
2017-01-04 15:15:36 +01:00
Nicolas Gotchac
71e7a429d7
Only fetch App when necessary ( #4023 )
...
* Only fetch App when necessary. Show loadings + 404 #3914
* PR Grumble
2017-01-04 15:15:25 +01:00
Jaco Greeff
cc8e200ed5
Connection UI cleanups & tests for prior PR ( #4020 )
...
* Cleanups & tests for #3945
* Externalise icons as per PR comments
2017-01-04 15:15:11 +01:00
Jaco Greeff
7cdfaf1a43
Unsubscribe error on ShapeShift modal close ( #4005 )
...
* unsubscribe in onClose (state available)
* Revert "unsubscribe in onClose (state available)"
This reverts commit 1da0a7447563e3cb0d9149b0b9898ec93b483982.
* Fix shapeshift double unsubscribe
* Swap multiple list test addresses
2017-01-04 15:14:51 +01:00
Nicolas Gotchac
63017268ad
Add ownership checks the Registry dApp ( #4001 )
...
* Fixes to the Registry dApp
* WIP Add Owner Lookup
* Proper sha3 implementation
* Add working owner lookup to reg dApp
* Add errors to Name Reg
* Add records error in Reg dApp
* Add errors for reverse in reg dApp
* PR Grumbles
2017-01-04 15:14:37 +01:00
Jannis Redmann
565a1b510e
refresh balances of contacts & contracts when syncing ( #4022 )
2017-01-03 17:42:05 +01:00
Jannis Redmann
9de8ba0cf5
show message on new chain ( #4016 )
...
* clear account infos on new chain
* new chain: show only snackbar
* fix new chain popup 🐛
2017-01-03 17:41:55 +01:00
Nicolas Gotchac
e8ef7b357d
Use TypedInputs in Contracts view ( #4015 )
...
* Use TypedInput in Contracts
* Add right readOnly Bool TypedInput
* PR Grumbles
2017-01-03 17:41:46 +01:00
Nicolas Gotchac
0f41c5b847
Fix focus on Modal ( #4014 )
...
* Fix focus on Modal #3814
* PR Grumble
2017-01-03 17:41:31 +01:00
Jaco Greeff
04ed53e0f2
Fix newError noops when not bound to dispacher ( #4013 )
...
* AddContract properly binds newError
* EditMeta properly binds newError
* PasswordManager properly binds newError
* pass null instead of empty mapStateToProps
* Add openSnackbar test & binded prop
2017-01-03 17:41:21 +01:00
Nicolas Gotchac
0c6a9ebbb9
Work on Portal Style ( #4003 )
...
* Reduce Portal size and close on click outside
* PR Grumbles
2016-12-31 13:28:16 +00:00
Nicolas Gotchac
fd41a10319
Make Wallet first-class citizens ( #3990 )
...
* Fixed hint in Address Select + Wallet as first-class-citizen
* Separate Owned and not Owned Wallets
* Fix balance not updating
* Fix MethodDecoding for Contract Deployment
* Fix TypedInput params
* Fix Token Transfer for Wallet
* Small change to contracts
* Fix wallets shown twice
* Fix separation of accounts and wallets in Accounts
* Fix linting
* Execute contract methods from Wallet ✓
* Fixing linting
* Wallet as first-class citizen: Part 1 (Manual) #3784
* Lower level wallet transaction convertion
* Fix linting
* Proper autoFocus on right Signer input
* PR Grumble: don't show Wallets in dApps Permissions
* Add postTransaction and gasEstimate wrapper methods
* Extract Wallet postTx and gasEstimate to utils + PATCH api
* Remove invalid test
It's totally valid for input's length not to be a multiple of 32 bytes. EG. for Wallet Contracts
* Merge master
* Fix linting
* Fix merge issue
* Rename Portal
* Rename Protal => Portal (typo)
2016-12-30 11:28:12 +00:00
Jaco Greeff
37c607d7b0
Don't slice non-existent tags ( #4000 )
2016-12-29 20:01:36 +00:00
Nicolas Gotchac
75f2644e6a
Update dev dependencies and make Webpack less verbose ( #3997 )
...
* Update dev dependencies // Less verbose Webpack
* Fix linting fro JSX
2016-12-29 18:48:39 +00:00
Nicolas Gotchac
9814251a28
Add Email and Registry lookups to Address Selector ( #3992 )
...
* Move AccountSelect values to MobX store
* Mail registry + small fixes
* Add Registry to AddressSelect lookups + Nav fixes
* Fix linting
* PR Grumbles
* Fix tests and propTypes
2016-12-29 18:47:53 +00:00
Jaco Greeff
8677c3b91f
Cleanup AddContract with store ( #3981 )
...
* Splits (WIP)
* Expand getters & setters
* Initial abi type set
* Expand
* Don't rely on passed api
* Store tests in place
* Allow RadioButtons to accept MobX arrays
* Fixes for manual testing
2016-12-28 17:09:54 +00:00
Jaco Greeff
7e600b5a82
Store for EditPassword Modal ( #3979 )
...
* External store (WIP)
* address & meta
* Add editable (WIP)
* View converted (WIP)
* Single API stub creation
* Testing (WIP)
* Simplified meta assign
* Tests running
* Fix duplicate exports
* Fix tags not editable
2016-12-28 17:09:45 +00:00
Nicolas Gotchac
7581ac635f
Fetch certifiers only when needed ( #3978 )
...
* Fetch certifiers once + on new Logs
* Linting
* BadgeReg First Query
* Rightly fetching badges on page change
* PR Grumbles
* Only fetch certifiers onces
2016-12-27 15:23:58 +00:00
Jaco Greeff
b27c809c64
Visible accounts for dapps (default whitelist) ( #3898 )
...
* Add APIs for Dapp management
* Move AddDapps modal
* Add DappsPermissions Modal (basics)
* Allow whitelist editing
* Add select/unselect tests
* Case
* Case
* Modal render/non-render tests
* UI made slightly prettier
* Adjust spacing
* Allow get/set of null for default whitelist (all)
* Allow null = all for selection
* Adjust selected background
* Address valid comment on formatters location
2016-12-27 15:23:41 +00:00
Jaco Greeff
19c8e55aa9
Small UI fixes ( #3966 )
...
* Load dapp visibility from localStorage
* Align MethodDecoding address svg properly
* Consolidate svg & img classes overrides
* improve isNullAddress check
* readOnly for null display
* disabled || readOnly
2016-12-27 12:40:33 +01:00
Nicolas Gotchac
ce8d9252e7
Fix wrong use of Icons ( #3973 )
2016-12-27 12:40:16 +01:00
Tomasz Drwięga
c7c309d152
Web Based Dapps ( #3956 )
...
* Dapps web
Conflicts:
dapps/src/apps/fetcher.rs
dapps/src/handlers/fetch.rs
* Rewriting fetch
* Parity-wide fetch service
* Obey the limits and support cancellation.
* Removing temporary files.
* Actually use Fetch for dapps
* Re-implementing file fetching to avoid temporary files.
* Serde to 0.8.19
* Fixing content & dapps fetch
* Serving web content and injecting scripts
* Don't wait for old content, start a new download
* Supporting timeouts and query
* Simple GUI for the browser
* Proxy tokens validation
* Recovering from invalid web-based requests
* Remember last visisted URL
* Removing unused variables
* Addressing review comments
* Setting default account in web3
* Adding WebBrowser dapp to the list
* Actually prune old entries when generating new token
2016-12-27 10:15:02 +00:00
Jannis Redmann
6842d43491
contract query: render false as false ( #3971 )
2016-12-27 10:04:14 +00:00
Jannis Redmann
5128438835
email verification: add Terms of Service ( #3970 )
2016-12-27 10:04:02 +00:00
Nicolas Gotchac
72c65d9c2f
Fix method decoding ( #3967 )
...
* Fix method decoding
* Restore master version
2016-12-27 10:03:49 +00:00
Jaco Greeff
2bbefcd438
Store for EditMeta modal ( #3959 )
...
* Store basics
* Tested
2016-12-27 10:02:53 +00:00
Jannis Redmann
002e8b00d4
registry dapp: cleanup, support reverse entries ( #3933 )
...
* style fixes ✨
* registry dapp: show reverse events
* registry dapp: actions & reducers for isTestnet
* registry dapp: make Hash & Address components
* registry dapp: code style ✨
* registry dapp: bugfixes 🐛
* registry dapp: postTx helper
* registry dapp: refactor reducers
* registry dapp: use react-redux
* registry dapp: actions & reducers for reverse lookup
* registry dapp: reverse lookup component
* registry dapp: connect Address to redux
* registry dapp: de-DRY recordTypeSelect
In preparation for the next commit.
* registry dapp: support reverse lookup
* registry dapp: render reverse events
* registry dapp: show tx sender, add key prop
* registry dapp: link accounts to etherscan as well
* registry dapp: address style grumbles 💄
* registry dapp: address style grumbles 💄
2016-12-27 10:01:16 +00:00
Nicolas Gotchac
1ffc6ac58c
New Address Selector Component ( #3829 )
...
* WIP new address selector
* WIP Working New Account Selector
* WIP Fully working Addres Selector (missing keyboards navigation)
* WIP Address Selector
* Fully functionnal new Address Selector!
* Implement disabled prop
* Don't auto-open on focus + Text Selection fix
* Add copy address capabilities
* Better Address Selector Focus
* Search from tags
* [Address Selector] Better Focus // Parity Background
* Linting
* [Adress Selector] Better focused input style
* Better focus support for inputs
* Fix style issue
* Add tags to accounts
* linting
* Add label to address selector
* Removed old address selector + improved styling
* Fixing address selection issues
* fix test
* Better logs...
* PR Grumbles Part 1
* PR Grumbles Part 2
* PR Grumbles Part 3.1
* PR Grumbles Part 3.2
* PR Grumbles Part 3.3
* New Portal Component
* Simpler Transition for Portal
* PR Grumbles Part 4
* Align font-family with rest of UI
* Fix null value input
* Fix Webpack build...
2016-12-27 09:59:37 +00:00
Tomasz Drwięga
27ba0e6922
Limiting accounts returned by parity_accountInfo ( #3931 )
...
* Limiting accountNames returned by parity_accountNames
* Fixing middleware
* Change RPC interface
* Enhance tests for RPC layer
* UI uses parity_allAccountsInfo
* Update dapps to use parity_accountsInfo
* Don't filter by uuid (deprecated)
* Consistency in calls
* Fix js tests (missed stub call)
2016-12-23 18:52:02 +01:00
Jaco Greeff
714298aa9a
Eslint rule for block curlies ( #3955 )
...
* Add curly rule
* Fix pre-existing issues with new rule
2016-12-23 16:43:13 +01:00
Jaco Greeff
466f84f485
Gas exception warnings on deployment ( #3938 )
...
* add deployEstimateGas function
* Render gas warning with Warning component
* estimateGas, display warning on contract deploy
* Update messages
* Removed unused import
* Fix calculated gas usage
* Basic component smoktest
* Only display warning on edit steps
2016-12-23 16:42:48 +01:00
Jannis Redmann
db6964acc4
move verification store into modal ( #3951 )
...
* move verification store
* address style grumbles ✨
2016-12-23 15:40:04 +01:00
Jaco Greeff
fc620d0d3e
Allow setting of minBlock on sending ( #3921 )
...
* minBlock value formatting
* Allow Contract execute to specify minBock
* Transfer allows minBlock
* Cleanups
* Check errors, verify via testing
* Display Submitted/Submission block in MethodDecoding
2016-12-23 15:31:19 +01:00
Jaco Greeff
74efb22230
Allow empty address ( #3961 )
2016-12-23 15:24:03 +01:00
Jaco Greeff
e006af1edd
Fix default import ( #3960 )
2016-12-23 15:13:43 +01:00
Jaco Greeff
077069c452
Display 0x00..00 as null ( #3950 )
...
* Display 0x00..00 as null (custom black icon)
* rendering test for null
2016-12-22 18:30:59 +01:00
Jaco Greeff
203b419080
Fix manual input token ( #3945 )
...
* Fix manual input token (invalid regex)
* .trim() on token
* Add ^ & $ matching
2016-12-22 17:21:48 +01:00
Jaco Greeff
00f4f128f2
Add missing Ethcore -> Parity headers ( #3948 )
2016-12-22 16:33:05 +01:00
Nicolas Gotchac
aba38721b1
Fix Secure API hangs ( #3927 )
...
* Use proxy for WS in dev
* Update SecureAPI
* Update webpack config
* Fix dev contract
* Update webpack
* Linting fixes
* Refactor Secure API logic : Promise based, no wastes of req
* Fix tests
* Add try 'intitial' token
2016-12-21 15:12:40 +01:00
Robert Habermeier
a9f89b09e0
Merge pull request #3899 from ethcore/warp-sync-rpcs
...
parity_chainStatus RPC for block gap info
2016-12-21 15:09:45 +01:00
Gav Wood
8f5804eab8
Merge pull request #3894 from ethcore/jg-fix-status-blocktime
...
Blocktime format rounding
2016-12-20 17:35:08 +01:00
Jaco Greeff
d89ee5432e
JS API interface for parity_chainStatus
2016-12-20 12:12:39 +01:00
Nicolas Gotchac
efb928b8f1
Removed Worker
2016-12-20 03:51:23 +01:00
Nicolas Gotchac
b4c73a52d1
Merge branch 'master' into ng-contract-dev
2016-12-20 02:39:10 +01:00
Nicolas Gotchac
244d1aefc6
linting
2016-12-20 02:38:40 +01:00
Nicolas Gotchac
1627c3fa71
Add import files in Contract Dev
2016-12-20 02:37:16 +01:00
Nicolas Gotchac
5886034265
Add optimize and autocompile toggles
2016-12-20 02:11:04 +01:00
Nicolas Gotchac
f70e808056
Fallback in Contract Dev if no worker
2016-12-20 01:55:57 +01:00
Nicolas Gotchac
e377ec3194
Working ServiceWorker
2016-12-19 14:39:10 +01:00
Jannis Redmann
2862e8b92c
update email certification ABI ( #3893 )
2016-12-19 14:14:54 +01:00
Jaco Greeff
6efaec8f8b
Blocktime format rounding
2016-12-19 14:07:50 +01:00
Jaco Greeff
1b59ceb7c1
Remove existence & length checks on passwords & phrases ( #3854 )
...
* Allow input to receive FormattedMessage errors
* Only do existence checks on phrases & passwords
* Add missing import
* Remove existence checks, display security reminder
2016-12-19 13:17:28 +01:00
Jannis Redmann
7185fb0f37
refresh certifications automatically ( #3878 )
...
* certifications: eth.getLogs -> filters
* linting 👕 , indentation
* certifications: fetch filter changes
* certifications: prevent overlapping
* certifications: watch blockNumber to refresh
* fix email certification contract
See ethcore/contracts@d86490e302
* update email certification contract
2016-12-19 13:17:15 +01:00
Nicolas Gotchac
670be41b62
Fix Wallet Settings Modal ( #3856 )
...
* Fixes wallet settings modal
* Fix linting
2016-12-19 13:16:59 +01:00
Gav Wood
c14d34e347
Merge pull request #3853 from ethcore/jg-token-log
...
Don't log auth token
2016-12-16 20:24:23 +01:00
Gav Wood
a6a8e431f5
Fix lint
2016-12-15 22:46:36 +01:00
Gav Wood
7cac50601f
Add JS tests for parity_netPeers
2016-12-15 22:45:35 +01:00
Gav Wood
869fbf5108
Fix linting.
2016-12-15 22:07:25 +01:00
Gav Wood
ca0d87da10
125 -> 69.
2016-12-15 22:05:54 +01:00
Gav Wood
5bab14e0c0
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-15 21:15:25 +01:00
Jannis R
d2962fe47b
store certifier index in constant
2016-12-15 20:47:41 +01:00
Nicolas Gotchac
1d04f25a0a
Add error toString
2016-12-15 19:35:16 +01:00
Nicolas Gotchac
5983a0c1a5
Linting fixes
2016-12-15 19:07:13 +01:00
Nicolas Gotchac
365ab60fed
Use ServiceWorker for Contract compilation
2016-12-15 19:06:05 +01:00
Gav Wood
c12702fc51
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-15 18:23:02 +01:00
Jannis R
7fdcc70825
Merge jg-contract-subid into jr-fix-verification
2016-12-15 18:12:45 +01:00
Jaco Greeff
1f1dc8b89d
Store subscriptionId, use it to send changes
2016-12-15 18:09:59 +01:00
Jannis R
0e963da27b
fix verification stores 🐛
2016-12-15 18:09:52 +01:00
Jaco Greeff
17781a5ac4
Fix typo in method call
2016-12-15 17:52:28 +01:00
Jaco Greeff
9dd1268b69
Add keys for steps (future-proof)
2016-12-15 15:56:58 +01:00