Commit Graph

127 Commits

Author SHA1 Message Date
Jaco Greeff
f0054aa201 Add store for dapps state ()
* 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 () 2016-11-06 17:42:50 +01:00
Jaco Greeff
44266115b6 Fix /parity-utils/{web3,parity}.js webpack errors ()
* 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 () 2016-11-06 17:31:26 +01:00
Tomasz Drwięga
9c4979681c Cleaning up polluted namespaces ()
* 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 ()
* 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 ()
* `--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 ()
* 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 ()
* 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 () 2016-11-04 19:52:39 +01:00
Nicolas Gotchac
bf94a5b82b Fixes () 2016-11-04 12:38:05 +01:00
Gav Wood
af9de37756 Make the footer a bit less ugly. ()
* Make the footer a bit less ugly.

* Whitespace.
2016-11-04 09:57:21 +01:00
Jaco Greeff
71512cf90d Linux build case sensitivity fix () 2016-11-04 00:35:07 +01:00
Jannis Redmann
c79e3286ca abbreviated enode, CopyToClipboard component ()
* 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 () 2016-11-03 20:17:59 +01:00
Jaco Greeff
34e3c1e0c2 Speed up unresponsive Contract events & Account transactions ()
* 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 () 2016-11-03 16:10:40 +01:00
Nicolas Gotchac
1481ed2dcb Fixed not scrollable accounts () 2016-11-03 15:20:40 +01:00
Jaco Greeff
3a1f3c0a80 Optimise contract events display ()
* 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 () 2016-11-03 12:23:25 +01:00
Nicolas Gotchac
d99f1b517c Use enode RPC in UI ()
* add enode rpc

* spaces -> tabs

* Added Enode to JSAPI // Use it to display in Status ()

* Added enode to JSON RPC Interfaces 
2016-11-03 12:04:25 +01:00
Jannis Redmann
5ae737f307 new InputAddressSelect component ()
* basic address autocomplete

* validate input, propagate changes

* show IdentityIcon in menu

* show IdentityIcon next to input

* refactoring, better variable names, linting

* show default IdentityIcon if search by name

* port  over

* show accounts in the beginning

* show accounts before contacts

* filter deleted accounts

* UX improvements

- limit number of search results shown
- hint text

* only render identity icon if valid address

* UX improvements

- align IdentityIcon
- better hint text

* align label & error with other inputs

This probably needs to be changed soon again. Therefore this ugly hack has been put in place.

* Align component with coding style for app

* Use standard/tested AddressAutocmplete (WIP)

* Address selection & inputs operational

* Update TODOs, remove unused CSS

* only handle input changes when editing

* Simplify

* Cleanup unused modules

* Add contracts to address search

* Updates Address Selector to handle valid input address 

* Added Address Selector to contracts read queries
2016-11-03 11:57:43 +01:00
Nicolas Gotchac
391f408653 Sort by ETH balance and contract by date ()
* Added timestamps to contract creation // Sort by date ()

* Added sort by ETH balance ()

* Added timestamp meta to accounts / addresses entry creations ()
2016-11-02 23:09:00 +01:00
Jaco Greeff
b3d502ba78 Allow registration of content bundles in GitHubHint ()
* Clear woner & error on success

* WIP buttons

* Selection bar

* Sanitize GitHub urls

* Complete hint registration

* button-row icons

* PR comments, url check & validation TODO

* PR comments, TODO for validation to show intent
2016-11-02 18:16:50 +01:00
Nicolas Gotchac
e4c75bde4c Add read-only inputs to UI plus Copy to Clipboard buttons ()
* Adds readOnly prop to Input, convert disabled props to it ()

* WIP

* Adds copy icon to readOnly Input ()

* Added Copy to Clipboard buttons on the UI ()

* copiable to allowCopy props 

* Padded copy icons ()

* 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 ()
* 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
Nicolas Gotchac
ed89e1efab Fixing dapps sorting ()
* Fixing dapps sorting ()

* PR Grumble

* PR Grumble 
2016-11-02 12:58:03 +01:00
Jaco Greeff
d47c6db713 Allow owner to update content url () 2016-11-02 11:28:23 +01:00
Jaco Greeff
0912160220 Goodbye Gavcoin, Hello Gavcoin () 2016-11-02 11:27:47 +01:00
Jaco Greeff
274b109f3f Load network dapps ()
* Initial load of network apps

* Load network dapps

* Cleanups

* Update

* Updated

* Fix builtin apps loading
2016-11-02 11:27:28 +01:00
Jaco Greeff
eeee017f4f Swap account phrase to normal input (non-multiline) () 2016-11-01 22:45:20 +01:00
Jaco Greeff
efbbe507ee Warp sync status display ()
* Warp sync status display

* Add BlockStatus component (re-usable)
2016-11-01 22:43:22 +01:00
Nicolas Gotchac
bb120ece59 Enhance address input ()
* Don't show identity icon when invalid address / add 0x on valid ()

* Removed unused `isEmpty`
2016-11-01 20:41:16 +01:00
Nicolas Gotchac
183b54af84 Go to Accounts Page if Tooltips are displayed () () 2016-11-01 20:37:00 +01:00
Jaco Greeff
314eb59081 Change contract Execute bool values & query bool value display ()
* 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 ()
* 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
Jannis Redmann
145a88d401 settings: replace background patterns (inline) ()
* replace generated background patterns

* move button to overview section

* keep selected background

* show current background pattern
2016-11-01 18:05:10 +01:00
Nicolas Gotchac
6fc89f69c1 Multiple line description for dapps and Masonry like layout () () 2016-11-01 17:47:02 +01:00
Nicolas Gotchac
9e7313afc8 Proper order for status logs () () 2016-11-01 17:44:59 +01:00
Nicolas Gotchac
84ca3d7a7d Graphical gas price selection ()
* Added gasPriceStatistics

* WIP graph fas price stats ()

* Chart to select gas price in Extra Tx ()

* Gas Selection UI

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

* Gas Price Selection chart update using D3 ()

* Working UI, more fluid... ()

* Using the new gasPriceHistogram Call: display histogram ()

* Code Clean

* Updated gas Selection explaination

* PR grumble // Gas Price Selector ()

* Fixing linting issues
2016-11-01 15:04:51 +01:00
Nicolas Gotchac
297a09399d [Registry dApp] Actions not available before selecting accounts ()
* Removed hasAccount from actions, now in Application [RegDapp] ()

* Linting issues
2016-11-01 14:40:50 +01:00
Jannis Redmann
09c42973f1 fix chain badge padding () 2016-11-01 14:10:17 +01:00
Nicolas Gotchac
ff04c622f3 Fixes tab on Chip Input () () 2016-11-01 13:51:02 +01:00
Jaco Greeff
71662bb219 Remove signer icons ()
* Remove signer icons

* Linting fixes
2016-11-01 11:11:20 +01:00
Jannis Redmann
93400810db fix background of embedded signer () 2016-10-31 23:37:12 +01:00
Jannis Redmann
e024afacf3 registry dapp: fix reducer () 2016-10-31 23:28:49 +01:00
Nicolas Gotchac
b8bcb8e622 Replace Execute by Query in contract button () () 2016-10-31 23:28:26 +01:00
Nicolas Gotchac
d29de96a59 Fixing GavCoin dApp overflow issues () () 2016-10-31 23:25:25 +01:00
Jannis Redmann
55cdc7c265 execute contract function: validate address ()
* 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 ()
* 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 ()
2016-10-31 23:22:22 +01:00