Commit Graph

790 Commits

Author SHA1 Message Date
Github Actions
3a1a5ba0bf [CI Skip] release/beta 0.36.2-13
skip-checks: true
2021-01-26 14:26:16 +00:00
Thibaut Sardan
252244ea27
add chains in metadata (#632) 2021-01-26 15:21:50 +01:00
Github Actions
aa8c45584a [CI Skip] release/beta 0.36.2-12
skip-checks: true
2021-01-25 18:45:16 +00:00
Thibaut Sardan
e8c1dc17f9
allow giving a name to ledger (#630) 2021-01-25 19:40:46 +01:00
Github Actions
0be8eede1f [CI Skip] release/beta 0.36.2-11
skip-checks: true
2021-01-25 17:25:15 +00:00
Thibaut Sardan
2b9274c40f
Add network selector when importing an account with mnemonic, and refactor (#627)
* add network selector and refactor

* fr trad that didnot apprear before

* with useRef

* font-size

* nit still failing

* and that work .. but not what I need

* giving up on the test :(
2021-01-25 18:20:35 +01:00
Github Actions
153c691057 [CI Skip] release/beta 0.36.2-10
skip-checks: true
2021-01-24 16:42:46 +00:00
Jaco Greeff
49561260a0
Bump deps (w/ Webpack cleanups) (#629) 2021-01-24 17:38:33 +01:00
Github Actions
04d143cdff [CI Skip] release/beta 0.36.2-9
skip-checks: true
2021-01-22 13:27:50 +00:00
Thibaut Sardan
ef9ac7b941
Fix toggle offset when the dropdown has a label (#626)
* fix toggle offset

* and a forgotten trad

* and a forgotten trad
2021-01-22 14:23:46 +01:00
Github Actions
9040a4bb09 [CI Skip] release/beta 0.36.2-8
skip-checks: true
2021-01-21 20:08:27 +00:00
Thibaut Sardan
027147885c
Update FR translation (#625)
* fr translation

* typo
2021-01-21 21:04:21 +01:00
Github Actions
3cf585f89e [CI Skip] release/beta 0.36.2-7
skip-checks: true
2021-01-21 14:26:22 +00:00
Thibaut Sardan
8d351e06c4
Ledger nano support (#624)
* networks

* bump

* wip

* settings checkbox

* add @polkadot/networks and hw-ledger

* bump

* wip

* better error

* cleanup

* icon, cannot change genesis, tests for address and account

* clean workflow with refresh

* bump keyring

* I said bump keyring

* Add siging - unexpected call index

* can sign

* refactor

* refactor useLedger

* better error

* first time flow in a new window

* stray comments

* cleanup

* useless rerendering because of t :|

* Apply suggestions from code review

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* number casting after select

* Apply suggestions from code review

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* address comment

* parenthesis

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-01-21 15:22:28 +01:00
Github Actions
fa2a6e7636 [CI Skip] release/beta 0.36.2-6
skip-checks: true
2021-01-14 16:48:52 +00:00
Thibaut Sardan
0eec750e0a
Bump deps (#623)
* networks

* bump

* fix build
2021-01-14 17:44:32 +01:00
Github Actions
a548ea7bdb [CI Skip] release/beta 0.36.2-5
skip-checks: true
2021-01-14 12:58:36 +00:00
Thibaut Sardan
56d9554e73
Prevent from typing a derivation with ///password since it is ignored (#622)
* implementation and test

* Update packages/extension-ui/src/Popup/Derive/SelectParent.tsx

* Update packages/extension-ui/src/Popup/Derive/SelectParent.tsx

* add path check and tests
2021-01-14 13:54:07 +01:00
Github Actions
791db0e84a [CI Skip] release/beta 0.36.2-4
skip-checks: true
2021-01-13 11:59:19 +00:00
Forrest
41892ea68b
Add Web3AccountsOptions to web3FromAddress function (#617)
* ss58Format

* fix

* fix

* fix

* fix

* fix

* lint

* Update packages/extension-dapp/src/index.ts

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* lint

* lint

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-01-13 12:55:19 +01:00
Github Actions
4aa578e016 [CI Skip] release/beta 0.36.2-3
skip-checks: true
2021-01-13 10:13:52 +00:00
Thibaut Sardan
03962100f8
Add test for account creation from seed (#620)
* refactor import from seed

* stray import

* clean up duplicates

* remove unneeded global suri

* wip use AccountNamePassword component

* test import seed

* AccountNamePasswordCreation component and tests

* use in Derive and enhance test

* test last step

* extract SeedAndPath in dedicated component

* fix disabled button

* pass address

* keep address in component
2021-01-13 11:09:50 +01:00
Github Actions
25d7fcc7ac [CI Skip] release/beta 0.36.2-2
skip-checks: true
2021-01-13 09:35:22 +00:00
Thibaut Sardan
967b69ffde
Refactor seed import and add explicit derivation path field (#619)
* refactor import from seed

* stray import

* clean up duplicates

* remove unneeded global suri

* wip use AccountNamePassword component

* AccountNamePasswordCreation component and tests

* use in Derive and enhance test

* extract SeedAndPath in dedicated component

* fix disabled button

* pass address

* keep address in component
2021-01-13 10:31:26 +01:00
Github Actions
a39d3ba696 [CI Skip] release/beta 0.36.2-1
skip-checks: true
2021-01-11 09:42:14 +00:00
Thibaut Sardan
b89064746e
Add tests for External import flow (#611)
* with wrong address

* fix address

* cleanup

* isolate address component tests

* using dontMock

* overkill

* without generic __mocks__

* with fake onScan call

* Mock react-i18next to prevent warning in tests (#615)

* mock react-i18next

* revert small change
2021-01-11 10:37:57 +01:00
Github Actions
867cd254d5 [CI Skip] release/beta 0.36.2-0
skip-checks: true
2021-01-05 16:50:08 +00:00
Thibaut Sardan
d8b8c509dd
better color for dark theme (#612) 2021-01-05 17:38:17 +01:00
Github Actions
addbc1cf11 [CI Skip] release/stable 0.36.1
skip-checks: true
2021-01-05 08:46:02 +00:00
Jaco Greeff
8407f2a693
0.36 (#610)
* 0.36

* CHANGELOG

* Date
2021-01-05 09:42:13 +01:00
Github Actions
060b03d3f8 [CI Skip] release/beta 0.35.2-29
skip-checks: true
2021-01-04 15:48:46 +00:00
Jaco Greeff
419fff9735
Bump @polkadot deps (#608)
* Bump @polkadot deps

* Update methodName/sectionName
2021-01-04 16:44:10 +01:00
Github Actions
fe4e0c847c [CI Skip] release/beta 0.35.2-28
skip-checks: true
2021-01-04 14:34:53 +00:00
Thibaut Sardan
261e357bd5
with useEffect (#609) 2021-01-04 15:31:03 +01:00
Github Actions
cb8f873729 [CI Skip] release/beta 0.35.2-27
skip-checks: true
2021-01-04 10:10:15 +00:00
Thibaut Sardan
23fad390f9
shorter phrases (#606) 2021-01-04 11:06:07 +01:00
Github Actions
bed931b81b [CI Skip] release/beta 0.35.2-26
skip-checks: true
2021-01-03 10:38:22 +00:00
Jaco Greeff
297b2af14c
2021 (#605) 2021-01-03 11:33:53 +01:00
Github Actions
9642454327 [CI Skip] release/beta 0.35.2-25
skip-checks: true
2020-12-28 11:13:14 +00:00
Github Actions
987b8a94cc [CI Skip] release/beta 0.35.2-24
skip-checks: true
2020-12-24 14:17:46 +00:00
Thibaut Sardan
db23034502
Some more FR translations and fix a forgoten one (#600)
* translate and fix a forgoten one

* better translation
2020-12-24 15:13:52 +01:00
Github Actions
a7ce828fb8 [CI Skip] release/beta 0.35.2-23
skip-checks: true
2020-12-24 12:54:40 +00:00
Thibaut Sardan
df88d6adab
Separate derivation and creation flow (#596)
* separate new and derived creation

* fix tests
2020-12-24 13:49:42 +01:00
Github Actions
91c7086357 [CI Skip] release/beta 0.35.2-22
skip-checks: true
2020-12-24 09:49:56 +00:00
Thibaut Sardan
f381fa1722
Some more tests for the Address component (#599)
* child accounts and network info with metadata

* typo
2020-12-24 10:46:12 +01:00
Github Actions
9c27221024 [CI Skip] release/beta 0.35.2-21
skip-checks: true
2020-12-23 15:07:32 +00:00
Thibaut Sardan
fb378d6f7b
Add tests for Address component (#597)
* generic test suite for ed, sr ecdsa and ethereum

* extend with account not from context

* stray comments

* with genesis hash and tiny bug fix!

* cleanup and external account name

* beforeEach -> beforeAll
2020-12-23 16:03:45 +01:00
Github Actions
930af30ab9 [CI Skip] release/beta 0.35.2-20
skip-checks: true
2020-12-22 21:30:35 +00:00
Github Actions
4f806db60d [CI Skip] release/beta 0.35.2-19
skip-checks: true
2020-12-18 14:21:59 +00:00
Thibaut Sardan
57635016a6
Prevent eth accounts to be selected for derivation (#595)
* prevent eth accounts to be selected

* stray log

* use type && [ed25519, sr25519, ecdsa].includes(type)

* use utils

* fix test

* proper testing for eth

* fix derive test (will change these soon anyway)
2020-12-18 15:18:06 +01:00
Github Actions
3d0b4985e5 [CI Skip] release/beta 0.35.2-18
skip-checks: true
2020-12-18 10:49:02 +00:00
Thibaut Sardan
3c43132cf0
Support ethereum accounts (#560)
* refactor restoration

* support eth icon

* hack with as any

* remove hack

* bump keyring

* recode and correctly import Json

* create and restore by seed

* lint

* glitch

* cleanup

* remove restoration and creation

* fix yarn.lock

* round icons

Co-authored-by: Github Actions <action@github.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-12-18 11:44:31 +01:00
Github Actions
e98ce05f6f [CI Skip] release/beta 0.35.2-17
skip-checks: true
2020-12-18 10:16:04 +00:00
Thibaut Sardan
4d6242965a
Show error upon wrong password on Export screen (#594)
* add spinner to forget button

* error and test on export with wrong password

* reset error when typing and test
2020-12-18 11:12:15 +01:00
Github Actions
5af3be606e [CI Skip] release/beta 0.35.2-16
skip-checks: true
2020-12-17 14:22:42 +00:00
Thibaut Sardan
3b7ce27e7e
Show the account's name typed in on Account creation screen (#593)
* show name on account card

* with useCallback
2020-12-17 15:18:47 +01:00
Github Actions
95a6c07c92 [CI Skip] release/beta 0.35.2-15
skip-checks: true
2020-12-17 13:29:35 +00:00
Jaco Greeff
a5e48461a1
Bump deps (#592) 2020-12-17 14:24:54 +01:00
Github Actions
8c1752c6cd [CI Skip] release/beta 0.35.2-14
skip-checks: true
2020-12-17 13:06:38 +00:00
Thibaut Sardan
722fc4bf1a
Website access management (#589)
* list websites

* persist in local storage

* with filter and styling

* cleanup

* styling for long list

* fix icon alignment and lint

* Apply suggestions from code review

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* add return ( )

* lint

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-12-17 14:02:53 +01:00
Github Actions
7ba13b0640 [CI Skip] release/beta 0.35.2-13
skip-checks: true
2020-12-17 12:41:51 +00:00
Thibaut Sardan
ba7cf362ea
Fix signing tests and unskip them (#565)
* init with warning on wrong password

* switching between requests

* switching between requests

* all passing

* stray logs

* cleanup

* Signing Test with decodeding (#591)

* decode error

* as unknown

* with decoding :)

* lint

* stray comment/logs

Co-authored-by: Github Actions <action@github.com>
2020-12-17 13:36:57 +01:00
Github Actions
217450c08b [CI Skip] release/beta 0.35.2-12
skip-checks: true
2020-12-14 11:23:13 +00:00
Jaco Greeff
ff4209455e
Hide parent password/path when non-deriving (#586)
* Hide parent password/path when non-deriving

* add test

Co-authored-by: Github Actions <action@github.com>
2020-12-14 12:18:39 +01:00
Github Actions
db1eb0b3b8 [CI Skip] release/beta 0.35.2-11
skip-checks: true
2020-12-14 11:04:27 +00:00
Jaco Greeff
f84a99a836
Fix yarn watch (#587)
* Fix yarn watch

* Wtach-only config

* --mode development for watch

* build:ui
2020-12-14 12:00:43 +01:00
Github Actions
63949fba28 [CI Skip] release/beta 0.35.2-10
skip-checks: true
2020-12-14 09:47:19 +00:00
Jaco Greeff
bf3561396f
Swap Webpack to esm builds (#580)
* Swap Webpack to esm builds

* Beauty is in the eye of the beerholder... readability.

* Bump deps

* Bump

* Bump

* Bumps

* Bump deps

* Split UI build, optimize with no WASM

* API 3.0
2020-12-14 10:42:49 +01:00
Thibaut Sardan
07951f472b
hide too long names (#581)
Co-authored-by: Github Actions <action@github.com>
2020-12-12 10:44:44 +01:00
Github Actions
e21c893880 [CI Skip] release/beta 0.35.2-9
skip-checks: true
2020-12-11 14:11:25 +00:00
Jaco Greeff
97cc0ad4f5
Webpack 5 (#573)
* Webpack 5

* Bump

* Small cleanup

* Update packages/extension/webpack.config.js
2020-12-11 15:07:36 +01:00
Github Actions
0d62a371f0 [CI Skip] release/beta 0.35.2-8
skip-checks: true
2020-12-11 11:27:40 +00:00
Thibaut Sardan
2ae1c6b86b
use account info to retrieve genesisHash (#575)
Co-authored-by: Github Actions <action@github.com>
2020-12-11 12:24:07 +01:00
Jaco Greeff
52505a9183
Dev bumps (#576) 2020-12-11 12:23:01 +01:00
Github Actions
1a96440e48 [CI Skip] release/beta 0.35.2-7
skip-checks: true
2020-12-10 13:55:25 +00:00
Thibaut Sardan
5df2f974d7
Add a flag to get any account type for InjectedAccounts interface (#572)
* add getAll and deprecate get

* using a withTypes flag

* change for anyType and add filtering

Co-authored-by: Github Actions <action@github.com>
2020-12-10 14:51:51 +01:00
Github Actions
87ae7e7414 [CI Skip] release/beta 0.35.2-6
skip-checks: true
2020-12-09 11:41:00 +00:00
Jaco Greeff
d40100ce07
Bump deps (#568) 2020-12-09 12:36:15 +01:00
Github Actions
744458d586 [CI Skip] release/beta 0.35.2-5
skip-checks: true
2020-12-08 10:24:53 +00:00
Jaco Greeff
dec07f6e96
Bump dev (import sorting) (#564)
* Bump dev (import sorting)

* Bump dev
2020-12-08 11:20:57 +01:00
Github Actions
1daab45eb1 [CI Skip] release/beta 0.35.2-4
skip-checks: true
2020-12-05 09:39:25 +00:00
Jaco Greeff
d8dcfc77ad
Bump deps (latest minor) (#563) 2020-12-05 10:36:01 +01:00
Github Actions
650b869ba4 [CI Skip] release/beta 0.35.2-3
skip-checks: true
2020-12-04 15:24:12 +00:00
Thibaut Sardan
b3145fc862
leverage the phishing list caching - Move phishing check to background script (#561)
* cache phishing list

* Update packages/extension-base/src/page/index.ts

* remove xml and pdf check

* remove cache

Co-authored-by: Github Actions <action@github.com>
2020-12-04 16:20:03 +01:00
Github Actions
8df2e3472c [CI Skip] release/beta 0.35.2-2
skip-checks: true
2020-12-03 14:29:07 +00:00
Thibaut Sardan
3b4c01ac5d
refactor restoration (#554)
Co-authored-by: Github Actions <action@github.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-12-03 15:25:22 +01:00
Github Actions
b56f869118 [CI Skip] release/beta 0.35.2-1
skip-checks: true
2020-12-01 20:47:25 +00:00
Jaco Greeff
7dd9e844b3
Bump berry (#559)
* Bump berry

* rewrite
2020-12-01 21:44:06 +01:00
Github Actions
55aa5c9954 [CI Skip] release/beta 0.35.2-0
skip-checks: true
2020-12-01 13:22:50 +00:00
Jaco Greeff
58b1320d41
Use type import (#556)
* Use type import

* Small updates
2020-12-01 14:18:19 +01:00
Thibaut Sardan
10a7db7066
Fix error overlap and translation (#557)
* fix error overlap and translation

* translation

Co-authored-by: Github Actions <action@github.com>
2020-12-01 14:17:59 +01:00
Github Actions
7846fb75ad [CI Skip] release/stable 0.35.1
skip-checks: true
2020-11-30 09:04:18 +00:00
Jaco Greeff
f54659d714
0.35 (#551) 2020-11-30 09:59:58 +01:00
Github Actions
489463d3a8 [CI Skip] release/beta 0.35.0-beta.57
skip-checks: true
2020-11-29 10:55:09 +00:00
Jaco Greeff
a89450ae21
Show method decode fallback error/log (#550)
* Show method decode fallback error/log

* Pass only valid chains to decode

* Fix metadata registry injection
2020-11-29 11:50:58 +01:00
Github Actions
c1429068cb [CI Skip] release/beta 0.35.0-beta.56
skip-checks: true
2020-11-27 10:50:36 +00:00
Github Actions
2b0c00897b [CI Skip] release/beta 0.35.0-beta.55
skip-checks: true
2020-11-27 09:23:25 +00:00
Jaco Greeff
91baa8ced1
Adjust fonts for docs (#548) 2020-11-27 10:19:46 +01:00
Github Actions
fa8a2d4c4a [CI Skip] release/beta 0.35.0-beta.54
skip-checks: true
2020-11-25 13:30:35 +00:00
Thibaut Sardan
f534b9197d
try with vh (#546)
Co-authored-by: Github Actions <action@github.com>
2020-11-25 14:26:27 +01:00