Commit Graph

65 Commits

Author SHA1 Message Date
Tarik Gul
a1c87fa383
Set headers to 2026 (#1609) 2026-03-12 19:27:39 +02:00
Tarik Gul
a154f9bd54
Ethereum Ledger signing (#1542)
* [TESTING] Ecdsa signing

* remove hardcoding

* Remove consoles

* Fix import of exdsa accounts from ledger

* Add signing

* Add correct keypair type to hardware meta

* lint

* Update ui libs to 3.14.1

* Most recent changes

* Detect chain type and hash message accordingly

* testing logs

* Only use pubkey

* Make Ethereum signing work

* lint

* Remove rogue console.logs

* Change to isHex()

---------

Co-authored-by: Valentin Fernandez <tinchofernandez8@gmail.com>
2025-09-17 12:51:33 -03:00
Tarik Gul
73cedbb824
2025 (#1493)
* 2025

* Enable ci execution of diff

* Update extra files

* fix webpack config header
2025-01-03 02:15:31 +02:00
Francis O'Brien
52acbc830a
feat: add cancel authorization request functionality and improve UI components (#1491) 2024-12-20 09:03:36 -05:00
Thibaut Sardan
fd94590ece
Ability to Reject an authentication request instead of ignoring it (#1453)
* Reject instead of ignore

* lint
2024-09-05 08:32:22 -04:00
Alberto Nicolas Penayo
d2f164084c
feat: Add support for the Ledger Generic App (#1408)
* initial commit

* issue with payload

* test commit

* cleanup

* Update signer and get result back to client

* Cleanup

* removed getMetadataRaw and useMetadataRaw

* updated metadata update message

* added assert checks

* updated prefix search for Ledger

* fixed ledger account import

---------

Co-authored-by: tarikgul <tariksnow37@gmail.com>
2024-07-29 09:03:36 -03:00
Francis O'Brien
aa5d99b1d2
Update subscribed accounts when connected site authorizations are modified (#1412)
* Update subscribed accounts when connected site authorizations are modified

* restore udateCurrentTabsUrl and mark as deprecated

* lint
2024-07-29 08:06:17 -03:00
Tarik Gul
b6d42c28b5
Transition from manifest v2 to v3 for chrome (#1367)
* Update manifest.json

* replace `extension.getUrl` to `runtime.getUrl`

* Update localStorage to async chrome.storage.local

* Change action to browserAction

* fix bug

* revert async changes

* revert test change

* Fix localStorage breaking change

* .extension -> .runtime

* fix undefined behaviour

* fixed tests

* lint

* Up some callbacks to async

* Change where extractMetadata is called

* fix  in mock

* Update background field to take in type

* Change background.js to service_worker.js

* Update id and request origin for service worker

* updated chrome mock

* 13 tests passing

* Fix async issue

* switch naming back to original

* linting

* Fix linting in base

* remove timeOut

* added permission to alarms in manifest

* fixed alarms uncaught errors

* Cleanup addr for tests

---------

Co-authored-by: bee344 <alberto.penayo@parity.io>
2024-07-07 22:32:42 -04:00
Tarik Gul
0870530cb8
Adjust ui imports for deterministic bundling (#1383)
* Adjust ui imports for deterministic bundling

* Update instructions in docs
2024-07-02 11:22:50 -04:00
Thibaut Sardan
0a52b5d046
Fix: forget account for legacy account without authorizedAccounts (#1381)
* fix: forget account for legacy account without authorizedAccounts

* fix: comment
2024-06-28 16:43:24 +02:00
Thibaut Sardan
8cfae225f2
fix typos (#1343) 2024-04-08 17:54:49 +01:00
Jaco
ca595cdfab
2024 (#1302)
* 2024

* 2024
2024-01-08 15:05:09 +02:00
Jaco
6281664517
Bump dev (w/ eslint config adj) (#1259) 2023-05-21 12:39:36 +03:00
Jaco
350bbac74c
0.46.1 (#1252)
* 0.46.1

* Reset deps
2023-04-22 13:26:17 +03:00
Jaco
9fe7868f2c
Import cleanups (#1246) 2023-04-03 09:31:55 +03:00
Jaco
a5380d268f
Move type-only imports (w/ verbatimModuleSyntax) (#1245) 2023-04-02 11:49:57 +03:00
Jaco
6b37a01700
Bump dev deps (#1234) 2023-03-18 12:43:16 +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
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
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
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
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
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
Jaco
fb7dfb3ddc
Bump deps, update tests (#728)
* Bump deps, update tests

* Update stale.yml

* void handlers
2021-05-29 10:34:51 +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
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
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
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
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
Jaco Greeff
d40100ce07
Bump deps (#568) 2020-12-09 12:36:15 +01:00
Jaco Greeff
dec07f6e96
Bump dev (import sorting) (#564)
* Bump dev (import sorting)

* Bump dev
2020-12-08 11:20:57 +01: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
Jaco Greeff
58b1320d41
Use type import (#556)
* Use type import

* Small updates
2020-12-01 14:18:19 +01:00
Thibaut Sardan
154a836e00
Password caching refactoring (#489)
* refactor password caching

* use an update cache function

* rename update -> refresh

* reject when password expired

* refactor the refactoring without messaging

* lint

* Update packages/extension-base/src/defaults.ts

* use timeout in popup

Co-authored-by: Github Actions <action@github.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-10-15 11:57:47 +02:00
Thibaut Sardan
7c01b9e658
Refactor open window (#473)
* add mnemonic redirect like json

* undefined not allowed because request is a defined object

* Apply suggestions from code review

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

* remove redirect

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-10-01 16:13:47 +02:00
Thibaut Sardan
68ec6f7c13
Share PASSWORD_EXPIRY default between components (#463)
* generic time

* share expiry minutes and ms

* edit translation
2020-09-22 12:12:46 +02:00
Jaco Greeff
bc4e57e353
SPDX (#459) 2020-09-17 16:12:32 +02:00
Remon Nashid
6704c8d8e6
add pri(accounts.changePassword) message (#450) 2020-09-10 08:31:41 +02:00
Jaco Greeff
a6a42fefed
Don't ask for the password for 15 minutes (#421)
* Don't ask for the password for 15 minutes

* lock-check logic

* only save expiry

* Adjust margin for unlock

* lock/password check

* CHANGELOG
2020-09-03 15:32:51 +02:00