Commit Graph

1041 Commits

Author SHA1 Message Date
Arkadiy Paronyan
bbd2bd0e17 Backporting to beta (#4158)
* Remove onSubmit of current (no auto-change on password edit) (#4151)

* Remove onSubmit from current password

* Remove onSubmit from hint

* Pull in console dapp as builtin (#4145)

* Copy static dapps from static (no build)

* Console sources

* Add console to builtins

* Remove console assets

* Disable eslint on console.js

* Enable eslint after disable

* Webpack copy
2017-01-13 10:55:59 +01:00
Arkadiy Paronyan
1e212771b5 Backporting to beta (#4152)
* Fix broken transfer total balance (#4127)

* Add proper label to method decoding inputs (#4136)

* Another minor estimation fix (#4133)

* Return 0 instead of error with out of gas on estimate_gas

* Fix stuff up.

* Another estimate gas fix.

* Alter balance to maximum possible rather than GP=0.

* Only increase to amount strictly necessary.

* Get rid of unsafe code in ethkey, propagate incorrect Secret errors. (#4119)

* Implementing secret

* Fixing tests

* Refactor VoteCollector (#4101)

* dir

* simple validator list

* stub validator contract

* make the engine hold Weak<Client> instead of IoChannel

* validator set factory

* register weak client with ValidatorContract

* check chain security

* add address array to generator

* register provider contract

* update validator set on notify

* add validator contract spec

* simple list test

* split update and contract test

* contract change

* use client in tendermint

* fix deadlock

* step duration in params

* adapt tendermint tests

* add storage fields to test spec

* constructor spec

* execute under wrong address

* create under correct address

* revert

* validator contract constructor

* move genesis block lookup

* add removal ability to contract

* validator contract adding validators

* fix basic authority

* validator changing test

* more docs

* update sync tests

* remove env_logger

* another env_logger

* cameltoe

* hold EngineClient instead of Client

* return error on misbehaviour

* nicer return

* sprinkle docs

* Reenable mainnet update server. (#4137)

* basic tests for subscribeToEvents (#4115)

* subscribeToEvent fixtures 

* subscribeToEvent tests 

* temporarily skip failing test (#4138)

* Improvements and optimisations to estimate_gas (#4142)

* Return 0 instead of error with out of gas on estimate_gas

* Fix stuff up.

* Another estimate gas fix.

* Alter balance to maximum possible rather than GP=0.

* Only increase to amount strictly necessary.

* Improvements and optimisations to estimate_gas.

- Introduce proper error type
- Avoid building costly traces

* Fix tests.

* Actually fix testsActually fix tests

* Use estimateGas error (as per updated implementation) (#4131)

* Use estimateGas error (as per updated implementation)

* EXCEPTION_ERROR as per #4142

* Better error log reporting & handling (#4128)

* Don't pop-up notifications after network switch (#4076)

* Better notifications

* Don't pollute with notifs if switched networks

* Better connection close/open events / No more notifs on change network

* PR Grumbles

* Add close and open events to HTTP // Add tests

* Fix tests

* WIP Signer Fix

* Fix Signer // Better reconnection handling

* PR Grumbles

* PR Grumbles

* Fixes wrong fetching of balances + Notifications

* Secure API WIP

* Updated Secure API Connection + Status

* Linting

* Linting

* Updated Secure API Logic

* Proper handling of token updates // Fixing poping notifications

* PR Grumbles

* PR Grumbles

* Fixing tests

* Trim spaces from InputAddress (#4126)

* Trim spaces for addresses

* onSubmit has only value, not event

* onSubmit (again)

* Length check on trimmed value

* Remove bindActionCreators({}, dispatch) (empty) (#4135)
2017-01-12 17:06:15 +01:00
Arkadiy Paronyan
5e70507c78 Backporting to beta (#4118)
* Ignore get_price_info test by default. (#4112)

* Auto-detect hex encoded bytes in sha3 (#4108)

* Auto-detect hex encoded bytes in sha3

* Using types/isHex

* Removing unused imports

* Use binary chop to estimate gas accurately (#4100)

* Initial sketch.

* Building.

* Fix a few things.

* Fix issue, add tracing.

* Address grumbles

* Raise upper limit if needed

* Fix test.

* Fixing decoding API with signatures in names (#4125)

* Fix call/estimate_gas (#4121)

* Return 0 instead of error with out of gas on estimate_gas

* Fix stuff up.
2017-01-11 20:03:08 +01:00
GitLab Build Bot
6e43903ab7 [ci skip] js-precompiled 20170110-124838 2017-01-10 12:51:37 +00:00
Jaco Greeff
f0e017fe6c Wrong log output address (#4106) 2017-01-10 13:42:29 +01:00
GitLab Build Bot
16e22b7f87 [ci skip] js-precompiled 20170110-123414 2017-01-10 12:37:38 +00:00
Nicolas Gotchac
cee2ac43c0 Update Transfer logic + Better logging (#4098)
* Add logs and better Transfer Store logic

* Fix wallet transfer

* Fix wrong gas in Wallet

* Move log levels to Parity tab
2017-01-10 13:26:30 +01:00
Nicolas Gotchac
ae7619431b Fix Signer (#4104) 2017-01-10 13:19:18 +01:00
GitLab Build Bot
78566cf9bf [ci skip] js-precompiled 20170110-113807 2017-01-10 11:41:00 +00:00
Jannis Redmann
8958603f64 merge #4066 from jr-reverse-caching
cache registry reverses, completion in address selector
2017-01-10 12:30:57 +01:00
Jannis R
f12937a21e
reverse caching: use subscribeToEvents 2017-01-09 19:09:22 +01:00
Jannis R
67c2981975
subscribeToEvent -> subscribeToEvents 2017-01-09 19:09:21 +01:00
Jannis R
cca7627fb8
reverse caching: PR grumbles 2017-01-09 17:49:06 +01:00
Jannis R
61a42cc7e4
reverse caching: pass API into middleware 2017-01-09 16:59:33 +01:00
Jannis R
8c2aa4d87c
address selector: unique registry results 2017-01-09 14:24:04 +01:00
Jannis R
f05ffd2e09
address selector: complete reverses by name as well 2017-01-09 14:13:11 +01:00
Jannis R
38734c92c2
address selector: lower case for reverse completion 2017-01-09 14:03:52 +01:00
Jannis R
92742e663a
merge master into jr-reverse-caching 2017-01-09 12:50:26 +01:00
Jaco Greeff
378739fae1 Use shallow-only rendering in all tests (#4087)
* Container/Title with shallow

* IdentityName with shallow

* IdentityIcon with shallow

* TypedInput to shallow

* DetailsStep to shallow
2017-01-09 12:40:29 +01:00
Nicolas Gotchac
e1847442cc Fix balances update (#4077)
* Fix balances fetching

* Fix fetching balances while syncing
2017-01-09 11:15:00 +01:00
Nicolas Gotchac
40f0ee004f Key derivation in Worker (#4071)
* Add Signer Key Derivation in Service Worker

* Several fixes throughout the UI

* Hint for external account // working Worker

* Add Worker state change

* PR Grumbles
2017-01-09 11:14:36 +01:00
GitLab Build Bot
ec4b4cfbf2 [ci skip] js-precompiled 20170109-084458 2017-01-09 08:47:45 +00:00
Nicolas Gotchac
cf0a20f08b Display contract block creation (#4069)
* Add contract block creation to metadata

* Display mined block for contract on Contracts view

* Better use of Summary for Accounts

* Add sorted by mined block for contracts

* Proper Block Number sort // display in contract page

* PR Grumble

* Linting issues
2017-01-09 09:38:27 +01:00
GitLab Build Bot
33d3c1f999 [ci skip] js-precompiled 20170108-033146 2017-01-08 03:34:41 +00:00
GitLab Build Bot
920d2217c8 [ci skip] js-precompiled 20170107-041806 2017-01-07 04:21:07 +00:00
Jannis R
ba4263e33f
fix tests 2017-01-06 18:55:18 +01:00
GitLab Build Bot
c73bb3eed7 [ci skip] js-precompiled 20170106-170326 2017-01-06 17:06:28 +00:00
Nicolas Gotchac
761ed913a8 Passwords are valid by default (#4075)
* Passwords are valid by default #4059

* Actually fixing the issue
2017-01-06 17:56:57 +01:00
GitLab Build Bot
a7f23cbaed [ci skip] js-precompiled 20170106-162807 2017-01-06 16:31:16 +00:00
Nicolas Gotchac
30394bdb1c Add Origin to events table (#4073) 2017-01-06 17:24:35 +01:00
Nicolas Gotchac
81641a5839 Fix tags after Account view (#4070) 2017-01-06 17:23:04 +01:00
Jannis R
c4f7b8fb96
merge master into jr-reverse-caching 2017-01-06 16:03:05 +01:00
GitLab Build Bot
332a45846d [ci skip] js-precompiled 20170106-144307 2017-01-06 14:46:06 +00:00
Tomasz Drwięga
f6349187ef Bringing back js-sha3 to fix in-browser signing (#4063)
* Bring back Uint8Array sha3 support

* Added SHA3 test with HEX encoding

* Rename hex2Ascii => hexToAscii
Add tests or the api/util/format functions
Use js-sha3 for sha3 with hex encoding support

* Adding Uint8Array test

* Fixing Transaction import
2017-01-06 15:36:24 +01:00
Jannis R
ad3b89dc14
Merge master into jr-reverse-caching 2017-01-06 13:35:50 +01:00
GitLab Build Bot
52d3633473 [ci skip] js-precompiled 20170106-094801 2017-01-06 09:50:58 +00:00
Nicolas Gotchac
9ab9ff2381 Fix wrong transaction input for contract deployments (#4052)
* Fix mutable options in Contract API

* Add Swarm hash and meta data from Solidity

* Updates tests for contract deployment

* Add test for deploy without constructor Params
2017-01-06 10:39:18 +01:00
GitLab Build Bot
20aaf17389 [ci skip] js-precompiled 20170106-050640 2017-01-06 05:12:05 +00:00
GitLab Build Bot
c2d4ee7555 [ci skip] js-precompiled 20170105-202446 2017-01-05 20:28:26 +00:00
Jannis Redmann
20c1d37b59 let users open urls from dapps view (#4042)
* browser: better url handling

* browser: pass url as param

* dapps: button to open browser

* dapps url button: remove url validation

* PR grumbles, better URL parsing

* code style 

* better URL parsing, react to changed URL fragment
2017-01-05 21:15:01 +01:00
Jannis R
2aa76e5acc
address selector: simple completion for reversed addresses 2017-01-05 18:21:15 +01:00
Jannis R
71e80f10d8
reverse caching: optimize timing
Users quickly want all reverses registered in the path,
but don't care so much about live data.
2017-01-05 17:27:25 +01:00
Jannis R
6f492a4945
address selector: use cached reverses 2017-01-05 17:19:26 +01:00
GitLab Build Bot
7d807551e8 [ci skip] js-precompiled 20170105-155705 2017-01-05 15:59:53 +00:00
Jannis R
b38aa8d01f
reverse caching: middleware 2017-01-05 16:56:40 +01:00
Jannis R
ac2c678e69
reverse caching: redux boilerplate 2017-01-05 16:56:11 +01:00
Jaco Greeff
20ad2e7d42 Util/validation update (#4051)
* Fix code validation for null inputs

* tests WIP

* tests WIP

* Update validation tests

* Adjust block names, slice (PR comments)
2017-01-05 16:51:27 +01:00
Jaco Greeff
9613145464 Convert ShapeShift modal to store (#4035)
* WIP

* WIP store

* Store in-place

* WIP tests

* Store completed

* Expand option tests for events

* Fix & test for errors found in manual testing

* Add missing @observer (rookie mistake)

* Fix intl formatting error (completed step)

* Pass store to ErrorStep, test all stages for components

* Add warning messages (e.g. no price found)

* Fix typo
2017-01-05 16:51:16 +01:00
GitLab Build Bot
e7e561024a [ci skip] js-precompiled 20170105-111302 2017-01-05 11:15:57 +00:00
Jaco Greeff
1ef67f68ed Starting on homestead shows reload snackbar (#4043)
* Fix issue where starting on homestead showed reload

* Align snackbar timing with errors (60s)
2017-01-05 12:07:10 +01:00