Commit Graph

27 Commits

Author SHA1 Message Date
Jaco Greeff
acef56b1ea [beta] Wallet allowJsEval: true (#7913)
* [beta] Wallet allowJsEval: true

* Fix unsafe wallet.

* Enable unsafe-eval for all dapps.
2018-02-16 14:33:02 +01:00
Jaco Greeff
73be0fb096 [beta] Token filter balances (throttle) (#7742)
* [beta] Token filter balances (throttle)

* Cleanups

* Remove unused uniq

* Update @parity/shared to 2.2.23

* Remove unused code paths
2018-01-31 14:59:53 +01:00
Tomasz Drwięga
33b39f0725 Revert "revert to #7677 #7679" (#7715)
This reverts commit 568dc33a02.
2018-01-29 11:43:30 +01:00
Denis S. Soldatov aka General-Beck
568dc33a02
revert to #7677 #7679 2018-01-25 03:23:33 +03:00
Marek Kotewicz
fa6a0a6b60 Backports to beta (#7660)
* Improve handling of RocksDB corruption (#7630)

* kvdb-rocksdb: update rust-rocksdb version

* kvdb-rocksdb: mark corruptions and attempt repair on db open

* kvdb-rocksdb: better corruption detection on open

* kvdb-rocksdb: add corruption_file_name const

* kvdb-rocksdb: rename mark_corruption to check_for_corruption

* Hardening of CSP (#7621)

* Fixed delegatecall's from/to (#7568)

* Fixed delegatecall's from/to, closes #7166

* added tests for delegatecall traces, #7167

* Light client RPCs (#7603)

* Implement registrar.

* Implement eth_getCode

* Don't wait for providers.

* Don't wait for providers.

* Fix linting and wasm tests.

* Problem: AttachedProtocols don't get registered (#7610)

I was investigating issues I am having with Whisper support. I've
enabled Whisper on a custom test network and inserted traces into
Whisper handler implementation (Network<T> and NetworkProtocolHandler
for Network<T>) and I noticed that the handler was never invoked.

After further research on this matter, I found out that
AttachedProtocol's register function does nothing:
https://github.com/paritytech/parity/blob/master/sync/src/api.rs#L172
but there was an implementation originally:
99075ad#diff-5212acb6bcea60e9804ba7b50f6fe6ec and it did the actual
expected logic of registering the protocol in the NetworkService.

However, as of 16d84f8#diff-5212acb6bcea60e9804ba7b50f6fe6ec ("finished
removing ipc") this implementation is gone and only the no-op function
is left.

Which leads me to a conclusion that in fact Whisper's handler never gets
registered in the service and therefore two nodes won't communicate
using it.

Solution: Resurrect original non-empty `AttachedProtocols.register`
implementation

Resolves #7566

* Fix Temporarily Invalid blocks handling (#7613)

* Handle temporarily invalid blocks in sync.

* Fix tests.
2018-01-23 12:32:34 +01:00
Amaury Martiny
825a962323 Fix small layout issues (#7500)
* Fix layout bug

* Change position of red signing label
2018-01-08 17:43:55 +01:00
Afri Schoedon
36e230ee16
Expanse Byzantium update w/ correct metropolis difficulty increment divisor (#7463)
* Byzantium Update for Expanse

Here the changes go. Hope I didnt miss anything.

* expip2 changes - update duration limit

* Fix missing EXPIP-2 fields

* Format numbers as hex

* Fix compilation errors

* Group expanse chain spec fields together

* Set metropolisDifficultyIncrementDivisor for Expanse

* Revert #7437

* Add Expanse block 900_000 hash checkpoint
2018-01-05 13:49:07 +01:00
Jaco Greeff
71da3af1a2
Cleanup certifications (#7454)
* Cleanup certifications

* Add key for accounts
2018-01-05 13:26:43 +01:00
Jaco Greeff
855c1126a4 Upgrade markdown-loader & marked (#7467)
* Upgrade markdown-loader & marked

* Align UglifyJS (wallet/shell)

* Add ethereumjs-util Babel compilation
2018-01-05 10:59:35 +01:00
Jaco Greeff
ac95bfa285
Remove test for removed code (#7461) 2018-01-04 18:04:59 +01:00
Jaco Greeff
37796bdaa9
Pull in dapp-status (#7457)
* Remove status from tabs

* Update js-shared, add dapp-status
2018-01-04 17:05:10 +01:00
Marek Kotewicz
75f292154d
Merge pull request #7437 from paritytech/a5-chains-expanse
Remove expanse chain
2018-01-03 16:12:39 +01:00
Jaco Greeff
7c1cbd33ff
Store tokens with repeatable id (#7435) 2018-01-03 15:25:45 +01:00
5chdn
5e4febfc2d
Fix tests 2018-01-03 15:14:49 +01:00
5chdn
0292348bd6
Remove all EXP references from old wallet 2018-01-03 13:28:03 +01:00
Amaury Martiny
bc91eaf4d0 Update branding on UI (#7370)
* Update packages

* Update pictures for v1
2018-01-02 09:48:41 +01:00
Jaco Greeff
2856305977
Fix broken flex modal layouts (#7343) 2017-12-20 12:36:04 +01:00
Jaco Greeff
bdd4f62023
Fix wallet token/badge icons not showing up (#7333)
* Fix wallet icons not showing up

* Fix tests

* Remove debug log (oops)
2017-12-19 14:58:30 +01:00
Jaco Greeff
c9865e00a5
CSS fixes for v1 (#7285)
* CSS fixes for v1 (Thanks @ngotchac)

* Remove hack line completely

* Comment around Chrome upgrade
2017-12-15 14:48:10 +01:00
Jaco Greeff
6587dfecc0
Wallet subscriptions & refresh (#7283)
* Update to @parity/api 2.1.7

* Update packages

* Update after signer API alias
2017-12-15 12:48:51 +01:00
Jaco Greeff
fa6156ed01
Display all dapps (shell) & wallet tabs (v1) by default (#7213)
* Display contracts tab by default

* Update packages
2017-12-06 16:40:24 +01:00
Jaco Greeff
63d86b50e0
Update mocha import stubs (#7191)
* Update mocha import stubs

* Add .md files to ignore list
2017-12-05 09:03:30 +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
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
bfcf4c4281
Merge branch 'master' into td-ui-2 2017-10-19 15:46:15 +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