Kami
f79b3ce90c
Rename getAllMetatdata to getAllMetadata ( #1168 )
...
* Correct a typo
Occured is the misspelled form of Occurred.
* Rename getAllMetatdata to getAllMetadata
There is a typo in getAllMetatdata.
* Rename getAllMetatdata to getAllMetadata
There is a typo in getAllMetatdata.
* Rename getAllMetatdata to getAllMetadata
There is a typo in getAllMetatdata.
* Rename getAllMetatdata to getAllMetadata
There is a typo in getAllMetatdata.
2022-11-08 10:49:23 +02:00
Kami
902a9a5275
Correct a typo ( #1162 )
...
Occured is the misspelled form of Occurred.
2022-10-22 16:04:13 +03:00
Thibaut Sardan
ee25149834
Allow QR signing and add error when the account has no genesis ( #1155 )
...
* revert to QR signing and add error when account has no genesis
* use genesis from account props
* remove unused imports
2022-10-14 11:56:04 +03:00
Jaco
283a660bd3
Bump deps ( #1141 )
...
* Bump deps
* Lint fix
2022-09-09 09:14:07 +03:00
Thibaut Sardan
32cef967e4
Use go-back instead of going to overview from the auth management ( #1139 )
...
* go back instead of home
* modifying the onAction instead
* go back if possible otherwise go home
* delete unused css
2022-09-08 14:10:23 +03:00
Thibaut Sardan
d27dde4754
Add link to accounts connected to the current tab in the header ( #1138 )
...
* link to connected account in the header
* better naming consistency
2022-09-06 15:36:55 +03:00
Thibaut Sardan
8324ae0868
Remember last account selection for authorization ( #1133 )
...
* remember last selection
* nit for readability
2022-09-01 08:59:23 +03:00
Jaco
b9567cfa34
0.44.5 ( #1123 )
...
* 0.44.5
* <const> specifier
2022-08-13 11:41:00 +03:00
Thibaut Sardan
a28a54a476
fix ask again invisible in popup ( #1119 )
2022-07-27 16:01:36 +03:00
Thibaut Sardan
5c163752ea
fix indeterminate state not reseting ( #1112 )
2022-07-14 16:54:12 +03:00
Jaco
3956bd5cb3
Handle migration from old all-accounts ( #1110 )
2022-07-14 11:31:39 +03:00
Jaco
5227206fd6
Fix for 0 accounts on access ( #1109 )
2022-07-14 10:21:17 +03:00
Thibaut Sardan
00aa001c80
Account selection when authorizing a website ( #1068 )
...
* account selection design and functionnality
* fix build and tests
* lint
* fix FIXME
* dedicated screen when the user has no account
* add test for no account
* remove websote toggle and isAuthorized property
* place remove auth on the left
* account management
* fix build
* get rid of rejection message - similar to selecting 0 accounts
* show visibility action on account management
* fix build
* nit
* cleanup state on account forget
* add tests for hidden accounts in the auth view
2022-07-14 09:24:50 +03:00
Jaco
2803ce7898
Adjust issue template ( #1103 )
...
* Adjust issue template
* Adjust export
2022-07-06 14:04:44 +03:00
Jaco
f1b1d17e0e
Bump deps ( #1096 )
2022-06-25 10:43:10 +03:00
roiLeo
2e70d36827
fix(RemoveAuth): icon cursor & size ( #1082 )
...
* fix(RemoveAuth): icon cursor & size
* fix(RemoveAuth): icon alignment
2022-06-10 21:51:59 +03:00
Jaco
c1436736b8
Adjust useOutsideClick with multi-references ( #1059 )
2022-05-07 23:41:24 +03:00
hamidra
218e688a46
Present the correct signing data in the signing page ( #1055 )
...
* make signing data box multiline/scrollable
* make the box height more responsive
* set the min-height for the signing data box
* fix paddinds + eslint
2022-04-29 09:05:00 +03:00
Jaco
0a34efb1a3
Bump @polkadot/dev ( #1054 )
2022-04-27 11:00:56 +03:00
Jaco
0b52f56a25
Drop support for QR signing ( #1053 )
...
* Drop support for QR signing
* Adjust message display
2022-04-26 16:13:16 +03:00
Jaco
4f0bde1500
Remove jsx-runtime alias for React 18 ( #1051 )
...
* Remove jsx-runtime alias for React 18
* Adjust lint
2022-04-23 09:53:51 +03:00
Jaco
1e04f7bd8d
Bump dev ( #1034 )
2022-03-23 07:52:58 +02:00
CustomBlink
415184ac0d
Add authorized URL removal ( #1029 )
...
* Add authorized URL removal
Adds a trashcan icon to the website entries
Introduces removeAuth and removeAuthorization functions
* Resolves Linting issues
2022-03-21 10:56:26 +02:00
Jaco
ae9481c51d
Bump TS ( #1009 )
...
* Bump TS
* Adjust for TS
2022-03-01 10:27:46 +00:00
f00
682f12de37
fix(authorize): long urls pushes the cta down ( #1005 )
2022-02-18 13:41:34 +02:00
Jaco
faf6192638
Bump dev (w/ contrib) & update BN imports ( #972 )
2022-01-12 08:51:58 +02:00
Jaco
607f4b3e3b
2022 ( #957 )
2022-01-01 09:26:35 +02:00
Jaco
fc76a8c4b6
Rename *.test.ts -> *.spec.ts ( #948 )
...
* Rename *.test.ts -> *.spec.ts
* *.test.tsx -> *.spec.tsx
2021-12-28 11:59:17 +02:00
Jaco
2886c5baa3
Bump deps ( #934 )
...
* Bump deps
* Adjust
* Adjust
2021-12-20 16:27:33 +02:00
Jaco
2884060027
Add tsconfig references ( #929 )
...
* Add tsconfig references
* Adjust
* tesconfig.eslint.json
* lint includes
* test paths
2021-12-14 08:44:38 +02:00
Jaco
686f344a38
Adjust import to polyfill for non-Chrome ( #917 )
...
* Adjust import to polyfill for non-Chrome
* Update packages/extension-ui/src/index.ts
* Remove spurious console.log
* Dedupe error log
* Update error log catch
* Adjust
* Update packages/extension-ui/src/components/Address.tsx
* linting
* Adjust
2021-12-10 12:49:32 +02:00
Jaco
9e9911dc8a
Allow for creation via QR seed ( #918 )
2021-12-10 10:19:29 +02:00
Andrei Eres
675303c848
Add extension prefix ( #891 )
2021-12-07 15:03:55 +02:00
Aleksandr Ishchenko
0eb471f5da
[ #897 ] signer.signRaw signing doesn't work with Ledger Nano X ( #905 )
...
* [#897 ] signer.signRaw signing doesn't work with Ledger Nano X
* [#897 ] signer.signRaw signing doesn't work with Ledger Nano X
* [#897 ] Update quotes format
* [#897 ] Linter autofix
2021-12-06 19:02:36 +02:00
Jaco
7150c52a56
Bump deps ( #894 )
...
* Bump deps
* Bumps
* i18next fix
* Adjust provider signature
2021-11-18 15:28:32 +02:00
Jaco
87e8206481
Expand error messaging for non-Ledger chains ( #886 )
2021-11-08 15:23:00 +02:00
Jaco
f30ee05056
0.41.1 ( #883 )
...
* 0.41.1
* skip hanging tests
2021-11-08 12:20:53 +02:00
Jaco
cf503c6662
Correctly use chain type in account creation ( #882 )
...
* Correctly use chain type in account creation
* CHANGELOG
2021-11-08 12:09:50 +02:00
Thibaut Sardan
3d5d63b00a
Add account filtering feature ( #832 )
...
* add account filter
* Update packages/extension-ui/src/partials/Header.tsx
2021-11-07 13:38:55 +02:00
Jaco
1783054288
Bump deps ( #878 )
...
* Bump deps
* linting type fixes
2021-11-06 20:51:57 +02:00
Jaco
c752f6c97b
Display bytes as ascii (as available) when signing ( #871 )
...
* Display bytes as ascii (as available) when signing
* expectation update
* Really fix tests :)
2021-10-27 07:28:26 +03:00
Jaco
c41566c461
Bump dev (w/ eslint 8 & fixes) ( #855 )
2021-10-18 08:11:26 +03:00
Jaco
69cc551fce
0.40.1 ( #823 )
...
* 0.40.1
* CHANGELOG
2021-09-16 15:09:11 +02:00
Jaco
5b61139bc8
Pass notification settings to background ( #819 )
...
* Pass notification settings to background
* Feedback
2021-09-15 07:39:16 +02:00
Jaco
8ea2d6fa4c
Condense menu ( #818 )
2021-09-14 14:45:52 +02:00
Shawn Tabrizi
e3221ca3ed
Add configurable notifications ( #767 )
...
* initial
* bump ui-keyring
* update names
* lint
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-06 10:57:36 +02:00
Jaco
6a9f58952e
Jest config cleanup ( #807 )
...
* Jest config cleanup
* jsx linting
2021-09-01 18:39:04 +02:00
Jaco
cf072c459b
Bump dev (w/ jsx linting) ( #799 )
2021-08-26 10:38:54 +02:00
Jaco
f9154379eb
Fix Ethereum tests ( #796 )
2021-08-23 10:08:32 +02:00
Antoine Estienne
b9e7c37944
Allow ethereum format for ethereum chains ( #776 )
...
* allow ethereum format for ethereum chains
* remove logs
* remove load event
* lint
* add ethereum and handle ethereum format
* Moves onChangeNetwork outside of rendering
* Restore window load event
* Lint
* Updates create account test
Co-authored-by: Crystalin <alan@purestake.com>
2021-08-22 20:33:00 +02:00
Chakrarin Sarnt
a557ca48d6
Add Thai language ( #788 )
...
* add thai translation json_file
* add thai option
* fix error 1
2021-08-16 17:38:28 +02:00
Jaco
f0332a1ffb
Bump API/common ( #785 )
2021-07-22 08:07:04 +02:00
Jaco
9d0a6c96f5
Build browser bundles ( #779 )
...
* Build browser bundles
* Webpack resolution
* Bump common
* Bump deps
2021-07-09 15:28:47 +02:00
ccris02
59deb1c637
Adding Polish Language Option to the Extension ( #761 )
2021-06-29 06:48:39 +02:00
Jaco
b39a4b00de
Bump deps ( #759 )
2021-06-23 11:18:41 +02:00
Jaco
e4ce268b1c
Wrap all raw signed bytes inside <Bytes> ( #743 )
...
* Wrap all raw signed bytes inside <RawBytes>
* Use u8aToU8a
* Update packages/extension-base/src/background/RequestBytesSign.ts
* Also wrap Qr signing
* Update packages/extension-base/src/utils/wrapRawBytes.ts
* Update packages/extension-base/src/utils/wrapRawBytes.ts
* empty wrap test
* Additional tests
* Update CHANGELOG
* Expose {wrap, unwrap}Bytes utils in extension-dapp
* Update yarn.lock
* Fix build alias
2021-06-10 21:13:46 +02:00
Thibaut Sardan
7c6829f04a
Support signing messages for external accounts ( #718 )
...
* support signing messages
* Apply suggestions from code review
Co-authored-by: Jaco <jacogr@gmail.com>
Co-authored-by: Jaco <jacogr@gmail.com>
2021-06-01 14:38:25 +03:00
Jaco
17f61f1a80
Also adjust auth height ( #732 )
...
* Also adjust auth height
* Bump dev (fix release?)
2021-05-31 07:06:34 +02:00
Nikos Kontakis
a8c9166735
Fix issue that was breaking extension ui (height collapsed and non-visible); Fixes #720 ( #731 )
2021-05-31 06:41:44 +02:00
Jaco
fb7dfb3ddc
Bump deps, update tests ( #728 )
...
* Bump deps, update tests
* Update stale.yml
* void handlers
2021-05-29 10:34:51 +02:00
Jaco
99acf4d704
Bump deps ( #703 )
...
* Bump deps
* Bumps, linting
2021-04-22 16:35:40 +02:00
Thibaut Sardan
5a45e1daea
Use file-saver to export accounts ( #701 )
...
* use file-saver
* bring back the fake implementation
* we never know
* fix background test
2021-04-22 14:34:14 +02:00
murat onur
4f2ebb0eb2
tr language support added ( #681 )
...
* tr language support added
* add getLanguageOptions
2021-03-17 01:38:13 +01:00
雪霁
e37fdcf6f9
Batch export ( #666 )
...
* .
* finish export all
* finish export all
* .
* fix linting errors (warning is pending on password decision)
* .
* resolve conflicts
* .
* .
2021-03-16 15:14:28 +01:00
Jaco Greeff
a14651ab7f
0.37.2 ( #661 )
...
* 0.37.2
* Update CHANGELOG.md
* Update CHANGELOG.md
* Build packageInfo
* autolint
2021-02-28 15:16:02 +01:00
Thibaut Sardan
882e81e6f2
no more error or warning ( #636 )
2021-02-13 09:41:20 +01:00
Thibaut Sardan
e1391128dd
show malicious website on the landing page ( #648 )
2021-02-09 10:37:57 +01:00
Thibaut Sardan
ed35f3de97
Icon consistency ( #641 )
...
* icon consistency consistent
* make icons consistent
* nit
2021-02-01 16:48:39 +01:00
Thibaut Sardan
b3afcf4d55
Network dropdown at account creation ( #640 )
...
* network dropdown at account creation
* lint
2021-02-01 16:48:01 +01:00
Thibaut Sardan
30d87761ac
sort chains ( #637 )
2021-01-28 18:06:15 +01:00
Thibaut Sardan
9afc0cc512
path and password resets successfully on parent change ( #635 )
2021-01-28 13:18:30 +01:00
Thibaut Sardan
05e5d4d512
fix renaming position, enter and error background ( #634 )
2021-01-27 18:33:01 +01:00
Thibaut Sardan
252244ea27
add chains in metadata ( #632 )
2021-01-26 15:21:50 +01:00
Thibaut Sardan
e8c1dc17f9
allow giving a name to ledger ( #630 )
2021-01-25 19:40:46 +01: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
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
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
Thibaut Sardan
0eec750e0a
Bump deps ( #623 )
...
* networks
* bump
* fix build
2021-01-14 17:44:32 +01: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
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
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
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
Thibaut Sardan
d8b8c509dd
better color for dark theme ( #612 )
2021-01-05 17:38:17 +01:00
Jaco Greeff
419fff9735
Bump @polkadot deps ( #608 )
...
* Bump @polkadot deps
* Update methodName/sectionName
2021-01-04 16:44:10 +01:00
Thibaut Sardan
261e357bd5
with useEffect ( #609 )
2021-01-04 15:31:03 +01:00
Jaco Greeff
297b2af14c
2021 ( #605 )
2021-01-03 11:33:53 +01: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
Thibaut Sardan
df88d6adab
Separate derivation and creation flow ( #596 )
...
* separate new and derived creation
* fix tests
2020-12-24 13:49:42 +01: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
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
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
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
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
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
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
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
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
Thibaut Sardan
07951f472b
hide too long names ( #581 )
...
Co-authored-by: Github Actions <action@github.com>
2020-12-12 10:44:44 +01: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