Commit Graph

110 Commits

Author SHA1 Message Date
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
Ryan Lee
727c61663c
chore: update module resolution to bundler (#1387)
* chore: update module resolution to bundler

* fix: linter issues

* fix jest

* fix: build

* use import type

* lint
2024-07-08 15:15:17 -04: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
Francis O'Brien
d00119dc5a
Fix: Prevent authorization request from incorrect origin due to chrome pre-rendering fixes #1293 (#1308)
* fix: prevent authorization requests from incorrect url when pages are pre-rendered

* lint
2024-03-18 11:29:20 -04:00
Jaco
ca595cdfab
2024 (#1302)
* 2024

* 2024
2024-01-08 15:05:09 +02:00
Jaco
8487f528bd
Bump deps (#1278) 2023-08-18 10:22:07 +03:00
Jaco
4ca3237988
Use bytes wrapping from @polkadot/util (#1266) 2023-06-21 09:20:12 +03:00
Jaco
727f14f2c3
Adjust object index typings (#1265)
* Adjust object index typings

* CHANGELOG

* Bump common

* Bumpo ui

* 0.46.5

* Bump util
2023-06-12 08:50:26 +03:00
Jaco
6281664517
Bump dev (w/ eslint config adj) (#1259) 2023-05-21 12:39:36 +03:00
Jaco
9ef27a754e
Bump deps (#1256)
* Bump deps

* CHANGELOG

* Add missing type arguments
2023-05-09 09:20:18 +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
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