Commit Graph

90 Commits

Author SHA1 Message Date
Jaco
6b37a01700
Bump dev deps (#1234) 2023-03-18 12:43:16 +02:00
Jaco
16113a8a2d
Bump to TS 5.0 (#1233)
* Bump to TS 5.0

* Fix dev-test imports
2023-03-17 08:07:56 +02:00
Jaco
d8af2080a1
Bump dev (#1232)
* Bump dev

* Adjust
2023-03-15 17:16:59 +02:00
Jaco
6bfddb09e8
Use .js imports in src (#1224)
* Use .js imports in src

* Bump dev

* Add WP extension aliases
2023-03-09 11:04:13 +02:00
Jaco
7316b54987
Bump dev deps (#1221) 2023-03-06 14:09:58 +02:00
Jaco
c9edeea445
Bump dev deps (#1215)
* Bump dev deps

* Bump deps
2023-02-25 14:18:38 +02:00
Jaco
c71492a5f4
Update headers for 2023 (#1189) 2023-01-01 10:23:00 +02:00
Jaco
329732d478
Ping on enabled extension (#1183) 2022-12-17 14:57:14 +02:00
Jaco
3c65c8b702
Always set metadata before signing (#1159)
* Always set metadata before signing

* Use metadata expansion

* Adjust usage
2022-10-20 09:35:05 +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
a7f27ac4b6
Allow for unsubscribe on account subscriptions (#1067)
* Allow for unsubscribe on account subscriptions

* CHANGELOG

* Adjust

* Adjust
2022-07-14 21:15:20 +03:00
Jaco
3956bd5cb3
Handle migration from old all-accounts (#1110) 2022-07-14 11:31:39 +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
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
607f4b3e3b
2022 (#957) 2022-01-01 09:26:35 +02:00
Jaco
344091d48b
Adjust metadata loop with allMap (#953)
* Adjust metadata loop with allMap

* Remove debug log
2021-12-30 12:59:20 +02:00
Jaco
45a6e18fc2
Only apply knownGenesis once for metadata (#949)
* Only apply knownGenesis once for metadata

* Adjust

* Clear old known metadata entries

* Add missing dep
2021-12-28 16:18:57 +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
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
Antoine Estienne
ecb15976a8
Add eth test for extension signature (#909)
* add eth test for extension signature

* cleanup
2021-12-07 18:48:38 +02:00
Andrei Eres
675303c848
Add extension prefix (#891) 2021-12-07 15:03:55 +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
Jaco
1783054288
Bump deps (#878)
* Bump deps

* linting type fixes
2021-11-06 20:51:57 +02:00
Jaco
c41566c461
Bump dev (w/ eslint 8 & fixes) (#855) 2021-10-18 08:11:26 +03:00
Jaco
6e0992ac46
Ensure site authorization toggle is saved (#842) 2021-09-27 16:33:33 +02:00
Jaco
76d8953e45
Use wrapBytes for @polkadot/util (#829)
* Use wrapBytes for @polkadot/util

* Bump util
2021-09-17 15:29:03 +02:00
Jaco
5b61139bc8
Pass notification settings to background (#819)
* Pass notification settings to background

* Feedback
2021-09-15 07:39:16 +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
af3c43f29f
Cater for # in urls (#803) 2021-08-30 12:10:38 +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
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
3073277b61
Bump API to latest (#717)
* Bump API to latest

* Linting

* External deps

* typing updates
2021-05-11 09:31:01 +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
Remon Nashid
7f06f4a260
Prevent unauthorized apps from abusing pub(authorize.tab) request (#686) 2021-04-20 15:14:02 +02:00
Minh Ha
f50e4b7b7e
✨ allows background handler to handle custom extention port name (#685) 2021-03-25 21:38:19 +01:00
KarishmaBothara
82d0019b12
Added code to support custom signed extension/user extension (#670)
* Added code to support custom signed extension/user extension

* fix lint issues

* added test

* as per review comment

* fix lint

* as per review suggestion

* fix lint

* as per review comments

* fix lint
2021-03-22 10:21:08 +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
carumusan
1a6be158f1
Support ipfs and ipns urls (#667)
Brave browser has native support for ipfs:// and ipns:// urls but this assertion is currently blocking. Updated to support them. Untested.
2021-03-04 21:57:53 +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
Jaco Greeff
e4f9f9b2f3
Phishing redirect, tab check (#650) 2021-02-09 18:04:15 +01:00
Thibaut Sardan
e1391128dd
show malicious website on the landing page (#648) 2021-02-09 10:37:57 +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
Jaco Greeff
297b2af14c
2021 (#605) 2021-01-03 11:33:53 +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
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
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