Commit Graph

33 Commits

Author SHA1 Message Date
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
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
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
Jaco Greeff
e158a8389e
Adjust allowed seed lengths (#343) 2020-05-27 12:58:29 +02:00
Jaco Greeff
98d6c66de5
Allow for variable signed extensions, as supplied (#328)
* Allow for variable signed extensions, as supplied

* Small text updates
2020-05-14 10:01:29 +02:00
Jaco Greeff
6324999ff3
Bump deps (#315)
* Bump deps

* Pull in native AccountsStore

* Integrate own AccountsStore

* Bumps

* Bumps, fix build
2020-04-06 11:49:27 +02:00
Jaco Greeff
75f9109cf4
Remove extensionizer indirection (#309)
* Remove extensionizer indirection

* Slight duplication

* Chrome mock

* Update package.json

* chrome types, chrome import
2020-04-03 13:06:25 +02:00
Ivan Rukhavets
53d3ebce37
Show labels of account parent (#306)
* Show derived accounts indentation

* Add parent labels

* Update branch

* styling

* CR requests

* Slightly reword derive documentation

* Remove derivation path from account metadata
2020-04-03 10:45:30 +02:00
Jaco Greeff
0d87b50a20
Rewrite yarn.lock (#305) 2020-04-01 23:24:07 +02:00
Jaco Greeff
de78c703f5
Bump dev (incl. lint fixes) (#304) 2020-04-01 18:49:49 +02:00
Bartłomiej Rutkowski
eeac2c1064
Allow account creation by derivation from existing one (#296)
* Allow specifying derivation path on account creation (#57)

* Allow specifying derivation path on account creation

* Improve linting and formatting

* Highlight input field when der-path is invalid

* Fix header

* Hide advanced options

* Add tests

* Fix name

* Improve styling

* Change names

* Fix case

* Add arrow icon

* Add smooth transition

* Refactor tests

Co-authored-by: Bartłomiej Rutkowski <bar.rutkow@gmail.com>

* [CI Skip]  0.22.0-beta.7

skip-checks: true

* Import account derivation path (#59)

* Import account derivation path

* Fix test

* fix scroll

* Lint fix

* add tests to importSeed

Co-authored-by: Bartłomiej Rutkowski <bartek@ethworks.io>
Co-authored-by: Kamil <kamil@ethworks.io>

* [CI Skip]  0.22.0-beta.8

skip-checks: true

* Hover and copy button (#58)

* copy button and change hover

* working on

* add Toast

* chage address width

* Minor fixes

* Add cursor: hand

* Finish merge

Co-authored-by: Kamil <kamil@ethworks.io>
Co-authored-by: ivan <ivanruch@gmail.com>

* [CI Skip]  0.22.0-beta.9

skip-checks: true

* Fix build

* [CI Skip]  0.23.0-beta.0

skip-checks: true

* [CI Skip] Undo Github Actions version bump

* [CI Skip] 0.23.0-beta.5

skip-checks: true

* Add derive screen (#60)

* Add derivation screen

* Remove "///password" from derivation path placeholder

* Refactor tests

Co-authored-by: Bartłomiej Rutkowski <bar.rutkow@gmail.com>
Co-authored-by: Anze1m <bartek@ethworks.io>

* Improve account menu; fix linting (#61)

* Fix test

* Fix account menu

* Fix linting

* [CI Skip] 0.23.0-beta.6

skip-checks: true

* Add proper account decoding (#62)

* Add proper account decoding

* Improve tests and error handling

* Fix linting

* Add refactoring

* Update packages/extension/src/background/handlers/Extension.ts

Co-Authored-By: Ivan Rukhavets <ivanruch@gmail.com>

* Fix test

* Fix linting

* Fix actions

* Slight UX improvement

* Add big red button

* Change red button to orange

* Wrap in useCallback

* Fix linting

* Add proper password checking method

* Fix linting

Co-authored-by: Ivan Rukhavets <ivanruch@gmail.com>

* [CI Skip] 0.23.0-beta.7

skip-checks: true

* Apply merge fixes (#65)

* Fix linting

* CI

* [CI Skip] 0.24.0-beta.1

skip-checks: true

* CR requests

* [CI Skip] 0.24.0-beta.2

skip-checks: true

* [CI Skip] 0.24.0-beta.2

skip-checks: true

Co-authored-by: Ivan Rukhavets <ivanruch@gmail.com>
Co-authored-by: Github Actions <action@github.com>
Co-authored-by: Kamil <kamil@ethworks.io>
2020-03-30 16:55:53 +02:00
Jaco Greeff
c9f4c2e4a6
Provide metadata from external source (#288)
* Provide metadata from external source

* Listing via metadata interface

* Updates

* UI update

* Storage & end-to-end
2020-03-26 11:01:33 +01:00
Amaury Martiny
89dad985fb
Pull out extension-base (#271)
* Create a extension-base package

* Fix lint and test

* Update to beta.3

* Yarn install

* Update package

* Fix merge errors

* Remove useless single-entry folders

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-03-21 11:07:11 +01:00