Commit Graph

65 Commits

Author SHA1 Message Date
Github Actions
238acd2702 [CI Skip] release/beta 0.37.3-9
skip-checks: true
2021-03-22 09:26:24 +00: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
Github Actions
fc9852327b [CI Skip] release/beta 0.37.3-8
skip-checks: true
2021-03-17 00:43:05 +00:00
Github Actions
1cd451c01d [CI Skip] release/beta 0.37.3-7
skip-checks: true
2021-03-16 14:19:30 +00: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
Github Actions
235c683476 [CI Skip] release/beta 0.37.3-6
skip-checks: true
2021-03-15 19:17:35 +00:00
Github Actions
3de4328bbc [CI Skip] release/beta 0.37.3-5
skip-checks: true
2021-03-08 15:48:39 +00:00
Jaco Greeff
2d61a21c62
Bump common/api (#675)
* 0.37.3

* Path-only
2021-03-08 16:43:27 +01:00
Github Actions
4402362142 [CI Skip] release/beta 0.37.3-3
skip-checks: true
2021-03-04 21:03:12 +00: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
Github Actions
253c9bf785 [CI Skip] release/beta 0.37.3-2
skip-checks: true
2021-03-03 10:11:18 +00:00
Github Actions
0112793abb [CI Skip] release/beta 0.37.3-1
skip-checks: true
2021-03-02 21:27:48 +00:00
Jaco Greeff
2cb5f8b149
Default to type: module (#664)
* Default to type: module

* Nump
2021-03-02 22:22:33 +01:00
Github Actions
de9b4e7fd4 [CI Skip] release/beta 0.37.3-0
skip-checks: true
2021-03-01 20:49:19 +00: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
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
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
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
0731e3593d
Add a dedicated notification index (#542)
* back to 600px

* add dedicated notification index

Co-authored-by: Github Actions <action@github.com>
2020-11-24 12:09:40 +01:00
Thibaut Sardan
372dd54cff
Window height back to 621 and set 100% (#541)
* back to 621 and set 100%

* not nedeed on root html element

Co-authored-by: Github Actions <action@github.com>
2020-11-23 18:49:09 +01:00
Jaco Greeff
e4031049c2
Build esnext modules (#533)
* Build esnext modules

* index
2020-11-09 17:45:12 +01:00
Thibaut Sardan
b4df4ad269
set popup window to 600px (#520)
Co-authored-by: Github Actions <action@github.com>
2020-10-23 19:42:46 +02: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
86234b8e83
remove stray test value (#490)
Co-authored-by: Github Actions <action@github.com>
2020-10-13 19:00:05 +02:00
Thibaut Sardan
ae9227ef6d
Add phishing site detection, redirection and information (#488)
* missing type declarations for @polkadot/phishing

* phishing landing page

* Update packages/extension-base/src/background/types.ts

* wording make it short

* fix build

* add test for xml pdf utils

* fix export

* Update packages/extension-base/src/utils/isXmlOrPdf.ts

* use Trans from i18n

* alpha ordering

* i18nKey

* lint

* move pdf and xml detection to enable to prevent unwanted redirection

* styled component refactoring

* import odering

* remove a css hack :)

Co-authored-by: Github Actions <action@github.com>
2020-10-13 14:14:55 +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
78905d8140
Bump deps (#433)
* Bump deps

* rewrite

* Linting

* linting
2020-09-05 07:51:29 +02:00
Jaco Greeff
ae5d076de9
Display accounts first-and-foremost on all creations (#426)
* Display accounts first-and-foremost on all creations

* Fix tests
2020-09-03 22:36:49 +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
Jaco Greeff
98f5088065
Bump dev (#422)
* Bump dev

* linting

* linting
2020-09-03 15:16:23 +02:00
Jaco Greeff
837e1ecedd
Updates for JSON v3 (#393)
* Updates for JSON v3

* Bump ui

* isBusy markers

* isBusy button

* Spinner button

* Update tests

* Update packages/extension-ui/src/Popup/Export.tsx

* Adjust busy indicator

* Spinner colors
2020-07-22 13:59:42 +02:00
Jaco Greeff
6a33d1dbea
0.31 (#374)
* 0.31

* CHANGELOG, actual version bump

* Update provider for new API
2020-06-24 11:23:34 +02:00
Jaco Greeff
2b2d428868
Sort injected based on creation timestamp (#368)
* Sort injected based on creation timestamp

* Adjust shadow
2020-06-08 09:48:13 +02:00
Jaco Greeff
f773342343
Tie account to genesis (#355)
* Tie account to genesis

* Allow (faster) partial retrieval

* Edit toggles menu
2020-06-01 17:46:30 +02:00
Jaco Greeff
3593bbe6d4
Allow accounts to be hidden, i.e. not injected (#354) 2020-06-01 15:49:05 +02:00
Jaco Greeff
db0b7e0eb3
Display child when parent has been removed (#349)
* Display child when parent has been removed

* Update packages/extension-ui/src/Popup/index.tsx

* Small styling updates
2020-05-31 10:51:29 +02:00
Shawn Tabrizi
256c5d975f
Restore Account with JSON Backup (#336)
* initial mockup

* it works!

* forgot a file

* refactor a bit

* fix lint

* fix styling, refactor

* fix lint

* Apply suggestions from code review

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

* Open message rename

* Go back to root on import

* Only open in new when not in a window, add back

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-05-30 08:59:55 +02:00