Commit Graph

526 Commits

Author SHA1 Message Date
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
GitLab Build Bot
76ac87af8b [ci skip] js-precompiled 20161117-101458 2016-11-17 10:16:40 +00:00
Tomasz Drwięga
e45fa62ed5 Fixing tests, fixing refreshing precompiled (#3483)
* Fixing tests, fixing refreshing precompiled

* Commit only js and Cargo.lock

* Moving commands to the right place

* Adding js content as well
2016-11-17 10:58:07 +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
GitLab Build Bot
a7574a1108 [ci skip] js-precompiled 20161116-161024 2016-11-16 16:12:55 +00: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
GitLab Build Bot
a9596abf5c [ci skip] js-precompiled 20161115-212437 2016-11-15 21:26:09 +00: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
GitLab Build Bot
3addae9313 [ci skip] js-precompiled 20161115-194902 2016-11-15 19:50:43 +00: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
Nicolas Gotchac
039bd3c9f9 Use Babel in vendor when needed #3419 (#3451) 2016-11-15 16:46:48 +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
GitLab Build Bot
b5dedd8aeb [ci skip] js-precompiled 20161115-135402 2016-11-15 13:55:35 +00: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
GitLab Build Bot
19b8b48579 [ci skip] js-precompiled 20161115-130035 2016-11-15 13:02:08 +00:00
Jaco Greeff
10c503b5c7 Merge pull request #3446 from ethcore/ng-tokenreg-correct-owner
Use Contract owner for unregistering Token
2016-11-15 13:45:57 +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
GitLab Build Bot
771ce13ddc [ci skip] js-precompiled 20161115-114313 2016-11-15 11:44:42 +00: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
GitLab Build Bot
9857f632d8 [ci skip] js-precompiled 20161115-085029 2016-11-15 08:52:53 +00: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
GitLab Build Bot
c4885a1423 [ci skip] js-precompiled 20161114-201022 2016-11-14 20:11:54 +00: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
GitLab Build Bot
3bfa56c72a [ci skip] js-precompiled 20161114-174654 2016-11-14 17:48:20 +00: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
GitLab Build Bot
5127b997eb [ci skip] js-precompiled 20161114-155241 2016-11-14 15:54:09 +00:00
GitLab Build Bot
c061eae64b [ci skip] js-precompiled 20161114-154454 2016-11-14 15:46:21 +00: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
Gav Wood
1418c3175a Merge pull request #3420 from ethcore/refactor-copy-to-clipboard
refactor copy to clipboard functionality
2016-11-14 16:29:09 +01:00
Nicolas Gotchac
89f83b8cd7 Fixes #3397 : fake blur handled 2016-11-14 16:11:00 +01:00
Jannis R
9df0d33709
merge master into sms-verification-modal 2016-11-14 16:00:16 +01:00
Nicolas Gotchac
ecb89d3670 Scrollable Accounts list // Tab;Enter;Keydown for first input #3396 2016-11-14 15:35:25 +01:00
GitLab Build Bot
6fc7c15644 [ci skip] js-precompiled 20161114-142451 2016-11-14 14:26:16 +00: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
GitLab Build Bot
594bd35a5e
[ci skip] js-precompiled 20161113-131856 2016-11-14 11:57:54 +01:00
GitLab Build Bot
1e696c41f7
[ci skip] js-precompiled 20161113-131228 2016-11-14 11:57:54 +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
GitLab Build Bot
d1848117ef [ci skip] js-precompiled 20161113-131856 2016-11-13 13:20:20 +00:00
GitLab Build Bot
5a259be290 [ci skip] js-precompiled 20161113-131228 2016-11-13 13:13:54 +00:00
GitLab Build Bot
0c302376b6 [ci skip] js-precompiled 20161113-011451 2016-11-13 01:16:28 +00: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
GitLab Build Bot
e5486f5d58 [ci skip] js-precompiled 20161112-202502 2016-11-12 20:26:39 +00:00
Jaco Greeff
7ca317912f Set signer token via #/auth=token={} 2016-11-12 17:09:55 +01:00
Gav Wood
86eb84fd81 Switch --signer- to --ui- 2016-11-12 15:21:51 +01:00
GitLab Build Bot
c656b53ce6 [ci skip] js-precompiled 20161111-161748 2016-11-11 16:19:10 +00:00
Jaco Greeff
80606cdd7d Load external, builtin & local apps in parallel (#3340) 2016-11-11 16:53:10 +01:00
GitLab Build Bot
d5d1c1b674 [ci skip] js-precompiled 20161111-141616 2016-11-11 14:17:40 +00: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
GitLab Build Bot
5d8f74ed57 [ci skip] js-precompiled 20161111-082057 2016-11-11 08:22:24 +00: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
GitLab Build Bot
0456d4e5d0 [ci skip] js-precompiled 20161110-180734 2016-11-10 18:08:55 +00: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
GitLab Build Bot
529633e9b2 [ci skip] js-precompiled 20161110-163203 2016-11-10 16:33:24 +00: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
GitLab Build Bot
0ed8114726 [ci skip] js-precompiled 20161110-141839 2016-11-10 14:20:08 +00:00
GitLab Build Bot
aa0f05a186 [ci skip] js-precompiled 20161110-140631 2016-11-10 14:07:52 +00:00
Jaco Greeff
561f008c91 Manual bump of package.json (#3345) 2016-11-10 15:01:07 +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
1deeb0d901 Git pre-push checks for UI (#3072)
* Added eslint cached option (#2291)

* Added pre-push script running linting (#2291)

* Modifies pre-push hook to run if eslint installed // auto install hook

* Update pre-push script comment

* Added husky for git hooks (#3072)
2016-11-10 11:42:00 +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
GitLab Build Bot
29aecc2cff [ci skip] js-precompiled 20161109-171832 2016-11-09 17:19:59 +00: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