Commit Graph

1062 Commits

Author SHA1 Message Date
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
Nicolas Gotchac d99f1b517c Use enode RPC in UI (#3108)
* add enode rpc

* spaces -> tabs

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

* Added enode to JSON RPC Interfaces #3108
2016-11-03 12:04:25 +01:00
Jannis Redmann 5ae737f307 new InputAddressSelect component (#3071)
* 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 #3065 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 #3071

* 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 (#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
Jaco Greeff b3d502ba78 Allow registration of content bundles in GitHubHint (#3094)
* 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 (#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
Nicolas Gotchac ed89e1efab Fixing dapps sorting (#3086)
* Fixing dapps sorting (#3076)

* PR Grumble

* PR Grumble #2
2016-11-02 12:58:03 +01:00
Jaco Greeff d47c6db713 Allow owner to update content url (#3083) 2016-11-02 11:28:23 +01:00
Jaco Greeff 0912160220 Goodbye Gavcoin, Hello Gavcoin (#3080) 2016-11-02 11:27:47 +01:00
Jaco Greeff 274b109f3f Load network dapps (#3078)
* 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) (#3060) 2016-11-01 22:45:20 +01:00
Jaco Greeff efbbe507ee Warp sync status display (#3045)
* Warp sync status display

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

* Removed unused `isEmpty`
2016-11-01 20:41:16 +01:00
Nicolas Gotchac 183b54af84 Go to Accounts Page if Tooltips are displayed (#3054) (#3063) 2016-11-01 20:37:00 +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
Jannis Redmann 145a88d401 settings: replace background patterns (inline) (#3047)
* 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 (#2905) (#3058) 2016-11-01 17:47:02 +01:00
Nicolas Gotchac 9e7313afc8 Proper order for status logs (#3055) (#3062) 2016-11-01 17:44:59 +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 297a09399d [Registry dApp] Actions not available before selecting accounts (#3032)
* Removed hasAccount from actions, now in Application [RegDapp] (#2931)

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

* Linting fixes
2016-11-01 11:11:20 +01:00
Jannis Redmann 93400810db fix background of embedded signer (#3026) 2016-10-31 23:37:12 +01:00
Jannis Redmann e024afacf3 registry dapp: fix reducer (#3028) 2016-10-31 23:28:49 +01:00
Nicolas Gotchac b8bcb8e622 Replace Execute by Query in contract button (#3015) (#3031) 2016-10-31 23:28:26 +01:00
Nicolas Gotchac d29de96a59 Fixing GavCoin dApp overflow issues (#2953) (#3030) 2016-10-31 23:25:25 +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
Robert Habermeier 8599a11a0b Snapshot sync and block gap info in `eth_syncing` (#2948)
* provide snapshot sync info in eth_syncing

* specify block gap in eth_syncing

* Extend eth_syncing with warp, format the output properly

* adjust serialization tests for sync info

* whitespace
2016-10-31 17:32:53 +01:00
Gav Wood 547871f933 RPCs for mode change (#3002)
* Allow warnings.

* Add RPCs to allow ad-hoc mode changes.

* Add the JSAPI interfaces

* Add missing file.
2016-10-31 16:58:35 +01:00
Nicolas Gotchac 8c24e64a5e Fixes search filtering issues (#2966) (#3011) 2016-10-31 15:00:23 +01:00
Jaco Greeff 10fcf7f051 Allow empty input arrays for ABIs (#3001) 2016-10-31 14:59:02 +01:00
Jaco Greeff ea784d7419 Allow operation when no registry is available (#2980)
* Allow retrieval of native network balances without registry

* Remove debugging address

* Disable dapps when no registry is available
2016-10-31 14:24:33 +01:00
Jaco Greeff d086251e89 Update account dropdowns (#2959)
* Simplify & consolidate address items

* Adjust dropdown background
2016-10-31 12:58:25 +01:00
keorn 7af20a5db0 Modify gas price statistics (#2947)
* gas price distribution + median + tests

* put histogram in util

* use the util histogram

* remove the default gas price implementation

* histogram rpc

* fix empty corpus

* Add JS ethcore_gasPriceHistogram

* Fix typo (s/types/type/) & subsequent failing test

* Fix return type & formatting

* bucketBounds

* Add jsapi e2e test verification
2016-10-31 12:57:48 +01:00
Nicolas Gotchac 8bf577e0fe Fixes pending/mined transactions in registry dApp (#3004)
* Fixing React Errors

* Fixes pending and mined events in Registry dApp (#2930)

* PR grumbles (#2930)
2016-10-31 12:56:53 +01:00
Jaco Greeff 6da02e0a7a s/Used/Provided/ gas (#2993) 2016-10-30 20:38:07 +01:00
Jaco Greeff 10a6e95d8a Display network status for finished Signer requests (#2983)
* Display confirmation for finished requests

* Update box padding
2016-10-30 12:20:52 +01:00
Jaco Greeff 70f87ea002 Publish parity.js to npmjs registry (#2978)
* Skeleton packages

* Publish parity.js package to npm

* [ci skip] js-precompiled 20161029-190427

* Extra step information

* [ci skip] js-precompiled 20161029-192209

* Use autToken for npmjs (cannot run headless in docker)

* [ci skip] js-precompiled 20161029-193414

* Correct package.json structure

* [ci skip] js-precompiled 20161029-194003

* Scope package to public

* [ci skip] js-precompiled 20161029-194529

* Start package version at 0.1.0

* Build proper umd library

* [ci skip] js-precompiled 20161029-231233

* Update build/release stage

* [ci skip] js-precompiled 20161030-071454

* Basic README.md to satisfy npmjs

* [ci skip] js-precompiled 20161030-073150

* CommonJs format

* [ci skip] js-precompiled 20161030-075034

* Update README.md

* update dependencies

* [ci skip] js-precompiled 20161030-075727

* Starting package version

* Build only on master
2016-10-30 09:55:46 +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
Jannis Redmann 86c0dbeedc refactor etherscan.io links (#2896)
* use proper querystring builder

* etherscan.txLink helper

* refactor to etherscan.txLink

* etherscan.addressLink helper

* refactor to etherscan.addressLink

* move txLink & addressLink into common file
2016-10-30 09:37:15 +01:00
Jaco Greeff e304a2f3fe Add favicon (#2974)
* Add favicon.ico

* Add favicon to all html pages

* Cleanup favicon background
2016-10-29 19:06:33 +02: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 65c985bef3 Gavcoin event display updates (#2956)
* Mapp all known addresses

* Display timestamp in event log

* Shorten addresses

* Display "Pending" timestamps as well

* Pending/Loading with empty timestamp
2016-10-29 13:04:47 +02:00
Jaco Greeff c61526f8d5 Eslint fixes (package upgrade) (#2957) 2016-10-29 09:55:55 +02:00
Jaco Greeff 8d66fc50e2 Add import of raw private key RPCs (#2942)
* Importing an account from raw secret

* Add jsapi & jsonrpc for personal_newAccountFromSecret
2016-10-28 16:46:25 +02:00
Jaco Greeff 6abd08f5b2 Bring in styling queues from original Gavcoin (#2936)
* Bring in styling queues from original

* NewTranch background colour update
2016-10-28 16:46:11 +02:00
Jaco Greeff 8dff4012a6 Personal split (#2879)
* Split personal namespace into Safe and Unsafe part

* Re-add api.personal.accountsInfo() calls to dapps

* Removing listGethAccounts from safe personal
2016-10-27 19:26:34 +02:00
Nicolas Gotchac f7259c26d1 Fixes too long desc and Token Balance Value (#2891) (#2902) 2016-10-26 21:25:03 +02:00
Nicolas Gotchac 6b2cffd312 Merge branch 'master' into ng-accounts-backup 2016-10-26 18:43:05 +02:00
Nicolas Gotchac e018739ba9 Removed unused Format => Use JSON for Export 2016-10-26 18:42:52 +02:00
Jaco Greeff e449477f23 Add mising imgages for local dapps (#2890) 2016-10-26 17:04:48 +02:00
Nicolas Gotchac 0441babb5f Fix empty tags modif. (#2882) 2016-10-26 13:55:41 +02:00
Jaco Greeff c8809b3396 Add inject to "bundle everything" list (#2871)
* Add inject to "bundle everything" list

* Fixes the `build-server` script // Updates Webpack config (#2872)

* New Webpack config file for libraries

* Added `parity-utils` path

* Removed parity in CommonChunks prod
2016-10-26 13:44:38 +02:00
Nicolas Gotchac 1b0a87cdde Removed CSV Export option (#2147) 2016-10-26 11:59:25 +02:00
Nicolas Gotchac c05430e25e Fixes signer errors throwing // MaterialUI Update errors too (#2867) (#2876) 2016-10-26 11:56:38 +02:00
GitLab Build Bot e1c2cff957 fix failing tests after log parsing updates 2016-10-26 10:41:46 +02:00
Nicolas Gotchac 61f41cdbe2 Add exporting to CSV (#2147) 2016-10-25 18:26:47 +02:00
Nicolas Gotchac 92bdfb1234 Add Export button to Accounts (#2147) 2016-10-25 18:06:05 +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 7eacf07629 Align contract event log l&f with transactions (#2812)
* Event into own component, align with transactions

* Pass value & type through from event log params

* Reformat display columns
2016-10-25 16:02:12 +02:00
Jaco Greeff 4fc1c5f42e Remove personal_* calls from dapps (#2860)
* remove accountsInfo & listAccounts

* registry accounts selector works
2016-10-25 15:15:22 +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 037a8c7625 Removes event name in unsubscribe API + Tests (#2364) (#2844) 2016-10-25 11:43:24 +02:00
Jaco Greeff 9f6da3f829 Don't return empty names as clickable titles (#2809)
* Don't return empty names (Fixes #2786)

* add trim in validation
2016-10-25 11:43:05 +02:00
Nicolas Gotchac 1b42e9a9af Added Export Component in Actionbar => export Addressbook (#2153) (#2847) 2016-10-24 18:27:35 +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
Jannis Redmann ff347da8d3 fix node log being reversed (#2839) 2016-10-24 15:11:32 +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
Jaco Greeff e0207b594b Add ethcore_[dapps|signer]Port APIs (#2821)
* Add ethcore_[dapps|signer]Port APIs

* typo
2016-10-24 15:09:33 +02:00
Jannis Redmann 9500f2b83d merge #2837 from ng-import-case-fix
Fix case error in Dapps import
2016-10-24 13:13:39 +02:00
Nicolas Gotchac 35925db825 Double click on address in account detail view should select it 2016-10-24 13:03:44 +02:00
Jaco Greeff 7e84b078dd Adjust paths to handle CORS changes (#2816)
* Adjust :8080 paths for CORS & development

* No need to redirect, Node takes care of it
2016-10-24 12:21:52 +02:00
Nicolas Gotchac bd040d4cfd Fix case error in Dapps import 2016-10-24 10:28:18 +02:00
Jaco Greeff 3637c6ad9a Adjust network name badge colours (darker) (#2823) 2016-10-22 22:29:47 +02:00
Tomasz Drwięga aca82fb84b Removing submodule in favour of rust crate (#2756)
* Removing submodule

* Fixing UI dependency structure.

* Merging RS and JS package

* Updating release script to push also rs files

* fix merge gone wrong

* Fixing compilation
2016-10-22 20:07:12 +02:00
Jannis Redmann bf827a758f fix Signer UI (#2750)
* fix Signer UI

* resolve conflicts
2016-10-22 19:25:30 +02:00
Jaco Greeff a1266fccb7 Make local apps available (Fixes #2771) (#2808) 2016-10-22 15:49:39 +02:00
jacogr 82496ae525 validate meta properly 2016-10-22 10:38:48 +02:00
jacogr 8a60ed1315 empty data is allowed 2016-10-22 10:38:34 +02:00
jacogr c312f4fb92 don't attempt to map empty types 2016-10-22 10:21:33 +02:00
jacogr db4f1c382e format blockNumber consistently 2016-10-22 09:58:50 +02:00
Nicolas Gotchac 76cded7fa4 Use trace API for decentralized transaction list (#2784)
* Using traces when available to get accounts transactions (#2148)

* Fixed traceMode detection and transactions rendering (#2148)

* [WIP] Use Redux Thunk in main UI => Async Actions (#2148)

* Using Redux for Transaction / Block / Methods... (#2148)

* Use BigNumber comparedTo function to sort txs (#2148)
2016-10-22 09:45:54 +02:00
Nicolas Gotchac dc5dd6b941 Bumped Material UI version (fixing issues with AutoComplete) (#2790)
Fixed issues with Searchable addresses
2016-10-21 17:01:06 +02:00
jacogr e55d6def73 Update name of basiccoin manager 2016-10-21 00:21:08 +02:00
Jannis Redmann 68efbe32bf fix contract deployments not showing up (#2759)
* fix contract deployments not showing up

I'm really not happy with this.

Since the Signer consists of many, deeply nested, components, which in many cases
just pass props through, it's hard to trace this. `<TransactionPending>` is
supposed to fetch data from Parity (smart component) and pass it on to its (dumb)
children. For that, it needs to know implementation details of them.

* eslint 💄
2016-10-20 16:37:25 +02:00
Nicolas Gotchac 5c49168a66 Fix positionning issue of Icon in Address Selection (#2754) 2016-10-20 16:35:08 +02:00
Jannis Redmann 67f734cb20 fix linting issues (#2758) 2016-10-20 16:09:58 +02:00
Jannis Redmann d2e4bafaa5 refactor signer components (#2691)
* remove TransactionPendingWeb3

* remove TransactionFinishedWeb3

* remove SignRequestWeb3
2016-10-20 11:31:23 +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
Jannis Redmann 9b246245bf very basic dapp add/remove interface (#2721)
* refactor dapp loading

* basic modal window

* UI for removing dapps

* button to open modal

* eslint 💄, make dialog scrollable

* Dialog -> ui/Modal

* show dapp hash
2016-10-20 11:22:25 +02:00
Nicolas Gotchac 248437fa1d Implements Trace API Formatter (#2732)
* Add formatter for Traces API output (#2700)

* Adding formatter tests (#2700)
2016-10-19 20:15:27 +02:00
Nicolas Gotchac 319cfb278c Custom Input props value change must be reflected (#2734) (#2735) 2016-10-19 18:34:56 +02:00
Jaco Greeff a71006ebc4 Merge pull request #2731 from ethcore/ng-copy-clipboard-fix
Fixed Snackbar not showing and/or behind transactions (#2730)
2016-10-19 18:04:18 +02:00
Nicolas Gotchac c50ef499b3 Fixed Snackbar not showing and/or behind transactions (#2730) 2016-10-19 16:58:14 +02:00
Jannis R dd51c7ef42
dapps: show errors 2016-10-19 16:40:39 +02:00
Jannis R c4b60b8552
fix styling 2016-10-19 14:03:33 +02:00
Jannis R 6c6ad6d660
node logs: break lines 2016-10-19 13:36:08 +02:00
Nicolas Gotchac dd89ecea43 Add 'Copy to Clipboard' icon in Accounts Header (#2167) (#2716) 2016-10-19 13:24:22 +02:00
Jannis Redmann cf170418d5 merge #2720 from ng-ui-tags-fixes
Sort tags when displaying ; use AND for search results
2016-10-19 13:21:54 +02:00
Jaco Greeff b9a4e42bbe allow-same-origin for iframe (#2711) 2016-10-19 13:18:58 +02:00
Nicolas Gotchac 749e1e44b9 Use Array.prototype.some instead of `filter` then `length` 2016-10-19 13:15:01 +02:00
Nicolas Gotchac 88eb72468e Use AND instead of OR for tags search // Sort tags when displayed (#2719) 2016-10-19 13:01:06 +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 dadd6b1e7c Correct parameters for eth_sign (#2703)
* Cherry-pick eth_sign update/fix

* Correct sign documentation (signs txhash)
2016-10-19 11:04:26 +02:00
Jaco Greeff b359e09bb6 Add inject.js (for web3 exposed) (#2692) 2016-10-19 11:02:42 +02:00
Jaco Greeff 3c0b02ffe6 Apply UI PRs after master merge (#2690) 2016-10-18 16:44:09 +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