Commit Graph

306 Commits

Author SHA1 Message Date
Nicolas Gotchac efee55ae84 Updated Wallet Version ! Now only 500k gas for Wallet creation 2016-12-09 16:24:11 +01:00
Jannis R 452b8c9c74
split sms & email verification 3rdparty code
We might want to bundle the code in `3rdparty`.

React & presentational components don't belong in there. At the
same time, the terms of service are strictly related to the use
of these external services. We decided to not bundle them, but
still keep them in a file called `terms-of-service.js`.

The commit also moves the "how it works" section into the
presentational part in `modals/Verification`.
2016-12-09 16:23:13 +01:00
Jaco Greeff d992c642ff Adjust to final step on rejected/completed 2016-12-09 15:55:50 +01:00
Jaco Greeff d2494d1425 GasPrice selection for contract execution 2016-12-09 15:43:24 +01:00
Jaco Greeff 2582514b58 GasEditor component (#3750)
* Initial split of component (WIP)

* GasPriceEditor externalised

* Fix lint
2016-12-09 13:44:35 +01:00
Jaco Greeff befcc9cc1a Cleanups (#3742)
* Remove unused file

* Combine tx checks into single file

* Move UI components into UI

* DRY links

* Unused rollup config

* Cleanup util paths

* Revert "Move UI components into UI"

This reverts commit 3379e61246cde635c296d31322b71e63395a5cd4.

* Re-apply ~/util/tx move

* Cleanup unused styles
2016-12-09 13:44:10 +01:00
Jannis R a94bbea7a5
more user-friendly method selection 2016-12-09 12:37:36 +01:00
Nicolas Gotchac 09334ca3bd Small fixes to contract (#3751)
* Fix contracts execution will fallback function

* Fix contract execute modal

* Working execute from Contract

* Don't dupliacet events

* Gas * 1.2 in wallet confirmations
2016-12-09 01:21:51 +01:00
Jannis R 5418c56b01
remove Prepare step
The modal got really crowded and the preparation step had
only been shown for fractions of a second anyways. The
"loading" message is now part of the next step.
2016-12-09 00:39:16 +01:00
Jannis R dfc445b6d6
fix bugs & linting issues 2016-12-09 00:39:16 +01:00
Jannis R 162420f4c2
send emailHash with request, update ABI 2016-12-09 00:39:16 +01:00
Jannis R 0e0f602d5e
pass fields to query into QueryCode 2016-12-09 00:39:16 +01:00
Jannis R 052f9258a5
pass fields to query into GatherData 2016-12-09 00:39:15 +01:00
Jannis R d3fd71d953
add email-specific contract, helpers, store 2016-12-09 00:39:15 +01:00
Jannis R 1ac3421f33
step to select verification method 2016-12-09 00:39:15 +01:00
Jannis R 1672cbad7b
factor out SMS-specific logic 2016-12-09 00:39:15 +01:00
Jannis R b5b529f8c2
modals/SMSVerification -> modals/Verification 2016-12-09 00:39:15 +01:00
Jannis R 600a7e5ccc
make SMS verification contract general purpose 2016-12-09 00:39:15 +01:00
Jaco Greeff a1fb1240a7 Properly delete addresses/contracts in addressbook (#3739)
* Remove previously market addresses at startup

* Remove meta.deleted checks

* Remove artifact from code move
2016-12-08 15:54:23 +01:00
Nicolas Gotchac 715761a714 Edit Multisig Wallet settings (#3740)
* WIP Sending tokens in multi-sig wallet

* Working Token transfer for multi-sig wallet #3282

* Add operation hash to transfer modal

* Add existing wallet from address #3282

* Wallet delete redirect to Wallets/Accounts #3282

* Rightly check balance in Transfer // Get all accounts balances #3282

* Fix linting

* Better Header UI for Wallet

* Use the `~` webpack alias

* Use Webpack `~` alias

* Add `ETH` format to number typed input

* Fix wallet creation hint && eth input type

* Update dailylimit #3282

* Fix too long copied message

* WIP Wallet settings modification #3282

* WIP edit contract parameters #3282

* Edit Wallet parameters #3282

* Don't show wallets if none

* Fix Transfer for Wallet #3282

* Optimized version of contract code

* Fix wrong max in Wallet creation // Round gas in API
2016-12-08 15:53:29 +01:00
Nicolas Gotchac 8dbd56888d Add functionalities to multi-sig wallet (#3729)
* WIP Sending tokens in multi-sig wallet

* Working Token transfer for multi-sig wallet #3282

* Add operation hash to transfer modal

* Add existing wallet from address #3282

* Wallet delete redirect to Wallets/Accounts #3282

* Rightly check balance in Transfer // Get all accounts balances #3282

* Fix linting

* Better Header UI for Wallet

* Use the `~` webpack alias

* Use Webpack `~` alias
2016-12-07 12:47:44 +01:00
Jaco Greeff e2bb8ef6d1 Unify proptypes in util/proptypes.js (#3728)
* Unify proptypes in util/proptypes.js

* Add missing use of nodeOrStringProptype
2016-12-07 10:25:57 +01:00
Nicolas Gotchac bec3539651 First draft of the MultiSig Wallet (#3700)
* Wallet Creation Modal #3282

* Name and description to Wallet #3282

* Add Wallet to the Account Page and Wallet Page #3282

* Fix Linting

* Crete MobX store for Transfer modal

* WIP Wallet Redux Store

* Basic Details for Wallet #3282

* Fixing linting

* Refactoring Transfer store for Wallet

* Working wallet init transfer #3282

* Optional gas in MethodDecoding + better input

* Show confirmations for Wallet #3282

* Order confirmations

* Method Decoding selections

* MultiSig txs and confirm pending #3282

* MultiSig Wallet Revoke #3282

* Confirmations and Txs Update #3282

* Feedback for Confirmations #3282

* Merging master fixes...

* Remove unused CSS
2016-12-06 09:37:59 +01:00
Nicolas Gotchac 52b4ce0dd7 Use Webpack Aliases (#3711)
* Adds aliases to Webpack Build

* Use `ui` Webpack alias

* Use `views` alias

* Use `modals` aliase

* Use `providers` aliase

* Use `contracts` aliase

* Use '~' aliase

* from `ui` to from `~/ui`

* from  to from

* from `modals` to from `~/modals`

* from `providers` to from `~/redux/providers`

* from `contracts` to from `~/contracts`

* Updated Webpack App config
2016-12-05 11:47:13 +01:00
Nicolas Gotchac c892a4f7ae Refactoring Transfer Modal (#3705)
* Better Token Select in Transfer > Details

* Better Autocomplete

* Crete MobX store for Transfer modal

* Remove unused var

* Update Webpack Conf

* Small changes...

* Optional gas in MethodDecoding + better input

* New Contract `getAll` method // TxList Row component

* Method Decoding selections

* Rename `getAll` to `getAllLogs`
2016-12-02 15:21:01 +01:00
Jannis R 7049336800
show recovery print button on first run 2016-12-01 15:40:20 +01:00
Jannis R a1c1746667
show recovery print button if recovered account 2016-12-01 15:19:42 +01:00
Jannis R 6822433a83
recovery phrase: move print helpers 2016-12-01 12:19:12 +01:00
Jannis R 08a6be5d62
recovery phrase: move print button to modal actions 2016-12-01 12:19:09 +01:00
Jannis R e43457a6ce
recovery page: add Parity logo 2016-11-30 20:42:55 +01:00
Jannis R cf85d1978f
recovery page: add ItendityIcon 2016-11-30 20:10:29 +01:00
Jannis R 35fe4de622
add recovery page print button 2016-11-30 20:01:35 +01:00
Jannis R eee03b542d
add account recovery phrase page 2016-11-30 19:51:03 +01:00
Jannis Redmann e667d33778 make Modal always scrollable (#3667) 2016-11-29 13:50:22 +01:00
Jannis Redmann 65f4ba8372 show snackbar on password change (#3661)
* show snackbar on password change

* Swap last two words
2016-11-29 00:21:54 +01:00
Nicolas Gotchac d78de18385 Merge branch 'master' into ng-webpack-update 2016-11-28 17:56:47 +01:00
Jannis Redmann 5f570edf3b update SMS verification (#3579)
* add isTestnet helper

* sms verification: use different port on testnet

* subscribeToEvent helper

* sms verification: await Puzzled event

* sms verification: bugfixes 🐛, move awaitPuzzle

* sms verification: check upfront if code is valid

* sms verification: more helpful phone input label

* isTestnet helper -> redux state
2016-11-28 17:39:55 +01:00
Nicolas Gotchac 3675095201 Merge branch 'master' into ng-webpack-update 2016-11-28 13:02:03 +01:00
Nicolas Gotchac f77afd072b Updated ESLINT and fixing linting issues 2016-11-25 19:48:06 +01:00
Jaco Greeff 50585763aa Manually add \r to Windows phrases pre 1.4.5 (#3615)
* Manually add \r to Windows phrases pre 1.4.4

* < 1.4.5

* Only support 1.4.x dictionary
2016-11-25 18:43:28 +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 67771f39de Trim whitespace from recovery phrase 2016-11-24 14:56:39 +01:00
Jaco Greeff 97ec5053f0 PR grumbles, wording, isRequired, no close on error 2016-11-23 22:17:36 +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
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 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
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 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 e69b7f66a3 Gas calculation & limit errors 2016-11-18 14:18:50 +01:00
Nicolas Gotchac 18e40f3ece Merge branch 'master' into ng-solc-output 2016-11-17 17:51:32 +01:00
Nicolas Gotchac a1cbe449fa Use a single step and input for ABI/solc output #3196 2016-11-17 17:45:04 +01:00
Nicolas Gotchac 830c762b75 Working desc and name fields #3196 2016-11-17 15:24:55 +01:00
Jannis R 4ae58f7d33
move nullable PropType helper 2016-11-17 14:31:25 +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
Nicolas Gotchac 52f3d3cccd Add solc text helper #3196 2016-11-17 14:09:02 +01:00
Nicolas Gotchac d41efcc84e Add input from Solc compiler #3196 2016-11-17 13:59: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
Nicolas Gotchac 7144da5d7e Handle Signer Rejection // Real Custom Errors #3153 2016-11-16 18:55:53 +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
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
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
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 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
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
Nicolas Gotchac 9e2214c513 Working add/remove fields for var. length #3314 2016-11-14 17:00:36 +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
Gav Wood 8db3414de9
Merge branch 'master' into sms-verification-modal 2016-11-14 11:56:37 +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 cd143e475a WIP refacto typed input 2016-11-10 20:35: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
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
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
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 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 a4cc6058dd Don't push empty tags to input (#3222) 2016-11-06 17:42:50 +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 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
Nicolas Gotchac bf94a5b82b Fixes #3171 (#3175) 2016-11-04 12:38:05 +01:00
Jaco Greeff e4fcf4da2b Add basic validation for contract execute values (#3118) 2016-11-03 12:23:25 +01:00
Nicolas Gotchac 391f408653 Sort by ETH balance and contract by date (#3107)
* Added timestamps to contract creation // Sort by date (#3070)

* Added sort by ETH balance (#3070)

* Added timestamp meta to accounts / addresses entry creations (#3107)
2016-11-02 23:09:00 +01:00
Nicolas Gotchac e4c75bde4c Add read-only inputs to UI plus Copy to Clipboard buttons (#3095)
* Adds readOnly prop to Input, convert disabled props to it (#3066)

* WIP

* Adds copy icon to readOnly Input (#3009)

* Added Copy to Clipboard buttons on the UI (#3009)

* copiable to allowCopy props #3095

* Padded copy icons (#3095)

* Fixed password width in account creation

* Copyable value in MethodDecoding
2016-11-02 17:25:34 +01:00
Jaco Greeff f3d4aa43f3 Allow boolean dropdowns for contract deploy (#3077)
* Allow boolean dropdowns for contract deploy

* Be explicit in deployment types

* Extra line as per PR comments
2016-11-02 17:25:21 +01:00
Jaco Greeff eeee017f4f Swap account phrase to normal input (non-multiline) (#3060) 2016-11-01 22:45:20 +01:00
Jaco Greeff 314eb59081 Change contract Execute bool values & query bool value display (#3024)
* Allow for boolean value selection

* Updated

* Explicitly display bool as true/false (string)

* Really fix boolean display
2016-11-01 18:42:36 +01:00
Jaco Greeff 556827400c Update Parity logo (#3036)
* Add new parity logos

* FirstRun logo

* Tabbar logo

* Remove duplicated block image

* Parity favicons

* Remove images to be replaced

* Paritybar logo

* Add favicon

* Adding HTML Loader for Webpack for image linking
2016-11-01 18:12:40 +01:00
Nicolas Gotchac 84ca3d7a7d Graphical gas price selection (#2898)
* Added gasPriceStatistics

* WIP graph fas price stats (#2142)

* Chart to select gas price in Extra Tx (#2142)

* Gas Selection UI

* Gas Price Selection: better UI (right octiles, point on graph) (#2142)

* Gas Price Selection chart update using D3 (#2142)

* Working UI, more fluid... (#2142)

* Using the new gasPriceHistogram Call: display histogram (#2142)

* Code Clean

* Updated gas Selection explaination

* PR grumble // Gas Price Selector (#2898)

* Fixing linting issues
2016-11-01 15:04:51 +01:00
Nicolas Gotchac ff04c622f3 Fixes tab on Chip Input (#3022) (#3044) 2016-11-01 13:51:02 +01:00
Jannis Redmann 55cdc7c265 execute contract function: validate address (#3013)
* execute contract fn: validate address

* forgot import

* execute contract fn: set value
2016-10-31 23:24:12 +01:00
Jaco Greeff 381af547fa Align tag inputs with other input boxes (#2965)
* Wrap tag input component

* Postcss nested selectors

* Chips has same size as in ui

* Input matches with sizes/paddings of others

* Adjust colours, move hint text

* Added ChipInput from search in wrapper

* Using InputChip Wrapper in search (#2965)
2016-10-31 23:22:22 +01:00
Jaco Greeff f8a38a8a1e Terms & Conditions (#3019) 2016-10-31 19:05:39 +01:00
Jaco Greeff 10fcf7f051 Allow empty input arrays for ABIs (#3001) 2016-10-31 14:59:02 +01:00
Jaco Greeff d086251e89 Update account dropdowns (#2959)
* Simplify & consolidate address items

* Adjust dropdown background
2016-10-31 12:58:25 +01:00
Jaco Greeff acaa40e221 Import raw private key (#2945)
* Initial selection screen

* UI in-place

* Make actual import API calls

* Simplify value checking logic
2016-10-30 09:54:21 +01:00
Jaco Greeff 4d1cfd6706 Align password change dialog with create (#2970) 2016-10-29 17:39:08 +02:00
Jaco Greeff 49a7b84f14 Pass gas & gasPrice to token transfers (#2964) 2016-10-29 15:32:10 +02:00
Jaco Greeff c61526f8d5 Eslint fixes (package upgrade) (#2957) 2016-10-29 09:55:55 +02:00
Nicolas Gotchac 0441babb5f Fix empty tags modif. (#2882) 2016-10-26 13:55:41 +02:00
Nicolas Gotchac 2d2e9c4d6e Add Check and Change Password for an Account (#2861)
* Added new RPC endpoints to JSAPI (#2389)

* Added modal in Account Page to test & modify password (#2389)

* Modify hint with password change // Better tabs (#2556)
2016-10-25 17:54:01 +02:00
Jaco Greeff b6f2628018 Token sorting, zero-ETH transfer & token decimals (#2805)
* Error trapping for decimals (Fixes #2799)

* Sort tokens by tag (Closes #2789)

* PR comments

* Always display ETH

* Recalculate in all cases (traps >available)
2016-10-25 13:22:27 +02:00
Nicolas Gotchac 487da9c9c6 Trigger accounts/contracts search on search input change (#2838)
* Styling Chips in search bar (#2766)

* Styling search chips // Add chip on space/comma/... (#2766)

* Update search on input (#2766)

* Fixing search triggers bugs (#2766)

* removed console logs

* Use props instead of weird CSS selectors for Search Bar

* Add tags on space and commas in EditMeta modal (#2766)

* Fixed empty input in EditMeta modal ; tokens input
2016-10-24 16:35:43 +02:00
Nicolas Gotchac f4203a2571 Fixes currency symbol font size in Shapeshift modal (#2840)
* Fix case error in Dapps import

* Fixed big input in modal and currency symbols size (#2718)

* `em` instead of `rem`
2016-10-24 15:10:27 +02:00
Nicolas Gotchac 1e21b07e07 Make address selection searchable (#2739)
* Remove padding on address input if empty (#2141)

* Use Autocomplete to make address selection searchable (#2141)

* Adds AutoComplete Wrapper (#2141)
2016-10-20 11:25:20 +02:00
Nicolas Gotchac cc10f412dc Allow tags for Accounts, Addresses and Contracts (#2712)
* Added tag to the editMeta Modal (#2643)

* Added Tags to ui and to contract/address/account Header (#2643)

* Added tags to summary (#2643)

* Added Search capabilities to contracts/address book/accounts from tokens
(#2643)

* fixes eslint

* Using Chips/Tokens for search (#2643)

* Add search tokens, clickable from List (#2643)

* Add sort capabilities to Accounts / Addresses / Contracts (#2643)

* Fixes formatting issues + state updates after component unmount bug
(#2643)

* Remove unused import

* Small fixes for PR #2697

* Added default sort order for Contracts/Addresses/Accounts

* Using official `material-ui-chip-input` NPM package

* Removed LESS from webpack
2016-10-19 11:51:02 +02:00
Jaco Greeff 1e6a2cb378 Initial new UI source code import (#2607)
* address -> name mappings

* expanding, loading all coin details

* send use only actual BasicCoin tokens registered (any reg)

* sending token & accounts

* form styling updates

* send form layout in place

* coin send working as expected

* api subscriptions on multiple addresses

* bring in events

* simplify

* basic events display in-place, functionally complete

* basic functionality in-place

* fix horrible event address issue

* rwork display of events slightly

* test TLA availability

* table for owner -> tokens

* fix signature lookup address

* fix signature lookup address

* basic overview styling

* txhash links

* page layout adjustments

* background import

* adjust colors

* no global registration, simplify color selection

* updated styling

* connection dialog for "busy connecting"

* initial token connection - WIP

* init token updates take place

* basic test for manual token

* rework connection display

* allow updates of the secure token

* first stab at making the build build

* update runner tags

* fix linting issues

* skip tests requiring network (should be e2e, TODO)

* re-enable javascript tag/runner

* release push does the trick

* push to any branch, CI name

* javscript-test runner as well

* swap dependencies build requires test

* revert stages swap

* retrieve images associated with tokens

* remove js build deps order

* null image when hash = 0x0

* 6x64 images (hashes for registries)

* don't pass tokens as prop to IdentityIcon

* check images against content hash pictures

* cleanup signer after connection changes

* fix naming typo

* display unknownImages for balances (not available as content hash)

* unknownImage for transfer dialog

* basic githubhint layout

* single input for commit/filename

* ethcore_hashContent call

* lookup hash

* registration in place

* fixes

* events is using a proper table

* pass value through as-is

* stop wrongly using main app IdentityIcon

* NEVER export class instance functions

* alignment back to normal

* typo  in definition

* set & get images working (mostly)

* show content retrieval info

* set exitcode via ||

* use javascript:latest images

* disable npm progress bar

* rename phase I

* rename phase II

* only send build output to GitHub on major branches

* also run the build step as part of the test (until comprehensive)

* ci-specific build (no webpack progress)

* allow for account creation via recovery phrase

* display account uuid (where available), closes #2546

* connection dialog now shows up in dapps as well, closes #2538

* token images show up as expected

* IdentityName component added and deployed

* fix padding tests

* adjust tests to map to stricter 0x-prefixed hex

* render names via common component for the address -> name

* split lint into seperate script (early exit)

* test phases changed to lint, test & pack

* pack part of test phase

* remove files marked for deletion (cleanup)

* Signer cleanups, start moving in the direction of the rest

* add personal signer methods

* basic signer request subscription

* don't poll blockNumber when not connected

* missing return, creating massive ws queue backlogs

* ΞTH -> ETH

* fix failing tests

* registry uses setAddress to actually set addresses now

* bytes mapping operates on lowerCase hex strings

* sha3 ids for each application

* add dappreg to list of contracts

* adjust alignment of queries

* show gas estimation log

* abi with payable for register function

* add key as required

* image retrieval from dappreg

* use proper Image urls

* embed and link apps from Parity, retrieved via /api/apps

* filter apps that has been replaced

* proxy entry for parity-utils

* add basiccoin abi

* add support for fallback abi type

* capture constructor paramaters

* merge master into js

* move images to assets/images/

* add font assets

* import fonts as part of build

* don't inline woff files

* Revert "merge master into js"

This reverts commit cfcfa81bd26f1b3cbc748d3afa1eb5c670b363fe.

* remove unused npm packages

* information on gas estimates (like almost everywhere else)

* don't pass gas & gasPrice to estimation

* display account passwordhint when available

* signer subscriptions based on polling & function trapping

* pending requests retrieved via jsapi

* update signer middleware

* remove all web3 instances

* remove web3 package

* last web3 dependencies removed

* no need to toChecksumAddress - api takes care of it

* expand description for personal_confirmRequest

* Signer conversion from web3 -> parity.js completed

* explicit in no return

* green circle background

* remove generated background

* convert /api/* paths to localhost:8080/api/* paths (hard-coded, temporary)

* change dapps to load from localhost:8080/ui/*

* remove dangling web3 files

* update manager test for signer

* /api/ping -> /

* additional token images

* additional token images

* add missing styles.css for 8180 error pages

* cater for txhash returning null/empty object

* adjust output directories

* Release merge with origin with ours strategy

* additional token images

* cater for development server

* s/localhost/127.0.0.1/ (cater for origin)

* Fix address selection for contract deployment

* Adjust z-index for error overlay

* better text on unique background pattern

* fix signer rejections

* Don't allow gavcoin transfer with no balance

* fix txhash rendering in signer

* remove unnecessary ParityBackground

* script to update js-precompiled

* Redirect from :8080 to :8180

* Remove extra return

* Dapp logo images
2016-10-18 11:52:56 +02:00