Commit Graph

1369 Commits

Author SHA1 Message Date
Jaco Greeff
9202ccccf7
UI redirect to 127.0.0.1 when localhost requested (#7236)
* JS redirect from localhost -> 127.0.0.1

* ui-no-validation for 127.0.0.1

* Update with tests
2017-12-11 16:50:20 +01:00
Brennan Novak
b25f93dda5 usability improvements to security token Dialog #7112 (#7134) 2017-12-11 12:59:24 +01:00
Jaco Greeff
16d6f98d7c
Don't display unneeded notifications (#7237)
* Cleanup overlay transparency

* Don't display "waiting in signer" messages
2017-12-11 11:05:24 +01:00
Amaury Martiny
f6f7a87dc6 Fix/Update method permissions (#7233)
* Use hex everywhere as appId

* Extract requestGroup sub item from clarity

* Change size of icon in SignerPending
2017-12-07 15:10:54 +01:00
Jaco Greeff
b1517654e1
Rework dapps list (#7206)
* Rework dapps list

* Update box sizing

* Remove non-passed-in prop

* PR comments

* Re-adjust key
2017-12-06 15:47:32 +01:00
Amaury Martiny
7d0780d723 Make Signing Requests more visible (#7204)
* Add a signerPending component with popup

* Add text when no requests

* Remove lock icon

* Fix lint

* Create separate component from RequestItem

* Render different types of transaction

* Remove blue View button

* Remove useless code
2017-12-06 10:44:50 +01:00
Jaco Greeff
1291a24e4e
Update FirstRun for UI-2 (#7195)
* WIP

* Update after @parity/ui update

* Update to latest

* Update semver for @parity

* Update & -> &
2017-12-05 10:44:34 +01:00
Amaury Martiny
83ff213f6c New account selector UI in top bar (#7179)
* Add a dropdown popup for account selector

* Install sui latest version for hideOnScroll bug fix

* Update ui

* Update package-lock after rebase

* Require parity/ui v3.0.3

* Pass accountStore as props

* Require parity/ui v3.0.4
2017-12-04 12:09:08 +01:00
Amaury Martiny
2a7b2c7e32 React 16 (#7174)
* Update packages to use React 16

* Rollback to react-router v3

* Use component instead of pure one

* Remove warning about mobx

* Make webpack load css from @parity/ui

* Update enzyme to support react16

* Fix lint

* Use @parity/ui v3

* Update refs of plugin-signer-* deps

* Exclude plugin-signer-* from babel processing

* Reupdate refs to old method

* Update refs again
2017-12-01 12:30:13 +01:00
Jaco Greeff
cebf493dce
Cleanup top bar, add Home icon for navigation (#7118)
* Localise images to config.js file

* Remove sample status plugin (commented)

* Update image references from config

* Remove Unknown capability & Capable (only display actions)

* Update to @parity/ui 2.2.14

* Add Home icon on statusbar (go back)

* 2.2.14 -> 2.2.x

* Builtin dapp icons where dappreg not available
2017-11-22 14:56:12 +01:00
Marek Kotewicz
309254348b
Merge pull request #7100 from paritytech/jg-dapp-localUrl
Local dapp development URL
2017-11-21 20:42:51 +01:00
Jaco Greeff
fcee1c0ac8
Remove unused and duplicated files in js-old (#7082)
* Cleanup v1 build process, application-only

* Remove built-in dapps from build (duplicated)

* User @parity/api instead of local version

* Update references to @parity/abi

* Remove unused js-old api/abi folders

* Remove duplicated v1 jsonrpc

* Cleanup unused routes

* Update manifest with wallet image

* Update wallet logo

* Re-add missing test.sh

* Update rpc mocks

* Update tests for Providers

* Use flex for iframe & status

* Additional cleanups (Home screen for embed)

* Keep statusbar fixed (and non-overallping with dapps)
2017-11-21 17:38:06 +01:00
Amaury Martiny
570fc56af7 Optimize & group dapp requests (#7083)
* Group similar methods in same grouping

* Add a shell_getMethodGroups API

* Small code clean changes

* Fix bug dapp.name not showing

* Additional error handling

* Store sources in own map

* Remove observable variables where not needed

* Refactor code and fix bug dapp not showing on approve
2017-11-21 15:50:38 +01:00
Jaco Greeff
e7543f656a Remove debug log 2017-11-21 15:17:05 +01:00
Jaco Greeff
20f8943eb3 Cleanup debug info 2017-11-21 15:04:47 +01:00
Jaco Greeff
e67b05e632 Use query-string for search parsing 2017-11-21 12:31:34 +01:00
Jaco Greeff
ac722e9e50 Add appId as needed to local dapps 2017-11-20 13:37:52 +01:00
Jaco Greeff
0bf48e94cc Properly display Signer errors (Snackbar display popup) (#7053)
* Update to fixed @parity/ui (Errors component)

* Update ParityBar radius to align with Snackbar/Errors

* Update to latest @parity/ui

* Update dependencies @parity/signer-plugin-*

* Really pull in @parity/signer-plugin-* deps
2017-11-15 11:28:42 +01:00
Jaco Greeff
2e6cf8e04b
Add mui for embed compilation (#7049) 2017-11-13 18:34:51 +01:00
Jaco Greeff
3833f87256
Complete token merge, remove unused files (#7037)
* Either js or js-old to have changes to trigger push-cargo

* Complete merge of token changes (code move to js-shared)

* Update setting variable
2017-11-13 13:44:51 +01:00
Jaco Greeff
ce1609726f
Update v1 Wallet Dapp (#6935)
* Start removing duplicated functionality (v1 inside v2)

* Update compilation targets

* Update locks

* Fix js-old build

* Update with removed extra references

* Adapt dev.{parity,web3}.html for extra debug info

* Update dependencies

* Remove Tooltips

* Update dependencies

* Only inject window.ethereum once

* Fix versions to 2.0.x for @parity libraries

* Update to @parity/api 2.1.x

* Update for @parity/api 2.1.x

* Freeze signer plugin dependency hashes

* Fix lint

* Move local account handling from API

* Update for 2.2.x @parity/{shared,ui}

* Update API references for middleware

* Install updated dependencies

* Update for build

* Always do local builds for development

* Remove unused hasAccounts property

* Fix Windows build for js-old

* Adjust inclusing rules to be Windows friendly

* Explicitly add --config option to webpack

* Add process.env.EMBED flag for Windows compatability

* Revert embed flag

* Fix build

* Merge changes from beta

* Update packages after merge

* Update Accounts from beta

* Update with beta

* Remove upgrade check

* Fix CI build script execution

* Make rm -rf commands cross-platform

* Remove ability to deploy wallets (only watch)

* Update path references for js-old (Windows)

* Render local dapps first

* Cleanup dependencies
2017-11-13 09:31:08 +01:00
Tomasz Drwięga
aaeb5d4cd7 Fixes for parity-extension (#6990)
* Fix extension support.

* Fix environment variables on windows.

* Fix package-lock.json

* Fix build issues.
2017-11-09 13:20:26 +01:00
Jaco Greeff
f282823e78 Shell updates (bonds, updated Dapps) (#6897)
* Remove stage-0

* Re-add stage-0 for `export default from './xyz';`

* Add background loading image

* Add window.isParity for parity-specific actions

* inject bonds (temporary)

* Remove loading text overlay

* Remove background around logo

* Remove debug log

* Fix account selection (correct component used)

* Update with changed dapp dependencies

* Add oo7 to list of babel node_module targets

* injectObjects -> onDappLoad
2017-10-25 16:54:41 +02:00
David Dorgan
bdf1e6afcc Revert "Sync parity-ewf with parity"
This reverts commit f7ba063b22.
2017-10-24 13:31:58 +01:00
David Dorgan
f7ba063b22 Sync parity-ewf with parity 2017-10-24 12:31:50 +01:00
Tomasz Drwięga
bfcf4c4281
Merge branch 'master' into td-ui-2 2017-10-19 15:46:15 +02:00
Jaco Greeff
fdbf6bf7d6 Refresh cached tokens based on registry info & random balances (#6818)
* Refresh cached tokens based on registry info & random balances

* Don't display errored token images
2017-10-19 14:18:21 +02:00
Tomasz Drwięga
304b067417
Support both versions. 2017-10-17 18:10:59 +02:00
Tomasz Drwięga
0f8fb62581
Integrate old UI. 2017-10-17 16:09:43 +02:00
Jaco Greeff
9e4c1fe6af Update warning layout 2017-10-16 15:51:55 +02:00
Afri Schoedon
b63c3a66ca Fix sign data typo, ref #6737 (#6750) 2017-10-16 10:08:36 +02:00
Nicolas Gotchac
78146e903d Fix badges not showing up (#6730)
* Fix badges not showing up

* Always fetch meta data first [badges]
2017-10-12 22:17:59 +02:00
Nicolas Gotchac
3e7b775961 Fix tokens and badges (#6725)
* Update new token fetching

* Working Certifications Monitoring

* Update on Certification / Revoke

* Fix none-fetched tokens value display

* Fix tests
2017-10-12 20:09:44 +02:00
Jaco Greeff
edbbd42d80 Check vouch status on appId in addition to contentHash (#6719)
* Check vouch status on appId in addition to contentHash

* Simplify var expansion
2017-10-12 19:28:56 +02:00
Jaco Greeff
7feb82c242 Display vouched overlay on dapps (#6710)
* Remove .only

* Add vouch overlays to dapps

* Cleanup address

* Only run where we have a contentHash

* GitLab kickstart
2017-10-11 21:05:50 +02:00
Tomasz Drwięga
34c65f60ef Fix estimate gas if from is not provided. (#6714) 2017-10-11 21:05:38 +02:00
maciejhirsz
0c86357187 Emulate signer pubsub on public node 2017-10-11 16:21:44 +02:00
Jaco Greeff
f238c97c6f Fix asciiToHex for characters < 0x10 (#6702) 2017-10-11 13:58:40 +02:00
Nicolas Gotchac
3a9b3b4729 Fix default values for address input (#6701) 2017-10-11 13:57:06 +02:00
Jaco Greeff
2bfb510554 Allow sign display of markdown (#6707) 2017-10-11 13:56:13 +02:00
Jaco Greeff
afb9647f0d Update lint 2017-10-09 14:42:26 +02:00
Jaco Greeff
c116e064d8 Merge master 2017-10-09 14:27:59 +02:00
Nicolas Gotchac
8d1964bc3b Fix wallet view (#6597)
* Add safe fail for empty logs

* Filter transactions

* Add more logging

* Fix Wallet Creation and wallet tx list

* Remove logs

* Prevent selecting twice same wallet owner

* Fix tests

* Remove unused props

* Remove unused props
2017-10-09 13:11:18 +02:00
Afri Schoedon
360ecd3728 Add Musicoin and MCIP-3 UBI hardfork. (#6621)
* Add musicoin chain spec.

* Add musicoin to parity node

* Add musicoin to the wallet

* Add i18n for musicoin

* Align musicoin chain spec with 1.8, ref #6134

* Update musicoin bootnodes

* Prepare MCIP-3 in musicoin chain spec.

* Update musicoin chain spec with contract addresses for MCIP-3

* Extend ethash params by MCIP-3

* Fix musicoin chain spec json

* Use U256 for block rewards.

* Update musicoin registrar

* Fix merge leftovers

* Update musicoin chain spec for latest master

* Bestow MCIP-3 block reward(s).

* Update musicoin registry once and for all

* Align MCIP-3 block reward with go implementation

* Remove mcip3 test chain spec from repository

* Update MCIP-3 block rewards

* Musicoin homestead transition is at 1_150_000

* Expect mcip3 transtion to be properly defined in chain spec.

* Panic handling for mcip to default to regular block rewards if not specified

* Giving mcip3 rewards a useful default value.

* Fix ethjson tests.

* Update musicoin chain spec

* Fix tests 0:)

* Add musicoin mcip3 era test spec.

* Update musicoin chain spec(s)

* Add tests for mcip3 era block rewards

* Fix tests

* Disable byzantium for musicoin

* Pass miner reward to the tracer.

* Allow modifying blockreward in MCIP-3 transition.
2017-10-08 18:17:59 +02:00
Jaco Greeff
0be532640a SyncWarning store 2017-10-05 15:52:44 +02:00
Jaco Greeff
4f082da02b Lint fixes 2017-10-05 15:26:20 +02:00
Jaco Greeff
21c95bbec5 Update after merge 2017-10-05 15:04:45 +02:00
Nicolas Gotchac
fb65732076 Fix Token Transfer in transaction list (#6589)
* Fix Token Transfer in TX LIST

* Add TokenReg logs logging
2017-10-05 13:03:31 +02:00
Jaco Greeff
290060e6c4 Add sync warning to top 2017-10-04 14:49:41 +02:00
Jaco Greeff
55b0b09d6a Merge branch 'master' into ui-2 2017-10-04 12:31:09 +02:00