Commit Graph

2126 Commits

Author SHA1 Message Date
Bas
4f63377ff2 Fix terminology distributed -> decentralized for Dutch i18n (#5802) 2017-06-09 12:21:10 +02:00
Afri
d368006526 Fix terminology distributed -> decentralized (#5797) 2017-06-09 12:20:08 +02:00
Jaco Greeff
7f4a7abf49 Ui 2 provider for dapps (#5799)
* Import web3Provider

* Import api

* {Transport,Provider}/Ws -> WsSecure

* PostMessage provider with filters

* PromiseWrapper -> PromiseProvider
2017-06-08 17:14:02 +02:00
5chdn
ae8ff941f9 Fix terminology distributed -> decentralized 2017-06-08 14:10:35 +02:00
Jaco Greeff
c1599a3d85 Merge branch 'master' into ui-2
# Conflicts:
#	js/src/ui/Balance/balance.js
2017-06-08 11:51:46 +02:00
Jaco Greeff
882f963e6b Block invalid account name creation (#5784)
* Additional non-empty phrase check (fromNew)

* Explicit canCreate check in create (not only on UI)

* BN instance check (fixes Geth imports)

* Fixup tests after better checks

* PR comments (Thanks @tomusdrw )

* Typo
2017-06-07 16:27:01 +02:00
Jaco Greeff
bba1688981 Master merge updates (conflicts) 2017-06-06 11:24:43 +02:00
Jaco Greeff
6a480ffb5b Merge branch 'master' into ui-2 2017-06-06 09:35:22 +02:00
GitLab Build Bot
754abdb861 [ci skip] js-precompiled 20170604-110515 2017-06-04 11:09:12 +00:00
Tomasz Drwięga
8a364bbfaa Fixing UI issues after UI server refactor (#5710)
* Self-sufficient secureApi.

* Updating embed.

* Linting issues.
2017-06-04 12:34:03 +02:00
GitLab Build Bot
e89d49d958 [ci skip] js-precompiled 20170603-131456 2017-06-03 13:18:47 +00:00
Tomasz Drwięga
5ec5d2fa0b Fix local transactions without condition. (#5716) 2017-06-03 15:41:31 +03:00
Jaco Greeff
a328eef8d9 UI 2 Api providers (#5714)
* Add providers

* Convert rpc calls to use provider

* Update SecureApi for provider
2017-05-31 12:08:04 +02:00
Nicolas Gotchac
c2c7231cad Recover from empty phrase in dev mode (#5698)
* Add dev chain to isTest

* Fix signer

* Fix no condfition transactions

* Fix case : old parity

* Fix propTypes.
2017-05-30 19:28:50 +02:00
Jaco Greeff
fd3c8bced7 UI2 fixes for Signer popup (#5711)
* Fix new origin shape

* Pass input types through (<input /> tag)

* Update build
2017-05-30 13:41:30 +02:00
Jaco Greeff
d888190637 Merge branch 'master' into ui-2
# Conflicts:
#	js/src/modals/FirstRun/Welcome/welcome.js
2017-05-30 10:45:48 +02:00
GitLab Build Bot
de4c9507e6 [ci skip] js-precompiled 20170529-225538 2017-05-29 22:59:31 +00:00
Patrick Collins
b14145f23b fixes typo 2017-05-29 14:29:55 -07:00
Jaco Greeff
37c3f51f6e Update deps for console refactor 2017-05-24 14:45:10 +02:00
Jaco Greeff
45c6cc6ac0 Merge branch 'master' into ui-2 2017-05-24 14:09:51 +02:00
Jaco Greeff
d33d54dbf9 Merge pre-update 2017-05-24 14:05:34 +02:00
GitLab Build Bot
bbbdd02a00 [ci skip] js-precompiled 20170524-104640 2017-05-24 10:50:29 +00:00
Tomasz Drwięga
cbcc369a2d UI server refactoring (#5580)
* Full API in Authenticated WS server.

* Replacing UI server with Hyper.

* Solving CLI, RPCs and tests.

* Porting signer tests.

* Fixing origin recognition for dapps/rpc.

* Fixing tests. Adding parity-rpc-client to test.

* Dapps exposed as RPC method.

* JS code to support new connection scheme.

* Fixing dapps tests.

* Updating allowed origins/hosts to support web3.site.

* Fixing tests, fixing UI.

* Fixing tests.

* Removing invalid tests.

* Fixing merge.

* 404 fallback for UI

* Improve ContentFetcher constructor readability.

* Naming.

* Update .gitlab-ci.yml

fix CI lint error

* Fixing tests and linting issues.

* Fixing new tests.

* UI hosts.

* Submodules fix.
2017-05-24 12:24:07 +02:00
GitLab Build Bot
6b6555852c [ci skip] js-precompiled 20170523-130314 2017-05-23 13:07:10 +00:00
Micah Zoltu
2092b805b6 Updated docs slightly. (#5674)
These docs _really_ need a lot of improvement (like what are the options that go in `{}`, but at least they are now not outright incorrect.
2017-05-23 08:37:27 -04:00
Jaco Greeff
368e3d1f51 Merge branch 'master' into ui-2 2017-05-22 11:50:15 +02:00
Craig O'Connor
7a4eb15b4c Form fixes (#5664)
* label fix

* label-tx-row

* form fixes
2017-05-22 11:00:37 +02:00
GitLab Build Bot
99a1636c62 [ci skip] js-precompiled 20170519-161414 2017-05-19 16:18:02 +00:00
Jaco Greeff
c944b2e632 Remove public middleware (temporary) (#5665) 2017-05-19 18:05:44 +02:00
GitLab Build Bot
ae0841598f [ci skip] js-precompiled 20170519-154153 2017-05-19 15:45:53 +00:00
Jaco Greeff
637730996a Remove additional polyfill (#5663) 2017-05-19 17:30:54 +02:00
Nicolas Gotchac
84cab18120 Update the Console dapp (#5602)
* Init Console Dapp structure

* Watches and status

* First REPL and display

* Attaching console

* Selectable autocomplete

* working console // Display objects nicely

* Multilines in Console Dapps

* Better UI

* Eval on window object

* Save console gistory

* Adding views

* Add settings to the console dapp

* Add / remove Watches

* Add Snippets Cmponent

* Semi Working Snippets

* Working Snippets

* Adding CodeMirror features

* Removing old Console

* Add Static folder
2017-05-19 17:07:59 +02:00
Jaco Greeff
e7abd3510a Use babel-runtime as opposed to babel-polyfill (#5662)
* Add babel-runtime

* Add babel-transform-runtime plugin

* Remove babel-polyfill imports

* Remove babel-polyfill package

* Transform exports to work around webpack 2.2
2017-05-19 16:51:15 +02:00
Jaco Greeff
602115d81e Merge branch 'master' into ui-2
# Conflicts:
#	js/src/shell/Connection/connection.js
#	js/src/ui/Icons/index.js
#	js/src/views/Accounts/CreateAccount/RecoveryPhrase/recoveryPhrase.js
2017-05-19 14:55:13 +02:00
GitLab Build Bot
23a4a22869 [ci skip] js-precompiled 20170518-113124 2017-05-18 11:35:53 +00:00
Jaco Greeff
aa9894711b Connection dialog timestamp info (#5554)
* Timetsamp adjustment note

* Type & unneeded values
2017-05-18 12:46:30 +02:00
Craig O'Connor
6978e38752 style-fix (#5649) 2017-05-18 12:33:01 +02:00
GitLab Build Bot
95d9706fe1 [ci skip] js-precompiled 20170518-101141 2017-05-18 10:15:33 +00:00
Nicolas Gotchac
8b1f0b7cf4 Add Recover button to Accounts and warnings (#5645)
* Add Recover button to Accounts // Add Warnings

* Change to 11

* Add test net checks for empty recovery phrase

* Fix failing tests
2017-05-18 11:50:15 +02:00
Jaco Greeff
20bda5f5a0 Ui 2 components cleanups (#5653)
* Add autoFocus for search

* Remove old/unused renderer

* LabelComponent -> LabelWrapper

* Consistent LabelWrapper usage
2017-05-18 11:48:53 +02:00
Jaco Greeff
e0927f099e Merge branch 'master' into ui-2 2017-05-18 11:26:09 +02:00
Jaco Greeff
4b5a1d01ce Merge remote-tracking branch 'origin/ui-2' into ui-2 2017-05-18 10:07:35 +02:00
Craig O'Connor
78461d8a74 flow (#5606)
* FLOW

* ui-2-one more fix
2017-05-18 10:06:59 +02:00
GitLab Build Bot
2ec51fc0ad [ci skip] js-precompiled 20170517-144631 2017-05-17 14:50:24 +00:00
Tomasz Drwięga
379b920d49 Update eth_sign docs. (#5631) 2017-05-17 16:21:39 +02:00
Tomasz Drwięga
240704fb54 Proper signer Pub-Sub for pending requests. (#5594)
* Signer subscription.

* Fixing RPC tests.

* Improve notification performance.
2017-05-17 16:20:41 +02:00
Jaco Greeff
ab86f9e696 Merge branch 'master' into ui-2 2017-05-17 14:20:07 +02:00
GitLab Build Bot
7626ddc9c3 [ci skip] js-precompiled 20170516-145955 2017-05-16 15:03:40 +00:00
Jaco Greeff
f7ea667140 Merge branch 'master' into ui-2 2017-05-16 17:03:17 +02:00
Nicolas Gotchac
8642300d74 Use default account for sending transactions (#5588)
* Add default account for Wallet Creation

* Use default account by default, save current used account

* Fix tests
2017-05-16 15:38:16 +01:00
Jaco Greeff
673cde3c0b Ui 2 cleanups (unused components, shared assets) (#5636)
* Remove unused components

* Move to dapp/index.js

* Move assets to @parity/shared
2017-05-16 16:01:11 +02:00
Jaco Greeff
95f6f70d8f Ui 2 complete MUI removal (#5635)
* Convert DateTime input component

* Remove muiTheme context
2017-05-16 14:46:48 +02:00
GitLab Build Bot
48ddd8b312 [ci skip] js-precompiled 20170516-115901 2017-05-16 12:04:56 +00:00
Jaco Greeff
31be9d25f3 Merge branch 'master' into ui-2
# Conflicts:
#
js/src/shell/Signer/components/TransactionPendingFormConfirm/transaction
PendingFormConfirm.js
#	js/src/ui/Container/Title/title.js
#	js/src/views/Application/Snackbar/snackbar.js
#	js/src/views/Status/Peers/peers.js
2017-05-16 13:30:19 +02:00
Jaco Greeff
665998e797 Ui 2 mui to sui conversion (#5633)
* Split chip rendering from input

* Slider component

* Render Chip without MUI

* Adjust InputChip styling

* Remove mui chip input

* Remove mui-chip-input from build

* Convert input to sui
2017-05-16 12:25:47 +02:00
Nicolas Gotchac
0f1a857576 Add peer management to the Status tab (#5566)
* Add peer management to the Status tab

* Fix propTypes issue
2017-05-16 11:01:55 +01:00
Tomasz Drwięga
879195397e Decrypting for external accounts. (#5581) 2017-05-15 18:59:41 +02:00
Jaco Greeff
c27d96a4f1 Ui 2 additional MUI replacements (#5623)
* Loader spinner

* Progressbar conversion

* Update Progress

* Transfer operational again

* Remove List/ListItem from features

* Remove extra animation

* Remove iconButton

* Remove underline(input to be replaced)

* Convert Sort to Popup

* Remove unused AutoComplete component

* Simplify ModalBox

* Allow empty Actionbar

* Adjust shapeshift icon

* Simplify MUI theme (before removal)

* Update tests
2017-05-15 14:49:47 +02:00
Jaco Greeff
9bc82543ee Merge branch 'master' into ui-2 2017-05-12 17:19:50 +02:00
Jaco Greeff
7cdddd344b Ui 2 remove mui from views & shell (#5613)
* Stepper from semantic-ui

* Tabs component

* ui/Tabs in loadContract

* Adapt Dropdown events

* Remove direct use of semantic-ui

* Remove IconButton & Subheader

* Remove IconMenu

* ui/List & List.Item

* Be explicit in context props
2017-05-12 17:06:53 +02:00
GitLab Build Bot
83a13ee0e6 [ci skip] js-precompiled 20170512-102851 2017-05-12 10:32:43 +00:00
Craig O'Connor
662a8317a5 run-clean (#5607) 2017-05-12 12:10:24 +02:00
Jaco Greeff
5da7c32bdf Ui 2 radios & imports (#5609)
* Remove mui IconButton

* Token type selection

* Convert RadioButtons

* RadioButtons consistency

* Import @parity/ui

* Import @parity/ui

* Explicit name for RadioButtons

* Convert to semantic Radio
2017-05-12 12:06:16 +02:00
Jaco Greeff
78b6de55b3 Ui 2 Select component conversion (#5598)
* Remove mui/Paper from PasswordManager

* Aliasses for @parity packages

* Remove mui/Card from contract queries

* Toggle component replacement (mui-only)

* Semantic-ui toggle component

* LabelComponent warpper for Toggle

* Convert Selectors

* Test fixes

* Fix case
2017-05-11 14:02:27 +02:00
Jaco Greeff
b1a390983b Merge branch 'master' into ui-2 2017-05-11 09:57:39 +02:00
Craig O'Connor
85cf93e65d Merge pull request #5559 from paritytech/menu
dropdowns
2017-05-10 23:48:40 -04:00
GitLab Build Bot
2b30e0b5e0 [ci skip] js-precompiled 20170510-155435 2017-05-10 15:58:15 +00:00
Jaco Greeff
7c78dff386 Updates after merge (last remaining middleware nigglies) 2017-05-10 17:50:23 +02:00
Nicolas Gotchac
8146cbdae7 Check pending request on Node local transactions (#5564)
* Check pending request on Node

* Linting

* Liting

* Fix tests
2017-05-10 17:33:53 +02:00
Jaco Greeff
566b6a1967 Merge branch 'master' into ui-2
# Conflicts:
#	js/src/shared/redux/middleware.js
#	js/src/shared/redux/providers/registry/middleware.js
#	js/src/shell/Application/application.js
#	js/src/ui/Actionbar/actionbar.js
#	js/src/ui/Button/button.js
#	js/src/ui/Form/AddressSelect/addressSelect.js
#	js/src/ui/Form/Input/input.js
#	js/src/ui/MethodDecoding/methodDecoding.js
2017-05-10 17:29:07 +02:00
GitLab Build Bot
710339d0a8 [ci skip] js-precompiled 20170510-143939 2017-05-10 14:43:30 +00:00
Nicolas Gotchac
eff4cde738 Add tooltips capabilities to buttons (#5562)
Add tooltips for buttons on ActionBar if text not visible
2017-05-10 16:19:01 +02:00
GitLab Build Bot
3e86b2e666 [ci skip] js-precompiled 20170510-134918 2017-05-10 13:52:55 +00:00
Nicolas Gotchac
0a16c350d1 Can't deploy without compiling Contract (#5593) 2017-05-10 15:24:24 +02:00
GitLab Build Bot
c58c253cbf [ci skip] js-precompiled 20170510-131400 2017-05-10 13:17:46 +00:00
Nicolas Gotchac
5baccafb23 Add a warning when node is syncing (#5565)
* Add a warning when node is syncing

* Linting

* Linting

* PR Grumbles
2017-05-10 15:02:47 +02:00
Nicolas Gotchac
076b602343 Update registry middleware (#5585) 2017-05-10 14:42:26 +02:00
Nicolas Gotchac
860d6c01ed Set block condition to BigNumber in MethodDecoding (#5592)
* Set block condition to BigNumber in MethodDecoding

* Add gt(0)
2017-05-10 14:41:52 +02:00
Jaco Greeff
35a5c4787b Revert to original label (everything lowercase atm UI-wide) 2017-05-10 14:38:28 +02:00
Jaco Greeff
7799883adc Fix tests 2017-05-10 14:31:55 +02:00
Jaco Greeff
c3ee7f04e5 Simplify Dropdown, pass label correctly 2017-05-10 14:27:04 +02:00
Jaco Greeff
1c262b2172 Merge branch 'ui-2' into menu 2017-05-10 13:47:36 +02:00
Jaco Greeff
b9c4e5b36c Ui 2 depends & fixes (#5590)
* File paths

* Align balance overlays & sizes

* Copy works as expected

* Re-arrange imports

* Icon props

* Move packages to their original dependencies

* Dependencies to packages

* Update test babel overrides
2017-05-10 13:23:14 +02:00
oconnorct1
4944f59118 style fix 2017-05-09 21:13:04 -04:00
oconnorct1
a0929c4c90 style fix 2017-05-09 21:12:41 -04:00
oconnorct1
66843a349d SemanticButton 2017-05-09 21:08:05 -04:00
oconnorct1
f014891288 Merge branch 'menu' of github.com:paritytech/parity into menu 2017-05-09 21:07:10 -04:00
oconnorct1
19d97136a5 grumbles 2017-05-09 21:06:11 -04:00
oconnorct1
68cbd87bc2 grumbles 2017-05-09 21:04:56 -04:00
Jaco Greeff
861cbb874b Ui 2 ui (#5582)
Ui 2 small UI fixes
2017-05-09 17:31:48 +02:00
Jaco Greeff
7623455cb6 Snackbar update 2017-05-09 14:20:36 +02:00
Jaco Greeff
9f91c0490c Merge branch 'master' into ui-2 2017-05-09 14:10:24 +02:00
Jaco Greeff
7785fa3938 Fix JS header (// comments for JS) 2017-05-09 14:06:06 +02:00
Jaco Greeff
36b437270b Remove Card completely 2017-05-09 14:04:58 +02:00
GitLab Build Bot
518b6e647b [ci skip] js-precompiled 20170509-115458 2017-05-09 11:58:48 +00:00
Jaco Greeff
c37c579585 Merge branch 'ui-2' into menu 2017-05-09 13:50:47 +02:00
Jaco Greeff
40744d1bd2 Merge branch 'master' into ui-2 2017-05-09 13:47:29 +02:00
GitLab Build Bot
9947493977 [ci skip] js-precompiled 20170509-112134 2017-05-09 11:25:44 +00:00
Nicolas Gotchac
e5ff36f1f1 Load the sources immediatly in Contract Dev (#5575) 2017-05-09 12:56:35 +02:00
Nicolas Gotchac
d83d938ee3 Remove formal verification messages (#5574) 2017-05-09 12:56:20 +02:00
Nicolas Gotchac
c5116e5049 Fix event params decoding when no names for parameters #5409 (#5567) 2017-05-09 12:56:08 +02:00
Nicolas Gotchac
1288b4b28f Do not convert to Dates twice (#5563)
* Don't convert Dates twice

* Take string dates into account
2017-05-09 12:55:52 +02:00
Nicolas Gotchac
df9096df80 Fix Multisig wallet settings (#5560)
* Improve add/remove owner in Wallet (use changeOwner)

* fix linting
2017-05-09 12:55:35 +02:00
Jaco Greeff
af53a8da83 Add missing package files 2017-05-09 12:46:00 +02:00
Jaco Greeff
4c28ef40b7 Ui 2 shared package (redux, mobx, utils) (#5579)
* Create @parity/shared

* Move ~/util to shared/util

* Move ~/contracts to shared/contracts

* Move ~/config to shared/config

* Move ~/environment to shared/environment

* Updated paths

* Move ~/mobx to shared/mobx

* Move ~/redux to shared/redux

* Add shared to test babel compile
2017-05-09 12:01:44 +02:00
Jaco Greeff
073564b508 Merge branch 'master' into ui-2 2017-05-09 10:11:13 +02:00
oconnorct1
43629d0fd4 card / update dropdown 2017-05-07 02:17:31 -04:00
Jaco Greeff
d91fae4e54 UI 2 tests & webpack dapp build updates/fixes (#5561)
* Tests are executing again

* Fix tests

* Add missing contextTypes

* IdentityIcon without Connect()

* Update ~/ui tests

* Update spec locations

* Filename case

* Fix playground dapp build
2017-05-05 15:14:05 +02:00
GitLab Build Bot
0d8920347a [ci skip] js-precompiled 20170505-084643 2017-05-05 08:50:23 +00:00
GitLab Build Bot
4a2ad9fc2a [ci skip] js-precompiled 20170505-083410 2017-05-05 08:38:11 +00:00
Jaco Greeff
9b025cf8c1 Merge branch 'master' into ui-2
# Conflicts:
#	js/src/views/ContractDevelop/store.js
2017-05-05 10:08:10 +02:00
Nicolas Gotchac
25853b915e Fixes Parity Bar position (#5557) 2017-05-05 10:00:45 +02:00
Nicolas Gotchac
d4dc58eafe Fix #4277 (#5556) 2017-05-05 10:00:31 +02:00
Nicolas Gotchac
eb316fcb9c Fix issues in Contract Development view (#5555)
* Better errors in contract dev

* Use RAW Git instead of Github Raw URLs (better CORS support)

* Network first for Solc list

* Don't use importScript n Worker // update rawgit to use CDN
2017-05-05 10:00:16 +02:00
oconnorct1
34bdf61cf0 dropdowns 2017-05-05 03:04:48 -04:00
GitLab Build Bot
f5bfb208e7 [ci skip] js-precompiled 20170504-161940 2017-05-04 16:23:12 +00:00
Maciej Hirsz
d5683d2016 Added missing methods (#5542)
* Added missing methods

* Adding to Parity.js
2017-05-04 17:58:01 +02:00
Craig O'Connor
c1f07c3329 Mui-be-gone-3 (#5546)
* mui-be-gone

* second

* mui-be-gone-3

* updates

* ups and ups

* oops

* Revert to changes in removed files from ui-2

* Revert to stateless component
2017-05-04 11:03:55 +02:00
Jaco Greeff
f34a0346bc Cleanup ~/util (#5553) 2017-05-04 10:40:52 +02:00
Jaco Greeff
c7949e2fc3 Merge branch 'master' into ui-2 2017-05-04 10:39:46 +02:00
GitLab Build Bot
160183b6e8 [ci skip] js-precompiled 20170503-123121 2017-05-03 12:34:57 +00:00
Jaco Greeff
539164945a Merge branch 'master' into ui-2 2017-05-03 14:19:47 +02:00
Jaco Greeff
70e87677b3 Retrieve block headers only for header-only info (#5480)
* Add parity_getBlockHeaderByNumber

* Use parity_getBlockHeaderByNumber for retrieval
2017-05-03 14:12:06 +02:00
Jaco Greeff
2f9e05830b Create ~/ui/Form/Checkbox component (#5543) 2017-05-03 13:37:32 +02:00
Craig O'Connor
c39952a727 Mui be gone 2 (#5540)
* mui-be-gone

* second

* Revert ~/dapp mui removal

* Overlay text color
2017-05-03 12:25:16 +02:00
Craig O'Connor
5323fb5e08 mui-be-gone (#5539)
* mui-be-gone

* Revert ~/dapp mui removal
2017-05-03 12:16:20 +02:00
Jaco Greeff
1c2580b4a6 Ui 2 shell updates (#5541)
* Stateless components

* Adjust borders

* Stateless for status

* Externalise link colors

* css lint

* stateless

* Create ui/IconCache, replacing redux

* Update Signer buttons

* Requests background

* Adjust request styling

* Stateless components

* ParityBar background alignment

* Shell updates

* Remove Tooltip
2017-05-03 10:46:09 +02:00
Jaco Greeff
a1502738f1 Merge branch 'master' into ui-2 2017-05-03 10:40:53 +02:00
GitLab Build Bot
b17c6ec054 [ci skip] js-precompiled 20170502-161232 2017-05-02 16:16:27 +00:00
Nicolas Gotchac
a56b2f5993 Fix utf8 decoding (#5533)
* Fixes #5492

* Linting
2017-05-02 17:52:49 +02:00
Jaco Greeff
e7484d07aa Ui 2 styling adjustments (#5534)
* Stateless components

* Adjust borders

* Stateless for status

* Externalise link colors

* css lint

* stateless

* Create ui/IconCache, replacing redux

* Update Signer buttons

* Requests background

* Adjust request styling

* Stateless components

* ParityBar background alignment
2017-05-02 17:50:44 +02:00
Jaco Greeff
b57e8f6f0d Merge branch 'master' into ui-2 2017-05-02 13:40:05 +02:00
GitLab Build Bot
b0e4c913c0 [ci skip] js-precompiled 20170502-103844 2017-05-02 10:42:38 +00:00
Rien
02b54ff7e8 find . -type f -not -path './.*' -exec sed -i -e "s/ethcore\.io/parity.io/g" {} \; (#5528) 2017-05-02 11:41:09 +02:00
Jaco Greeff
fa243cdf89 UI 2 Status dapp fixes (#5531)
* Stateless components

* Adjust borders

* Stateless for status
2017-05-02 11:14:18 +02:00
Jaco Greeff
4781d2e15a Merge branch 'ui-2-styling' into ui-2 2017-04-28 15:33:49 +02:00
Craig O'Connor
bccb231899 Icons set two (#5521)
* semantic addition

* semantic addition

* icons

* iconset

* Fix lint from merge

* Remove extra file/moved

* Moved packages (ui dep)

* Change dapps to import from ~/ui/Icons

* Additional icons converted

* Typo

* Add, Send, Delete, Edit & Send icons

* set two
2017-04-28 13:51:20 +02:00
Jaco Greeff
dddefa9a72 panel background (develop) 2017-04-28 12:43:44 +02:00
Jaco Greeff
0745c019a3 AccountCard uses Container 2017-04-28 12:17:19 +02:00
Jaco Greeff
85711ca66d Adjust Portal background mask 2017-04-28 12:03:20 +02:00
Jaco Greeff
278dfcdcc5 Merge remote-tracking branch 'origin/ui-2' into ui-2 2017-04-28 11:26:34 +02:00
Jaco Greeff
4c04b61f8a Merge branch 'master' into ui-2 2017-04-28 11:26:24 +02:00
Jaco Greeff
37dd488579 UI 2 component & modal splits (#5525)
* Remove mui from Actionbar

* Add semantic-ui to vendor.js

* Stateless components

* Multi-item spacing

* Stateless components

* Stateless components

* Default font

* Context passing

* Move Vault modals into Vault dapp

* Move modals to their respective views
2017-04-28 11:21:05 +02:00
GitLab Build Bot
1ed0fedfd5 [ci skip] js-precompiled 20170427-165204 2017-04-27 16:56:27 +00:00
Tomasz Drwięga
28dcbc6426 Support external eth_sign (#5481)
* Display a QR for eth_sign requests.

* Support raw confirmation of eth_sign

* Fix ethkey issue on nightly.

* Fixing test.

* Fixing test.
2017-04-27 18:23:22 +02:00
Gav Wood
43175f17e4 Treat clock numbers as strings, not BigNums. (#5449) 2017-04-27 18:22:55 +02:00
Jaco Greeff
d16cfc736d UI 2 styling (#5518)
* [ci skip] js-precompiled 20170426-110849

* export topNavigate function

* Stateless components in shell

* Connection icon fill

* Parity overlay only in dapps

* Additional buttons

* Adjust toolbar styles

* Adjust ParityBar button styling

* Complete icon conversion
2017-04-27 13:28:02 +02:00
Craig O'Connor
c9d41beb28 Icons (#5509)
* semantic addition

* semantic addition

* icons

* iconset

* Fix lint from merge

* Remove extra file/moved

* Moved packages (ui dep)

* Change dapps to import from ~/ui/Icons

* Additional icons converted

* Typo

* Add, Send, Delete, Edit & Send icons
2017-04-27 11:32:59 +02:00
Jaco Greeff
d2cf1cbd0e Fix shell links 2017-04-26 17:59:16 +02:00
Jaco Greeff
549367fcd6 Simplify 2017-04-26 16:31:13 +02:00
Jaco Greeff
6c702c7b6a Correct import 2017-04-26 16:27:35 +02:00
Jaco Greeff
aabf08fd75 LinearProgress -> Progress 2017-04-26 16:23:41 +02:00
Jaco Greeff
34d68ccb73 CircularProgress -> Loading 2017-04-26 16:08:30 +02:00
Jaco Greeff
02eeefd73b Last couple of dangling icons 2017-04-26 15:56:18 +02:00
Jaco Greeff
555e5b24f3 Adjust ActionBar (#5514) 2017-04-26 15:00:30 +02:00
Jaco Greeff
bdcf2a9c61 Fix CSS overrides 2017-04-26 14:22:08 +02:00
GitLab Build Bot
30b3b5e2a7 [ci skip] js-precompiled 20170426-110849 2017-04-26 11:12:52 +00:00
Craig O'Connor
2badd9778b Semantic ui (#5507)
* semantic addition

* semantic addition

* semantic-ui into @parity/ui dependency

* Merge updates

* Update missing imports to use ~

* Clean @parity modules with clean

* Updated yarn.lock
2017-04-26 13:12:50 +02:00
Jaco Greeff
6797172ad4 Updated yarn.lock 2017-04-26 13:08:31 +02:00
Jaco Greeff
95eeca09b7 Merge branch 'master' into ui-2 2017-04-26 12:39:28 +02:00
Jaco Greeff
3d9deb7770 npm cleanups (#5512)
* Cleanup @parity modules in npm run clean

* Remove top-level yarn files (only in js)
2017-04-26 12:38:21 +02:00
Jaco Greeff
1cd0350f83 Merge branch 'master' into ui-2 2017-04-26 12:31:10 +02:00
GitLab Build Bot
012615ae46 [ci skip] js-precompiled 20170426-101558 2017-04-26 10:19:53 +00:00
Jaco Greeff
17448b370c Merge branch 'master' into ui-2 2017-04-26 11:35:49 +02:00
Craig O'Connor
cf904b6b2f Export acc js (#4973)
* Export account RPC

* Removing GethDirectory and ParityDirectory

* js export accounts as json

* js export accounts as json

* api - then - catch

* final touches

* pass

* oops

* individual accounts

* refactoring

* refactor one

* refactor one

* refactor two

* some grumble fixes

* file name changes

* constructor

* constructor

* git recognize file name change

* spec and updates

* specs

* one tiny fix

* one tiny fix

* grumbles

* more grumbles

* sliders

* ff

* pointer default

* grumbles

* almost ready

* lots of updates

* accountList

* stupid debuglog

* bug fix

* bug fix

* some more good ol fashioned updates

* filter accounts

* clean

* update spec

* ff

* ff-f

* balances fix
2017-04-26 11:34:48 +02:00
Craig O'Connor
3be3b78c90 YARN (#5395)
* YARN

* update package.json

* update package.json

* yarn updates

* npm
2017-04-26 11:33:29 +02:00
Jaco Greeff
8fc453658b Fix linting issues (#5511) 2017-04-26 11:10:36 +02:00
Shaoping
3344d96329 Chinese Translation (#5460)
* Update account.js

* Update accounts.js

* finished writeContract.js translate

* translated web, walletSetting

* 添加注释

* 添加注释

* 翻译1

* 翻译1,存疑1

* 翻译1,没毛病

* 翻译1,存疑1

* Translated addAddress & addContract

* 翻译1

* Translated connection.js

* Translated contract.js

* Translated contracts.js

* translated dapps.js

* translated deleteAccount

* Translated createWallet.js

* Translated editMeta.js

* Translated errors.js

* Translated extension.js

* translated deployContract

* Translated executeContract.js

* Update home.js

* Translated home.js

* Translated loadContract.js

* Translated parityBar.js

* translated faucet

* Translated passwordChange.js

* Translated saveContract.js

* translated firstRun

* translated tabBar

* Commented out all ENG

* translated transfer.js

* translated txEditor.js

* Translated settings.js

* translated ui.js

* Translated shapeshift.js

* translated wallet.js

* Translated signer.js

* translated upgradParity.js

* Translated status.js

* translated verification.js

* Translated vaults.js

* translated ui.js

* zh-tw translation

* translated account.js

* translated accounts.js

* translated accounts.js

* translated address.js

* translated addressSelect.js

* translated addresses.js

* translated application.js

* translated dapp.js

* translated ui.js

* translated txEditor.js

* update zh-Hant-TW translation

* enable zh-Hant-TW
2017-04-26 10:57:19 +02:00
Jaco Greeff
2f0ce06cc1 Ui 2 shell (#5510)
* Split application into ~/shell

* reset.css back to index
2017-04-26 10:56:31 +02:00
Jaco Greeff
cdab1ebc04 Default font color 2017-04-25 17:18:23 +02:00
Jaco Greeff
851003c07c UI 2 light styling (placeholder until component move) (#5503)
* Adjust cards

* Clickable TxRow

* Modal background adjustment (stop-gap)

* Adjust container to light

* UI light updates
2017-04-25 15:41:46 +02:00
Jaco Greeff
ac138f6a4c Remove ParityBackground (#5501) 2017-04-25 11:53:19 +02:00
Jaco Greeff
b749718feb Merge branch 'master' into ui-2
# Conflicts:
#	js/src/views/Signer/RequestsPage/requestsPage.js
2017-04-25 11:10:23 +02:00
Jaco Greeff
234b8dd592 Dapp with params (Account, Address & Contract) (#5500)
* Allow passing hash through to dapp

* Add allet view

* Add Contract & Address links
2017-04-25 11:07:11 +02:00
GitLab Build Bot
c9b2a7a980 [ci skip] js-precompiled 20170425-082717 2017-04-25 08:31:15 +00:00
Craig O'Connor
f7d5d6c0cd Cancel tx JS (#4958)
* Remove transaction RPC

* Bumping multihash and libc

* Updating nanomsg

* bump nanomsg

* cancel tx

* cancel-tx-js

* cancel-tx-js

* cancel-tx-js

* cancel-tx-hs

* cancel-tx-js

* cancel-tx-js

* cancel-tx-js

* small fixes

* edit & time till submit

* edit & time till submit

* updates

* updates

* udpates

* udpates

* grumbles

* step 1

* Wonderful updates

* ready

* small refact

* small refact

* grumbles 1

* ffx2

* good ol' fashioned updates

* latest and greatest

* removeHash

* removeHash

* spec

* fix 1

* fix 1

* fix 2

* fix 2

* ff

* ff

* ff

* updates
2017-04-25 10:08:09 +02:00
Jaco Greeff
22497e5133 Update after source move 2017-04-24 17:45:53 +02:00
Jaco Greeff
719023e949 Navigate to dapp from dapp (WIP) 2017-04-24 17:41:47 +02:00
Jaco Greeff
2e1b05940f Router/Route usage consistency between dapps 2017-04-24 15:37:53 +02:00
Jaco Greeff
1d566a85b2 Convert missing icons for ~/ui import 2017-04-24 15:15:25 +02:00
Jaco Greeff
831e52ea07 Request view as dapp completed 2017-04-24 14:59:22 +02:00
Jaco Greeff
1725c708fe Requests (WIP) 2017-04-24 13:40:23 +02:00
Jaco Greeff
0c70cee503 Contracts & Contract develop as dapp 2017-04-24 13:21:22 +02:00
Jaco Greeff
84d1151a1f Accounts as dapp 2017-04-24 12:45:01 +02:00
Jaco Greeff
3ce9071eb9 Addresses as dapp 2017-04-24 12:20:12 +02:00
Jaco Greeff
ec37cf6700 Settings running as dapp 2017-04-24 11:21:04 +02:00
Jaco Greeff
cda12ec995 Remove unused RpcCalls 2017-04-24 10:52:08 +02:00
Jaco Greeff
bc0ea154df Remove html background 2017-04-24 10:05:45 +02:00
Jaco Greeff
a2269a477e Split views into own section 2017-04-24 09:53:40 +02:00
Jaco Greeff
262169c8a4 Add Vaults as dapp 2017-04-24 09:53:27 +02:00
Jaco Greeff
c044534d6a Allow status updates on 2nd API instance 2017-04-21 16:03:50 +02:00
Jaco Greeff
fcdd19e105 Merge branch 'master' into ui-2 2017-04-21 15:42:23 +02:00
Jaco Greeff
5fc6a5627e First iteration of Status page (WIP) 2017-04-21 15:20:43 +02:00
Jaco Greeff
2459501f4e Home as dapp 2017-04-21 13:14:07 +02:00
Jaco Greeff
23469a99e8 Fix API references to @parity/api 2017-04-21 11:40:22 +02:00
Jaco Greeff
b3dfc0b6db Merge branch 'jg-split-abi-api' into ui-2 2017-04-21 11:21:54 +02:00
Jaco Greeff
2ffb6496f4 Merge branch 'master' into ui-2 2017-04-21 11:19:40 +02:00
GitLab Build Bot
70c82c0f61 [ci skip] js-precompiled 20170420-192450 2017-04-20 19:28:34 +00:00
Dmitriy Startsev
6c33b781c3 Update links to etherscan.io (#5455) 2017-04-20 18:03:43 +02:00
Jaco Greeff
ba03ed4eea Refresh UI on nodeKind changes, e.g. personal -> public (#5312)
* Poll details based on nodeKind

* Delay long polling when public/light

* Reload UI when nodeKind changed

* Fix tests (not using dispatch, reload instead)

* PR grumbles/cleanups
2017-04-20 17:31:15 +02:00
Jaco Greeff
4b403266ea Merge branch 'master' into jg-split-abi-api 2017-04-20 15:47:24 +02:00
Jaco Greeff
89e5601ec0 blockies dep -> api 2017-04-20 15:47:20 +02:00
Jaco Greeff
9652c0fabb UI packages to ui 2017-04-20 15:45:31 +02:00
Jaco Greeff
11bcfa05e3 Update remaining ../abi to @parity/abi 2017-04-20 12:03:07 +02:00
Jaco Greeff
75d9fa3fe9 mocha babel ignores (@parity modules) 2017-04-20 11:56:13 +02:00
Jaco Greeff
887b7b5090 Update maintainers 2017-04-20 11:48:42 +02:00
Jaco Greeff
bb628bca88 Add missing npm aliasses 2017-04-20 11:42:32 +02:00
Jaco Greeff
8a46a4b567 Move API dependencies 2017-04-20 11:24:49 +02:00
Jaco Greeff
8b144bedd1 Shared build rules 2017-04-20 11:17:58 +02:00
Jaco Greeff
94c8cceb42 Add @parity/jsonrpc 2017-04-20 10:41:06 +02:00
Jaco Greeff
0d9e849162 Build with @parity/(abi|api) packages 2017-04-20 10:34:23 +02:00
Jaco Greeff
4568300d9b Use @parity/abi 2017-04-20 10:34:00 +02:00
Jaco Greeff
b3056cd0ab Add ABI/API package.json 2017-04-20 10:33:37 +02:00
GitLab Build Bot
0d40df937b [ci skip] js-precompiled 20170419-162101 2017-04-19 16:24:42 +00:00
GitLab Build Bot
7d07c550ba [ci skip] js-precompiled 20170419-161237 2017-04-19 16:16:20 +00:00
Nicolas Gotchac
37690cfde2 Refactoring of Tokens & Balances (#5372)
* Remove ETH filter

* Remove unused Blockchain reducer+actions

* Simpler Token updates and fetching

* Cleanup use of balances

* Cleanup of balances

* Cleanup of Balances

* Linting

* Update List Component

* Separate tokens from balances

* Refactoring balance fetchin and storing - Part I

* Linting

* Better ETH token description and use

* Working Transfer with new logic

* Add debugging

* Querying the tokens filter on new block

* Fixing the tests - PART I

* Fix txCount
2017-04-19 18:00:05 +02:00
Jaco Greeff
fc18299869 Background-repeat round (#5475) 2017-04-19 17:47:30 +02:00
GitLab Build Bot
770c7e5878 [ci skip] js-precompiled 20170419-142847 2017-04-19 14:32:38 +00:00
Bas
23e7b53c13 nl i18n updated (#5461)
* Sync nl i18n to default

* Syntax fix in nl i18n

Tested locally

* nl translation improvements
2017-04-19 16:08:47 +02:00
Nicolas Gotchac
e1e2674cd2 Show ETH value (even 0) if ETH transfert in transaction list (#5406) 2017-04-19 16:02:24 +02:00
GitLab Build Bot
8310877f25 [ci skip] js-precompiled 20170419-133906 2017-04-19 13:42:54 +00:00
Nicolas Gotchac
e83de5cde2 Store the pending requests per network version (#5405)
* Store the requests in LS per network version

* Fixing tests

* Add network switching test

* Fixes
2017-04-19 15:15:43 +02:00
GitLab Build Bot
1e6674f804 [ci skip] js-precompiled 20170413-083353 2017-04-13 08:37:35 +00:00
Maciej Hirsz
df5f722885 Merge pull request #5417 from paritytech/mh-publicnode-tests
Tests and tweaks for public node middleware
2017-04-13 10:13:07 +02:00
GitLab Build Bot
d99f1e5f1f [ci skip] js-precompiled 20170412-114838 2017-04-12 11:52:33 +00:00
Gav Wood
1b36a381e8 Fix buffer length for QR code gen. (#5447) 2017-04-12 13:20:22 +02:00
GitLab Build Bot
a0d83537e5 [ci skip] js-precompiled 20170412-104510 2017-04-12 10:48:49 +00:00
keorn
52eae66c72 Add raw hash signing (#5423)
* add sign any

* Add RPC signMessage call to JS API

* Add signMessage to JSON RPC docs

* PostSignTransaction -> EthSignMessage

* fix doc typo

* revert incorect naming
2017-04-12 12:15:13 +02:00
GitLab Build Bot
e84d03f31d [ci skip] js-precompiled 20170411-150514 2017-04-11 15:08:42 +00:00
Jaco Greeff
bb8adcce92 Work around mismatch for QR checksum (#5374)
* Work around current native-signer encoding

* Avoid trying to use non-existant util function.
2017-04-11 16:43:15 +02:00
GitLab Build Bot
a2bec1edb4 [ci skip] js-precompiled 20170410-094150 2017-04-10 09:45:12 +00:00
maciejhirsz
b11a84a347 Unlock transaction on RPC errors 2017-04-10 11:22:32 +02:00
Nicolas Gotchac
0aaf236ad1 Add decryption to the UI (in the Signer) (#5422)
* Add decryption to the UI in signer + Fix Signing style

* Proper out format function for singing methods

* name
2017-04-10 11:21:06 +02:00
GitLab Build Bot
bca0c6c172 [ci skip] js-precompiled 20170408-095429 2017-04-08 09:57:43 +00:00
Tomasz Drwięga
4e498790d4 Updating documentation for RPCs (#5392)
* Removing minBlocks occurrencies

* Docs for new RPCs.

* Fixing linting issues, updating *withToken documentatiojn.

* Adding missing RPCs. Fixing tests.

* Fixing lint issues.
2017-04-08 11:28:04 +02:00
maciejhirsz
a45791d2c0 Handle invalid passwords 2017-04-06 17:36:21 +02:00
maciejhirsz
564a1b0fbb Tests and tweaks for public node middleware 2017-04-06 17:13:53 +02:00
GitLab Build Bot
5ebd38f1d6 [ci skip] js-precompiled 20170405-145308 2017-04-05 14:58:00 +00:00
Nicolas Gotchac
455f994673 Don't use port 8080 anymore (#5397) 2017-04-05 16:27:44 +02:00
GitLab Build Bot
8d0fde6f60 [ci skip] js-precompiled 20170405-090226 2017-04-05 09:06:09 +00:00
maciejhirsz
94bfe116aa CR fixes 2017-04-04 11:49:36 +02:00
maciejhirsz
50e0221dd1 Perf and fixes 2017-04-03 18:50:11 +02:00
GitLab Build Bot
ee4f9da385 [ci skip] js-precompiled 20170403-112007 2017-04-03 11:24:51 +00:00
Jaco Greeff
848779e465 Allow empty-encoded values from encoding (#5385) 2017-04-03 12:56:07 +02:00
GitLab Build Bot
0a90f235de [ci skip] js-precompiled 20170403-103604 2017-04-03 10:39:53 +00:00
Jaco Greeff
2447875b26 Update npm build for new inclusions (#5381)
* Update npm build for new inclusions

* Add dummy interface for secp256k1
2017-04-03 12:16:41 +02:00
Jaco Greeff
6a05967bef trigger js build release (#5379) 2017-04-03 10:25:21 +02:00
Jaco Greeff
1987dad527 Allow signing via Qr (#4881)
* QR code scanning in-place

* QrScan component

* Update tests

* s/store/createStore/ in props

* Create of actual accountsInfo entry

* Exteral/hardware forget, no password change

* Add external accounts to accounts list

* Render external accounts in section (along with hw)

* Manul test bugfixes

* Display Qr code for tx signing

* Align QR code

* Hints for QR operations

* Generate actual qr codes based on tx data

* Add leading 0x if not found

* Update tests for 0x leading addition

* from & rpl without leading 0x

* Auto-detect QR code size (input length)

* Confirm raw

* WIP (lots of logging)

* WIP

* Chain-replay protection

* Readability

* Re-add r: chainId

* s = 0, r = 0, v = chainId

* Update eth_signTransaction to send transaction object

* And it actually works.

* Externalise createUnsigned/createSigned

* Check for nonce updates (future: subscriptions)

* Allow gas overrides

* Expose formatted condition

* Extract calculation (cap at 40)

* Remove debug log

* Fix rename linting

* Allow for signing hash & rlp (App support forthcoming)

* WIP

* User original qrcode-generator package

* Complete hash + rlp signing

* Accurate QR code size calculation

* Simplify type calculation

* R-eactivate current mobile interface (TODO for new)

* Move napa to dep

* Allow external accounts visibility in dapps

* Allow napa install on CI

* Allow new signTransaction & signTransactionHash functionality
2017-03-31 23:36:24 +02:00
Jaco Greeff
cbaa7fdee6 Allow entry of url or hash for DappReg meta (#5360)
* Allow DappReg to handle contentHash & url inputs

* Add tests
2017-03-31 23:33:55 +02:00
Jaco Greeff
73dc52980e Adjust tx overlay colours (#5353)
* Adjust tx overlay colours

* Adjust sizes to be consistent

* Formatting
2017-03-31 23:32:03 +02:00
Jaco Greeff
8b0f9759ec Add ability to disallow API subscriptions (#5366) 2017-03-31 22:30:39 +02:00
Jaco Greeff
801a2339ee Fix analize output file name (#5357) 2017-03-31 10:38:57 +02:00
maciejhirsz
377f20ed49 Fix ci:build 2017-03-29 20:20:03 +02:00
maciejhirsz
2cc111ad5d use @parity/wordlist 2017-03-29 19:48:29 +02:00
Maciej Hirsz
ab2c3468d5 Merge pull request #5304 from paritytech/mh-webserver
Public node with accounts and signing in Frontend
2017-03-29 17:48:47 +02:00
maciejhirsz
54196a8d4f Skip timing out tests 2017-03-29 17:38:20 +02:00
maciejhirsz
9bd3f10f41 Squashed: Public Node 2017-03-29 17:07:58 +02:00
GitLab Build Bot
93ee2a9b64 [ci skip] js-precompiled 20170329-145217 2017-03-29 14:55:09 +00:00
Jaco Greeff
a4c433c749 Rename Status/Status -> Status/NodeStatus (#5332) 2017-03-29 16:31:33 +02:00
GitLab Build Bot
858c974440 [ci skip] js-precompiled 20170329-134148 2017-03-29 13:44:40 +00:00
Tomasz Drwięga
d2394d3ac3 Updating paths to repos. (#5330)
* Updating paths to repos.

* Updating rotor and libusb

* Fixing other occurrences
2017-03-29 15:17:27 +02:00
Nicolas Gotchac
5fa088114c Cleanup the Status View (#5317)
* Better view of Settings and Mining Settings

* Cleanup Status view

* Node Logs refactoring

* Cleanup Status

* Move RPC Calls files

* Basic Peers view

* Add Peers table

* style table header
2017-03-29 14:38:07 +02:00
Nicolas Gotchac
8930f510fc Update requests (#5324) 2017-03-29 14:34:21 +02:00
GitLab Build Bot
7134b44f5b [ci skip] js-precompiled 20170328-172957 2017-03-28 17:32:58 +00:00
Jaco Greeff
86bc784e41 Order signer FIFO (#5321) 2017-03-28 19:06:26 +02:00
GitLab Build Bot
843d95966e [ci skip] js-precompiled 20170328-125352 2017-03-28 12:56:58 +00:00
Nicolas Gotchac
a99721004b Minimise transactions progress (#4942)
* Watch the requests and display them throughout the app

* Linting

* Showing Requests

* Fully working Transaction Requests Display

* Add FormattedMessage to Requests

* Clean-up the Transfer dialog

* Update Validations

* Cleanup Create Wallet

* Clean Deploy Contract Dialog

* Cleanup Contract Execution

* Fix Requests

* Cleanup Wallet Settings

* Don't show stepper in Portal if less than 2 steps

* WIP local storage requests

* Caching requests and saving contract deployments

* Add Historic prop to Requests MethodDecoding

* Fix tests

* Add Contract address to MethodDecoding

* PR Grumbles - Part I

* PR Grumbles - Part II

* Use API Subscription methods

* Linting

* Move SavedRequests and add tests

* Added tests for Requests Actions

* Fixing tests

* PR Grumbles + Playground fix

* Revert Playground changes

* PR Grumbles

* Better showEth in MethodDecoding
2017-03-28 14:34:31 +02:00
GitLab Build Bot
e28c477075 [ci skip] js-precompiled 20170328-094309 2017-03-28 09:46:03 +00:00
Jaco Greeff
8e91f7b701 Fix eth_sign showing as wallet account (#5309)
* defaultProps for account

* Pass signing account

* Update tests for Connect(...)
2017-03-28 11:24:07 +02:00
GitLab Build Bot
7039eaf995 [ci skip] js-precompiled 20170328-065931 2017-03-28 07:02:31 +00:00
Nicolas Gotchac
d99aa3192c Fix default list sorting (#5303)
* Fix default sorting for lists views

* Linting
2017-03-28 08:35:10 +02:00
Nicolas Gotchac
8a664c524c Use uniq owners for multi sig wallets (#5298) 2017-03-28 08:34:54 +02:00
GitLab Build Bot
d6110d7332 [ci skip] js-precompiled 20170327-200527 2017-03-27 20:08:17 +00:00
Jaco Greeff
1db72ad6e2 Copy all existing i18n strings into zh (as-is translation aid) (#5305)
* Copy available strings into zh

* Update after lint

* Force rebuild (upstream package update)
2017-03-27 21:46:39 +02:00
GitLab Build Bot
6d5bfcfe44 [ci skip] js-precompiled 20170327-161452 2017-03-27 16:17:42 +00:00
Nicolas Gotchac
fb88e5d652 Fix booleans in Typedinput (#5295)
* Register new playground component onMount

* No need of observer

* getValue returns falsy values

* Fix tests
2017-03-27 17:56:08 +02:00
GitLab Build Bot
f5bce0cd9e [ci skip] js-precompiled 20170327-155051 2017-03-27 15:53:33 +00:00
Robert Habermeier
62158601fb node kind RPC (#5025)
* node kind RPC

* JS interface for parity_nodeKind
2017-03-27 17:30:19 +02:00
Nicolas Gotchac
a12583f762 Fix the use of MobX in playground (#5294)
* Register new playground component onMount

* No need of observer

* Fix tests
2017-03-27 17:27:35 +02:00
GitLab Build Bot
90746bd8c9 [ci skip] js-precompiled 20170327-144027 2017-03-27 14:43:26 +00:00
Jaco Greeff
a4c5375a63 Add lint:i18n to find missing & extra keys (#5290)
* Add npm run lint:i18n (missing keys check)

* Check extraneous keys
2017-03-27 16:27:25 +02:00
Jaco Greeff
986762a0bc Scaffolding for zh translations, including first-round by @btceth (#5289)
* Initial import of #5023

* Language naming

* Update 简体中文
2017-03-27 16:19:30 +02:00
GitLab Build Bot
7707f7557a [ci skip] js-precompiled 20170327-102018 2017-03-27 10:23:02 +00:00
GitLab Build Bot
9e02271a68 [ci skip] js-precompiled 20170327-100522 2017-03-27 10:08:02 +00:00
Jaco Greeff
eb1f76d8bd JS package bumps (#5287)
* Update to React 15.4.2

* Update deprecated UglifyJS version
2017-03-27 11:43:09 +02:00
Jaco Greeff
e8c64b802d Auto-extract new i18n strings (update) (#5288)
* Update passwordHint chain

* Update auto-extracted strings
2017-03-27 11:42:59 +02:00
GitLab Build Bot
9efab789aa [ci skip] js-precompiled 20170323-150743 2017-03-23 15:10:28 +00:00
GitLab Build Bot
35a43a1e82 [ci skip] js-precompiled 20170323-150033 2017-03-23 15:03:35 +00:00
Jaco Greeff
df76f010da Create webpack analysis files (size) (#5009) 2017-03-23 15:47:42 +01:00
Nicolas Gotchac
1490ba179c Dispatch an open event on drag of Parity Bar (#4987)
* Dispatch an open event on drag of Parity Bar

* Bette id for ParityBar position // Replace on dapp unload

* Fix PairtyBar Positionning
2017-03-23 15:39:13 +01:00
GitLab Build Bot
b931a225ba [ci skip] js-precompiled 20170323-093322 2017-03-23 09:36:34 +00:00
Craig O'Connor
e5c2b25351 auto lint (#5003)
* auto lint

* Usage consistency update
2017-03-23 10:14:32 +01:00
GitLab Build Bot
41f66f33d5 [ci skip] js-precompiled 20170322-161945 2017-03-22 16:22:41 +00:00
GitLab Build Bot
5255b72f67 [ci skip] js-precompiled 20170322-160703 2017-03-22 16:10:12 +00:00
Jaco Greeff
6b4cb35149 Fix FireFox overflows (#5000)
* Max width for container

* Set min-width
2017-03-22 16:39:57 +01:00
Jaco Greeff
5df3f5d136 Show busy indicator, focus first field (#4997) 2017-03-22 16:39:49 +01:00
Jaco Greeff
1879dbca8a Consistent store naming in the Signer components (#4996) 2017-03-22 16:39:40 +01:00
GitLab Build Bot
b6f9cf4ba7 [ci skip] js-precompiled 20170322-112932 2017-03-22 11:32:23 +00:00
GitLab Build Bot
07ee7a341b [ci skip] js-precompiled 20170322-111524 2017-03-22 11:18:36 +00:00
Nicolas Gotchac
67c225f971 Double click to select account creation type (#4986)
* Extend links to whole container

* Add doubleClick to Account Creator
2017-03-22 12:12:21 +01:00
Nicolas Gotchac
a028e445fe Fixes to the Registry dapp (#4984)
* Don't show fee warning when there is none

* Hide Warning in Registry onclick

* Use the default account in the Registry

* Fix Etherscan links in Regsitry
2017-03-22 11:56:52 +01:00
GitLab Build Bot
b725829bfd [ci skip] js-precompiled 20170322-095443 2017-03-22 09:57:28 +00:00
Jaco Greeff
e1f2ccd138 Extend api.util (#4979)
* cleanupValue

* abiUnencode & abiSignature

* Export new functions
2017-03-22 10:36:41 +01:00
GitLab Build Bot
63f1ca9243 [ci skip] js-precompiled 20170321-204617 2017-03-21 20:48:59 +00:00
Tomasz Drwięga
498d5c0660 Updating syntex et al (#4983)
* Migrating to new syntex

* Updating to latest syntex

* Another fix for nightly
2017-03-21 23:26:05 +03:00
GitLab Build Bot
3687a7c717 [ci skip] js-precompiled 20170321-162716 2017-03-21 16:30:00 +00:00
Nicolas Gotchac
030d01102c Fix MethodDecoding for Arrays (#4977)
* Fix TypedInputs

* Remove unused code in inputQueries

* Use TypedInputs in Contract Events

* Linting

* Don't re-render events every second...
2017-03-21 17:02:41 +01:00
Nicolas Gotchac
c7e6992239 Try to fix WS race condition connection (#4976)
* Try to fix wrong token logic

* Linting
2017-03-21 17:01:32 +01:00
Jaco Greeff
cb881108c3 eth_sign where account === undefined (#4964)
* Update for case where account === undefined

* Update tests to not mask account === undefined

* default account = {} where undefined (thanks @tomusdrw)
2017-03-21 16:58:52 +01:00
GitLab Build Bot
1a6f23ad2b [ci skip] js-precompiled 20170321-145513 2017-03-21 14:58:06 +00:00
Nicolas Gotchac
9b9cd451d1 Fix references to api outside of parity.js (#4981) 2017-03-21 15:36:47 +01:00
GitLab Build Bot
213f61e826 [ci skip] js-precompiled 20170321-131503 2017-03-21 13:17:48 +00:00
Nicolas Gotchac
37ece36685 Fix Password Dialog forms style issue (#4968) 2017-03-21 13:56:32 +01:00
Jaco Greeff
05cd715c39 Attach hardware wallets already in addressbook (#4912)
* Attach hardware wallets already in addressbook

* Only set values changed
2017-03-20 19:14:39 +01:00
GitLab Build Bot
99c247fe9f [ci skip] js-precompiled 20170319-171327 2017-03-19 17:16:05 +00:00
Nicolas Gotchac
c009a289d5 Fix outputs in Contract Constant Queries (#4953) 2017-03-19 08:52:14 +01:00
Jaco Greeff
e756b09e5b Add z-index to small modals as well (#4923) 2017-03-18 10:30:18 +01:00
GitLab Build Bot
f84fcfee04 [ci skip] js-precompiled 20170316-124008 2017-03-16 12:42:56 +00:00
Nicolas Gotchac
7846544c1b Edit ETH value, gas and gas price in Contract Deployment (#4919)
* Fix typo

* Add Value capabilities to Contract Deployment

* Add Extras settings for Contract Deployment (#4483)

* Fix deploy in API
2017-03-16 13:18:28 +01:00
GitLab Build Bot
790bd87bc3 [ci skip] js-precompiled 20170315-182430 2017-03-15 18:27:17 +00:00
Nicolas Gotchac
ba07c32300 Add ability to configure Secure API (for #4885) (#4922) 2017-03-15 19:15:05 +01:00
GitLab Build Bot
8d16cdf12f [ci skip] js-precompiled 20170315-155713 2017-03-15 16:00:18 +00:00
Nicolas Gotchac
a25d935a1d Add Token image from URL (#4916) 2017-03-15 16:49:47 +01:00
Nicolas Gotchac
f8aec7571f Use the registry fee in Token Deployment dapp (#4915) 2017-03-15 16:49:26 +01:00
GitLab Build Bot
240ea8a136 [ci skip] js-precompiled 20170315-124802 2017-03-15 12:50:47 +00:00
Nicolas Gotchac
e4c61a5fab Add Vaults logic to First Run (#4894) (#4914) 2017-03-15 13:40:18 +01:00
Jaco Greeff
7c45178076 Add intitial max-width to sections (#4895) 2017-03-14 13:04:00 +01:00
Jaco Greeff
e12bde8e5a Move background z-index to -1 (#4893) 2017-03-14 13:03:44 +01:00
GitLab Build Bot
43d391501e [ci skip] js-precompiled 20170314-110423 2017-03-14 11:06:46 +00:00
maciejhirsz
ef3569741c Spelling :) 2017-03-14 11:39:01 +01:00
GitLab Build Bot
84fcefba1b [ci skip] js-precompiled 20170314-103037 2017-03-14 10:32:58 +00:00
Jaco Greeff
7525cb5ee4 trigger js-precompiled build (#4898) 2017-03-14 11:23:50 +01:00
GitLab Build Bot
29bed6ff69 [ci skip] js-precompiled 20170313-122643 2017-03-13 12:32:24 +00:00
Nicolas Gotchac
8a37f9599f Reload UI on network switch (#4864)
* Reload UI on network switch

* Don't bither with timeout.
2017-03-13 13:19:43 +01:00
Jaco Greeff
b7862ac23a Update parity-ui-precompiled with branch (#4850)
* Update parity-ui-precompiled with branch

* In-place sed via -i

* Explicitly specify branch

* Only in-place edit branch (thanks @ngotchac)

* Add override & single-line comment
2017-03-13 12:52:02 +01:00
Jaco Greeff
90a5c9e489 Base infrastructure/contracts deployment dapp (#4726)
* Add deploy dapp

* Filter by dapp id

* WIP

* Contract deployment operational

* Additional contracts

* unicode icons

* Column layout

* app deployment

* DRY up lists

* Remove unused function

* Add basiccoin deployment & tokenreg

* Externalise code

* Check for code versions

* Gavcoin, Email & SMS contracts

* Update to latest email contract

* Deploy & register badges

* Add jg external apps

* Check owner for deleted registry entries

* DRY estimate/post

* Add wallet library to deployment
2017-03-13 12:49:26 +01:00
Gav Wood
3041c95408 Chain-selection from UI (#4859)
* First little bits for chain-selection.

* Provide RPCs and get settings through to user defaults.

* Hasty stash.

* Fix updater accidentally redownloading.

* Finish up.

* Add JS tests.

* Hypervisor should never run a binary modified before itself.

* Style.

* Help tweak.

* Fix test compile.

* Fix JS test

* Build fix for tests.

* Revert default chain name

* Another test

* Use spec name via client.

* Fix mock up.

* whitespace

[ci:skip]

* whitespace

[ci:skip]

* remove exit/restart endpoints.
2017-03-13 12:10:53 +01:00
GitLab Build Bot
2ee8f07432 [ci skip] js-precompiled 20170312-211107 2017-03-12 21:17:02 +00:00
gregg dourgarian
18b29832ac fix typos and grammar (#4880) 2017-03-12 22:02:00 +01:00
GitLab Build Bot
79afe2d7fb [ci skip] js-precompiled 20170311-150617 2017-03-11 15:12:20 +00:00
Nicolas Gotchac
e73d867dab Better handling of Solidity compliation (#4860)
* Better use of SW

* Safe-guard against pending SW register bug (in Chrome)

* Added a simple Worker for Solidity compilation
2017-03-11 15:25:45 +01:00
Nicolas Gotchac
1c37ea5860 Go through contract links in Transaction List display (#4863)
* Go through contract links (#4822)

* Fix tests, add one for /contracts/<address>
2017-03-11 15:25:36 +01:00
Nicolas Gotchac
96f4033a40 Fix Gas Price Selector Tooltips (#4865) 2017-03-11 15:25:27 +01:00
GitLab Build Bot
b0264a6af2 [ci skip] js-precompiled 20170310-184737 2017-03-10 18:53:39 +00:00
Nicolas Gotchac
e2069d2e29 Don't check for enode, don't fail if no enode (#4495) (#4861) 2017-03-10 19:40:47 +01:00
GitLab Build Bot
45414e6cfe [ci skip] js-precompiled 20170310-151240 2017-03-10 15:18:28 +00:00
Nicolas Gotchac
dd529575f6 Subscribe to accounts info in Signer / ParityBar (#4738) (#4856) 2017-03-10 15:46:13 +01:00
Nicolas Gotchac
95745ef4c8 Fix paste in Inputs (#4854)
* Wait for the value to have changed in the input

* Better onPaste handler // Use ESC to revert to initial value
2017-03-10 14:08:21 +01:00
GitLab Build Bot
e5defeaada [ci skip] js-precompiled 20170310-123911 2017-03-10 12:45:42 +00:00
Nicolas Gotchac
eebb8b87a4 Refactoring of the Dapp Registry (#4589)
* Add React Hot Loader to DappReg dapp

* Updated colours

* Add DappCards

* Dapp Modal with manifest displayed

* Add input to the Dapp Modal

* WIP // Editing a Dapp

* Clean-Up

* Linting

* CleanUp and separate dapp from dappS

* Semi-working updates

* Working Editing of a Dapp

* OCD

* Linting

* Add a Dapp -- WIP

* Register a new Dapp

* WIP Dapps

* Working update / delete / register

* Better promises

* Working updates for DappReg

* Fully functional again !

* Generic Card Component

* Dashed Register Card

* Cleanups

* Cleanups

* Add Actions to Modal

* Clean-Up

* Better Close Icon

* Single place for Registry version // Fetch meta-data from Registry

* Fixing test

* Fix saving changes in dapp reg

* PR Grumbles - Part I

* PR Grumble - Part I

* PR Grumble - Part II

* DappReg Contract owner can delete dapps
2017-03-10 13:31:57 +01:00
GitLab Build Bot
e15f60b819 [ci skip] js-precompiled 20170310-111654 2017-03-10 11:25:12 +00:00
Jaco Greeff
4e5fd92e67 Extract i18n from shared UI components (#4834)
* Actionbar i18n

* ui Errors i18n

* Features i18n

* GapPriceSelector i18n

* WIP

* WIP #2

* Update methodDecoding

* ModalBox -> functional

* Signer pages i18n (missed previously)

* Update ModalBox tests

* Update variable
2017-03-10 12:04:40 +01:00
Nicolas Gotchac
d98b7aab61 Wait for the value to have changed in the input (#4844) 2017-03-10 11:52:27 +01:00
Jaco Greeff
8edee76f8b Pull steps from actual available steps (#4848) 2017-03-10 11:38:27 +01:00
Nicolas Gotchac
be87151f1c Fix TxViewer when no to (contract deployment) (#4847)
* Added React Hot Reload to dapps + TokenDeplpoy fix

* Fixes to the LocalTx dapp

* Don't send the nonce for mined transactions

* Don't encode empty to values for options
2017-03-10 10:08:16 +01:00
GitLab Build Bot
5e54c0fa91 [ci skip] js-precompiled 20170309-190359 2017-03-09 19:09:36 +00:00
Nicolas Gotchac
3bb66d03ee Fix method decoding (#4845)
* Fix contract deployment method decoding in Signer

* Linting
2017-03-09 19:56:10 +01:00
Nicolas Gotchac
3478c16e10 Added React Hot Reload to dapps + TokenDeplpoy fix (#4846) 2017-03-09 19:55:48 +01:00
Nicolas Gotchac
bd00256e0c Uniq array of ids (#4843) 2017-03-09 19:55:11 +01:00
GitLab Build Bot
b196635816 [ci skip] js-precompiled 20170309-160350 2017-03-09 16:09:29 +00:00
Nicolas Gotchac
5342a482b5 Fixes to the Registry dapp (#4838)
* Fix wrong ABI methods

* Fix
2017-03-09 16:55:57 +01:00
Jaco Greeff
ca1efc3d77 Show token icons on list summary pages (#4826)
* Adjust balance overlay margins (no jumps)

* Img only balances, small verifications

* Invalid tests removed

* Always wrap display (Thanks @ngotchac)

* Update tests to reflect reality
2017-03-08 18:07:14 +01:00
GitLab Build Bot
5bbcf0482b [ci skip] js-precompiled 20170308-122756 2017-03-08 12:38:37 +00:00
Nicolas Gotchac
02c51c83cd Better logic for contract deployments (#4821) 2017-03-08 13:21:39 +01:00
Nicolas Gotchac
94a39619b5 Fix default values for contract queries (#4819) 2017-03-08 12:26:03 +01:00
Jaco Greeff
f16b53d92a Adjust selection colours/display (#4811)
* Adjust selection colours to match with mui

* allow -> disable (simplify selections)

* Only use top-border

* Overlay selection line

* Slightly more muted unselected

* Restore address icon
2017-03-08 12:00:27 +01:00
Nicolas Gotchac
f0f2d00924 Update the key (#4817) 2017-03-08 12:00:04 +01:00
GitLab Build Bot
81b57a57c7 [ci skip] js-precompiled 20170307-211202 2017-03-07 21:17:27 +00:00
Nicolas Gotchac
48e5d82186 Fix SectionList hovering issue (#4749)
* Fix SectionList Items hover when <3 items

* Even easier...
2017-03-07 22:03:52 +01:00
GitLab Build Bot
7638b2c9e8 [ci skip] js-precompiled 20170307-195934 2017-03-07 20:06:34 +00:00
Nicolas Gotchac
a587815ddc Re-Introducing HappyPack (#4669)
* Updating Dev Dependencies (minor version updates)

* Re-introduce HappyPack

* Added Yarn Lock file

* Use HappyPack

* Linting

* Delete yarn lock file
2017-03-07 20:39:36 +01:00
Jaco Greeff
c3c83086bc SMS Faucet (#4774)
* Faucet

* Remove flakey button-index testing

* Only display faucet when sms verified (mainnet)

* simplify availability checks

* WIP

* Resuest from verified -> verified

* Update endpoint, display response text

* Error icon on errors

* Parse hash text response

* Use /api/:address endpoint

* hash -> data

* Adjust sms-certified message
2017-03-07 20:21:07 +01:00
Nicolas Gotchac
4d08e7b0ae Update Wallet to new Wallet Code (#4805)
* Update Wallet Version

* Update Wallet Library

* Update Wallets Bytecodes

* Typo

* Separate Deploy in Contract API

* Use the new Wallet ABI // Update wallet code

* WIP .// Deploy from Wallet

* Update Wallet contract

* Contract Deployment for Wallet

* Working deployments for Single Owned Wallet contracts

* Linting

* Create a Wallet from a Wallet

* Linting

* Fix Signer transactions // Add Gas Used for transactions

* Deploy wallet contract fix

* Fix too high gas estimate for Wallet Contract Deploys

* Final piece ; deploying from Wallet owned by wallet

* Update Wallet Code

* Updated the Wallet Codes

* Fixing Wallet Deployments

* Add Support for older wallets

* Linting
2017-03-07 20:19:55 +01:00
Jaco Greeff
3fb8466c40 Bump package.json for master 1.7 (#4731)
* Bump package.json for master 1.7

* Update contributors
2017-03-07 17:29:15 +01:00
GitLab Build Bot
24aac8fa89 [ci skip] js-precompiled 20170306-142052 2017-03-06 14:26:42 +00:00
Tomasz Drwięga
4f934cf2c2 Optimize signature for fallback function. (#4780) 2017-03-06 15:11:39 +01:00
GitLab Build Bot
0de8771007 [ci skip] js-precompiled 20170306-093959 2017-03-06 09:45:14 +00:00
Tomasz Drwięga
4d203d563c Rephrasing token generation screen. (#4777) 2017-03-06 10:32:41 +01:00
GitLab Build Bot
a02063f348 [ci skip] js-precompiled 20170306-080251 2017-03-06 08:08:05 +00:00
Jaco Greeff
0b24a3d7f6 Etherscan links based on netVersion identifier (#4772)
* Use netVersion to determine external links

* Update additional isTest references
2017-03-06 08:54:59 +01:00
GitLab Build Bot
cabf251280 [ci skip] js-precompiled 20170305-093606 2017-03-05 09:41:41 +00:00
Jaco Greeff
5a7cbb3e5b Fix invalid props (#4766) 2017-03-05 10:27:18 +01:00
GitLab Build Bot
2e0d005487 [ci skip] js-precompiled 20170303-190450 2017-03-03 19:10:54 +00:00
Jaco Greeff
1548201551 Vault Management UI (round 3) (#4652)
* Render Dapps via SectionList

* Initial rendering of accounts via SectionList

* Width vars

* Allow classNames in certifications & tags

* Overlay of info on hover

* Adjust hover balances

* Large owner icons (align with vaults)

* Consistent block mined at message

* Attach ParityBackground to html

* Adjust page padding to align

* Lint fixes

* Link to different types of addresses

* Make content parts clickable only (a within a)

* Force Chrome hardware acceleration

* Trust the vendors... don't go crazy with transform :)

* Use faster & default transitions

* Add VaultMeta edit dialog

* Updated (WIP)

* Meta & password edit completed

* Added SelectionList component for selections

* Use SelectionList in DappPermisions

* AddDapps uses SelectionList

* Fix AccountCard to consistent height

* Display type icons in creation dialog

* Complimentary colours

* Convert Signer defaults to SelectionList

* Fix Geth import - actually pass addresses through

* Work from addresses returned via RPC

* Display actual addresses imported (not selected)

* Update tests to cover bug fixed

* Prettyfy Geth import

* Description on selection actions

* SelectionList as entry point

* Update failing tests

* Subtle selection border

* Styling updates for account details

* Add ModalBox summary

* AddAddress updated

* Display account vault information

* Allow invalid addresses to display icons (e.g. vaults)

* Display vault on edit meta

* Convert VaultAccounts to SelectionList

* Allow editing of Vault in meta

* Add tests for SectionList component

* Add tests for ModalBox component

* Add tests for VaultSelector component

* Add vaultsOpened in store

* Add ~/ui/Form/VaultSelect

* WIP

* Fix failing tests

* Move account to vault when selected

* Fix circular build deps

* EditMeta uses Form/VaultSelect

* Vault move into meta store (alignment)

* Re-apply stretch fix

* Display vault in account summary

* Add busy indicators to relevant modals

* Auto-focus description field (aligns with #4657)

* Remove extra container (double scrolling)

* Remove unused container style

* Apply scroll fixes from lates commit in #4621

* Remove unneeded logs

* Remove extra div, fixing ParityBar overflow

* Make dapp iframe background white

* Stop event propgation on tag click

* ChangeVault component (re-usable)

* Use ChangeVault component

* Pass vaultStores in

* Icon highlight colour

* Tag-ify vault name display

* ChangeVault location

* Bothced merge, selector rendering twice

* Value can be undefined (no vault)

* Close selector on Select bug

* Fix toggle botched merge

* Update tests

* Add Vault Tags to Account Header
2017-03-03 19:50:54 +01:00
Jaco Greeff
cb118f1936 Update SelectionList indicators (#4736)
* Move selector indicators to the left

* Only display default account selection icon
2017-03-03 19:50:25 +01:00
Jaco Greeff
9b6170a37b Update testnet detection (#4746) 2017-03-03 19:49:46 +01:00
Nicolas Gotchac
ec0e8f9dd6 Add StackEventListener (#4745) 2017-03-03 19:49:36 +01:00
GitLab Build Bot
ead40a8b97 [ci skip] js-precompiled 20170303-140210 2017-03-03 14:07:22 +00:00
Maciej Hirsz
d297ddbfe5 Update wiki (#4743)
- Added missing `creates` field.
- Removed deprecated methods.
2017-03-03 14:55:04 +01:00
GitLab Build Bot
4024100e74 [ci skip] js-precompiled 20170303-134752 2017-03-03 13:53:17 +00:00
Jaco Greeff
6760ae0e84 Account selector close operations (#4728)
* Close when clicking anywhere on body pane

* Allow click to propagate on address click

* Rename noCopy -> allowAddressClick

* Handle i18n strings in input

* Close on pasted addresses (valid entry)

* allowAddressClick default

* Don't do onClick on AccountCard if text is selected

* Reset filter value on close for address selection

* Better close on click for AccountSelection
2017-03-03 14:38:40 +01:00
Nicolas Gotchac
5559374676 Fix Account Selection in Signer (#4744)
* Can pass FormattedMessage to Input (eg. Status // RPC Enabled)

* Simple fixed-width fix for Accoutn Selection in Parity Signer
2017-03-03 14:32:52 +01:00
GitLab Build Bot
fd19f6f449 [ci skip] js-precompiled 20170303-130222 2017-03-03 13:07:34 +00:00
Jaco Greeff
495e5790e9 Support both V1 & V2 DataChanged events in registry (#4734)
* Add info on forks.

* Add new registry ABI

* Import registry2 & fix exports

* Select ABI based on code hash

* Render new event types (owner not available)

* New registry.

* Rename old chain.

* Fix test.

* Another fix.

* Finish rename.
2017-03-03 13:33:49 +01:00
GitLab Build Bot
0432b8410c [ci skip] js-precompiled 20170302-230110 2017-03-02 23:07:35 +00:00
Jaco Greeff
b11caaf071 UI support for hardware wallets (#4539)
* Add parity_hardwareAccountsInfo

* Ledger Promise interface wrapper

* Initial hardwarestore

* Move ~/views/historyStore to ~/mobx

* split scanLedger

* test createEntry

* Also scan via parity_hardwareAccountsInfo

* Explanation for scanning options

* react-intl-inify tooltips

* add hwstore

* Listen for hw walet updates

* Return arrays from scanning

* Readability

* add u2f-api polyfill

* check response.errorCode

* Support hardware types in state.personal

* Tooltips (to be split into sep. PR)

* Tooltips support intl strings

* FormattedMessage for strings to Tooltip

* Fix TabBar tooltip display

* signLedger

* Use wallets as an object map

* PendingForm -> FormattedMessage

* Pending form doesn't render password for hardware

* Groundwork for JS API signing

* Show hardware accounts in list

* Cleanup rendering conditions

* Update RequestPending rendering tests (verification)

* Tests for extended signer middleware

* sign properly & handle response, error

* Align outputs between Parity & Ledger u2f

* Ledger returns checksummed addresses

* Update ethereum-tx for EIP155 support

* Update construction of tx

* Updates after sanity checks (thanks @tomusdrw)

* Allow display for disabled IdentityIcon

* Disabled accounts

* Disabled auto-disabling

* Password button ebaled for hardware

* Don't display password hint for hardware

* Disable non-applicable options when not connected

* Fix failing test

* Confirmation via ledger (u2f)

* Confirm on device message

* Cleanups & support checks

* Mark u2f as unsupported (until https)

* rewording

* Pass account & disabled flags

* Render attach device message

* Use isConnected for checking availability

* Show hardware accounts in defaults list

* Pass signerstore

* Update u2f to correct version

* remove debug u2f lib

* Update test (prop name change)

* Add ETC path (future work)

* new Buffer -> Buffer.from (thanks @derhuerst)
2017-03-02 23:51:56 +01:00
GitLab Build Bot
96d74543fc [ci skip] js-precompiled 20170302-204757 2017-03-02 20:52:50 +00:00
Jaco Greeff
036ef77373 s/delete/forget/ for wallets (#4729) 2017-03-02 21:40:29 +01:00
GitLab Build Bot
eb37d26154 [ci skip] js-precompiled 20170302-143357 2017-03-02 14:38:43 +00:00
Jaco Greeff
7653cfd88e Fix to UglifyJS 2.8.2 to fix app build issues (#4723) 2017-03-02 15:26:07 +01:00
GitLab Build Bot
5fef950503 [ci skip] js-precompiled 20170302-123938 2017-03-02 12:44:34 +00:00
Jaco Greeff
5f51fa23ea Extract i18n strings in modals/* (#4706)
* DeployContract formatting

* PasswordManager i18n

* SaveContract i18n

* Transfer i18n

* Verification i18n

* Fix spacing on label
2017-03-02 13:29:32 +01:00
Jaco Greeff
5dd406a19a Extract i18n strings in views/* (#4695)
* i18n for writecontract

* i18n for writecontract store

* wallet i18n

* wallet confirmations i18n

* wallet details i18n

* wallet transactions i18n

* status i18n

* status calls i18n

* status callstoolbar i18n

* status debug i18n

* status editableValue i18n

* status miningSettings i18n

* status rpcCalls i18n

* status rpcDocs i18n

* status status i18n

* signer i18n

* signer origin i18n

* signer signRequest i18n

* signer transactionMainDetails i18n

* sign transactionPending i18n

* signer transactionPending i18n

* Fix duplicate ids

* Typo

* Adapt tests for i18n

* Actionbar i18n

* contracts i18n

* contract i18n

* contract/queries i18n

* contract/events i18n

* application/frameError i18n

* Actionbar key naming

* addresses i18n

* address i18n

* accounts i18n (tooltip)

* Plural strings for owner numbers

* IdentityIcon placement

* Re-apply s/actiobar/actionbar/ after merge
2017-03-02 12:24:54 +01:00
GitLab Build Bot
54aee9db9b [ci skip] js-precompiled 20170228-153914 2017-02-28 15:44:30 +00:00
Jaco Greeff
4534590f39 Display badges on summary view (#4689) 2017-02-28 16:31:22 +01:00
GitLab Build Bot
ea877cb91e [ci skip] js-precompiled 20170228-132909 2017-02-28 13:35:38 +00:00
Jaco Greeff
190ed76e30 Consistent file uploads (#4699)
* FileSelect component

* Use FileSelect component in Actionbar

* Convert CreateAccount/Import to FileSelect
2017-02-28 14:24:12 +01:00
Jaco Greeff
88449671a1 Rename https://mkr.market -> https://oasisdex.com (#4701) 2017-02-28 14:21:19 +01:00
Jaco Greeff
ab98ec3bf7 Stop onClick propagation after click (#4700) 2017-02-28 14:20:43 +01:00
Jaco Greeff
1b8a47fa4a Display ... for address summary overflows (#4691) 2017-02-28 14:15:48 +01:00
GitLab Build Bot
689fe9c689 [ci skip] js-precompiled 20170227-213540 2017-02-27 21:40:33 +00:00
Jaco Greeff
5e480e9fc0 Less agressive grayscale/opacity (#4688) 2017-02-27 22:28:21 +01:00
GitLab Build Bot
8bee714452 [ci skip] js-precompiled 20170224-171258 2017-02-24 17:18:20 +00:00
Jaco Greeff
609e24ef04 Enhance dialog layouts (round 1) (#4637)
* Added SelectionList component for selections

* Use SelectionList in DappPermisions

* AddDapps uses SelectionList

* Fix AccountCard to consistent height

* Display type icons in creation dialog

* Complimentary colours

* Convert Signer defaults to SelectionList

* Fix Geth import - actually pass addresses through

* Work from addresses returned via RPC

* Display actual addresses imported (not selected)

* Update tests to cover bug fixed

* Prettyfy Geth import

* Description on selection actions

* SelectionList as entry point

* Update failing tests

* Subtle selection border

* Styling updates for account details

* Add ModalBox summary

* AddAddress updated

* Convert VaultAccounts to SelectionList

* Add tests for SectionList component

* Add tests for ModalBox component

* Re-apply stretch fix

* Apply scroll fixes from lates commit in #4621

* Clear name on switch (test in #4652, not pulling in)

* Remove refs (cleanup)
2017-02-24 18:05:39 +01:00
Jaco Greeff
570e6f32b0 Vault Management UI (round 2) (#4631)
* Add VaultMeta edit dialog

* Updated (WIP)

* Meta & password edit completed

* Added SelectionList component for selections

* Use SelectionList in DappPermisions

* AddDapps uses SelectionList

* Fix AccountCard to consistent height

* Convert Signer defaults to SelectionList

* Subtle selection border

* Display account vault information

* Allow invalid addresses to display icons (e.g. vaults)

* Display vault on edit meta

* Convert VaultAccounts to SelectionList

* Allow editing of Vault in meta

* Add tests for SectionList component

* Add tests for VaultSelector component

* Auto-focus description field (aligns with #4657)

* Apply scroll fixes from lates commit in #4621

* Remove unneeded logs

* Remove extra div, fixing ParityBar overflow

* Disable save if password don't match

* s/disabled/readOnly/

* string -> bool
2017-02-24 18:05:04 +01:00
Nicolas Gotchac
9ff427caaf Fix Portal broad event stopper (#4674) 2017-02-24 18:04:26 +01:00
GitLab Build Bot
af45d05aee [ci skip] js-precompiled 20170224-142855 2017-02-24 14:33:38 +00:00
Jaco Greeff
f670b180d7 Align list displays with SectionList (UI consistency) (#4621)
* Render Dapps via SectionList

* Initial rendering of accounts via SectionList

* Width vars

* Allow classNames in certifications & tags

* Overlay of info on hover

* Adjust hover balances

* Large owner icons (align with vaults)

* Consistent block mined at message

* Attach ParityBackground to html

* Adjust page padding to align

* Lint fixes

* Link to different types of addresses

* Make content parts clickable only (a within a)

* Force Chrome hardware acceleration

* Trust the vendors... don't go crazy with transform :)

* Use faster & default transitions

* Remove extra container (double scrolling)

* Remove unused container style

* Make dapp iframe background white

* Stop event propgation on tag click
2017-02-24 15:21:36 +01:00
GitLab Build Bot
afecf5b148 [ci skip] js-precompiled 20170224-134503 2017-02-24 13:50:10 +00:00
Jaco Greeff
a6ed3dc5dc Add SelectionList component to DRY up (#4639)
* Added SelectionList component for selections

* Use SelectionList in DappPermisions

* AddDapps uses SelectionList

* Fix AccountCard to consistent height

* Convert Signer defaults to SelectionList

* Subtle selection border

* Convert VaultAccounts to SelectionList

* Add tests for SectionList component

* Apply scroll fixes from lates commit in #4621

* Remove unneeded logs

* Remove extra div, fixing ParityBar overflow
2017-02-24 14:37:56 +01:00
GitLab Build Bot
5817cfdf41 [ci skip] js-precompiled 20170224-115159 2017-02-24 11:58:15 +00:00
Jaco Greeff
38cf7d2639 Linting updates (#4662) 2017-02-24 12:44:38 +01:00
Jaco Greeff
0b214450e3 Misc. small UI fixes (#4657)
* Shorten menu items (accounts)

* Shorten menu items (addresses)

* Shorten menu items (contracts)

* Shorten menu items (account)

* Shorten menu items (address)

* Shorten menu items (contract)

* Auto-focus & perform default action

* Auto-focus & default action

* Auto focus for first fields (create account)

* Clear phrase & auto-focus field

* Auto-focus name fields

* Add autoFocus (Add Address)

* autoFocus address (Add Contract)

* Auto focus name field

* Auto-focus name field for EditMeta

* Auto-focus modifications (WalletSettings)

* Verification auto focus

* typo

* Double-up on keys
2017-02-24 12:26:30 +01:00
Bas
56d0ad869a nl translations (#4649)
* translation stings copied from _default to nl

* First batch of nl translations

* Second batch of nl translations

* Syntax fix

* include new nl translation files to index
2017-02-24 10:25:28 +01:00
GitLab Build Bot
c7b3b9a565 [ci skip] js-precompiled 20170224-084932 2017-02-24 08:54:34 +00:00
Jaco Greeff
92fa4249d3 Update condition documentation (Thanks @arkpar) (#4659) 2017-02-24 09:40:38 +01:00
GitLab Build Bot
496a6dcfa0 [ci skip] js-precompiled 20170223-141355 2017-02-23 14:21:06 +00:00
Jaco Greeff
3651095651 Fix Geth account import (#4641)
* Fix Geth import - actually pass addresses through

* Work from addresses returned via RPC

* Display actual addresses imported (not selected)

* Update tests to cover bug fixed
2017-02-23 15:04:58 +01:00
GitLab Build Bot
f3b5e2074b [ci skip] js-precompiled 20170222-165052 2017-02-22 16:55:55 +00:00
Jannis Redmann
94fa2db986 attempt to fix subscribeToEvents test (#4638) 2017-02-22 17:44:11 +01:00
GitLab Build Bot
cb3c6b1bec [ci skip] js-precompiled 20170222-150433 2017-02-22 15:09:15 +00:00
Jaco Greeff
e66d54910a Fix selection value from RadioButtons (#4636)
* Fix selection value from RadioButtons

* Fix outdated test
2017-02-22 15:57:21 +01:00
GitLab Build Bot
3df1adc3f5 [ci skip] js-precompiled 20170222-143551 2017-02-22 14:40:40 +00:00
Jaco Greeff
6938a7a202 Convert all remaining Modals to use Portal (UI consistency) (#4625)
* FirstRun dialog -> Portal

* CreateAccount Modal -> Portal

* CreateWallet dialog -> Portal

* Transfer dialog -> Portal

* Fix failing tests

* ShapeShift dialog -> Portal

* Verification dialog -> Portal

* EditMeta dialog -> Portal

* PasswordManager dialog -> Portal

* WalletSettings dialog -> Portal

* AddAddress dialog -> Portal

* s/delete address/forget address/

* AddContract dialog -> Portal

* DeployContract dialog -> Portal

* ExceuteContract dialog -> Portal

* LoadContract dialog -> Portal

* SaveContract dialog -> Portal

* UpgradeParity dialog -> Portal

* Convert inline modals (tsk, tsk)

* Remove ui/Modal

* Import dialog i18n

* Button array returns (thanks @derhuerst)

* Unneeded debug

* Typo

* Readability formatting
2017-02-22 15:26:58 +01:00
GitLab Build Bot
49675483c3 [ci skip] js-precompiled 20170222-095134 2017-02-22 09:56:05 +00:00
Jaco Greeff
5337bf6413 Default account selection update (#4609)
* Default accounts setting - account provider

* RPC support for default accounts

* Updating JS code

* Rename whitelist to addresses

* Set the defaults using default, allowing for null/full lists

* Update failing tests (after merge)

* Fix merge with wrong rpc call names

* One account needs to be selected
2017-02-22 10:43:02 +01:00
Jaco Greeff
0a85fc7a3e Display ETH balance in overlay account selector (#4588)
* Add account balance display from ParityBar

* Ellipsis with title

* Balance display in Dapp permissions

* Add balance to vault account selector

* Add key prop to accounts in Vault

* Fix failing test (missing redux prop)
2017-02-22 10:42:42 +01:00
GitLab Build Bot
80155ef93a [ci skip] js-precompiled 20170221-120741 2017-02-21 12:12:14 +00:00
Jaco Greeff
61e3d036d9 Extract new available i18n strings (#4623) 2017-02-21 12:59:36 +01:00
GitLab Build Bot
00351374e4 [ci skip] js-precompiled 20170220-160616 2017-02-20 16:12:01 +00:00
Jaco Greeff
9e210e5eda Vault Management UI (first round) (#4446)
* Add RPCs for parity_vault (create, open, list, etc.)

* WIP

* WIP

* WIP

* WIP (create should create)

* Create & close working

* WIP

* WIP

* WIP

* Open & Close now working

* WIP

* WIP

* Merge relevant changes from js-home

* Hover actions

* WIP (start of account assignment)

* Open, Close & Account assignment works

* Fix margins

* UI updates

* Update tests

* Add the parity_{get|set}VaultMeta calls

* Handle metadata

* Adjust padding in Open/Close modals

* moveAccounts take both in and out

* Adjust padding

* Fix stretch

* Optimize hover stretch

* pre-merge

* Cleanup variable naming (duplication)

* Rename Vault{Close,Open} -> Vault{Lock,Unlock}

* clearVaultFields uses setters

* TODO for small Portal sizes

* Vaults rendering tests

* .only

* libusb compile

* VaultCard rendering tests

* Update message keys (rename gone rouge)

* Display passwordHint op vault unlock

* Update failing tests

* Manually dispatch allAccountsInfo when move completed

* Open/Close always shows vault image in colour

* Password submit submits modal (PR comment)

* Add link to account
2017-02-20 16:40:01 +01:00
Jaco Greeff
44769fcd4a Show only known accounts/wallets/addresses on Home (#4612)
* Don't render unknown entries

* Only render non-null items

* Remove (now) invalid failing test
2017-02-20 16:34:38 +01:00
Tomasz Drwięga
72998d3ce3 Proper default accounts RPCs (#4580)
* Default accounts setting - account provider

* RPC support for default accounts

* Updating JS code

* Rename whitelist to addresses
2017-02-20 16:33:12 +01:00
GitLab Build Bot
31f5a1d205 [ci skip] js-precompiled 20170220-124210 2017-02-20 12:48:32 +00:00
Jaco Greeff
3fc29b9ae4 Handle invalid ABI retrieved from address_book gracefully (#4606)
* Handle invalid ABI gracefully

* Also include failed abi in log
2017-02-20 13:34:33 +01:00
GitLab Build Bot
8c9c6744fc [ci skip] js-precompiled 20170217-171830 2017-02-17 17:24:47 +00:00
Nicolas Gotchac
04f3ee90d8 Revert Double Click (#4590) 2017-02-17 18:11:10 +01:00
GitLab Build Bot
062c55d51b [ci skip] js-precompiled 20170216-165434 2017-02-16 17:06:15 +00:00
Jannis Redmann
7d890c0687 remove vertx from Webpack config (#4576) 2017-02-16 17:43:27 +01:00
Nicolas Gotchac
b825c8e074 Better display of tags (#4564)
* WIP

* Update accounts on whitelist change in Parity Bar

* Fix AccountCard width in Parity Bar (Signer)

* Added AccountCard Example

* Use horizontal tags

* Better Tags display

* Scrollable tags

* Update PR Grumbles

* Fix tests (add tags)

* PR Grumble
2017-02-16 17:42:19 +01:00