Commit Graph

562 Commits

Author SHA1 Message Date
Jannis R
fa1343e8af
align copy button to input field 2016-11-24 17:17:14 +01:00
Gav Wood
46e5a84bc5 Merge pull request #3540 from ethcore/delete-accounts
Real deleting accounts
2016-11-24 17:16:26 +01:00
Jaco Greeff
6b9b31ad37 check for network ID for live/test matching 2016-11-24 15:46:25 +01:00
Jaco Greeff
67771f39de Trim whitespace from recovery phrase 2016-11-24 14:56:39 +01:00
Jaco Greeff
30526da094 Allow forms, allow target=_blank 2016-11-24 11:46:27 +01:00
Nicolas Gotchac
d188435fd8 Add Loading splashscreen 2016-11-24 03:40:22 +01:00
Nicolas Gotchac
e676f00dfa Wepback dapps 2016-11-24 03:26:38 +01:00
Nicolas Gotchac
1291130f9e Simpler Webpack config : create HTML files for dapps 2016-11-24 02:28:33 +01:00
Jaco Greeff
97ec5053f0 PR grumbles, wording, isRequired, no close on error 2016-11-23 22:17:36 +01:00
Nicolas Gotchac
d429f5526f Fix local tx requests (#3589)
* [localtx] Poll every second, dettach on unmount

* Fixed webpack config for dapps

* Fixed webpack PROXY config
2016-11-23 21:35:10 +01:00
Gav Wood
0501658d1b Merge pull request #3591 from ethcore/ng-sync-ws
Don't fetch balances on every new block if syncing
2016-11-23 19:58:14 +01:00
Nicolas Gotchac
cd88f2ad1b Don't fetch balances on every new block if syncing #3582 2016-11-23 19:12:32 +01:00
Nicolas Gotchac
0c3d87f0d3 Removed check node up from WS #3587 2016-11-23 18:20:18 +01:00
Nicolas Gotchac
bb6fe16478 Fixed ping and comment #3587 2016-11-23 18:08:53 +01:00
Nicolas Gotchac
ab212fcdb5 Localstorage SignerToken first #3587 2016-11-23 17:51:08 +01:00
Nicolas Gotchac
abcccbe7cc Merge branch 'master' into ng-ws-improved 2016-11-23 17:48:06 +01:00
Nicolas Gotchac
f800dd1eee WebSocket Improvments #3544 2016-11-23 17:37:04 +01:00
Gav Wood
7ed4a21a02 Merge pull request #3531 from ethcore/jg-signer-api-queries-2
Move Signer balance queries to store for component-wide re-use
2016-11-23 16:03:45 +01:00
Nicolas Gotchac
93f8a1494e Fix contract method name (#3580) 2016-11-23 13:59:21 +01:00
Nicolas Gotchac
a22469ade5 Fix contract method name 2016-11-23 13:56:48 +01:00
Jaco Greeff
e9eebb3088 Optimise multi-balance fetching (one set) 2016-11-23 12:32:50 +01:00
Jaco Greeff
dddb8752f2 Merge branch 'master' into jg-signer-api-queries-2 2016-11-23 12:32:21 +01:00
Jaco Greeff
78ffd10236 Typo in description 2016-11-23 10:33:04 +01:00
Nicolas Gotchac
33dd49160f Smarter Tokens fetching (#3546)
* Don't auto-subscribe for contracts #3240

* Smarter Balance : don't re-instantiate contracts, fetch tokens #3240

* Smarter Balance Tokens fetching (update image when needed) #3240

* Attaching to TokenReg Events instead of fetching for each block #3240

* Unsubscribe from shapeshit... #3240

* Unsubscribe from EthFilter if used once (resolved) #3240

* Remove warning

* PR review fix

* Typo

* Better contract JS API : one subscribe for all #3546

* Fixed test
2016-11-23 10:30:47 +01:00
Jaco Greeff
59f4252011 Merge branch 'master' into jg-signer-api-queries-2 2016-11-22 17:31:27 +01:00
Jaco Greeff
d8cb32d49b Typo 2016-11-22 17:31:25 +01:00
Gav Wood
490b39cc85 Merge pull request #3555 from ethcore/ng-fast-ui
Faster UI - React Tweaks
2016-11-22 17:05:23 +01:00
Gav Wood
a722bac304 Merge pull request #3512 from ethcore/jg-transact-gas-warnings
Send value & contract execute gas limit warnings
2016-11-22 17:04:13 +01:00
Jaco Greeff
7f7ffd7284 Monitor killAccount for refresh 2016-11-22 16:46:40 +01:00
Jaco Greeff
609e8912d8 Merge branch 'master' into delete-accounts 2016-11-22 16:19:40 +01:00
Jaco Greeff
cce5b217ed Delete account dialog 2016-11-22 16:19:36 +01:00
Jaco Greeff
3db5e3e627 jsapi interface for parity_killAccount 2016-11-22 15:52:23 +01:00
Jaco Greeff
57ff0e5747 Add visibility specifier (not added between merges) (#3566) 2016-11-22 13:36:23 +01:00
Jaco Greeff
bd6f343cbe DappRegistry (#3405)
* Initial version, just loading

* Warning dialog

* Retrive & show applications

* Display completed

* Edit/New mode start

* Display distry state, resolve hashes to urls

* Move buttons to top-level

* Rework display

* Update error handling & dirty checks

* Formatting

* Split sections into components

* Styling updates

* Slight styling adjustments

* Start delete modal

* Add modals for register & update

* Flesh-out register modal

* Register error handling

* Register registers

* List refresh on add & remove

* Update operational

* Simplify, remove bg image

* Really remove bg

* fix case

* Collapse text-only components
2016-11-22 11:54:20 +01:00
Jaco Greeff
a475c2166c Merge branch 'master' into jg-signer-api-queries-2 2016-11-22 09:49:17 +01:00
Jaco Greeff
4c08f7ebba Merge branch 'master' into jg-signer-api-queries-2 2016-11-22 09:48:32 +01:00
Jannis Redmann
f9ecea8f4d sms verification code style (#3564)
* sms verification: fix code style

* sms verification: move server-related code to 3rdparty

* sms verification: adapt to ropsten
2016-11-21 20:45:47 +01:00
Nicolas Gotchac
5735d948f5 [Registry] Clear input and working buttons (#3563)
* onClick to onTouchTap #3556

* onClick to onTouchTap 2 #3556

* Registry dApp clear input + check Signer #3557
2016-11-21 20:44:37 +01:00
Nicolas Gotchac
8a1b585da2 Fix peers not displaying (#3561)
* Add peers count to status polling

* Array destruct for better readability
2016-11-21 20:44:07 +01:00
Nicolas Gotchac
ba8460c65b Fix summary update 2016-11-21 15:54:51 +01:00
Jaco Greeff
42964e9a8e lint fixes 2016-11-21 15:48:46 +01:00
Jaco Greeff
e90743ecbf Use actual registry fee 2016-11-21 15:47:36 +01:00
Nicolas Gotchac
35fdbf3352 Progressive Accounts List Rendering #3240 2016-11-21 15:45:58 +01:00
Nicolas Gotchac
a317e4fdbf Better TabBar #3240 2016-11-21 14:31:06 +01:00
Nicolas Gotchac
47f5a6d005 Merge pull request #3524 from ethcore/jg-signer-api-queries
Don't query chain in Signer, use Redux isTest
2016-11-21 14:16:33 +01:00
Nicolas Gotchac
ca5fd0b23d React Perf in dev mode // Smarter background component #3240 2016-11-21 14:14:25 +01:00
Jaco Greeff
278b1e3bd5 ropsten updates as per comment 2016-11-21 13:04:32 +01:00
Jaco Greeff
d48391d6be ropsten 2016-11-21 12:26:38 +01:00
Gav Wood
0848a9ec3c
Merge branch 'master' into transactions-propagate 2016-11-20 13:24:08 +01:00
Jaco Greeff
1c4779683f Rename Request{Pending,Finished}Web3 -> Request{Pending,Finished} 2016-11-18 22:30:36 +01:00
Jaco Greeff
d1e6b9ec5e Introduce mobx store for component balances 2016-11-18 22:26:52 +01:00
Jaco Greeff
4498fd54a4 Typo slipped through 2016-11-18 21:55:55 +01:00
Gav Wood
c9d1eb085c Merge pull request #3518 from ethcore/ng-solc-combined-fix
ABI can be empty and auto-fill contract name
2016-11-19 02:50:23 +08:00
Gav Wood
a97e08fbc8 Merge pull request #3498 from ethcore/jg-ghh-info-display
Better GHH event display & tracking
2016-11-19 02:49:56 +08:00
Gav Wood
80288f8680 Merge pull request #3438 from ethcore/jg-external-dapps
Dapp section & visibility changes
2016-11-19 02:49:41 +08:00
Jaco Greeff
1686d23522 Don't query chain in Signer, use Redux isTest 2016-11-18 19:07:13 +01:00
Jaco Greeff
be1e5ae52f Updated overlay size as per comments 2016-11-18 18:20:14 +01:00
Jaco Greeff
1382c3bbf4 PR grumble 2016-11-18 18:12:38 +01:00
Nicolas Gotchac
8fc1506c57 ABI can be empty and auto-fill contract name #3511 2016-11-18 17:54:25 +01:00
Jaco Greeff
f827ade616 debug log removal 2016-11-18 16:32:57 +01:00
Jaco Greeff
8d339ad379 Adjust styling 2016-11-18 15:13:37 +01:00
Jaco Greeff
b433e7e9a0 Updated, contract execution in-place 2016-11-18 15:05:02 +01:00
Jaco Greeff
bf58aab6a3 Merge branch 'master' into jg-transact-gas-warnings 2016-11-18 14:24:04 +01:00
Jaco Greeff
e69b7f66a3 Gas calculation & limit errors 2016-11-18 14:18:50 +01:00
Jaco Greeff
2de38c9238 Merge branch 'master' into jg-block-gasLimit 2016-11-18 12:25:04 +01:00
Jaco Greeff
5dcb3cbffb Retrieve gasLimit on new blocks 2016-11-18 12:24:32 +01:00
Gav Wood
3f2ba96e97 Merge pull request #3504 from ethcore/ng-faster-ui
Smarter Status Polling
2016-11-18 19:18:28 +08:00
Gav Wood
dd50c63912 Merge pull request #3496 from ethcore/ng-solc-output
Handle solc combined output
2016-11-18 19:17:49 +08:00
Nicolas Gotchac
1c3923c9e8 Smarter Polling #3240
Only refresh statuses when on Status Page for
  some statuses (eg. hashrate)
2016-11-17 20:19:11 +01:00
Jaco Greeff
0c26eddd7f Better GHH event display & tracking 2016-11-17 19:37:08 +01:00
Nicolas Gotchac
5fd66d2c97 Smarter pinging. Don't waster resources #3240 2016-11-17 19:20:58 +01:00
Nicolas Gotchac
868fdd68ab Smarter Status Redux fixed 2016-11-17 18:45:23 +01:00
Nicolas Gotchac
50473a69f4 Smarter Status Redux dispatch #3240 2016-11-17 18:44:01 +01:00
Nicolas Gotchac
18e40f3ece Merge branch 'master' into ng-solc-output 2016-11-17 17:51:32 +01:00
Nicolas Gotchac
3ec256cd7b Merge branch 'master' into ng-fix-parity-jsapi 2016-11-17 17:51:05 +01:00
Nicolas Gotchac
a1cbe449fa Use a single step and input for ABI/solc output #3196 2016-11-17 17:45:04 +01:00
Gav Wood
25a7ff1433 Merge pull request #3336 from ethcore/sms-verification-modal
sms verification modal
2016-11-17 23:42:12 +08:00
Nicolas Gotchac
6fd17540f3 Use the right webpack file // Export to window.Parity #3471 2016-11-17 15:54:13 +01:00
Nicolas Gotchac
830c762b75 Working desc and name fields #3196 2016-11-17 15:24:55 +01:00
Tomasz Drwięga
3bfd6c5998 Merge branch 'master' into transactions-propagate 2016-11-17 14:37:29 +01:00
Jannis R
4ae58f7d33
move nullable PropType helper 2016-11-17 14:31:25 +01:00
Tomasz Drwięga
afef5b5316 Mocking API for tests 2016-11-17 14:30:53 +01:00
Jannis R
179078d31a
sms verification: loading step 2016-11-17 14:23:59 +01:00
Jannis R
fff8743ee6
sms verification: fetch contract address from Registry 2016-11-17 14:23:47 +01:00
Tomasz Drwięga
45c7a28585 Fixing JS tests 2016-11-17 14:13:59 +01:00
Nicolas Gotchac
52f3d3cccd Add solc text helper #3196 2016-11-17 14:09:02 +01:00
Jaco Greeff
1b5f7f2241 Remove dangling only 2016-11-17 14:07:34 +01:00
Jaco Greeff
139e66932d Add trace_{call, rawTransaction, replayTransaction} 2016-11-17 14:05:11 +01:00
Tomasz Drwięga
be6eb79296 Fixing JS lints 2016-11-17 14:00:53 +01:00
Nicolas Gotchac
d41efcc84e Add input from Solc compiler #3196 2016-11-17 13:59:13 +01:00
Tomasz Drwięga
5c62e38a7c Cleanup 2016-11-17 13:52:09 +01:00
Tomasz Drwięga
74bf2c75f0 Transaction queue improvements 2016-11-17 13:32:13 +01:00
Jannis R
3f0053f884
sms verification: move helper functions
- checkIfTxFailed & waitForBlockConfirmations are both general-purpose
- checkIfVerified, checkIfRequested & postToServer are sms verification-specific
2016-11-17 13:07:36 +01:00
Jannis R
a59526099d
merge master into sms-verification-modal 2016-11-17 12:40:22 +01:00
Jannis R
13448930e9
sms verification: fix styling 2016-11-17 12:31:06 +01:00
Nicolas Gotchac
c8fadbec69 Add a new RadioButtons Component #3196 2016-11-17 12:06:35 +01:00
Tomasz Drwięga
ff27bbcb4f Simple GUI for local transactions 2016-11-17 10:15:11 +01:00
Gav Wood
4c41195d5c Merge pull request #3478 from ethcore/ng-errors-overlay
Better Errors Snackbar in UI
2016-11-17 08:34:49 +08:00
Nicolas Gotchac
05dc1ab05e Better Erros Snackbar in UI #3473 2016-11-16 19:57:41 +01:00
Nicolas Gotchac
3ad7e873e1 Better use of Webpack #3471 2016-11-16 19:16:55 +01:00
Nicolas Gotchac
6c60aaec08 Merge branch 'master' into ng-fix-parity-jsapi 2016-11-16 18:58:15 +01:00
Nicolas Gotchac
7144da5d7e Handle Signer Rejection // Real Custom Errors #3153 2016-11-16 18:55:53 +01:00
Nicolas Gotchac
18f570327e Enhanced MethodDecoding in Transactions list (#3454)
* Better MethodDecoding UI // No empty params #3452

* Display input if ASCII in transactions #3434

* Fixes UI for #3454

* Better MethodDecoding contract detection #3454
2016-11-16 18:03:59 +01:00
Nicolas Gotchac
6fa863f2cc Make parity.js usable by Node and Browser #3471 2016-11-16 16:52:05 +01:00
Gav Wood
25950345db Merge pull request #3379 from ethcore/new-token
Signer new-token generates a link and opens browser
2016-11-16 23:48:21 +08:00
Nicolas Gotchac
6f2c818f9f Make tokenreg dapp fast again (#3474)
* Using proper TokenReg Instance in TokenReg dApp #3371

* remove unnecessary logs in tokereg dapp

* Improved Redux managment in TokeReg dApp #3371

* Fixfing linting
2016-11-16 16:43:21 +01:00
Jannis R
ed2b8e14fc
merge master into sms-verification-modal 2016-11-16 13:29:46 +01:00
Jannis R
da8c70fbe7
sms verification: check if tx failed, minor UI fixes
- checks if the tx failed by the amount of gas used
- don't show the pending indicator if an error occured
2016-11-16 13:28:52 +01:00
Jaco Greeff
bbf6d1768d Overal + acceptance in-place 2016-11-16 13:08:08 +01:00
Jaco Greeff
d14801f4ea Merge branch 'master' into jg-external-dapps 2016-11-16 12:36:43 +01:00
Jaco Greeff
68efa70977 Update styling 2016-11-16 12:36:27 +01:00
Jaco Greeff
501c7369b0 External app overlay 2016-11-16 12:36:27 +01:00
Gav Wood
b7a76be23a Merge pull request #3447 from ethcore/jg-basiccoin
Display deployed Basic token addresses
2016-11-16 11:46:20 +08:00
Gav Wood
9bd6378e42 Typo 2016-11-16 11:37:25 +08:00
Gav Wood
b9e9544841 Merge pull request #2866 from ethcore/ng-accounts-backup
Export accounts as JSON or CSV
2016-11-16 11:31:18 +08:00
Gav Wood
4d5ce8fde4 Merge pull request #3459 from ethcore/ng-abi-fallback
Add fallback check in ABI validation
2016-11-16 11:19:50 +08:00
Gav Wood
130fd3f9c1 Merge pull request #3457 from ethcore/ng-save-sorting
Save sort order in LocalStorage
2016-11-16 11:19:19 +08:00
Gav Wood
06112255ae Merge pull request #3456 from ethcore/ng-paste-input-submit
Adds onPaste event to Inputs
2016-11-16 11:18:29 +08:00
Gav Wood
53cb033b17 Merge pull request #3450 from ethcore/jg-signer-overflow
Update signer to take care of text overflows
2016-11-16 11:18:20 +08:00
Jaco Greeff
df901379b3 Fix transfer token decimal calculation (#3445)
* Fix decimal calculation

* Recalc when shorcutting estimate
2016-11-15 22:00:14 +01:00
Jannis R
8d4b1a332b
sms verification: bugfixes 🐛
- fixed imports
- renamed `uiSteps` to `phases` to make the distinction between
  actual (tiny) steps and visible UI steps clear
- lookup `requestTx` if request has already been sent
- change code regex to match ethcore/sms-verification@59acb73
2016-11-15 19:22:44 +01:00
Jaco Greeff
6efdc08044 Queries display IdentityIcons (#3453) 2016-11-15 19:08:16 +01:00
Nicolas Gotchac
3b8286f474 Add fallback check in ABI validation #3392 2016-11-15 18:53:53 +01:00
Nicolas Gotchac
22e47a68a3 Save sort order in LocalStorage #3402 2016-11-15 18:39:11 +01:00
Nicolas Gotchac
aae7af6895 Adds onPaste event to Inputs #3127 2016-11-15 17:58:11 +01:00
Jannis R
7a83fb8595
merge master into sms-verification-modal 2016-11-15 17:04:36 +01:00
Jannis R
aa8fc554fe
sms verification: simplify code
- moved the steps into named exports
- moved the store creation into the Accounts component
- fix a linting issue
2016-11-15 17:04:34 +01:00
Jannis R
3e879aac35
sms verification: use Mobx store 2016-11-15 16:30:55 +01:00
Jannis R
bfcc8d33d6
sms verification: make Done component dumb 2016-11-15 16:22:19 +01:00
Jannis R
90df237ca5
sms verification: make SendConfirmation component dumb 2016-11-15 16:22:19 +01:00
Jannis R
377c16cf78
sms verification: make QueryCode component dumb 2016-11-15 16:22:19 +01:00
Jannis R
f48a341c32
sms verification: make SendRequest component dumb 2016-11-15 16:22:18 +01:00
Jannis R
71986249e5
sms verification: make GatherData component dumb 2016-11-15 16:22:16 +01:00
Jannis R
8ef9fff8ba
sms verification: put process into MobX store 2016-11-15 16:05:00 +01:00
Nicolas Gotchac
20185e5aac Use signature of functions instead of names (#3448)
* Use signature of functions instead of names #3411

* Fixes contract tests #3448
2016-11-15 15:58:33 +01:00
Jaco Greeff
37ebca6d34 Merge branch 'master' into jg-external-dapps 2016-11-15 15:27:27 +01:00
Jaco Greeff
28f11be200 Merge pull request #3430 from ethcore/ng-array-parameters
Handle contract constructor inputs
2016-11-15 14:35:10 +01:00
Jaco Greeff
a1ec3146eb Update signer to take care of text overflows 2016-11-15 14:32:29 +01:00
Nicolas Gotchac
125ac1a69a Better close icons in Modals 2016-11-15 12:52:37 +01:00
Nicolas Gotchac
723005635a Close and not Cancel on deploy contract #3393 2016-11-15 12:50:20 +01:00
Nicolas Gotchac
2b30d4b75f Empty default Address Field #3395 2016-11-15 12:35:50 +01:00
Jaco Greeff
0181b8a245 Display token addresses 2016-11-15 12:35:43 +01:00
Nicolas Gotchac
3a01352744 Use Contract owner for unregistering Token #3440 2016-11-15 12:30:08 +01:00
Jaco Greeff
601cef226b Merge branch 'master' into jg-external-dapps 2016-11-15 09:25:42 +01:00
Jaco Greeff
604be3e463 Import AddresBook from exported JSON (#3433)
* Adds error handler in Importer // Import AddressBook #2885

* More robust import #2885
2016-11-15 09:24:59 +01:00
Jaco Greeff
1e155ae548 Render selection inside areas 2016-11-14 21:57:28 +01:00
Nicolas Gotchac
b9f3c4b266 Merge branch 'master' into ng-accounts-backup 2016-11-14 20:31:10 +01:00
Nicolas Gotchac
5322727617 Fixing linting issues #3430 2016-11-14 20:29:37 +01:00
Nicolas Gotchac
09ec0c1f2f More robust import #2885 2016-11-14 20:26:21 +01:00
Nicolas Gotchac
134622ea3a Adds error handler in Importer // Import AddressBook #2885 2016-11-14 18:34:05 +01:00
Gav Wood
cfbd5bd713 Merge pull request #3427 from ethcore/ng-address-input-improv
Scrollable accounts in autocomplete
2016-11-14 18:30:50 +01:00
Jannis R
b5560d27a0
sms verification: pull out postToVerificationServer 2016-11-14 18:03:07 +01:00
Nicolas Gotchac
29442673f8 Clean-Up #3314 2016-11-14 17:39:45 +01:00
Nicolas Gotchac
97378daee5 Merge branch 'master' into ng-array-parameters 2016-11-14 17:06:02 +01:00
Jaco Greeff
5a6e2f89dd Hide external apps by default 2016-11-14 17:02:45 +01:00
Nicolas Gotchac
9e2214c513 Working add/remove fields for var. length #3314 2016-11-14 17:00:36 +01:00
Gav Wood
d98c6fb717 Merge pull request #3425 from ethcore/jg-tokenreg-decimals
Swap TokenReg dapp from base to decimals
2016-11-14 16:32:12 +01:00
Nicolas Gotchac
89f83b8cd7 Fixes #3397 : fake blur handled 2016-11-14 16:11:00 +01:00
Nicolas Gotchac
ecb89d3670 Scrollable Accounts list // Tab;Enter;Keydown for first input #3396 2016-11-14 15:35:25 +01:00
Jaco Greeff
48b2252029 Swap from base to decimals 2016-11-14 15:16:57 +01:00
Jannis R
b1fcee73a5
sms verification: less block confirmations 2016-11-14 12:33:29 +01:00
Jannis R
8ce362b224
sms verification: add terms of service 2016-11-14 12:31:26 +01:00
Tomasz Drwięga
2795f40464 Merge branch 'new-token' of github.com:ethcore/parity into new-token 2016-11-14 12:17:29 +01:00
Jaco Greeff
665504c414 Only use #/auth token as fallback 2016-11-14 12:10:03 +01:00
Gav Wood
8db3414de9
Merge branch 'master' into sms-verification-modal 2016-11-14 11:56:37 +01:00
Jannis R
4d01fbc4c4
merge master into refactor-copy-to-clipboard 2016-11-14 11:46:58 +01:00
Jannis R
e9e9475830
CopyToClipboard: remove tooltip 2016-11-14 11:39:36 +01:00
Tomasz Drwięga
6957634ee7 Merge branch 'master' into new-token 2016-11-14 09:22:06 +01:00
Jaco Greeff
3ff9c3e6d6 Remove addresses, display non-refundable warning (#3403) 2016-11-12 22:28:50 +01:00
Jaco Greeff
c57738b9b6 Don't unsubscribe when subscriber callback throws (#3401) 2016-11-12 22:26:50 +01:00
Jaco Greeff
6b33899239 Fix dapp account selection (#3399)
* Fix GHH accounts (filter non accounts)

* SignatureReg handle undefined ABI names gracefully

* SignatureReg fix accounts (filter non accounts)

* TokenReg fix accounts (filter non accounts)

* Registry fix accounts (filter non accounts)
2016-11-12 22:24:55 +01:00
Jaco Greeff
7ca317912f Set signer token via #/auth=token={} 2016-11-12 17:09:55 +01:00
Jaco Greeff
80606cdd7d Load external, builtin & local apps in parallel (#3340) 2016-11-11 16:53:10 +01:00
Nicolas Gotchac
0e4ef539fc Solidity Compiler in UI (#3279)
* Added new Deploy Contract page // Use Brace in React #2276

* Adding Web Wrokers WIP

* Compiling Solidity code // Getting mandatory params #2276

* Working editor and deployment #2276

* WIP : displaying source code

* Added Solidity hightling, editor component in UI

* Re-adding the standard Deploy Modal #2276

* Using MobX in Contract Edition // Save to Localstorage #2276

* User select Solidity version #2276

* Loading Solidity versions and closing worker properly #2276

* Adds export to solidity editor #2276

* Adding Import to Contract Editor #2276

* Persistent Worker => Don't load twice Solidity Code #2276

* UI Fixes

* Editor tweaks

* Added Details with ABI in Contract view

* Adds Save capabilities to contract editor // WIP on Load #3279

* Working Load and Save contracts... #3231

* Adding loader of Snippets // Export with name #3279

* Added snippets / Importing from files and from URL

* Fix wrong ID in saved Contract

* Fix lint

* Fixed Formal errors as warning #3279

* Fixing lint issues

* Use NPM Module for valid URL (fixes linting issue too)

* Don't clobber tests.
2016-11-11 15:00:04 +01:00
Nicolas Gotchac
046d2f2333 Scrollable 2016-11-11 13:09:16 +01:00
Nicolas Gotchac
deaf863c9e Fixing linting 2016-11-11 12:41:44 +01:00
Nicolas Gotchac
b59df1d7b8 WIP // Real ABI params in Deploy Constructor #3314 2016-11-11 12:37:01 +01:00
Nicolas Gotchac
94b80cc08a Merge branch 'master' into ng-array-parameters 2016-11-11 11:18:17 +01:00
Jaco Greeff
c7b99cd7e6 Determine real-time HTTP connected status (#3335)
* Determine real-time HTTP connected status

* Update failing tests, no polluting polling
2016-11-11 09:01:28 +01:00
Jaco Greeff
0b176e7013 Cater for home.parity hostname in dappsUrl (#3341)
* Cater for home.parity hostname

* Cater for 0.0.0.0 & default dappsInterface

* Extra check
2016-11-10 20:45:03 +01:00
Nicolas Gotchac
cd143e475a WIP refacto typed input 2016-11-10 20:35:47 +01:00
Jannis R
522b7108f9
CopyToClipboard: show SnackBar 2016-11-10 18:47:17 +01:00
Nicolas Gotchac
eb56b82f43 Check totalBalance > 0 // Better account selection (#3347) 2016-11-10 18:46:03 +01:00
Nicolas Gotchac
cb84e61d06 Fixed Unregister for Contract Owner only #3321 (#3346) 2016-11-10 18:44:11 +01:00
Jannis R
e9b69bceab
Account Header: use CopyToClipboard 2016-11-10 18:09:54 +01:00
Jannis R
87c39f066c
Form/Input: use CopyToClipboard 2016-11-10 17:27:53 +01:00
Jannis R
acbaed59c0
CopyToClipboard: clear timeout on unmount 2016-11-10 17:27:53 +01:00
Jaco Greeff
a97e68a030 Make transactions load (#3348) 2016-11-10 16:38:47 +01:00
Jannis R
01f14901ce
merge master into sms-verification-modal 2016-11-10 16:23:43 +01:00
Jannis R
bd839d019c
sms verification: polish UI, linting issues 👕 2016-11-10 16:23:09 +01:00
Jannis R
afdda48ab5
sms verification: polish UI
This introduces another "Done" step, making clear the process has finished.

Also, steps 2 ("Request") and 4 ("Confirm") now have a pending indicator.
2016-11-10 16:09:41 +01:00
Nicolas Gotchac
6ad909e7b3 Removed unnecessary test (#3342) 2016-11-10 14:26:06 +01:00
Jannis R
2309e53fe6
sms verification: polish UI, linting issues 👕 2016-11-10 13:54:17 +01:00
Jannis R
ac80276ad8
sms verification: refactor checks & confirmation 2016-11-10 13:37:32 +01:00
Nicolas Gotchac
67ac05ef39 Default contract type on UI (#3310)
* Added Token and Wallet ABI in Watch Contract #3126

* Improved ABI Validator #3281

* Select contract type on first screen #3126

* Added types decsription

* Add ABI type to Contract metadata // Custom as default type #3310
2016-11-10 11:27:35 +01:00
Tomasz Drwięga
2f98169539 In-browser signing support (#3231)
* Signer RAW confirmations

* Returning address book as eth_accounts

* UI support for in-browser signing

* Post review fixes

* Adding new methods to jsonrpc

* Fixing eth_accounts

* Deterministic accounts ordering
2016-11-10 11:27:05 +01:00
Jaco Greeff
90ff810e36 Handle redirects from /api/content on manifest.json gracefully (#3315)
* Add redirect follow mode to manifest.json

* Remove (now) unused count parameter

* autoRewrite: true for dev mode proxy redirects
2016-11-09 20:05:08 +01:00
Tomasz Drwięga
88c9cea04d Dapps interface RPC (#3311)
* Dapps Interface RPC

* Adding JS apis

* Support for signer interface in proxypac and embeds

* Fixing tests

* fixing tests again
2016-11-09 19:41:47 +01:00
Jannis R
89c1d9c25c
merge master into sms-verification-modal 2016-11-09 19:04:31 +01:00
Jannis R
cde9f454eb
sms verification: polish UI 2016-11-09 19:04:13 +01:00
Jannis R
8028c0fd65
sms verification: check if already requested 2016-11-09 19:02:33 +01:00
Jaco Greeff
877cfe9b53 Fix signer token updates (#3302)
* Manual bump of package.json (recovery)

* Debug

* Simplify status connections
2016-11-09 18:26:10 +01:00
Jannis R
01cf88d71a
sms verification: merge step 1 & 2 2016-11-09 18:02:33 +01:00
Jannis R
a42140edde
sms verification: send confirmation tx 2016-11-09 17:34:21 +01:00
Jannis R
f08e2a4b17
sms verification: query code 2016-11-09 16:56:01 +01:00
Jannis R
7996ac47ec
sms verification: polish UI, fix linting issues 👕 2016-11-09 16:55:59 +01:00
Jannis R
e7113e7eb4
sms verification: show fee in consent form 2016-11-09 16:54:57 +01:00
Jannis R
e84531f31c
sms verification: refactor contract call 2016-11-09 16:54:57 +01:00
Jannis R
ebf742f2af
sms verification: update contract address & ABI 2016-11-09 16:54:57 +01:00
Jannis R
a56a1d3aef
sms verification: request SMS 2016-11-09 16:54:56 +01:00
Jannis R
4931381e0e
txHash component: add maxConfirmations prop 2016-11-09 16:54:56 +01:00
Jannis R
3ef54f9172
sms verification: wait for tx confirmations 2016-11-09 16:54:56 +01:00
Jannis R
d0d737d1e3
sms verification: post request transaction 2016-11-09 16:54:56 +01:00
Jannis R
89a2917935
boilerplate for third step 2016-11-09 16:54:56 +01:00
Jannis R
4c199ef716
sms verification: collect data 2016-11-09 16:54:55 +01:00
Jannis R
14da2d2805
sms verification: check if certified 2016-11-09 16:54:55 +01:00
Jannis R
435d3c24db
SendRequest -> GatherData 2016-11-09 16:54:55 +01:00
Jannis R
1a245405e5
query phone number & consent 2016-11-09 16:54:55 +01:00
Jannis R
fc76fa9252
sms verification: basic stepper 2016-11-09 16:54:54 +01:00
Jannis R
f96e69309f
SMS verification modal 2016-11-09 16:54:54 +01:00
Jannis R
7cb724bfbe
put SMS verification into action bar 2016-11-09 16:54:54 +01:00
Jaco Greeff
22faee2099 Update account recovery phrase hint 2016-11-09 15:48:45 +01:00
Jaco Greeff
95e03f87fa Remove 127.0.0.1 references (#3303) 2016-11-09 14:01:59 +01:00
Jaco Greeff
b17ce6c9a5 Updated blance display with max decimals (#3266) 2016-11-09 13:16:17 +01:00
Björn Wagner
3c6f148a16 Fix typo (#3298) 2016-11-09 13:12:28 +01:00
Jaco Greeff
6a1b17d5a9 Change to more common focused spelling (#3264) 2016-11-09 11:53:40 +01:00
Jaco Greeff
f9dc766ae2 Fix initial token generation (#3289)
* Fix initial token generation

* Remove extra debug info
2016-11-08 23:17:33 +01:00
Jaco Greeff
51aa0e28eb Add secure flag back (#3244) 2016-11-07 20:07:08 +01:00
Jaco Greeff
6ab6c0709d Load network apps manifests as contentHash (no coding) (#3235)
* Add mobx

* Use mobx store for dapps

* Cleanup hidden reads

* Remove (now) unused hidden.js

* _ denotes internal functions

* s/visibleApps/visible/

* AddDapps now use the mobx store as well

* Move modalOpen state to store

* Simplify

* Complete master merge

* Remove extra indirection

* Remove unneeded check

* Readability improvements

* Remove final debug info

* Load network manifests from the network

* Swallow manifest errors

* introduce fetchManifest
2016-11-07 18:08:16 +01:00
Arkadiy Paronyan
108452d082 Fixed some typos (#3236) 2016-11-07 17:42:17 +01:00
Jaco Greeff
f0054aa201 Add store for dapps state (#3211)
* Add mobx

* Use mobx store for dapps

* Cleanup hidden reads

* Remove (now) unused hidden.js

* _ denotes internal functions

* s/visibleApps/visible/

* AddDapps now use the mobx store as well

* Move modalOpen state to store

* Simplify

* Complete master merge

* Remove extra indirection

* Remove unneeded check

* Readability improvements

* Remove final debug info
2016-11-07 15:22:46 +01:00
Jaco Greeff
a4cc6058dd Don't push empty tags to input (#3222) 2016-11-06 17:42:50 +01:00
Jaco Greeff
44266115b6 Fix /parity-utils/{web3,parity}.js webpack errors (#3221)
* Don't override library builds

* Don't override libraries on build

* Enhance working blockNumber display
2016-11-06 17:42:25 +01:00
Björn Wagner
d8a95084cb Improve 'invalid raw key' error msg (#3219) 2016-11-06 17:31:26 +01:00
Tomasz Drwięga
9c4979681c Cleaning up polluted namespaces (#3143)
* Renaming ethcore_ to parity_

* Renaming files

* Renaming poluted EthSigning

* Tidy up the namespaces

* Renaming files to match new structure

* Splitting EthSigning into separate traits

* jsapi move ethcore.* -> parity.*

* Move jsonrpc parity definitions

* Update UI API calls for parity interfaces

* Move jsapi signer interfaces from personal to signer

* Update UI to use signer.* where applicable

* Updsate jsapi subscriptions for signer

* Fix dodgy merge.

* Update README.

* Fix some tests.

* Move parity-only personal.* to parity.*

* Update UI for personal -> parity API moves

* Update subscription APIs after personal -> parity move

* personal. generateAuthorizationToken -> parity. generateAuthorizationToken (UI)

* enode, dappsPort & signerPort (UI)

* Update subscription tests (accountsInfo)

* subscription update

* personal -> parity

* Additional error logging on method failures

* move postTransaction to parity

* Additional debug info with method failures

* Fix personal tests.

* Console wrning shows parameters, error object does not

* Include parity_ signing methods.

* Console log http transport info

* Fix failing tests

* Add RPC stubs for parity_accounts.

* Allow some secure built-in dapps

* Use parity_accounts in place of accountsInfo

* Improve error reporting

* Cleanup GHH error handling
2016-11-06 12:51:53 +01:00
Jaco Greeff
458ee4cbad Parity configuration settings, i.e. mode (#3212)
* Add initial page

* Add parity icon

* opacity for parity icon

* Mode selector

* Actually set mode when value changes
2016-11-05 12:08:14 +01:00
Gav Wood
744501c454 Mode improvements for UI (#3109)
* `--mode=off` now works.

* Add Mode::Off as a persistent CLI option.

* "last" not "auto" as default.

* Commit accidentally unsaved file.

* Whitespace

[ci:skip]

* Mode CLI parse fix

* or offline

* Save mode when it gets changed.

* Fix Offline mode

* Fix up mode operations.

* Make passive default, but not overriding.

* Fix test

* Maybe not everyone wants to run an archive node...
2016-11-05 10:38:00 +01:00
Jaco Greeff
c2e85dc4d5 Use ethcore_dappsPort when constructing URLs (#3139)
* Upon connect, retrieve the available api ports

* Update dapps to load from dappsPort

* Update dapps summary with dappsPort

* Allow proxy to use dappsPort

* Replace /api/ping with HEAD /

* Dynamic port for available apps

* Retrieve content images with dappsPort

* Fix /

* Transfer token dropdown image fix

* IdentityIcon loads images via contentHash

* Update apps fetch to cater for dev & prod

* DRY up 127.0.0.1:${dappsPort} with ${dappsUrl}
2016-11-04 23:08:12 +01:00
Jaco Greeff
f9f37f1c84 Add copy address button to Contract deploy (#3199)
* Allow copy of deployed address

* Pre-parse/clean JSON inputs

* Revert cleanup
2016-11-04 23:06:03 +01:00
Jaco Greeff
83beedc27e expose api as window.secureApi (#3207) 2016-11-04 19:52:39 +01:00
Nicolas Gotchac
bf94a5b82b Fixes #3171 (#3175) 2016-11-04 12:38:05 +01:00
Gav Wood
af9de37756 Make the footer a bit less ugly. (#3160)
* Make the footer a bit less ugly.

* Whitespace.
2016-11-04 09:57:21 +01:00
Jaco Greeff
71512cf90d Linux build case sensitivity fix (#3161) 2016-11-04 00:35:07 +01:00
Jannis Redmann
c79e3286ca abbreviated enode, CopyToClipboard component (#3131)
* show abbreviated enode

* CopyToClipboard component

* CopyToClipboard: improved styling

* put CopyToClipboard into enode status

* Rename CopyToClipboard.js to copyToClipboard.js
2016-11-03 22:22:53 +01:00
Jaco Greeff
2f665ba115 Remove network label from TabBar (#3142) 2016-11-03 20:17:59 +01:00
Jaco Greeff
34e3c1e0c2 Speed up unresponsive Contract events & Account transactions (#3145)
* Don't load method via redux

* Don't redux fetchTransaction (contracts)

* Move isTest to top-level passing

* transaction list with local blocks/transactions

* Combine calls (allows future chunking)

* Progressive loading of transactions

* Cleanups

* Never try tracing
2016-11-03 20:08:35 +01:00
Jaco Greeff
7a804d8b01 Fix AddessInput icon position (#3132) 2016-11-03 16:10:40 +01:00
Nicolas Gotchac
1481ed2dcb Fixed not scrollable accounts (#3128) 2016-11-03 15:20:40 +01:00
Jaco Greeff
3a1f3c0a80 Optimise contract events display (#3120)
* Adjust to last 25 events

* Adjust event address widths

* Slight column size adjustment
2016-11-03 12:23:53 +01:00
Jaco Greeff
e4fcf4da2b Add basic validation for contract execute values (#3118) 2016-11-03 12:23:25 +01:00