Commit Graph

6436 Commits

Author SHA1 Message Date
Jaco Greeff
0f230322e9
Bump deps (#2009)
* Bump deps

* Nominating ({{count}})
2019-12-07 16:18:35 +01:00
Jaco Greeff
3325a4beab
Bump API (No contracts hack) (#2006) 2019-12-05 20:07:32 +01:00
Jaco Greeff
c0b9451b78
Bump deps (#2001)
* Bump deps

* Rewrite
2019-12-05 13:18:38 +01:00
Jaco Greeff
a9baa96e87
Show democracy dispatch queue (#1997)
* Show democracy dispatch queue

* Bump API
2019-12-04 16:07:13 +01:00
Jaco Greeff
6b59fe485f Optional proposal, hash required 2019-12-03 13:15:06 +01:00
Jaco Greeff
43d6f3d969
Rework council display (#1976)
* Rework council layout

* Updates

* Bump API
2019-12-02 15:49:46 +01:00
Jaco Greeff
b05a01ce10
Support democracy with preimages (#1973)
* Add derive.democracy.proposals

* Preimage button

* Preimages work

* Allow Proposals, display referendums

* Update with height/width hack

* Bump deps
2019-12-02 10:51:21 +01:00
Jaco Greeff
cf46cde6ec
Swap to CC3 for Kusama (#1963)
* Swap to CC3 for Kusama

* 0.37

* CC3

* API bump
2019-11-29 16:52:46 +01:00
Jaco Greeff
f40af492d0
Apply locks per genesis range (#1962)
* Apply locks per genesis range

* Calc locks up-front
2019-11-29 11:18:54 +01:00
Jaco Greeff
f6976e1e49
Update ValidatorPrefs with commission (#1959)
* Update ValidatorPrefs with commission

* Bump API
2019-11-28 17:44:50 +01:00
Jaco Greeff
12caaec47d
Bump API (#1957) 2019-11-28 13:36:57 +01:00
Jaco Greeff
d36301810a
CC3 (#1955)
* CC3

* Bump API with type injection
2019-11-27 22:27:22 +01:00
Jaco Greeff
d842113151
Support v9 metadata (#1934)
* Support v9 metadata

* Cleanup key expansion

* Add isIterable

* Bump API (with V9)

* Bump common
2019-11-27 20:10:01 +01:00
Jaco Greeff
fba7778c74
Nomination target dashboard (#1953)
* Nomination target dashboard

* Bump API
2019-11-27 15:11:00 +01:00
Jaco Greeff
6d02927212
Bump deps (#1948) 2019-11-26 14:11:15 +01:00
Jaco Greeff
e88aa8efe3
API Bumps (node-template detection) (#1947) 2019-11-26 09:31:14 +01:00
Jaco Greeff
c958bfba14
Bump API deps (#1942) 2019-11-25 12:55:18 +01:00
Jaco Greeff
533c8a72d8
Bump API, fixup storage types (#1933) 2019-11-23 23:03:48 +01:00
Keith Ingram
bebe957612 Fix Vec<u8> issue (#1924)
* fix vec<u8>

* api version

* console

* lint

* fix struct display

* registry

* arg order
2019-11-23 16:18:24 +01:00
Jaco Greeff
3a7d11a3eb
Bump API, latest substrate types (#1928)
* Bump API, latest substrate types

* ^ for package, not pinned
2019-11-23 13:18:02 +01:00
Luke Sugiura
85d64fb0fb Refactor settings handlers with generic high-order function (#1926)
* refactor settings handlers with generic high-order function

* upgrade @polkadot/ui-settings
2019-11-23 12:45:45 +01:00
Jaco Greeff
5d2ba215f8
Remove fees untin paymentInfo is usable (#1923) 2019-11-21 21:42:17 +01:00
Jaco Greeff
e1464b85f9
Adjust with API with explicit registry (#1922)
* Update for latest API (explicit registry)

* Edgeware adjusted types

* Bump API
2019-11-21 17:04:54 +01:00
Jaco Greeff
b141b696f9
Revert broken struct (#1918)
* Revert broken struct

* Align deps
2019-11-20 12:32:03 +01:00
Keith Ingram
8dfd36ffa1 Fix Vec<u8> issue (#1916)
* fix vec<u8>

* api version

* console

* lint
2019-11-20 07:47:45 +01:00
Jaco Greeff
9cce9091cf
Bump API (available calcs) (#1915) 2019-11-19 17:17:42 +01:00
Jaco Greeff
19162076f6
Adjust staking (#1914)
* Adjust staking

* Bump deps
2019-11-19 16:38:04 +01:00
Jaco Greeff
a95d7a4b8e
Bump API (#1911)
* Bump API

* Session keys cleanup
2019-11-19 14:39:54 +01:00
Jaco Greeff
2648ee30e2
Bump API (#1907)
* Tracker updates

* Bump API

* Fix linting

* track* comments
2019-11-19 10:59:02 +01:00
Jaco Greeff
2954a86384
Bump api (#1895) 2019-11-15 20:14:16 +01:00
Jaco Greeff
2663a4259c
Bump API, display vested (#1883)
* Bump API, display vested

* Add isVesting to constants
2019-11-14 18:52:01 +01:00
Jaco Greeff
cf67b1e9ec
Bump deps (#1881)
* Bump deps

* Massive numbers tweaks
2019-11-14 12:17:42 +01:00
Jaco Greeff
9035b80d14
Bump deps (#1876) 2019-11-13 13:30:35 +01:00
Jaco Greeff
e7e4efebeb
Enable validator overview (#1872)
* Enable validator overview

* CallDiv indicator for consts
2019-11-12 14:39:38 +01:00
Jaco Greeff
0cadbf9d1f
Bump API (derive memo) (#1864)
* Bump API (derive memo)

* Linting, caused by common changes
2019-11-11 14:56:35 +01:00
Jaco Greeff
e0548018b7
Bump API (#1863) 2019-11-10 13:24:54 +01:00
Jaco Greeff
55eb877e14
Small optimizations (staking display, recalcs) (#1862) 2019-11-09 15:05:37 +01:00
Keith Ingram
669910cc2a Use most recent contract from result block (#1861)
* find most recent contract

* Use filterRecords

* Bump API
2019-11-09 12:15:06 +01:00
Amaury Martiny
e99ecc2b82 Bump @polkadot/api (#1859) 2019-11-08 15:12:07 +01:00
Jaco Greeff
73d8fbc1d8
Add runnersup to council (#1852) 2019-11-07 22:26:54 +01:00
Jaco Greeff
af05246bfe
Bump API, with derive updates (#1850) 2019-11-07 17:55:26 +01:00
Jaco Greeff
a7404079cb
Bump deps (#1849) 2019-11-07 00:25:40 +01:00
Jaco Greeff
7048a65c3d
Derive from root account (#1847)
* Derive from root account

* Unlock... testing through

* Seems ok, still needs metadata

* ... and it works.
2019-11-06 19:30:24 +01:00
Keith Ingram
dd300c4431
Fix contract bug & improvements (#1845)
* constructor index bug

* Contract fixes

* lint

* console

* console
2019-11-05 21:23:44 +01:00
Jaco Greeff
5b219d546c Bump API 2019-11-05 15:34:26 +01:00
Jaco Greeff
6610275ee6
Bump with API (#1840) 2019-11-04 00:06:09 +01:00
Jaco Greeff
276a40fad0
Contracts API bump (#1837) 2019-11-03 17:41:14 +01:00
Jaco Greeff
897cbb255b
Bump deps (#1835) 2019-11-03 14:05:13 +01:00
Jaco Greeff
a7fbb1985a Bump API 2019-11-03 00:21:07 +01:00
Jaco Greeff
e3bca04936
Staking RPC & UI optimizations (#1833)
* Staking query optimization

* Final roundup

* Bump API with new derive  interfaces
2019-11-02 23:54:23 +01:00
Jaco Greeff
65fae72921
s/available/transferrable/ (#1827)
* s/available/transferrable/

* Add missing DerivedBalances fields
2019-11-01 17:45:43 +01:00
Jaco Greeff
f1b96c7a52
Update API (shared sub improvements) (#1824) 2019-11-01 14:53:46 +01:00
Jaco Greeff
08a36be445
Expand imOnline (blocks + message) (#1821)
* Expand imOnline (blocks + message)

* Merge master, bump API

* Fix linting
2019-10-31 20:04:00 +01:00
Keith Ingram
c2543ae9b2
Contract.call RPC interface with return type (#1780)
* contracts api + rpc

* finalized

* tweak

* api bump

* linting
2019-10-31 20:45:31 +02:00
Jaco Greeff
73e6d49a9a
Swap derive idAndIndex to info only (#1817) 2019-10-31 11:29:17 +01:00
Jaco Greeff
df095c2829
Staking updates (#1815)
* Staking updates

* Bump API

* So currentElected first in next up

* Linting

* Remove unused state entries
2019-10-30 15:53:52 +01:00
Jaco Greeff
27662a3a19
Council hot fixes for consts, members (via API bump) (#1814)
* Council hot fixes for consts, members (via API bump)

* Bump API

* Vote fixes
2019-10-30 00:56:46 +01:00
Jaco Greeff
24f6da2817
Fix Babe session calcs (#1813) 2019-10-29 23:44:03 +01:00
Jaco Greeff
153d3ee7e1
Bump deps (derive opt) (#1810) 2019-10-29 21:23:27 +01:00
Jaco Greeff
3b8a763a3e
Display heartbeats via state (#1806)
* Display heartbeats via state

* Bump deps with API support

* Update sigs

* More linting
2019-10-29 12:48:33 +01:00
Jaco Greeff
c6beca5a4c
Update council candidate refresh (#1790)
* Display council voters

* Show voting stake

* Adjust AddressMini widths

* Swap to (mostly) AccountIndex display

* Create modals (no default opacity)

* Trigger PR build
2019-10-28 16:24:34 +01:00
Jaco Greeff
6e2777f254
Bump deps (#1783) 2019-10-28 10:52:35 +01:00
Jaco Greeff
2a874e4dd9
Support electionsPhragmen (#1768)
* Support electionsPhragmen

* Base voting

* Allow voting
2019-10-26 18:52:21 +02:00
Jaco Greeff
0aad7c5cc3 Bump API 2019-10-25 16:32:08 +02:00
Jaco Greeff
2e7f28a625
0.36 (#1762) 2019-10-25 13:17:05 +02:00
Jaco Greeff
25c3622fe6
Bump deps (#1760) 2019-10-25 10:16:59 +02:00
Jaco Greeff
e10a5b708d
API Bump (extrinsic v4) (#1758) 2019-10-24 15:37:46 +02:00
Jaco Greeff
b4a5a47b39
Bump dev deps (#1755) 2019-10-22 14:21:22 +02:00
Jaco Greeff
912f7e758d
Bump API (derive.staking.info fixes) (#1754) 2019-10-21 17:46:24 +02:00
Jaco Greeff
5effd70fe4
Bump API (extends contracts Vec support) (#1750) 2019-10-21 14:20:29 +02:00
Jaco Greeff
d0faa5c981
Bump API (transactionPayment module) (#1738)
* Bump API (transactionPayment module)

* Update types for derived
2019-10-17 16:39:25 +02:00
Jaco Greeff
c086fa564f
Bump API, fix CI publish (#1722)
* Bump API, fix CI publish

* Add ia8n build to CI

* Update i18n strings

* Bump deps
2019-10-14 09:50:11 +02:00
Jaco Greeff
3f0d3eea2e
Bump API (Latest polkadot types) (#1721) 2019-10-11 16:56:40 +02:00
Eswara Sai
2a4d761e0f Added parser to extract i18n strings (#1710)
* Added parser to extract i18n strings

* Fixed issues with eslint for config file

* Moved i18n locales to apps/public folder

* Updated script to have i18n strings as default value
2019-10-11 15:12:36 +02:00
Jaco Greeff
e92aa3fe4f
Bump deps (#1718) 2019-10-11 11:03:40 +02:00
kwingram25
81c925f3d7 UI support for v2 ABI (#1602)
* ui support for v2 ABI

* drop v1 support

* update ABI display

* changes

* buttons

* update ABI display

* ABI v1 error message

* fix key warning

* Bump deps

* Bump deps

* Updates for merge

* default gas and endowment
2019-10-10 21:37:07 +02:00
Jaco Greeff
2e32c8b692
Metadata V8 support (#1706)
* Bump API

* Bump API (metadata v8)
2019-10-08 12:28:05 +02:00
Jaco Greeff
ad33e8abbb
Bump API (#1705) 2019-10-08 09:33:02 +02:00
Jaco Greeff
51a0a384cc
Bump API (#1693) 2019-10-03 23:27:51 +02:00
Jaco Greeff
ca4ba05df6
Bump API, JS console clone fix (#1690) 2019-10-02 22:13:26 +02:00
Jaco Greeff
7c6a4b1b07
Add Option handler to param inputs (#1686)
* Add Option handler to param inputs

* Remove stray debug log

* Linting cleanups

* Bump deps
2019-10-02 14:06:25 +02:00
Meghashyam Kodmad
7906457db9 updated react-dropzone to 10.1.9 (#1682)
* updated react-dropzone to 10.1.9

* fixed lint errors

* dropRef without current

* removed debugs
2019-10-01 18:05:02 +02:00
Jaco Greeff
1a89292069
Bump API (#1679) 2019-09-28 10:16:59 +02:00
Jaco Greeff
71b0f2dd3c
Update CHANGELOG with all recent changes (#1666)
* CC2

* Update CHANGELOG with all recent changes
2019-09-26 12:57:28 +02:00
Jaco Greeff
6efee435b6
Bump deps (#1657) 2019-09-25 14:41:07 +02:00
Jaco Greeff
79f2bc0e3a
Bump API (#1656) 2019-09-25 11:41:56 +02:00
Jaco Greeff
d50d309b4a
Bump API (latest substrate master) (#1655)
* Bump API (latest substrate master types)

* Bump API (Babe fixes)

* Adjust API missing types (StorageEntryPromise)
2019-09-24 19:06:37 +02:00
Jaco Greeff
fbe68b6c5d
Reset themes, single palette (#1607)
* Reset themes, single palette

* Additional comments

* Bump identicon, darkorange highlights

* Default button colors to $default

* isPrimary for all major (maybe rather shouldn't)

* All input buttons are non-primary

* Toggle to $highlight, links to $primary

* Swap darkorange to Thibaut-orange

* Icon  highlight to non-orange

* Highlight  package bump

* Updates

* Adjust referendum result color (aligning with orig Polkadot)

* Bumpos, button text color
2019-09-18 12:59:56 +02:00
Jaco Greeff
a92335aaf4
Ledger support (#1620)
* Ledger support

* libusb dep for CircleCI

* LedgerSigner for signer app

* Bump ui-*

* Extract ledger query

* Ledger support behind ?ledger=... param

* Fix query-string dep

* Bump deps
2019-09-18 10:37:59 +02:00
Jaco Greeff
16d7cec58a
Add Save/Save & Reload combo for settings (#1619)
* Add Save/Save & Reload combo for settings

* Disable ledger with flag (WIP, UI components added)

* Small lint fixes
2019-09-17 10:36:08 +02:00
Jaco Greeff
84d693d00f
Don't rely on ui-keyring to provide SUI options (#1617)
* Don't rely on ui-keyring to provide SUI options

* functional KeyPair component

* Delete temp.txt

* Bump ui-*
2019-09-16 21:15:29 +02:00
Jaco Greeff
ad7506b83d
Api bump with rpc_methods call (#1616) 2019-09-16 16:39:01 +02:00
Jaco Greeff
3b15601d2b
Edgeware mainnet RPC & updated types (#1615) 2019-09-15 08:48:16 +02:00
Jaco Greeff
16fb349f2a
Select icon type (#1614)
* Select icon type

* Fix edgeware node

* Fix node selection dropdown s/}/)/
2019-09-13 20:28:34 +02:00
Jaco Greeff
7a75a85842
Fix staking display for Edgeware (#1611) 2019-09-13 13:02:01 +02:00
Jaco Greeff
8a77f5f0a6
Add Edgeware selector (#1606) 2019-09-12 23:06:29 +02:00
Jaco Greeff
514d99894d
Bump deps (#1603) 2019-09-12 16:32:40 +02:00
Jaco Greeff
34b463fcfb
Bump deps (#1601) 2019-09-12 12:21:08 +02:00
Jaco Greeff
38eebe7118
0.35 (#1600)
* 0.35

* lint overrides
2019-09-10 15:45:39 +02:00
Jaco Greeff
86b8954b1c
Mobile signer support (via Qr) (#1583)
* Add external accounts via Qr

* WIP on signing

* And we are off to the races

* Add qr state

* Name checks

* Bump deps
2019-09-06 14:35:52 +02:00
Jaco Greeff
c574305a15
Bump deps (#1586) 2019-09-05 13:15:26 +02:00
Jaco Greeff
4e4db069d9
Bump api (system::DispatchError) (#1585) 2019-09-04 18:29:26 +02:00
Jaco Greeff
cc6763e68d
Bump api (SignerPayload updates) (#1584) 2019-09-04 16:47:42 +02:00
Jaco Greeff
b785c8acf2
genesisHash accounts toggle (#1573)
* genesisHash accounts toggle

* Bump deps

* Adjust toggle colors

* Use Api context

* Add genesisHash to addresses (on by default)
2019-09-03 16:26:03 +02:00
Jaco Greeff
fbcb0f3001
Detect periods as secs or miliseconds (#1580)
* Detect periods as secs or miliseconds

* Cleanup timer unmount

* Additional NodeInfo cleanups
2019-09-03 14:43:00 +02:00
Jaco Greeff
ceedb44699
Edgeware support (#1577)
* Add edgeware types to the base

* Fix edgeware type imports

* Swap calcSignLength to BN result

* Don't allow max to go negative
2019-09-03 12:46:05 +02:00
Jaco Greeff
2c808897ee
Bump deps (#1575) 2019-09-02 21:20:11 +02:00
Jaco Greeff
0ff9213ef3
Bump deps, rewrite yarn.lock (#1571) 2019-09-01 20:15:34 +02:00
Jaco Greeff
ec8be875df
typescript-eslint 2 (#1568)
* Setup for typescript-eslint 2

* Cleanup linting

* Bump ui version

* Exclude build folders
2019-09-01 13:34:56 +02:00
Jaco Greeff
e4c933cc87
Bump deps (#1560) 2019-08-30 09:09:11 +02:00
Jaco Greeff
f251964843
Swap substrate logo to hexagon (#1558) 2019-08-29 11:24:32 +02:00
Jaco Greeff
e976d3500d
Add images to chain dropdown (#1553)
* Add images to chain dropdown

* Warp up
2019-08-28 13:54:49 +02:00
Jaco Greeff
4c53997b66
Bump deps (#1543) 2019-08-27 15:19:59 +02:00
kwingram25
537e7529c2
Remove unsafe React methods (#1520)
* unsafe react methods

* Update sui to 0.88.0
2019-08-27 14:43:12 +02:00
Jaco Greeff
3d43241a5a
Add ChainImg component (#1540) 2019-08-26 14:57:57 +02:00
Jaco Greeff
b525abeeeb
Forks by height (in addition to width & finalized) (#1535)
* Forks by height (in addition to width & finalized)

* Bump API (SetId)
2019-08-26 09:14:11 +02:00
Jaco Greeff
69e6ceaa41
Pull in W3F Kusama endpoint (#1534) 2019-08-26 07:12:26 +02:00
Jaco Greeff
f0b13f70be
Fix derive for ///password (#1533)
* Fix derive for ///password

* Bump deps
2019-08-25 13:42:18 +02:00
Jaco Greeff
2dde1326df
0.34 (#1530) 2019-08-24 14:14:57 +02:00
Jaco Greeff
8e2551138e
Swap to subscribeNewHeads in API (#1529) 2019-08-24 12:47:26 +02:00
Jaco Greeff
3a6d5c0453
Add Kusama RPC endpoint (#1522) 2019-08-23 14:04:08 +02:00
Jaco Greeff
28e254150c
Use ss58Format from chain properties (#1517)
* Use ss58Format from chain properties

* Linting
2019-08-21 20:28:30 +02:00
Jaco Greeff
24c7a70526
Bump API, no default label lowerCase (#1515) 2019-08-21 16:31:21 +02:00
Jaco Greeff
48faaf9541
Update for 2.x ValidatorPrefs (#1513)
* Update for 2.x ValidatorPrefs

* Whitepace, linting...

* Type cleanups

* Cater for ValidatorPrefs, no unstake
2019-08-19 21:05:31 +02:00
Jaco Greeff
1177dc4d8a
Bump extension interface (#1512) 2019-08-19 11:06:58 +02:00
Jaco Greeff
9a77b6165f
Bump API (new SignedExtra) (#1511) 2019-08-19 10:15:52 +02:00
Jaco Greeff
77c08490cf
Bump API (#1510) 2019-08-18 17:09:23 +02:00
Jaco Greeff
b8ee65c52a
componentWillMount -> UNSAFE_componentWillMount (#1508)
* componentWillMount -> UNSAFE_componentWillMount

* componentWillReceiveProps -> UNSAFE_componentWillReceiveProps

* Bump API for session keys
2019-08-17 13:39:59 +02:00
Jaco Greeff
a841ee9f64
Bump API (Offences) (#1507) 2019-08-17 11:53:31 +02:00
Jaco Greeff
2fe7483085
Bump API, Babe+Aura block (#1506)
* Bump API, Babe+Aura block

* Update imports
2019-08-16 20:53:23 +02:00
Jaco Greeff
0f8deec75b
Bump API, storage dup. fix (#1504) 2019-08-14 21:55:35 +02:00
Jaco Greeff
23cac4cd2b
Allow chain-specific logo overrides (#1499)
* Allow chain-specific logo overrides

* Round-out available logos (current state)
2019-08-13 11:57:58 +02:00
Jaco Greeff
82e5269a47
Display Data/Keys params as hex (#1496)
* Display Data/Keys params as hex

* Treat Keys as opaque in query output

* session.queuedKeys output also works

* Bump API (block 0 fix)
2019-08-12 14:58:54 +02:00
Jaco Greeff
e6ca2db884
Rename ui-* -> react-* (#1495)
* Rename ui-* -> react-*

* Rename actual folders

* react-app -> react-components

* CSS links
2019-08-12 13:12:05 +02:00
Jaco Greeff
3de65b60d2
Display logo based on node, prominent chain (#1494) 2019-08-12 12:11:46 +02:00
Jaco Greeff
cb2d0b6bfe
BlockNumber/Index as u32 default (#1493)
* BlockNumber/Index as u32 default

* Adjust message

* Remove extra createType (prefer primitives)

* Bump API

* Bump API, EventRecord injection
2019-08-11 19:33:15 +02:00
Jaco Greeff
76fe528f8d
Bump API, lazy init (#1492)
* Bump API, updated polkadot types

* Update VestedSchedule

* Bump API, lazy init

* Update README.md
2019-08-10 15:38:22 +02:00
Jaco Greeff
050b218467
Bump API, updated polkadot types (#1490)
* Bump API, updated polkadot types

* Update VestedSchedule
2019-08-10 10:46:41 +02:00
Jaco Greeff
7ed6751ff4
Bump deps (#1489) 2019-08-09 17:02:04 +02:00
Jaco Greeff
a3343b680a
Bump deps (#1488) 2019-08-09 11:37:19 +02:00
Jaco Greeff
2b3617236d
Bump API, Keys -> Tuple (#1486) 2019-08-09 10:07:29 +02:00
Jaco Greeff
87351fdd1d
Import session keys for author_rotateKeys (#1484)
* Session keys input

* Impoirt session keys for author_rotateKeys

* Bump API

* Defaults
2019-08-08 16:16:57 +02:00
Jaco Greeff
cd8d2cc0e0
Bump api (#1481) 2019-08-08 01:52:50 +02:00
Jaco Greeff
35a316f861
Swap session inputs to address (matches rotate RPC for 2.x) (#1475)
* Swap session inputs to address (matches rotate RPC for 2.x)

* Naming for v1/v2

* Use sessionIds

* Update for keys in triplicate

* Bump API
2019-08-07 22:12:47 +02:00
Jaco Greeff
49d5b80140
Bump API, fix sessions (#1473) 2019-08-04 09:24:57 +02:00
Jaco Greeff
a96d25f832
unbump gh-pages dep (#1471) 2019-08-03 20:06:35 +02:00
Jaco Greeff
bf75e3c545
Bump deps, Extrinsic v3, Babe authors (#1470)
* Bump deps

* react-i18next
2019-08-03 19:14:31 +02:00
Jaco Greeff
3c88e7ecd9
Bump api (#1468) 2019-08-02 16:07:52 +02:00
Jaco Greeff
771720ecdb
Bump API for working DoubleMap (#1460) 2019-07-31 14:11:12 +02:00
Jaco Greeff
daad6a6bb0
Bump UI, FF RPC (#1459) 2019-07-30 21:03:07 +02:00
Jaco Greeff
0ad96ed8d6
Support Babe session/era progress (#1458) 2019-07-30 15:38:17 +02:00
Jaco Greeff
fb910fd70b
Author and expected block period display (Babe) (#1455) 2019-07-30 09:02:49 +02:00
Jaco Greeff
b4de745cda
Support latest api (with dynamic types) (#1447)
* Make a start, halfway down with issues found...

* Around  80% through untangling  the linter

* Seems linted...

* Adjust latest

* Update for latest (Moment -> u64)

* Method -> Call

* Bump api from npm

* formatNumber (no unwrap needed)

* Update to latest ui packages

* Revert internal version downgrades
2019-07-29 12:24:43 +02:00
Jaco Greeff
2e08cef313
Bump api, Metadata v7 support (#1444) 2019-07-24 22:05:05 +02:00
Jaco Greeff
424729d617
Bump api (support &[u8]) (#1443)
* Bump api (support &[u8])

* Invalid TX updates via failed callback

* s/moirtality/lifetime/
2019-07-24 13:14:31 +02:00
Jaco Greeff
2eaf6f9cc1
Bump api (#1441) 2019-07-23 22:58:20 +02:00
Jaco Greeff
64d4f62658
Bump api (#1440) 2019-07-23 18:23:11 +02:00
Jaco Greeff
9d76cadeec
Update for new Extrinsic v1/v2 support (#1435)
* Pull era/nonce/signer information for Extrinsic

* Bumop api... here we go...

* Fixup types, only signer is left

* Stub signer

* Apisigner operational
2019-07-22 21:27:17 +02:00
Jaco Greeff
94472a4dac
Bump api (latest metadata for 2.x) (#1431) 2019-07-21 20:28:48 +02:00
Jaco Greeff
76bbe3a005
Bump deps (#1428) 2019-07-20 11:54:13 +02:00
Jaco Greeff
1502c0e7af
Bump deps (#1426) 2019-07-19 23:36:38 +02:00
Jaco Greeff
e13d79e10a
Parity Signer QR support (#592)
* Pull in first bits from old branch

* Extract styles

* Update for eslint

* Bump deps, react-qr-reader

* remove wrapped component, only QR{Display, Scan}

* Multipart display

* Track updates via xxhash

* Address display & scanning

* Bump deps

* DisplayExtrinsic -> DisplayPayload

* Rewrite yarn.lock

* Bumps

* Add direct string <-> u8a conversion utils

* Use encodeString everywhere

* Update deps

* Bump deps (final round, can  merge now)
2019-07-19 13:47:52 +02:00
Jaco Greeff
77689fba59
Constant queries (#1419)
* InputConsts dropdown

* Bumps

* 2. x Constants explorer
2019-07-18 18:01:36 +02:00
Jaco Greeff
699af2f413
Show banner to prompt extension install (#1414)
* Show banner to prompt extension install

* Updated, slightly better looking

* Update packages/app-accounts/src/Banner.tsx

Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>

* trim

* Full bar, limited text width
2019-07-18 10:22:15 +02:00
Jaco Greeff
083ee86226
Allow passing of endpoint via url (#1382)
* Allow passing of endpoint via url

* Add latest query-string package
2019-07-17 13:46:00 +02:00
Jaco Greeff
37da9af44e
Allow selection of address prefix (#1412)
* Allow selection of address prefix

* Revert local prefix change

* Allow vanitygen network flag

* Cleanup linting
2019-07-16 22:31:16 +02:00
Jaco Greeff
c774ec907d
Add birth to mortality (#1411) 2019-07-16 16:29:03 +02:00
Jaco Greeff
a7ddb35f8f
Bump API, "nextKeyFor" for 2.x (#1406) 2019-07-15 17:07:20 +02:00
Jaco Greeff
babd33bc34
Bump deps (#1399)
* Bump deps

* Cleanup assertion

* Bump API, contract fn params
2019-07-14 18:58:29 +02:00
Jaco Greeff
7c80e42dda
Bump deps (#1394) 2019-07-13 09:00:08 +02:00
Jaco Greeff
09d2df7da6
Bump deps (incl. sec fixes) (#1389) 2019-07-12 07:48:28 +02:00
Jaco Greeff
930e7a5fa3
Add UNfrastructure for Alex (#1381) 2019-07-11 07:00:33 +02:00
Jaco Greeff
f6b214cd89
Bump deps (#1376) 2019-07-10 22:05:05 +02:00
kwingram25
e691868d76
Council motions (#1358)
* council motions

* continue

* council motions > propose

* travis ci

* latest api

* add council votes, proposal views

* linting

* remove settings

* new yarn.lock

* base-x

* Only pick text-transform from Labelled changes

* collapse voting view, aye/yay

* move button

* lint

* fixes

* approve <details> tag

* aye/nay lists
2019-07-10 17:49:46 +01:00
Jaco Greeff
301b4f3164
Bump api (ValidatorId) (#1374)
* Bump api

* Re-write yarn.lock
2019-07-10 15:57:07 +02:00
Jaco Greeff
ba71553b9f
Bumps (#1373)
* Bumps

* Re-write yarn.lock
2019-07-09 17:25:40 +02:00
Jaco Greeff
63ca2a1687
Bump deps (incl. Babel 7.5, current API) (#1366) 2019-07-08 16:02:27 +02:00
Travis CI
c383316333 [CI Skip] 0.34.0-beta.40 2019-07-03 09:29:05 +00:00
Amaury Martiny
f4fc0648d8
Upgrade api to use MetadataV6 (#1354)
* Upgrade to latest api

* Add polkadot/keyring

* Rename StorageEtnry
2019-07-03 11:21:02 +02:00
Jaco Greeff
085a8ab897
Update api (SessionKeys update) (#1327) 2019-06-21 17:16:25 +02:00
Jaco Greeff
479d5bb8bf
ui-keyring & api updates (#1326)
* ui-keyring & api updates

* Rewrite yarn.lock (pin @types/styled-components)
2019-06-21 16:44:55 +02:00
Jaco Greeff
b9308c6939
Support 1.x contract & 2.x contracts (#1321)
* Support 1.x contract & 2.x contracts

* Allow TxButton with contract & contracts

* Bump api for derive.contracts
2019-06-21 13:14:38 +02:00
Jaco Greeff
9295fb060f
Horizontal bar layout for referendum results (#1317)
* Initial stab, gremlins remain

* It is ok.
2019-06-19 18:15:53 +02:00
Jaco Greeff
549b208131
Bump deps (#1308)
* Bump deps

* Latest api
2019-06-18 14:36:53 +02:00
Jaco Greeff
8cb22ca3e8
Bump deps (#1301) 2019-06-17 15:16:18 +02:00
Jaco Greeff
39df1c060b
Bump API, adjust era/session index (#1298)
* Bump API, adjust era/session index

* Bump, nextSessionId
2019-06-16 00:13:09 +02:00
Jaco Greeff
28c5a83809
Bump API (new api-contreacts, new typings) (#1297) 2019-06-15 11:55:38 +02:00
Jaco Greeff
6440e3baaa
Bump deps (change use as required) (#1293)
* Bump deps (change use as required)

* Bump api with send fix
2019-06-13 20:19:15 +02:00
Jaco Greeff
7177c97fed
Bump deps (#1290) 2019-06-12 20:48:15 +02:00
kwingram25
4b7987ae1c
New contracts app (#1283)
* new contracts app

* new contracts app

* test ci fix

* fixes

* fixes

* remove abi inline

* css code card

* icon buttons

* fixes

* fixes cont.

* travis ci fixed

* api version
2019-06-12 13:52:53 +02:00
Jaco Greeff
43aaacf40e
Extract (some) explorer styling (#1286)
* Bump deps

* Extract explorer (some) styling

* Bump deps

* Bump deps
2019-06-09 07:50:13 +02:00
Jaco Greeff
09aa957f4c
Bump deps (incl. substrate master support via api) (#1282) 2019-06-06 15:57:59 +02:00
Jaco Greeff
db6bd3b0c4
Bump ui, api & common (#1275) 2019-06-04 15:55:08 +02:00
Jaco Greeff
a776e60fec
Bump extension-dapp (#1264) 2019-06-02 21:15:13 +02:00
Jaco Greeff
f57534d7c9
Bump for extension-dapp (account subscriptions) (#1256) 2019-05-31 17:06:52 +02:00
Jaco Greeff
fb2ea05d09
Bump deps (#1254) 2019-05-31 15:25:17 +02:00
Jaco Greeff
d8661ee630
SingleSource accounts & signer compat (#1242)
* SingleSource accounts & signer compat

* Display injected for extensions

* Move start callback (start of tx)

* Bump to current deps
2019-05-30 18:06:43 +02:00
Jaco Greeff
23cf0e2bf6
Bump deps, TS 3.5.1 (#1240) 2019-05-29 23:55:11 +02:00
Jaco Greeff
eca1d6f136
Bump api (#1238) 2019-05-29 18:36:06 +02:00
Jaco Greeff
117bd7fdb1
Bump common & api (#1236) 2019-05-29 14:32:14 +02:00
Jaco Greeff
7564c51248
Bumps, minor style adjustments (labels) (#1226)
* Bumps, minor style adjustments (labels)

* Remove unneeded flags to AddressRow

* Labels to React.ReactNode

* Rewrite yarn.lock

* Unneeded override
2019-05-29 09:32:33 +02:00
Jaco Greeff
83c3f115fd
Render AddressInfo directly from balances.all (#1220)
* Render AddressInfo directly from balances.all

* lint

* Bumps (linting fixes)
2019-05-27 21:23:25 +02:00
Jaco Greeff
0c5f76f2ad
Add available balances to transfer modal (#1210)
* Add available balances to transfer modal

* Hide transfer modal

* Fix editing bug

* ... don't hide... yet

* liniting

* Fix broken address search

* Adjust labels (there is space)

* Adjust padding for fees

* Convert fee calculations in transfer app

* Hide all secondary buttons (non-hover)

* Re-apply row padding fix

* ui-reactive labels

* balance -> total

* label, string -> React.ReactNode

* Redeem shows

* Incorporate help messages

* Move transfer

* default AddressSummary size, 64

* Swap to AddressRow... everywhere

* AccountInfo (and use in staking/accounts)

* Modal tweaks

* De-emphasise extrinsic inherent

* Align class name with filename

* Hide AddressInfo (?)'s (for now)

* onEnter saves, closes (name)
2019-05-27 10:20:44 +02:00
Jaco Greeff
ac1ec089d2 Bump deps 2019-05-24 16:37:43 +02:00
Jaco Greeff
9d5188cea2
Pull in @polkadot/extension-dapp (#1207)
* Pull in @polkadot/extension-dapp

* State updates via callback

* Remove extra : tags

* Small formatting cleanups
2019-05-24 15:11:51 +02:00
Jaco Greeff
ef9c59e999
Bump dependencies, prepare CHANGELOG (#1188)
* Bump dependencies, prepare CHANGELOG

* Add yarn.lock
2019-05-22 12:46:44 +02:00
Jaco Greeff
040b4ce106
External account injection & external signing (#1178)
* Allow injection of external accounts (not stored)

* Call external signer

* Bump packages
2019-05-21 16:58:39 +02:00
Jaco Greeff
a86f8231d5
Convert to new api.derive (multi-query) functions (#1173)
* Convert to new api.derive functions

* Ensure stashId passed-through

* Bump api

* Update validation details

* Lint fixes

* Bump API

* Drop linked nominator query
2019-05-17 18:08:26 +02:00
Jaco Greeff
5ce23a57c6
Bump API, metadata, new multi & derive, Extinsic/Method (#1172) 2019-05-16 16:15:03 +02:00
Jaco Greeff
ab8b1807e7
Bump API, node-template + EventRecord (#1169) 2019-05-15 15:45:38 +02:00
Jaco Greeff
db9e3d889f
Bump API, EventRecord update (#1167) 2019-05-15 08:46:05 +02:00
Jaco Greeff
89e77120a7
Allow tags in Account/Address edit (#1142)
* Start of tag input

* Add tags to account edit

* Don't allow edits/tags on dev accounts

* Add tags to address book

* Update description

* Add tags as part of address & account creation

* Linting
2019-05-13 18:01:08 +02:00
Jaco Greeff
bdc7147ceb
Bump API (combineLatest & multi) (#1124) 2019-05-10 12:41:30 +02:00
Jaco Greeff
1447a00702
Bump common & API (#1116)
* Bump common & API

* Cater for removed stakingBalance

* typo

* util bump

* derive fix from API
2019-05-09 20:35:31 +02:00
Jaco Greeff
5b8054ad59
Bump API (#1110) 2019-05-08 18:29:04 +02:00
Jaco Greeff
0a05e1d367
Keyring case for recents (#1107) 2019-05-08 17:45:04 +02:00
Jaco Greeff
e1a4d2ea25
Bump API (#1100)
* Bump API

* Bump
2019-05-07 17:17:26 +02:00
Jaco Greeff
44483454a7
Bump dev (& fix indents) (#1081) 2019-05-03 15:24:19 +02:00
kwingram25
0c7f1b8924 Sudo app added (#1036)
* sudo app start

* finish sudo app

* console

* split into two tabs, sidebar filtering

* unused SubjectInfo

* Attempt to get sanity into yarn.lock

* Add actual needsSudo to sudo route
2019-04-30 15:52:37 +02:00
Stefanie Doll
42e5409339
Add link to types docs (#1035)
* removed extra character

* Added link to polkadot/types api docs

* Updated yern.lock

* Add info bubble to labels

* Rollback yarn upgrade

* Removed info link

* Poke travis
2019-04-30 15:22:10 +02:00
Jaco Greeff
ac6d8d3f03
Bumps (#1051) 2019-04-29 17:42:00 +02:00
Stefanie Doll
d92e06ad5f
Upgrade dependencies to match Metadata v4 (#1045)
* removed extra character

* Update dependencies on apps to latest api v4 implementation

* removed deps from root

* Added changelog & updated lerna.json

* downgrade rxjs dependencies

* downgrade rxjs dependencies pt. 2

* Fix dependency mess-up

* Fix dependency mess-up pt. 2
2019-04-26 08:54:10 +02:00
Jaco Greeff
35cf5486fc
Bump ui & api (#993) 2019-04-12 12:59:19 +02:00
Jaco Greeff
937073f1c6
Pass actual address when calling contract (#955) 2019-04-10 20:25:52 +02:00
Jaco Greeff
74af106d6a
Re-add blocknumber for validators (#933)
* Re-add blocknumber for validators

* Adjust position

* Small spacing adjustments
2019-04-10 10:40:37 +02:00
Jaco Greeff
e3b44abaec
Add help overlay for staking (basic intro) (#922)
* Add help overlay for staking (basic intro)

* Allow webpack *.md imports (without TS complaining)

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>
2019-04-08 18:52:44 +02:00
Ross Bulat
5d24410af2
Styled Theming + media template introduction (#902)
* styled theming + screen sizes

* media templates

* mobile-first with min-width media templates

* media templates as export

* sidebar toggle as styled

* combime theming into styled

* tslinting

* rm meda from ThemeProvider

* spacing

* unnecessary; semi; colons;

* typed media function

* abstract theme primary color

* bye bye styled
2019-04-08 14:02:11 +08:00
Jaco Greeff
321766907e 0.30 2019-04-03 17:00:53 +02:00
Jaco Greeff
8141e8f508
Bump deps (#884)
* Bump deps

* Api with fixed caching
2019-04-03 14:51:40 +02:00
Jaco Greeff
def0506e1d
formatting utils from @polkadot/util (#878) 2019-04-02 15:12:58 +02:00
Jaco Greeff
a4040d7347
Bump deps (#876) 2019-04-02 08:40:33 +02:00
Jaco Greeff
9fbda732e0
Bump deps, TS 3.4.1 (#874)
* Bump (alice//stash & combined crypto)

* Bump deps, TS 3.4.1

* Updates (after merge)

* Remove @polkadot from versions
2019-03-31 00:19:26 +01:00
Jaco Greeff
88279bea7a
Bump (alice//stash & combined crypto) (#873) 2019-03-30 19:49:02 +01:00
Jaco Greeff
9d72015411 0.29 2019-03-29 22:43:18 +01:00
Jaco Greeff
27689e8816
ss58 & US language updates (substrate 1.0-rc) (#871)
* ss58 & US language updates

* All Finalised -> Finalized

* Remove unused status

* 0.28

* 0.28
2019-03-29 18:26:18 +01:00
Jaco Greeff
1c81dd2781
Bump version (#865)
* Bump version

* Bump deps

* Fix PeerInfo without peer.index
2019-03-28 21:01:12 +01:00
Jaco Greeff
dfdc0fbf3e
Next up list (and API update for improved list support) (#864)
* Next up list (and API update for improved list support)

* Adjust layout slight, remove unused var

* Hide actions with no accounts
2019-03-28 17:41:22 +01:00
Jaco Greeff
9bd7392d73
More informative staking page (buttons based on actions) (#855)
* WIP

* Render nominees

* Staking statics & buttons
2019-03-27 18:26:35 +01:00
Jaco Greeff
50092a7b74
Rename Stake -> Validate, show controller/stash (#853)
* Rename Stake -> Validate, show controller/stash

* Small styling updates

* account -> controller account
2019-03-27 12:10:12 +01:00
Jaco Greeff
1bea7eb2fd
Be explicit in setting session keys, rework controlling (#852)
* Be explicit in keys

* Bump API
2019-03-27 10:59:01 +01:00
Jaco Greeff
f70c1fcf64
Display controller only if no bonding (#851) 2019-03-27 08:54:29 +01:00
Jaco Greeff
a723274f2e
Adjust/remove settings endpoint background (#841) 2019-03-26 09:27:19 +01:00
Jaco Greeff
1bdf3e493e
README package warnings (stop-gap) (#840)
* README package warnings (stop-gap)

* Link to polkadot-js/ui docs
2019-03-25 13:23:58 +01:00
Jaco Greeff
552034c06f
Bump deps (#835) 2019-03-23 20:58:25 +01:00
Jaco Greeff
7123b076ee
Metadata V2 support (#833) 2019-03-23 17:47:52 +01:00
Jaco Greeff
76de50c25a 0.26 2019-03-23 09:02:33 +01:00
Jaco Greeff
9ab3a0b52f
Remove libsodium dependency (#829)
* Remove libsodium dependency

* Replace sodium chunk with @polkadot/wasm-* chunk
2019-03-22 15:31:04 +01:00
Jaco Greeff
5ff5bc02f9
Add derivation path for accounts (#825)
* Add derivation path for accounts

* Create using seed & path
2019-03-21 16:40:03 +01:00
Jaco Greeff
96615d5957
Bump UI, HDKD keyring (new substrate crypto) (#813)
* Bump UI, HDKD keyring (new substrate crypto)

* Bump ui/* versions

* Pull in latest util-crypto, bp39 fix

* Bump common

* Small enhancements, cleanups (testing WIP)

* Bump

* Update after merge

* Bumps, fix transfer calculation (value may be non-existent)

* Bumpo dependencies

* Label extrinsic hash

* Signature updates

* Update deps

* Adjust status display

* Close status items on click

* Update withRouter duplication

* API bump, (some) creation fixes

* Move bip39 out of the worker (fast enough now via WASM)

* Update after master merge

* Cleanup deps (re-write yarn.lock)
2019-03-20 17:06:29 +01:00
Ross Bulat
d7f73b1baf Mobile friendly sidebar, auto hide and show on resize (#818)
* mobile friendly sidebar;

* substrate logo support

* >=

* logo size + node info padding

* polkadot toggle no padding

* padding

* remove padding trans

* tooltip overflow fix

* z-index fix

* simple var names

* remove unneeded state

* menu toggle animation

* menu toggle behaviour

* <Responsive /> + menu toggle

* yarn lock

* <Responsive /> flexbox fix

* scroll-y fix

* stefies-sassy-sidebar-suggestions-submission

* remove lodash

* enums

* apps/constants

* copyright

* literally  literals
2019-03-20 15:34:48 +01:00
Jaco Greeff
0b167e1662 Revert packages to pre-hdkd keyring (to be merged) 2019-03-18 12:49:38 +01:00
Jaco Greeff
476ea4ab8e Revert "Bump deps (#816)"
This reverts commit 58f7940c03.
2019-03-18 12:17:39 +01:00
Jaco Greeff
58f7940c03
Bump deps (#816) 2019-03-14 16:58:40 +01:00
Jaco Greeff
2aae91ee44
Swap to publishing -beta.x on merge (#815) 2019-03-14 14:31:03 +01:00
Jaco Greeff
338bd517a0
Remove /index imports (swap to bare) (#814)
* Remove /index imports (swap to bare)

* Bump deps
2019-03-14 10:45:58 +01:00
Stefanie Doll
142be0ad75 Include isJsonObject util in settings-app (#811)
* Include isJsonObject util in settings-app

* pass full state as State

* Wording error message
2019-03-13 12:31:14 +01:00
Jaco Greeff
9fe4510724
Bump deps (#808) 2019-03-12 13:00:33 +01:00
Ross Bulat
9dc5f50f73 Fixed sidebar w. scrollable icons (#796)
* enhanced sidebar

* ts

* tidyup

* bump

* fix

* yarn lock

* package json

* package json

* fixed sidebar

* lodash throttle

* tslint

* yarn lock

* universal height

* logo width

* post conflicts

* toggle bar

* tidyup

* tidyup, remove flex on sidebar wrap

* conflict

* yarn lock

* ts

* yarn lock

* sticky sidebar

* wrapper classes

* cleanup

* polkadot pink dial down

* revert pink remove, consistent collapse pos

* eagle-eyed jaco

* collapsed icon margin 0
2019-03-12 12:17:05 +01:00
Stefanie Doll
ee968a59c3
Editor for custom types and ActionStatus (#794)
* Added code editor to developer settings

* Added code editor to developer settings

* Added ActionStatus on save

* Added translate to new strings

* tslint fixes

* Valid status message

* Added styling, an error class and a description to Editor component

* Updated yarn.lock

* Include Editor from ui-app

* Added invalid prop to Ediitor component

* use classes util instead of classnames module

* Move settings tab content to seperate components

* Finalized validation logic

* reset placeholder

* removed leftover code comment

* remove comsole.log

* code cleanup
2019-03-12 12:04:27 +01:00
Travis CI
4ce1a3678d [CI Skip] 0.24.37 2019-03-08 11:47:42 +00:00
Jaco Greeff
7f964b01e7
Bump API (subId & result out of order fix) (#797) 2019-03-08 12:11:50 +01:00
Jaco Greeff
852f3c7918
Hide staking actions (when on bond API) (#792)
* Hide staking actions (when on bond API)

* Remove unused import

* Pull in new API with updated Metadata

* Hide low/high when there are no intentions

* Cleanup linting issues
2019-03-07 13:25:06 +01:00
Jaco Greeff
e1330b6d0e
Bump API (Header with number alias) (#791) 2019-03-07 12:20:18 +01:00
Stefanie Doll
8984b66179 Sd remove console.error for missing runtime modules (#788)
* Changed console.error to console.info

* Updated yarn.lock
2019-03-07 10:50:01 +01:00
Jaco Greeff
7195d29724
Add resolution overrides (#786)
* Add resolution overrides

* Add yarn.lock
2019-03-06 12:54:00 +01:00
Stefanie Doll
d55697e530
Add hot module reloading to apps (#784)
* Removed live-reload

* Turn App into React.Component

* Working HMR version 1

* Removed custom `module.hot.accept` function

* Added new line at the end of file

* Remove withMulti

* Removed unused imports & declarations

* Remove leftover BareProps import

* Fixed copy & paste error in copyright header
2019-03-05 17:31:58 +01:00
Ross Bulat
5078f3ae2c Enhanced Sidebar (#773)
* enhanced sidebar

* ts

* tidyup

* bump

* fix

* yarn lock

* package json

* package json
2019-03-05 16:02:09 +01:00
Jaco Greeff
f270d45a22
Swap HMR to liveReload (#783)
* Move WebpackPluginServe last

* Swap to liveReload (which is what we had)

* Bump deps
2019-03-04 17:58:17 +01:00
Jaco Greeff
d9cacd8322
Adjust wording for password labels (#774)
* Adjust wording for password labels

* Update Backup.tsx

* Update ChangePass.tsx

* Update with new API interfaces
2019-03-04 11:25:11 +01:00
Jaco Greeff
946bb17311
Handle unknown types (via createType) (#771)
* Handle unknown types (via createType)

* Bump deps
2019-03-01 11:19:36 +01:00
Jaco Greeff
449310e0c9
Don't pass UI_MODE/UI_THEME via env (#769) 2019-02-28 16:36:50 +01:00
Jaco Greeff
3698698a8a
Bump deps (#768)
* Bump deps

* Bump
2019-02-28 15:22:52 +01:00
Jaco Greeff
34687e1765
Initialise Vector correctly based on subtype (#765) 2019-02-27 17:36:59 +01:00
Jaco Greeff
3989c8c7c1
Bump deps (#757)
* Bump deps

* yarn start, well, starts again
2019-02-26 18:10:42 +01:00
Stefanie Doll
3f8ef157e4
Compress code with snappyjs (#755)
* Compress Base64 strings with snappy

* Move wrapper fix to different PR

* Added snappy typescript declaration

* type str and ch

* Updated yarn.lock
2019-02-25 14:24:19 +01:00
Travis CI
028fcae8ac [CI Skip] 0.24.12 2019-02-22 12:56:53 +00:00
Stefanie Doll
970911536c
Share functionality for app-js api playground (#740)
* First WIP

* Move all action buttons to component

* More WIP

* removed query-string module, share example through location.hash

* Copy over deep clone

* Fixed onload behaviour

* Working example 'read from url' <-> 'write to url'

* Populate location.hash to state

* comment

* Add selected option to dropdown

* Dropdown WIP debugging

* Removed attempted workaround for MUI Dropdown component Bug, added Fixme

* Added copy to clipboard functionality

* Added feedback animation on copy & switched component back to PureComponent

* Tslint fixes & yarn.lock dump

* Added hash router types

* More type fixes

* Attempt to fix strictNullChecks for document.getSelection()

* Fixed wrong conditional

* prettier links

* Tiny styling tweaks

* Added routing to index

* Removed empty devDependencies from package.json

* Fix sharing

* Try `history` without typing

* Yarn.lock dump

* Removed leftover LocalStorage component

* Removed HashRouterProps

* Code formatting changes

* addressing tslint errors

* Added match ro Props

* Added history: any to Props declaration
2019-02-22 13:51:07 +01:00
Jaco Greeff
af7aea33df
Bump API, fix Option handling on storage (#751) 2019-02-22 11:13:31 +01:00
Jaco Greeff
12ffd0425a
Fix referendum votes not showing (#748)
* Fix referendum votes not showing

* Bump deps
2019-02-21 15:54:53 +01:00
Jaco Greeff
f23ce1d764
Bump ui-identicon (Substrate default) (#745) 2019-02-21 13:48:03 +01:00
Jaco Greeff
142780f3ac
Bump api (latest substrate master support) (#741) 2019-02-20 17:47:35 +01:00
Jaco Greeff
b6836fb282
Dried Danta support (#739)
* Don't filter chains (use specified props)

* Bump @polkadot/ui-settings
2019-02-20 16:39:52 +01:00
Travis CI
b4a702bc84 [CI Skip] 0.24.3 2019-02-20 11:59:13 +00:00
Stefanie Doll
333b94001e
Bugfix: deep clone imported snippets (#737)
* Yarn.lock update

* Deep clone imported snippets, state.snippet empty on default

* Fixed wrong defailt type for 'selected'

* Fix onMount behaviour
2019-02-20 12:53:48 +01:00
Jaco Greeff
9adfd46cc3
Bump i18next version (with usage changes) (#736)
* Bump i18next version (with usage changes)

* Remove unneeded i18n wrapping (Unlock)

* Bump semantic-ui version
2019-02-20 10:26:27 +01:00
Jaco Greeff
4889fb7147
Pull in new API (Option<Type> for storage) (#730)
* Pull in new API (Option<Type> for storage)

* staking_nominating is Option

* WIP

* Seems working, however democracy, not happy

* Bump API, Option storage fix

* Pull latest API

* Api version display
2019-02-20 08:45:42 +01:00
Travis CI
aaac78021c [CI Skip] 0.23.34 2019-02-19 09:55:04 +00:00
Stefanie Doll
a056be741b
Save code snippets to local storage (#718)
* Fine tuning examples

* WIP First proposal to save snippets

* Don't add code wrapping multiple times

* Smaller adjustments

* Fix 'reset selected on load' bug

* Reverted Button size type declaration change, doesn\t belong in this PR

* Wrapper formatting

* Save button style

* removed constructor from editor

* fix metadata example

* Added constants file

* Moved local storage popup to separate component

* Remove functionality WIP

* upgraded yarn lock

* Moved Local storage to separate component, fixed lyfecycle methods, moved props.childre to render in HOC

* Changed simplyfied examples for debugging back to original

* Cleanup leftover comments

* More leftover comments cleanup

* More cleanup

* Moved makeWrapper back to seperate component

* Add code wrapper for default examples in constructor to prevent lifecycle update bugs

* Make onBlur optional

* Updated yarn.lock

* FIXME comment for ui-app Button bug inside <Popup />

* translation and removed empty classname
2019-02-19 10:49:37 +01:00
Jaco Greeff
cf23041b85
Pull in @polkadot/ui-util (#724)
* Pull in @polkadot/ui-util

* Pull in @polkadot/ui-util

* Skip tests
2019-02-18 14:45:29 +01:00
Jaco Greeff
77cecc81f6
Fix validatorPrefs input (#721)
* Fix validatorPrefs input

* Display summary with value
2019-02-16 17:07:12 +01:00
Travis CI
0412f16e87 [CI Skip] 0.23.29 2019-02-15 17:50:26 +00:00
Jaco Greeff
b9bf4826bd
Bump deps (#720)
* Bump deps

* Bump deps

* Revert sui bump
2019-02-15 18:44:53 +01:00
Jaco Greeff
dac2734ab6
Schnorrkel support (#710)
* Schnorrkel support

* Additional export cleanups (move to root & types)

* Bump

* Bump deps

* Update deps

* Bump deps

* Bump deps
2019-02-15 11:57:10 +01:00
Jaco Greeff
5feb22b07e
Cleanup @polkadot/types imports (#711) 2019-02-13 22:49:10 +01:00
Jaco Greeff
e591a7be64
Bump API (#704) 2019-02-13 11:50:01 +01:00
Jaco Greeff
9f17297d3c
Bump API (#702) 2019-02-12 18:06:08 +01:00
Jaco Greeff
75b519151b
Collapse sidebar (#700)
* Collapse sidebar

* Collapse button is fixed

* Small updates (styling)

* Add small collapsed logos
2019-02-12 15:55:32 +01:00
Jaco Greeff
06c6b1c0df
Bump API to latest (#695)
* Bump API to latest

* Update deps
2019-02-11 22:10:58 +01:00
Stefanie Doll
061f346fd6
Sd 668 app console (#684)
* [app-js] fixed copyright

* [app-js] css fixes

* [app-js] Add api to window object

* Make CSS columns resizable (FF & Chrome)

* Window Interface export

* formatting

* Make columns responsive, added Dropdown

* Added code snippets

* Strip down output to functional component

* removed component state, removed onEdit, update on select

* Editor styling

* Added snippets and local storage

* output formatting

* Example dummies

* Cleanup & examples

* Added util & keyring @polkadot modules to window object

* Moved intro to component to make it translatable

* Added more RPC examples

* small fix

* WIP exaples

* Styles for resizer, fixed flex overflow misbehaviour

* remove code from snippets for options,

* Added labels to dropdown

* Examples

* More examples and removed deprecated examples

* Added labels to dropdown -> missing type decl.

* correst link to ui-keyring package

* Make tslint happy

* Pull api clone/disconnect into sd-668 (#686)

* JS playground & console (start something...)

* It runs...

* WIP

* Use codeflask

* Highlights

* Small updates, console v0.1 is ok to play with

* Bump

* Only shadow, no border (article)

* Allow API to be disposed of between runs

* Clone and disconnect API

* Move id generation (no need for constructor)

* Small updates

* Small type adjustments

* smaller fixes after code review

* updated yarn.lock

* move options calculation out of return

* Remove exposure of api to window object

* Expand JS console logging (#691)

* Expand JS console logging

* Log extrinsics directly

* switch to getDerivedStateFromProps()

* roll back ts versions

* react-i18next rollback to 9.0.2

* Lock  react-i18next to 9.0.2
2019-02-11 18:02:34 +01:00
Jaco Greeff
fb9cf70a71
Javascript & API console app (#666)
* JS playground & console (start something...)

* It runs...

* WIP

* Use codeflask

* Highlights

* Small updates, console v0.1 is ok to play with

* Bump

* Only shadow, no border (article)
2019-02-01 11:17:32 +01:00
Jaco Greeff
1e86fb745c
Bump API for hash-value signatures (#665)
* Bump API for hash-value signatures

* Imports, hide tabs, not apps

* Update with derive-fixed API

* Remove unused type import
2019-01-31 21:19:36 +01:00
Jaco Greeff
6ce31fc1da
Rework Tabs component (using react-router) (#660)
* Rework Tabs component (using react-reouter)

* Remove unneeded props (already specified)

* Bump API

* Bump API for finalised v1 support
2019-01-30 20:40:29 +01:00
Jaco Greeff
3ff2053370
Bring tabs into apps without (consistency) (#659)
* Bring tabs into apps without (consistency)

* Small signer updates

* Explorer info as label

* Adjust fonts for modals

* Cleanup imports

* .ui.modal base color

* Adjust Account summary opacity

* Bump API (metadata V1 events)

* Update Event.tsx

* Remove order overrides

* Expand isDisabled balance

* Update index.tsx

* Update index.tsx
2019-01-28 20:30:49 +01:00
Jaco Greeff
a6c44dd4fb Labelling cleanups & API bump (balances via Address) (#658)
* Labelling cleanups & API bump (balances via Address)

* Documentation join

* Align padding for article with padding

* Extra console.log removed

* Text update
2019-01-28 12:08:01 +01:00
Jaco Greeff
612b5d0f45
API update (metadata v1), fragment support (#652)
* Use fragments instead of [] returns

* Frament part 2

* Update API

* Update Creator.tsx

* Review cleanups
2019-01-26 17:27:13 +01:00
Jaco Greeff
0663483a2e
Type rendering updates (#643)
* Type rendering updates

* Moment renders via Amount

* Remove errant console.log
2019-01-24 22:38:17 +01:00
Jaco Greeff
5325f3695e
API bump, bool fix (#642) 2019-01-24 15:09:32 +01:00
Jaco Greeff
e86fb8de43
Add setting of ValidatorPrefs (#624)
* Add setting of ValidatorPrefs

* Bump API

* Pull through initial values in InputNumber
2019-01-21 14:10:52 +01:00
Jaco Greeff
3061057e30
Bump API, Node info peer id displayed (#630)
* Node info peer id displayed

* Latest API

* Add peer best & countdown to nodeinfo
2019-01-21 12:06:18 +01:00
Jaco Greeff
f065e9945d
Purge left-over app-vanitygen references (#629) 2019-01-21 00:26:42 +01:00
Travis CI
8f3f1e724d [CI Skip] 0.22.27 2019-01-18 22:09:32 +00:00
Jaco Greeff
eb0abb8307
Cleanup api call usage (#617)
* Rename apiPromise -> api

* First attemp at React render component (unused)

* Cleanup api call usage

* Cleanup linting

* Remove render component

* Adjustments on HOC types (& usage)
2019-01-18 23:04:13 +01:00
Jaco Greeff
ac2e809e97
Bump deps (#613)
* Bump deps

* Typo
2019-01-17 18:10:04 +01:00
Jaco Greeff
9afe50ff64
Bump API, use derive.accounts.* (#612) 2019-01-17 15:55:50 +01:00
Jaco Greeff
c3821bdb1b
Update with latest API (with derive) (#611)
* Pull in latest API

* Use derive from api

* Update with latest API
2019-01-17 10:59:22 +01:00
Jaco Greeff
7f375c04a5
Bump API & deps (#606)
* Bump API & deps

* Bump repo-specific deps

* Fix vanity stats display
2019-01-16 11:23:20 +01:00
Travis CI
09ae868727 [CI Skip] 0.22.19 2019-01-15 08:43:16 +00:00
Jaco Greeff
7e01f3cb37
Allow edit/add from address in recents (#601)
* Allow edit/add from address in recents

* Package upgrade restore after merge
2019-01-14 15:16:28 +01:00
Jaco Greeff
47d08cb3d5
Detect invalid nominator (#598) 2019-01-14 11:49:44 +01:00
Jaco Greeff
b68c1a4f5e
Update summary info displays (#590)
* Display activated block for referendums

* Display authorities for block generation

* Fix author calculation
2019-01-12 16:35:04 +01:00
Jaco Greeff
014ae780e4
Split ui-api, update API version (#589)
* Split ui-api, update API version

* Update (awaiting API changes to go through)

* Cleanup ui-api exports

* Bump API (SubscriptionPromise support)

* Linting fixes

* Update renames

* Do display balances.Transfer (shows for non-owned accounts)

* Bump API
2019-01-12 09:38:07 +01:00
Jaco Greeff
8e2f80d176
Submit extrinsics via signAndSend (#585)
* WIP first bits...

* Coversion should be ok, testing remains

* Tie up loose ends

* Bump deps
2019-01-11 14:54:18 +01:00
Jaco Greeff
0a5382ba0d
Update API, fixing isReady wait (#579)
* Update API, fixing isReady wait

* Bump (previous version didn't deploy all packages, npm, tsk, tsk)
2019-01-10 11:52:13 +01:00
Travis CI
274c9f32cc [CI Skip] 0.22.1 2019-01-09 17:13:58 +00:00
Jaco Greeff
c0df704d66
Re-introduce Compact<Index> transaction support (#574) 2019-01-09 18:05:16 +01:00
Travis CI
001c390be3 [CI Skip] 0.21.22 2019-01-09 10:12:04 +00:00
Jaco Greeff
cb5f4f4b50
Revert Compact<Index> API until we have full support (#573)
* Rever Compact<Index> API until we have full support

* Fix requested API versions (module resolution)
2019-01-09 11:07:00 +01:00
Jaco Greeff
46cf21bac9
Allow networkId from settings defaults (Alex & CC spec overrides) (#569) 2019-01-09 07:31:35 +01:00
Jaco Greeff
43a4da151a
Bump API, Compact<Index> support (#563)
* Bump API, Compact<Index> support

* Bump for 0.38

* Allow numberFormat to format Compact

* Re-instate new compact API

* Update static Vector display
2019-01-08 19:39:47 +01:00
Jaco Greeff
fef9f61c65
Use ApiPromise instance, replace ApiObservable (#540)
* Expose ApiPromise, cleanup API props

* WIP

* First component via ApiPromise

* More items via ApiPromise

* More robust availability handling

* Disable routes based on API endpoint checks

* Handle promises

* Low-hanging fruit for call conversion

* Remove extra params

* Adjust rx components with children props

* Start pulling in derived values

* Additional derived

* Bump

* More derived values

* Add derive.balances.fees

* Additional account lookups

* derive lookup for Id -> Index mappings

* Cleanups, accountIdToIndex

* Rework for new API

* Update deps, all-ok after API bumps

* Add voting and validating balances

* Cleanup callback

* Democracy wrap-up

* 2019

* withApiPromise -> withApiCall

* Calculate referendum number

* Fix balances, withObservableBase -> withObservable

* Cleanup with actual interfaces

* withApiCall -> withCall

* Bumps

* api-observable types replaced

* Half-effort to adjust extrinsic creation

* No api-observable refs anymore

* Cleanup storage query app

* Cleanup call

* Voting works...

* Add Vote component

* Update API
2019-01-07 17:54:01 +01:00
Jaco Greeff
f37056465f
Bump deps, subscription re-creation (#555) 2019-01-01 17:30:50 +01:00
Jaco Greeff
04d72bf5cf
Unknown to allow hex/bytes input (#545)
* Unknown to allow hex/bytes input

* Bump deps
2018-12-30 12:57:08 +01:00
Jaco Greeff
0257eaeae1
Allow custom type registration (#543) 2018-12-29 20:15:04 +01:00
Jaco Greeff
30f5d12bac
Log observable not being created, don't throw (#542)
* Log observable not being created, don't throw

* Bump deps
2018-12-28 17:20:02 +01:00
Travis CI
db88aac4e8 [CI Skip] 0.21.4 2018-12-26 14:22:56 +00:00
Jaco Greeff
cc01778ccf
Display last finalised block (#535) 2018-12-26 15:17:56 +01:00
Jaco Greeff
2215556de3
Bump deps, fix compact encoding (large values) (#533)
* Bump deps, fix encoding lengths

* Add next redirect (test)

* Typo
2018-12-25 14:55:09 +01:00
Jaco Greeff
4f96fc0d3f
Merge next into master (#529)
* Update API deps

* Duplicate new Api from api

* Explorer renders

* Cleanup trapping

* Allow Moment values

* Vector -> Array

* Add mapping FIXME

* Updates

* proposals -> publicProposals

* QueueTx

* nonce -> accountNonce

* Cleanup (some) naming

* FIXME

* Cleanups

* cmp & isZero on UInt

* WIP... storage dropdowns may work after latest API PR...

* Misplaced .public

* Update exposed methods

* Remove getBlock checks (available in poc-3)

* Align method/section

* Align with API (method)

* api-codec -> types

* Reanme API interfaces

* Type updates, still very much a WIP

* We have updating queries... without params

* Chainstate app is working

* Get rid of some params imports

* Cleanups

* Remove app-example... outdated, non-working

* Remove app-example link from README

* Additional cleanups

* InputRpc dropdowns working

* We can make transfers (Transfer app)

* Call doesn't encode toU8a

* Cleanup to use extrinsics from Api

* Remove references to @polkadot/params

* Update deps

* Submitting transactions hsould work in app-*

* Bump

* Extrinsics app renders

* Extrinsic app can transfer

* Adapt travis.yml

* Force things to pass checks...

* Update @polkadot/dev for gh-pages -> next

* Bump dev (hopefully now gh-pages deploy)

* Default theme

* Don't skip signer for sending

* Don't throw on unknown types

* Signer queue rework

* Render input params for rpc

* Explorer click-through working

* Update deps

* WIP#327 - app-accounts with ss58 address inputs

* transformtoss58 returns valid address or null

* syntax

* app-accounts

* app-democracy

* app-extrinsics

* app-rpc

* app-staking

* app-transfer

* Generate ui-identicon from ss58 as input

currently handling null address with null return - there should be a better way to do this but it "works".

* ui-app

adapt onChange Props params

* manage identities with ss58 addresses rather than u8a.

also currently handling null value input, should be a better way to handle this but currently "works".

* ui-signer use ss58 address in keyring

* ui-signer combine duplicate imports

* ui-signer signMessage with ss58 address

derive public key by decoding ss58 input

* use 'accountId' as variable name instead of 'ss58'

* Addressing some issues

* sanity check for accountId by decoding and checking public key

* allow u8a account id types for more flexibility around short address input types in the future

* throw error on generate identicon with empty seed

* fix: accountId over publicKey

Transactions work in extrinsics and transfers.

* fix linting errors in  rpc, addresses, transfer, identicon

* accountId in stakelist

* Allow file upload for Bytes

* Extrinsic change updates correctly, Params track codec instances

* Unused import

* Cleanup conflicts, linting

* [next] Display balance with μ, k & m (#350)

* Display balance with μ, k & m

* balanceFormat to handle UInt

* let -> const

* Format static Balance properly

* Take care of new extrinsics format

* m -> M (not mili, mega)

* [next] Proposals & democracy updates (#352)

* Update README.md

* Proposals actually submit (non-valid atm)

* New API package

* Promposal propose

* Poposal decoding

* Proposal & Referendums show up

* Formats

* Proposal & voting works as expected

* Staking works as expected

* Staking & Democracy fully operational

* Update package.json

* [next] Update API deps (#354)

* Update API deps

* Update type locations

* Update api deps

* [next] Add mnemonic support from keyring (#356)

* Add mnemonic support from keyring

* Bump @polkadot/api

* Bump dependencies (#358)

* [next] Add app-settings (#359)

* [next] Add app-settings

* Update deps, cleanups

* Re-encode address for adding

* Action for seedType selection

* Revert denominations (#360)

* [next] Dependency bumps (#362)

* Bump API decoding

* Bump deps

* [next] Chain configs (#361)

* Revert denominations

* Chain Id

* Distinct colours

* Cleanup options for settings

* Adjust tests aftrer colour change

* Gated on isConnected & isReady

* Allow selection/add of AccountIndex

* Remove examples (code removed already)

* Reverse Id <-> Index lookups

* Index reverse lookups

* Usable AccountIndex

* [next] Bump API (#363)

* [next] Merge master (#364)

* Update README.md

* Re-lock account only after save

* trying to get mapping of nominators correct (#346)

* trying to get mapping of nominators correct

* changed double quote to single

* Fix for disabled chain state button bug (#351)

* merge prev and next params on Selection key change

* build error

* [next] Balance formatting (#365)

* Update README.md

* Re-lock account only after save

* trying to get mapping of nominators correct (#346)

* trying to get mapping of nominators correct

* changed double quote to single

* Fix for disabled chain state button bug (#351)

* merge prev and next params on Selection key change

* build error

* Load order (we need chain)

* Dropdown for seed type selection

* Allow SI unit selection on number inputs

* Remove unused function

* Cleanup BalanceFormatter

* Fix tests

* [next] Bump API version (#366)

* Bump API version

* Proposal construction & chain units

* Update Extrinsic -> Call

* Pass correct call params

* Cleanup linting

* Re-encode address on loading

* Bump

* Lint fix.

* [next] Import from package indexes (#370)

* [next] Import form package indexes

* Update deps, fix Transfer balance checks

* Add error on unlock

* Save account with hex encoded (not address)

* Import InputAddress for swap

* Bump @polkadot/api (staking nominators show up)

* Align api & util deps

* Bump @polkadot/api

* [next] Bump API, adjust call/method (#372)

* Bump API, adjust call/method

* Add votes correctly to yay/nay

* [next] Local Testnet

* Don't link block 0

* [next] FF Warning message (#374)

* FF Warning message

* Bump deps, massage message a bit

* Bump deps

* i18next upgrade changes

* Bump yarn to 1.10.1 in engines, travis (#379)

* [next] submitAndWatchExtrinsic for transactions (#377)

* WIP: Replace submitExtrinsic with submitAndWatchExtrinsic

TODO:
* don't `complete` when calling send, rather update as update messages come in from API
* adjust queue statuses in UI with new Status codec type from API.

* update api wrapper for subscribeAndWatch

* Update index.tsx

* subscribe to updates

* remove unneeded subscribe

* display result type

* Wrap up submitAndWatch status display

* Status background colours

* Revert indent

* Queue status icons (#380)

* [next] Bump dependencies (#383)

* Bump dependencies

* Update mock creation

* Don't mangle classes via uglify (#384)

* [next] Update status overlay styling (#385)

* Update status overlay styling

* Adjust colours for status messages

* Slight padding adjustments

* [next] refactor: Create export index files in ui-react-rx/src/{with/util} for single line destructuring imports (#388)

* refactor: Create ui-react-rx/src/with index of exports. Import single line destructuring

* refactor: Create ui-react-rx/src/util index of exports. Import single line destructuring

* refactor: Use ui-react-rx/src/ index of exports. Import single line destructuring

* refactor: Refactor to use exported index

* refactor: Refactor to use another exported index

* fix: Add missing license headers. Avoid import from index in same location

* [next] Support latest substrate master (#390)

* Update deps (api, compact support)

* Bump deps

* Update deps

* Compact<BlockNumber> for Header

* Handle Compact<*> rendering

* Cleanup warnings

* Update deps

* Not perfect, but warn on (invalid) hashes for blocks

* [next] keyring classify (#393)

* refactor: reorder imports and props alphabetically

* fix: Make class methods private

* fix: Restrict user restoring account to select only .json. Add missing withLabel

* refactor: Replace onBack with onCreateAccount and onRestoreAccount

* fix: Show console.log of error in try/catch of Backup/Restore

* fix: accountAll is array of objects

* refactor: Move Backup keyring logic into ui-keyring

* refactor: Move restoreAccount logic into ui-keyring

* refactor: Move validatePass to ui-keyring as isPassValid with MAX_PASSWORD_LEN

* refactor: Issue #138 convert closure to separate function declare, call, export

* refactor: Issue #138 convert function to ES6 class object

* refactor: Move addPair, create, createMnemonic, restore, save into Keyring class

* refactor: Move backup/encrypt/forget account, get accounts, and save account meta functions into Keyring class

* refactor: Move get address/addresses, forget/save address, and save recent functions into Keyring class

* refactor: Move isPassValid, isAvailable functions into Keyring class

* refactor: Move loadAll into Keyring class

* refactor: Move much of ui-keyring/options into Keyring class

* refactor: Move private methods to top of class

* fix: fix: Prevent creating multiple instances of Keyring class

* Prevent creating multiple instances of Keyring class. i.e. the following does not create the second instance:

```
const keyringInstance = new Keyring();
const keyringInstance2 = new Keyring();
```

* References:
	* https://codepen.io/JoeCoulam/pen/mRqbzz
	* https://medium.com/@dmnsgn/singleton-pattern-in-es6-d2d021d150ae
	* https://stackoverflow.com/questions/26205565/converting-singleton-js-objects-to-use-es6-classes/26227662#26227662

* fix: Prevent calling initOptions of Keyring singleton multiple times

* the following calls to initOptions are prevented since initOptions called when instance created with by loadAll() function:

```
const keyringInstance = new Keyring();
keyringInstance.initOptions();
keyringInstance.initOptions();
```

* test: Add test for Keyring singeton instance check and so initOptions only callable once

* feat: Move Keyring options back. Remove singleton check. Move initOptions check. Only export Keyring instance

* Move keyring options back into options folder

* Remove checking if Keyring is singleton

* Move checking if initOptions called multiple times and associated tests out of Keyring and into options folder file

* Add type to pair to fix linting

* Remove exporting Keyring class, only Keyring instance is exported

* refactor: Class-ify the Keyring options directory into a class named

* fix: Store state outside of Keyring instance

* refactor: Move keyring state into Keyring class. Add getters and setters

* Move observable accounts and addresses into Keyring class.

* Rename KeyringInstance interface to KeyringStruct (similar to app-settings)

* Add getter for keyring, accounts, and addresses to Keyring

* Add setter for keyring

* Add AccountSubject type

* Fix State type to use AccountSubject instead of AddressSubject

* Small private member tweaks

* Rework (overzealous private members)

* Fix rename in test

* [next] Block explorer event display (#392)

* Update README.md

* Re-lock account only after save

* trying to get mapping of nominators correct (#346)

* trying to get mapping of nominators correct

* changed double quote to single

* Fix for disabled chain state button bug (#351)

* merge prev and next params on Selection key change

* build error

* Updated required Node version in README (#367)

The minimum Node version is 10.1.0 as specified in the package.json 'engines'. The installation fails if the node version is below that (eg. v10.0.0 ), that's why I changed it in the README

* Simple (unformatted) event display

* section, method + types

* Display events on explorer

* Styling & overflow fixes

* Fix linting issues

* Node 10.13.0 LTS

* Revert message on block, reduce flicker

* [next] Update nvmrc version. Add missing packages to Readme. Indicate LTS required (#395)

* docs: Fix typo in Readme

* fix: Update nvmrc to version in package.json

* docs: Add missing packages to Readme. Indicate that LTS is required

* Render logs in expanded block display (#396)

* [next] Cleanup staking list balance displays (#397)

* Cleanup staking list balance displays

* Don't naked map balances (params passed)

* Cleanup block display with cleaner formatting (#398)

* Only filter dev accounts when in dev (#401)

* [next] Move BIP generation to worker (UI responsiveness) (#400)

* Move BIP generation to worker (responsive)

* Test & cleanup via local prod build

* [next] Fix length encoding for uploaded Bytes (#405)

* Fix length encoding for uploaded Bytes

* Remove addressed FIXME

* Cleanup linting, adjust encoding via helpers

* [next] Handle null nonce in extrinsics (in addition to undefined) (#407)

* Handle null nonce (in addition to undefined)

* Adjust types for partials

* Helper for submit RPC

* [next] Highlight validators (#402)

* Add isHiglight to IdentityIcon

* Display validator highlight in Address{Row,Summary}

* Highlight validators in AddressMini

* Highlight validators in AddressInput

* Display zero balalnce as 0 instead of 0.000f (#408)

* Cleanup explorer header display (#410)

* [next] Align article headers (all h3, no extra classes) (#411)

* Align article headers (all h3, no extra classes)

* Adjust overflowing columns in explorer

* Adjust app contemnt to cover screen (#412)

* [next] Retrieve hash instead of calculating (slower) (#415)

* Retrieve hash instead of calculating (slower)

* Cleanups

* Allow raw-key queries via the storage app (#416)

[next] Allow raw-key queries via the storage app

* [next] Remove IdentityIcon bond dependencies (#419)

* Remove IdentityIcon bond dependencies

* Cleanup tests

* Update README

* Update header

* Update headers

* Catch & display observable status errors (#422)

* [next] refactor: Move backup/restore functionality to Keyring. See details (#386)

* refactor: reorder imports and props alphabetically

* fix: Make class methods private

* fix: Restrict user restoring account to select only .json. Add missing withLabel

* refactor: Replace onBack with onCreateAccount and onRestoreAccount

* fix: Show console.log of error in try/catch of Backup/Restore

* fix: accountAll is array of objects

* refactor: Move Backup keyring logic into ui-keyring

* refactor: Move restoreAccount logic into ui-keyring

* refactor: Move validatePass to ui-keyring as isPassValid with MAX_PASSWORD_LEN

* fix: Change allAccounts type to SubjectInfo

* refactor: Example with clearer usage of  for React Dropzone

* [next] refactor: Issue #138. Convert closure into ES6 class object. Move methods into class (#387)

* refactor: Issue #138 convert closure to separate function declare, call, export

* refactor: Issue #138 convert function to ES6 class object

* refactor: Move addPair, create, createMnemonic, restore, save into Keyring class

* refactor: Move backup/encrypt/forget account, get accounts, and save account meta functions into Keyring class

* refactor: Move get address/addresses, forget/save address, and save recent functions into Keyring class

* refactor: Move isPassValid, isAvailable functions into Keyring class

* refactor: Move loadAll into Keyring class

* refactor: Move much of ui-keyring/options into Keyring class

* refactor: Move private methods to top of class

* fix: fix: Prevent creating multiple instances of Keyring class

* Prevent creating multiple instances of Keyring class. i.e. the following does not create the second instance:

```
const keyringInstance = new Keyring();
const keyringInstance2 = new Keyring();
```

* References:
	* https://codepen.io/JoeCoulam/pen/mRqbzz
	* https://medium.com/@dmnsgn/singleton-pattern-in-es6-d2d021d150ae
	* https://stackoverflow.com/questions/26205565/converting-singleton-js-objects-to-use-es6-classes/26227662#26227662

* fix: Prevent calling initOptions of Keyring singleton multiple times

* the following calls to initOptions are prevented since initOptions called when instance created with by loadAll() function:

```
const keyringInstance = new Keyring();
keyringInstance.initOptions();
keyringInstance.initOptions();
```

* test: Add test for Keyring singeton instance check and so initOptions only callable once

* feat: Move Keyring options back. Remove singleton check. Move initOptions check. Only export Keyring instance

* Move keyring options back into options folder

* Remove checking if Keyring is singleton

* Move checking if initOptions called multiple times and associated tests out of Keyring and into options folder file

* Add type to pair to fix linting

* Remove exporting Keyring class, only Keyring instance is exported

* refactor: Class-ify the Keyring options directory into a class named

* fix: Store state outside of Keyring instance

* refactor: Move keyring state into Keyring class. Add getters and setters

* Move observable accounts and addresses into Keyring class.

* Rename KeyringInstance interface to KeyringStruct (similar to app-settings)

* Add getter for keyring, accounts, and addresses to Keyring

* Add setter for keyring

* Add AccountSubject type

* Fix State type to use AccountSubject instead of AddressSubject

* Small private member tweaks

* Rework (overzealous private members)

* Fix rename in test

* merge latest from next. fix merge conflicts

* fix linting error

* fix: Remove unncessary code

* Bump API version (bugfixes) (#424)

* [next] Apply fee color classes correctly (#426)

* Apply fee color classes correctly

* Class ordering

* Adjust menu & IdentityIcon styling (#427)

* Cleanup proposal & referendum display (#429)

* [next] Cleanup Referendums & voting process (with Vec<KV>) (#431)

* Cleanup Referendums & voting process (with Vec<KV>)

* Remove FIXME (addressed)

* [next] Cleanup styling (#428)

* Adjust backgrounds to be slightly darker

* Cleanup validator/intentions lists

* update readme reflect removal of ui-react (#434)

* moved shared function to parent (#404)

* moved shared function to parent

* lint

* remove balance array dance

* lint

* Bump deps, metadata parsing (#436)

* article styling updates (#437)

* [next] Merge master, param change update (#438)

* Marge master, param change update

* Tie params to section.method

* [next] autoFocus app fields (#439)

* autoFocus app fields

* Toolbox autoFocus

* Cleanup warnings in staking nominate

* Align borders

* Remove unused var

* [next] Revert menu border override (#440)

* Revert menu border override

* Revert article single border

* Menu background

* Align grays

* Lighten content background

* [next] Support dynamic Tuple & Array inputs (#441)

* Allow Tuple value entry

* Fire Param events

* Remove extra debug log

* Allow entry of Array<*>

* Bump deps

* Bump deps (API d.ts fixed)

* [next] Display intention/validator name in staking list #303 (#448)

* Added getAccount() method to ui-keyring package

* Added getDisplayName function for staking accounts/ addresses

* removed deprecated argument from earlier approach

* formatting (added empty line)

* Removed unnecessary typecheck & encoding from getAccount(),

* Added getAccount to types.d.ts

* removed space

* changed type of `address` to string (failing build fix)

* [next] Backup warning modal on account creation #394 (#447)

* Added address summary and auto-download of backup file to 'create'-modal

* Removed deprecated code after falsy merge

* Fixed typo Plesae -> Please

* Move check for whenCreated property from saveAccount to separate method

* removed unnecessary return statement

* grammar fix 'was' -> 'is'

* Added Highlight to Modal class, styling adjustments

* removed surrounding <p> in modal content

* Changed Modal.Highlight to built in MUI Modal.Description

* renamed translation key of Modal.Description

* Moved timestamp creation back to save Account

* [next] Explicit Identityicon prefix (#446)

* set IdentityIcon default prefix

* Update with import from keyring

* Rework encoding/decoding of addresses

* Update keyring deps

* [next] Bump deps (#449)

* Bumpo deps, work around i18next definitions being wonky (again)

* Cleanup yarn.lock

* [next] add user notifications in App-Accounts (#391)

* add toaster for app-accounts status changes

* status notifs

* linter

* lint

* refactor with addressmini

* remove debugger statement

* fixintl, status obj creation pattern

* lint

* Track events globally, alert use (notification pop-up)  (#413)

* move Status component to ui-app

* move status stuff up the component tree

some more generalizations with action types

* global status

currently works in app-accounts and ui-signer

* I18n and linting

* lintlint

* style

* add notifs to app-address

* status notifs with backup, changepass

* addresses unnecessary translates

* lint

* Fix merge

* Vector should not render add/remove in isDisabled mode (#452)

* [next] Bump API version (#455)

* Bump API version

* Bump deps

* Update README and LICENSE

* Bump dependencies

* [next] Track extrinsics, don't allow until accountIndex is updated (#406)

* dont allow queueing until accountindex increments

* WIP: deny txn submit before account nonce increments

* readding blocked extrinsics to the queue. Still need to properly set the accountNonce though

* queue unclog

* remove unnecessary _this=this scoping dance

* Moving the need for `?:` to a separate issue

* update types to match codec, account for different accountid with same nonce

* Fix toString for undefined (#456)

[next] Fix toString for undefined

* [next] Cleanup translate HOC definitions (#457)

* Cleanup translate HOC definitions

* Alignment

* [next] Bump API for Grandpa compat (#461)

* Bump API for Grandpa compat

* Update types for new API

* [next] Handle byte display consistently (#463)

* Handle byte display consistently

* Chack blocked status against completed status

* Bump

* Democracy countdown (lauch & voting) (#464)

* Bump API to handle StorageData -> Bytes with prefix (#466)

* Bump dependencies, align with stricter TS checks (#467)

* Only remove local files, not nested (#468)

* Bump api deps (#469)

* Display nonce via toString(), cleanup blocked checks (#470)

* [next] Bump deps, update with linting rules (#472)

* Bump deps, update with linting rules

* Update root package config

* Revert testing ruleset config

* Update tslint config pulling in dev-react

* Bump deps with UI packages, remove now unused eslint config (#474)

* Move types.d.ts -> types.ts (#475)

* [next] Bump dependencies (#481)

* Bump deps

* Bump deps

* Cleanup lintin issues with 3.2.1

* Bump @polkadot/api with Tuple map support

* Format JSON results from RPC app

* [next] Make settings accessible from non-running node (#484)

* Add onCopy to IdentityIcon

* Allow settings to be accessible when no node

* Proper license naming for identicon (#488)

* [next] Split ui-{identicon,keyring,settings} into ui repo (#491)

* Split ui-{identicon,keyring,settings} into ui repo

* Correct settings import from ui-app

* Use @polkadot/ui-* split from npm

* Update with latest @polkadot/ui

* Migrate to travis-ci.com, bump deps

* Change non-local imports to direct

* #459 Add spread and copy buttons for substrate.code query (#465)

* #459 Add spread and copy buttons for substrate.code query

* fix code style checks

* render spread&copy buttons for all queries which produce byte code

* Type and name refinement

* #459 A first revision where spread functionality for Byte queries is implemented

* remove state property

* Review fixes

* Review fixes

* break query output for overflowing content

* call valueToText with -1

* Fix linter issue

* [next] Global shared status queue and consumer (#490)

* Global shared status queue and consumer

* Bump deps

* Adjust styling

* Remove copy (unimplemented), spread & concat

* [next] Display received events (balalnces.Transfer atm) (#494)

* Display received events (balalnces.Transfer atm)

* Cleanup Status class

* Keys for values in Vector

* Extra information on address decode errors (#495)

* [next] Cleanup React & API errors (#498)

* Cleanup React & API errors

* Revert value override, breaks input

* InputNumber does not switch between controlled and uncontrolled

* Status has key for entries

* Adjust receive icon

* Bump dependencies, cleanup Unknown types (#499)

* Bump dependencies, cleanup Unknown types

* Cleanup status styling, icon stretch

* [next] fix: Fixes #493. Contain logs digest item within div (#497)

* fix: Fixes #493. Contain logs digest item within div

* refactor: Remove monospace and drop-down css. Add only wrapping and space between elements

* fix: Remove AuthoritiesChange, forgotten how that got there, but not required

* Allow onCopy Status for IdentityIcon (#501)

* Allow onCopy Status for IdentityIcon

* Clanup same-package imports

* [CI Skip] Update .codeclimate.yml (#502)

* [next] Bump dependencies (#503)

* Bump dependencies

* Bump dependencies

* Downgrade react-dropzone (8.x has new context API)

* Bump deps (API types fix)

* Cater for check where key has no meta (#504)

* Align number inputs to 0 defaults (#506)

* fix InputAddress display (#509)

* [next] Bump dependencies (#512)

* Bump dependencies

* Don't change status (flicker) when completed

* Expand status timeout

* Pull svg from ui-assets (#513)

* [next] Read chain properties, inject (#514)

* Read chain properties, inject

* Linting

* Bump deps (#520)

* Bump deps

* ... and include lockfile

* [next] Support latest Polkadot types (#523)

* Bump deps, latest Polkadot types

* Rendered for ParaId

* [next] Charred Cherry support (#522)

* Charred Cherry support

* Update deps to include CC

* Update injection & new method interfaces

* Naming, extrinsic vs method

* Update ExtrinsicStatus results

* Bump deps

* [next] launguage -> language (#524)

* [next] Bump deps, support latest metadata struct (#525)

* Bump deps, support latest metadata

* Bumpdeps

* Bump dev

* Bump local deps

* Display target period * 2 (#526)

* Alexanber support (#528)

* Bump API

* Bump deps

* Fix referendums, chain id for Alexander

* Bump deps
2018-12-21 17:17:26 +01:00
Jaco Greeff
818dfb2498
Account backup & restore functionality (#333)
* Account JSON backup & restore

* import isObject from correct package

* Fix isLocked logic

* Add "or"
2018-09-26 20:24:43 +02:00
Jaco Greeff
65bc158582
Cleanup app-accounts, align with addresses (#331)
* Cleanup app-accounts, align with addresses

* Remove 'restore' action (copy gone wrong)

* Bump dependencies

* Bump deps (again, api was not included properly...)
2018-09-21 10:33:39 +02:00
Jaco Greeff
2aea3178bf
Update Api, remove poc-1 compatibility (#318)
* Update Api, remove poc-1 compatibility

* Update deps
2018-09-18 10:31:48 +02:00
Jaco Greeff
fa8fff639f
Format submitMessage output in a usable format (#298)
* Format submitMessage output in a usable format

* Bump deps
2018-09-13 13:56:20 +02:00
Jaco Greeff
416d7bbb16
Parity Substrate theming (#296)
* Parity Substrate logo (THEME)

* Remove unused type

* Adjust page title based on theme

* Allow theme overrides

* Allow theme overrides on Modals

* Remove debug console log

* Page title hangs off renamed UI_THEME

* FIXME for Identicon

* UI_MODE removal of apps

* Update deps (after merge)

* Bump deps
2018-09-13 13:10:31 +02:00
Jaco Greeff
73a2aa6879
Basic transfer app (#293)
* Update dependencies

* Add transfer app skeleton

* Basic transfer app

* Bump versions

* Remove unneeded prop

* Fix app-transfer not found (CI, due to version bump)

* Display reserved balance message

* Misplaced debug log

* Display no-effect warning

* Remove FIXME TODO (done)
2018-09-11 09:08:31 +02:00
Jaco Greeff
725b5d98eb Bump dependencies 2018-09-07 11:58:19 +02:00
Jaco Greeff
ebe9cac14d
Staking storage updates (#285)
* storage -> state

* Update dependencies

* Ensure key triggers Params value update
2018-09-05 16:46:06 +02:00
Jaco Greeff
ab569c6911
Fix AccountId display in labels (#281)
* Fix AccountId display in labels

* Trim InputAddress query values

* Add cursor: copy to CopyButton
2018-09-04 15:38:20 +02:00
Jaco Greeff
c9b2bfbc57
Update dependencies (missing staking methods) (#279) 2018-09-04 10:25:30 +02:00
Jaco Greeff
444bb4ea9c
yay -> aye in democracy (#275)
* yay -> aye in democracy

* Upgrade polkadot-identicon
2018-09-03 15:06:21 +02:00
Jaco Greeff
261e547264
Bring back chain_getBlock checks (disabling on explorer) (#247)
* Bring back chain_getBlock checks (disabling on explorer)

* Update deps, auto-adjust SideBar width

* Simplify info display
2018-08-22 11:02:07 +02:00
Jaco Greeff
aa9fe88ed0 Update dependencies 2018-08-21 15:53:59 +02:00
Jaco Greeff
a6715a974e
Fix encoding to allow both poc-1 & poc-2 blocks (#234) 2018-08-17 10:40:35 +02:00
Jaco Greeff
682331e793
Display justifications for block click-through (#230)
* Display justifications for block click-through

* >25/25 display
2018-08-16 22:52:01 +02:00
Jaco Greeff
39fb78afd4
Retrieve block information (#229)
* Retrieve block information

* Render unknown addresses

* Don't render extrinsics count (getBlock) if not needed

* Fix dep versions
2018-08-16 17:35:32 +02:00
Jaco Greeff
97ef5548c9 Update dependencies 2018-08-16 13:38:25 +02:00
Jaco Greeff
6da7153446 Update dependencies 2018-08-16 11:14:18 +02:00
Jaco Greeff
a817db5fe2
Pull in new subscription API (tracking subs per method) (#227)
* Pull in new subscription API (tracking subs per method)

* Add apiMethods (support checks)

* Quick (not dirty) extrinsic count
2018-08-15 18:16:57 +02:00
Jaco Greeff
4484883afc
Basic democracy (Referendum) overview (#216)
* Basic democacry (Referendum) overview

* Summary in-place

* Fix package name

* Proposals & Referendums are showing up

* Some basic Extrinsic formatting. (WIP)

* Basic referendum/proposal summary in place

* Referendum outcome chart

* Voting in place. It works.

* Remove extra console.log/error

* Only show balances as label
2018-08-15 10:35:53 +02:00
Jaco Greeff
46a48539b7
Additional block production overview on explorer (#212)
* Cleanup Card layouts

* Additional block production overview on explorer

* Adjust Card padding for accounts

* Observable calculations into ApiObservable

* DRY-er combineLatest + .pipe(map(...))

* .pipe(map(...))

* Progress takes value + total, auto-colors

* CardSummary with Progress

* Small style updates

* Cleanup withApiObservable (optional value name)

* Cleanup progress props

* Cleanup rpc method use

* Auto-set the prop from withStorage

* Cleanups in observable use

* Cleanups to layout

* Initial bestNumber

* Poll for changes in ApiObservable

* WIP (debug)

* Initial conversion (untested) or subscribeStorage

* s/apiObservable/observable/

* Starting to show stuff (after storage subscriptions). WIP.

* Staking UI works, still WIP on rest.

* Readability

* Storage withObservableDiv, Closes https://github.com/polkadot-js/apps/issues/215

* Add encoding FIXMEs

* 'nominee' on set click

* Align withObservable with others (single line)

* Retrieve ss58 encoded AccountId from storage

* Update with latest api (null/undefined storage distinction)
2018-08-13 12:05:11 +02:00
Jaco Greeff
391557dfc2
Detect nonce === null, set as new BN(0) (#213)
* Detect nonce === null, set as new BN(0)

* Cleanup previous hacks for null

* Bump common & api

* Bump dependencies

* Bump dependencies
2018-08-10 15:15:18 +02:00
Jaco Greeff
108f629692 Bump polkadot-identicon 2018-08-10 12:30:56 +02:00
Travis CI
6b5d7b9ea1 [CI Skip] 0.19.25 2018-08-08 21:00:19 +00:00
Jaco Greeff
46af1e3497
Swap to polkadot-identicon (#207)
* Swap to polkadot-identicon

* Delete index.spec.js

* Delete index.spec.js
2018-08-08 22:54:50 +02:00
Jaco Greeff
fb9c0f7f0b
Format stakingBalance as votingBalance + nominatingBalance (#204)
* Format stakingBalance as votingBalance + nominatingBalance

* Fix version number change (revert)

* Bump api 0.15.x: rxjs 6 & class-ified providers

* API bump

* Type cleanup

* Update version of packages

* RxJs 6 style Observable imports

* Remove ZERO const
2018-08-08 02:12:30 +02:00
Jaco Greeff
278ca13812
Update util-keyring, pair.hasSecretKey -> pair.isLocked (#200)
* Update util-keyring, pair.hasSecretKey -> pair.isLocked

* Fix decrementing versions manually

* Update deps
2018-08-06 21:48:05 +02:00
Jaco Greeff
4f8c5d3bc4
Storage keys update (polkadot/storage dep update) (#181)
* Update dependencies

* Update chenged storage keys
2018-08-03 14:14:40 +02:00
Jaco Greeff
88b7190c2b Bump deps 2018-08-03 09:50:01 +02:00
Jaco Greeff
cf8a24a8da
Staking overview & actions (#171)
* Staking overview & actions

* Show session countdown

* Accounts with stake/Unstake buttons

* Small layout tweaks

* Cleanup multi-params from storage

* Submission/click works...

* Cleanups

* Render split

* Case sensitivity

* Doc links

* Icon to indicate validating
2018-08-02 17:15:07 +02:00
Jaco Greeff
1ea1e193c6
sodium-wasm support (#170)
* sodium-wasm support

* Update deps
2018-08-02 07:34:39 +02:00
Travis CI
ea523021ce [CI Skip] 0.19.8 2018-07-31 09:13:11 +00:00
Jaco Greeff
d8d9564503
Fix yarn run vanitygen (#167) 2018-07-31 11:07:50 +02:00
Jaco Greeff
dec2432956 Bump deps 2018-07-30 12:07:04 +02:00
Jaco Greeff
613c10a455 Bump deps 2018-07-30 11:48:29 +02:00
Jaco Greeff
1a00af0626 Update deps 2018-07-29 16:28:12 +02:00
Jaco Greeff
ed97c6c4aa
Bump api (params: null revert) (#157) 2018-07-23 17:54:22 +02:00
Jaco Greeff
d4ad240462 Bump deps, staking.(un)nominate 2018-07-23 16:31:44 +02:00
Jaco Greeff
2dccb5959f
Update deps, fix formatting, parachain priv methods (#156)
* Update deps for empty params

* Bump deps

* Render ParachainId
2018-07-22 14:05:38 +02:00
Jaco Greeff
7e1b5b1ab6 Bump deps 2018-07-15 18:01:01 +02:00
Travis CI
a186eb2c3d [CI Skip] 0.18.20 2018-07-13 09:32:39 +00:00
Jaco Greeff
67691af8c3
Update Referendum text display (#145) 2018-07-13 11:26:56 +02:00
Jaco Greeff
433749524c
Wrap SideBar items in withRouter (#150) 2018-07-13 11:06:50 +02:00
Travis CI
7c912a2cde [CI Skip] 0.18.17 2018-07-13 05:45:13 +00:00
Travis CI
6a694f7c5b [CI Skip] 0.18.16 2018-07-12 17:49:31 +00:00
Jaco Greeff
b5c4bc0122
Expand/simplify example: getStorage with keys definitions (#137)
* Update dependencies

* Update examples with simplified storage

* Update dependencies

* Revert tsc location override (check)

* Update dependencies
2018-07-12 19:44:00 +02:00
Jaco Greeff
84e5ab8cbb
Fix index change not updating for 0 (#142)
* Fix index change not updating for 0

* Update resolutions
2018-07-12 17:48:22 +02:00
Jaco Greeff
5dc348304c
Encode consensus.setStorage(KeyValueStorage[]) (#131)
* Start of override KeyValueStorage

* All Upload of KV storage data

* Update dependencies

* KV parse & submission

* Cleanup display of storage queries

* Bump dependencies (incl. KV decoding fix)
2018-07-11 17:19:56 +02:00
Jaco Greeff
349c35cf41
Fix extrinsic submissions (#111)
* Update parent when values have changed

* Fix linting

* Cast for correct signature

* Cater for correct "Bytes" for submitExtrinsic
2018-06-28 17:19:18 +02:00
Jaco Greeff
f523383216
Add TSLint (#106) 2018-06-27 12:43:07 +02:00
Jaco Greeff
6cafd1492a Update dependencies 2018-06-26 17:43:45 +02:00
Jaco Greeff
f2d234b591
Fix parameter updates (#105) 2018-06-26 12:10:41 +02:00
Jaco Greeff
078e2e431a
Support enumerable accounts (#102)
Covert to TypeScript
2018-06-25 18:02:47 +02:00
Travis CI
5b87995d14 [CI Skip] 0.17.12 2018-06-13 14:49:34 +00:00
Jaco Greeff
cacc08b93c Update dependencies 2018-06-12 13:34:07 +02:00
Jaco Greeff
e77363ba1b
Upgrade dependencies (#87)
* Upgrade dependencies

* Update getting started

* Attemp test-case for https://github.com/polkadot-js/apps/issues/81

* Fix small typos
2018-06-11 18:05:23 +02:00
Jaco Greeff
e55f10e8d8
Fix array type display (#69) 2018-05-31 13:59:00 +02:00
Jaco Greeff
f0a8370ea2 Update dependencies 2018-05-29 19:55:05 +02:00
Jaco Greeff
ba36eede0b
Include ui-* packages in repo (development speed) (#65)
* Include ui-* packages in repo (development speed)

* Bump

* Bump

* Cleanup dependencies
2018-05-29 17:33:29 +02:00
Jaco Greeff
fa47246874 Update dependencies 2018-05-29 16:39:17 +02:00
Jaco Greeff
a4531a50d6
Update for latest @polkadot/params (#64)
* Update for latest @polkadot/params

* Allow passing in of WS_URL environment

* Cleanup block display

* Update dependencies
2018-05-29 14:34:23 +02:00
Jaco Greeff
540a39ff48
Use apiSupport & apiConnected from withApi (#63) 2018-05-28 22:31:24 +02:00
Jaco Greeff
4790214a24
Support both poc-1 & latest encodings (#62)
* Support both poc-1 & latest encodings

* v.
2018-05-28 18:43:14 +02:00
Jaco Greeff
69d0985410
Cleanup type definitions (#59)
* Cleanup type definitions

* Update dependencies

* Update depnedencies
2018-05-27 18:54:24 +02:00
Jaco Greeff
07f2a1ae07
Use componentDidUpdate for change triggers (#57)
* Use componentDidUpdate for change triggers

* Update dependencies
2018-05-25 16:05:01 +02:00
Jaco Greeff
c99a119878
Move Balance -> u128, Index -> u32 (#56)
* u128 balances operational

* Allow app build (from src)
2018-05-25 14:26:56 +02:00
Jaco Greeff
99b188bf5d
Update dependencies, cleanup app-rpc results (#55)
* Align with upstream types

* Fix app-rpc outputs
2018-05-24 18:04:49 +02:00
Jaco Greeff
397dd0c983
Update jsonrpc dependency tree (#54)
* Use tyopeToString from @polkadot/params

* Upgrades... before checks

* Cleanups... WIP.

* more WIP.

* Expand defaultValue & handlers

* Cleanups

* CodeClimate cleanups

* Additional CodeClimate cleanups

* Base for app-rpc

* Initial split into ui-signer

* Signer operational (extrinsics)

* Decode extrinsic method

* RPC progress...

* RPC class works again

* @flow cleanups
2018-05-23 18:01:42 +02:00
Jaco Greeff
a2fea201ac
Fix block sorting when numbers change (#53)
* Fix block sorting when numbers change

* Formatting

* Update @polkadot/dev (bn.js type fix)
2018-05-17 15:51:43 +02:00
Jaco Greeff
6753dc0ad2
Use @babel 7 (#52)
* Use @babel 7

* Use @babel 7

* Use custom webpack config

* Minify input css

* Remove @flow header form webpack.config

* Webpack config re-usable

* Split with vendor/main bundles

* Use hash for main entry, specify chunkHash

* Import base postcss config

* Hashing uses blake2

* Align number formats

* Use contenthash fro extracted css

* Format number directly

* Split runtime (better caching)
2018-05-17 14:51:41 +02:00
Jaco Greeff
5f884c4b65
Add utility/toolbox app (#51)
* Upgrades

* Add & use Output component

* Render app in content

* Use update @polkadot/dev-react

* Add app-toolbox

* DRY className concat

* Hashing in place

* Verify signature operational

* Entry updates

* Verification operational

* Final cleanups before PR

* Bump version
2018-05-15 16:58:32 +02:00
Jaco Greeff
a940292287
Convert to @polkadot/param formatters (#49)
* Convert to @polkadot/param formatters

* WIP

* Renderinbg operational

* Update with checks

* Show 'empty' with no array values

* Pass-through label properly

* Pass through isDisabled property
2018-05-14 17:43:22 +02:00
Jaco Greeff
0eab4f6f22
Basic address management app (#38)
* Update vanity regex (no 'I')

* Allow copy of generated seed

* Update connecting info

* ui--form -> ui--row

* Cleanup layouts with ui--row

* negative -> default (non-removal)

* Embedded rows don't have padding

* Allow ability to hide address

* Adjust button layouts

* Make account edit/create (slightly) prettier

* @flow fixes

* Some spacing adjustments

* Outline ofg the addressbook app

* Address create & edit operational

* @flow fixes

* Small UI cleanups, done as a first round
2018-05-11 09:20:44 +02:00
Jaco Greeff
6006749297
Split UI-specific keyring into own package (#36)
* Swap to using split-out ui-keyring

* First part of split into ui-keyring complete

* Create/Edit account operational

* Cleanup keyring display

* InputAddress defaultValue
2018-05-10 09:52:49 +02:00
Jaco Greeff
52df94d58c
Node use libsodium bindings (optional) (#32)
* Node cli improvements

* Extra cli options

* Allow withCase from UI

* Text updates
2018-05-09 14:21:42 +02:00
Jaco Greeff
4cec0ec5ea
Toy vanity address generator (#31)
* Basic vanity address generator

* Node operations moved to cli completely

* Cleanups

* cli progress
2018-05-09 12:39:55 +02:00
Jaco Greeff
dfaddef7eb
Basic account management app (#29)
* Basic account management functions

* Allow dividers

* Use dividers to split menu

* Bump

* Basic cleanups
2018-05-08 17:47:34 +02:00
Jaco Greeff
724e1e1b3d
Basic parameter passing with storage (#28)
* Basic parameter passing with storage

* Add GH link

* Cleanup param formatting
2018-05-07 17:36:32 +02:00
Jaco Greeff
19495e590e
Use ui-react-rx & api-rx packages (#27)
* Use ui-react-rx & api-rx packages

* Install
2018-05-07 12:54:51 +02:00
Jaco Greeff
072c5d73f1
Simplify app using setState (#23)
* Remove extra subjects from app-explorer

* Use bs58 addresses

* Base upgrades subject -> onChange

* app-storage & app-explorer works

* Remove useless placeholder

* Progres...

* Rename Submission -> Selection

* Baby steps... things display now...

* setState operational

* Explicit onChange

* Work around eslint issues (!!!)

* @flow fixes

* Small styling updates

* Small app content styling updates

* Simplify
2018-05-07 11:37:06 +02:00
Jaco Greeff
49cd48a07b
Use bs58 address display format (#22)
* Remove extra subjects from app-explorer

* Use bs58 addresses
2018-05-05 21:36:05 +02:00
Jaco Greeff
da5c28faa6
Fix extrinsic proposals (#15)
* Fix file upload size

* Extrinsics should extrinsic again
2018-05-05 13:20:23 +02:00
Jaco Greeff
a5607ac90e
App for realtime storage queries (#11)
* Create app-storage structure

* Split shared components into ui-react-app

* Cleanup @flow issues

* Rename apps classes

* Split with ui-react-app operational

* Import es semantic-ui

* Selection section/key split into 2

* Basic storage queries (no-params) in-place

* Upgrades

* No-param queries operational

* Default values operational (dropdown)

* Additional cleanups, constrolled value

* @flow updates

* @flow fixes

* Move Params to ui-react-app (future-use in app-storage)

* Fix final @flow issues

* Query removal

* Cleanups

* Update README

* Upgrades

* Fixup cached components

* Bump @polkadot/rx-react

* Simple explorer animations

* Additional (final) cleanups
2018-05-04 15:07:44 +02:00
Jaco Greeff
2206d30f69
Allow setCode file uploads (#10)
* File upload (setCode)

* Cleanup Param types
2018-04-30 11:35:23 +02:00
Jaco Greeff
b71e029cc8
Round out available extrinsic methods (#8)
* Expand methods

* Remove extra params label

* Move shared extrinsic definitions

* Split extrinsics into own packages

* Update entry location

* Include all method calls

* Expand to include all extrinsics

* Cleanup extrinsic definitions

* Build folder change
2018-04-29 16:52:55 +02:00
Jaco Greeff
83d551309b
Plumbing for gh-pages (#6)
* Add homepage URL

* Allow deployment to gh-pages branch

* Bump @polkadot/dev (with deploy:ghpages)
2018-04-26 11:59:29 +02:00
Jaco Greeff
3377c9f791
Build all packages (#5)
* Build all packages

* Cleanup package.json config (allow publish)

* Fix build with React
2018-04-25 17:13:19 +02:00
Jaco Greeff
ad5cf04b07
Update rx-react/rx-api packages (16.3 compliant) (#4)
* Update rx-react/rx-api packages (16.3 compliant)

* onChange & subject is optional

* Cleanup translations

* Clean up logging

* Upgrades

* Use yarn on Travis

* install -> add

* No lerna global install

* Ignore engines

* Update dev

* Final dependency bumps

* Simplify travis.yml more
2018-04-25 16:45:14 +02:00
Jaco Greeff
6631261ed9
Connecting overlay (#3)
* NotFound translatable

* Connecting overlay

* Update rx-react (proper state management)

* Use i18n-next everywhere

* @flow updates
2018-04-24 17:02:44 +02:00
Jaco Greeff
d589964bf2
Simple block exploration app (#2)
* Updates

* s/app-testing/app-extrinsics/

* Run components as apps using url

* Redirect to /home

* Expand Portal with NotFound app component

* New block numbers & hashes are being shown

* Only display best block once

* best block -> best

* TODO for calcHash

* Explorer aligns with blockNumber/hash

* Break signing into seperate modal

* Cleanups with @flow

* Adjust Dropdown for methods

* Remove (for now) unused app-home

* Update deps
2018-04-23 17:25:00 +02:00
Jaco Greeff
6ccef75454 First-pass on submission there 2018-04-19 17:29:25 +02:00
Jaco Greeff
c13a12c1a7 flow fixes 2018-04-19 14:29:07 +02:00
Jaco Greeff
e7fa6e8e1f Submission ... working... 2018-04-19 13:17:55 +02:00
Jaco Greeff
c550c88a06 Simplify address determination 2018-04-19 12:46:51 +02:00
Jaco Greeff
18e90dbef2 Reformatting 2018-04-19 09:25:27 +02:00
Jaco Greeff
2e7c858ce9 Nonce displayed & updated 2018-04-18 16:44:20 +02:00
Jaco Greeff
c4dcc9bb4a Basic transfer options on-screen 2018-04-18 11:27:55 +02:00
Jaco Greeff
d85ce9c263 Initial commit 2018-04-17 17:02:30 +02:00