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
Jaco Greeff
bc4e57e353
SPDX ( #459 )
2020-09-17 16:12:32 +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
49f8e89eb5
Derive using parent genesisHash ( #420 )
2020-09-03 10:24:32 +02:00
Jaco Greeff
e983cb5f6d
Add base known chain info to icon/ss58 display ( #386 )
...
* Add base known chain info to icon/ss58 display
* comment around ordering
* Adjust backgrounds
2020-07-07 14:30:16 +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
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
837fb52a3a
Bumps w/ eslint ( #338 )
...
* Bumps w/ eslint
* Additional
* Additional
* Additional
* Additional
* Additional
* Linting done, tsc fixes remain
* Final round
2020-05-24 12:17:53 +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
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
f777d2062e
Skip signing tests
2020-03-26 11:18:49 +01: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
Jaco Greeff
7efd915506
Bump deps ( #216 )
2020-01-06 15:27:25 +01:00
Jaco Greeff
98f0a0f3fd
Alphabetical messages ( #189 )
2019-10-25 10:14:15 +02:00
Bartłomiej Rutkowski
29122d1f8f
Export account ( #166 )
...
* setup tests
* export account WIP
* Fix linter errors.
* Frontend test for Export component.
* Test for account export by background handler.
* Add password to export.
* Add simple account export functionality.
* Add dedicated selectors.
* Improve export view layout
* make export textarea bigger
* Fix linter error.
* Update wrapper in test to make it pass.
* test refactoring
* add copying exported JSON to clipboard
* lint fix
* add UI tests
* fix dependencies
* refactoring
* copyright headers; minor refactorings
* make input field blink after entering wrong password
* download exported JSON
* simplify exported JSON download
* removed redundant tests
* disable export functionality for external accounts
* add export restrictions tests
* tests refactoring
* after successful export go back to main screen
2019-10-04 17:03:36 +02:00
Jaco Greeff
e43bafd062
Allow extention to be opened in new window ( #144 )
...
* Allow extention to be opened in new window
* Bump ui (stable)
* Update for react-reader blob
2019-09-10 12:22:05 +02:00
Jaco Greeff
4945417982
Mobile signer support (via Qr) ( #134 )
...
* Add typings to messages
* Fix eslint (after merge)
* Mobile signer support (via Qr)
* Bump common
* Pass through genesisHash
* Ok, well, it does something... not recognized
* Bump ui
* Exclude build from lint
* **
* Display accounts with prefix from genesisHash
* Adapth for object via scan interface
* Bump deps
* Split address recoding
* Cleanup decoding readability
* Display chain affinity overlay
* -1 prefix dropdown description
* Add generator command
* Fix TypeScript error
* Lint
* Consistent naming
* Better promise error handling
* Small consistency updates
* Constraint handle typings as much as tsc will allow
* State naming
* Typo in cheain descriptions
* Add signature handler (unused)
* e2e roundtrip
* remove (useless) dev 0.5.1 chain
* Insert ActionBar
* Revert to empty Props interfaces
* SeedLengths type
* Add type to transport subscription message
* nit
* Typecheck passing callback to sendMessage when none expected
* Bump api
* Small lint fixes
* Bump api
* Not sure it works... but linting passes
* Split public/private
* Alphabetical
* Don't show button on no media
* Remove unneeded resolve - NOT hacking around linting
* Pass edited name through to accounts component
* genesisHash alignments
* Remove KeyringJson
* SignRequest with account
* Align with master naming
* Some manual merges
* Manual (small) conflict resolution
* Fixup extension account mapping
* Remove ununsed messages (less code = better)
* Update comment around generation
* Add copy-to-apps script (debugging)
2019-09-06 13:03:55 +02:00
Jaco Greeff
e20b6e0f16
Split messages into pub/pri ( #139 )
...
* Split messages into pub/pri
* Cleanup types for contexts
* genesisHash to edit/create
* (Auth|Sign)Request to record (not tuple)
* Align naming with messages
* Pass account with SignRequest
* Ordering
* Ordering
2019-09-06 10:52:57 +02:00
Axel Chalon
251417b50e
Add typings to messages ( #130 )
...
* Add typings to messages
* Fix eslint (after merge)
* Fix TypeScript error
* Lint
* Consistent naming
* Better promise error handling
* Constraint handle typings as much as tsc will allow
* Revert to empty Props interfaces
* SeedLengths type
* Add type to transport subscription message
* nit
* Typecheck passing callback to sendMessage when none expected
* Type subscription cb and replace KeyringJson w/ InjectedAccount
Use InjectedAccount for `accounts.list`, `accounts.subscribe`
2019-09-05 16:11:01 +02:00
Jaco Greeff
d0de8c0f34
Add derivation path support (import) ( #125 )
...
* Add derivation path support (import)
* Fix params (we really need these properly typed!)
* Bump to stable API
* 0.8
2019-08-25 11:44:23 +02:00
Jaco Greeff
c70d9a0e63
Swap to eslint ( #72 )
...
* 626 problems (430 errors, 196 warnings)
* A start.
* < 200
* 80
* 0
2019-07-12 20:09:44 +02:00
Jaco Greeff
f4413a209b
Auto-unsubscribe on disconnection ( #50 )
...
* Auto-unsubscribe on disconnection
* Use subscriptions for all in popup
* Cleanup state setters
* Plural for address(es)
2019-06-03 18:20:36 +02:00
Jaco Greeff
a94836977a
Extend message/request ids as string ( #48 )
...
* Extend message/request ids as string
* Only decode the current method (as meta available)
* Dep-dup id generation
2019-06-03 13:58:33 +02:00
Jaco Greeff
01f2f16b79
Convert messaging to use ports ( #38 )
...
* Convert messageing to use ports
* Small listeneing cleanups
2019-05-30 14:28:41 +02:00
Jaco Greeff
f241e7191d
Introduce the enable() interface (prompts user) ( #20 )
...
* Introduce the enable() interface
* Provider
* Add auth requests to state
* injector comments
* Background extension list, spprove & reject
* Cleanups
* Untested, but the UI parts are there (test next)
* linting
* Not pretty, but seems to auth
* Small styling adjustments
* Adjust Box layout slightly
* Small styling adjustments
* signing -> transactions
* isDanger for links
* Styling defaults
2019-05-23 12:43:55 +02:00
Jaco Greeff
93b135d685
Forget confirmation & account name editing ( #4 )
...
* Forget confirmation & account name editing
* Update ActionBar padding
2019-05-20 15:56:11 +02:00
Jaco Greeff
f5a00988b0
Refresh accounts on create/import, add forget
2019-05-20 13:23:28 +02:00
Jaco Greeff
0b6bcd2bb9
Initial commit aka code from heaven
2019-05-20 12:40:44 +02:00