Commit Graph

79 Commits

Author SHA1 Message Date
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
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
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
297b2af14c
2021 (#605) 2021-01-03 11:33:53 +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
Jaco Greeff
58b1320d41
Use type import (#556)
* Use type import

* Small updates
2020-12-01 14:18:19 +01:00
Jaco Greeff
1c51e47ec7
Allow inject when phishing is unavailable (#536) 2020-11-12 13:59:23 +01:00
Jaco Greeff
cb4912286c
Bump dev (#535)
* Bump dev

* Bumps
2020-11-11 14:15:34 +01: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
Jaco Greeff
bc4e57e353
SPDX (#459) 2020-09-17 16:12:32 +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
9aae8e4767
Fix @types references (sadly, def dupe) (#292)
* Fix @types references (sadly, def dupe)

* header
2020-03-26 18:14:46 +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
3f2e1ae172
Swap createType to registry.createType (#268) 2020-03-16 16:03:42 +01:00
Jaco Greeff
326ba2c1b6
Bump deps (#264)
* Bump deps

* Add appropriate .skip-*'s

* Fix linting

* Format test

* typo :)
2020-03-14 10:42:39 +01:00
Jaco Greeff
e2033ba38b
Swap to yarn 2 (#255)
* Swap to yarn 2

* Subscription callback
2020-02-28 15:01:33 +01:00
Amaury Martiny
3589b0a4d7
Fix uncaught promise if tab closes (#254)
* Fix uncaught promise if tab closes

* Update packages/extension/src/background/handlers/index.ts
2020-02-26 17:37:36 +01:00
Amaury Martiny
452ce41b71
Provider Injection (#253)
* Add PostMessageProvider

* Remove coder

* Add provier in state

* Add msg handling

* Fix lint

* Fix little bugs

* Make send work

* Small tweaks

* Make subscriptions work

* Add readme

* Remove useless file

* Roder alphabet

* Fix lint

* List & start provider

* Add unsubscribe

* List and Use providers

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

Co-Authored-By: Jaco Greeff <jacogr@gmail.com>

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

Co-Authored-By: Jaco Greeff <jacogr@gmail.com>

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

Co-Authored-By: Jaco Greeff <jacogr@gmail.com>

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

Co-Authored-By: Jaco Greeff <jacogr@gmail.com>

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

Co-Authored-By: Jaco Greeff <jacogr@gmail.com>

* Update packages/extension-dapp/src/index.ts

Co-Authored-By: Jaco Greeff <jacogr@gmail.com>

* Update README

* Remove circular dep

* Remove useless function

* Update README

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-02-26 17:18:44 +01:00
Jaco Greeff
0a9e9f3bed
Private fields via # (#249)
* Private fields via #

* Edgewae type overrides
2020-02-23 06:40:39 +01:00
Jaco Greeff
7efd915506
Bump deps (#216) 2020-01-06 15:27:25 +01:00
Caio
411e1f1ed1 Implement signRaw (#196) 2019-12-06 15:49:37 +01:00
Jaco Greeff
8ff647bb4d
Bump deps (incl. API with registry) (#201)
* Bump deps (incl. API with registry)

* Use sigle registry per chain

* Localized registries

* Linting cleanups
2019-11-26 13:42:26 +01:00
Jaco Greeff
0b6626bcff
Allo hex seeds (#190) 2019-11-10 16:25:33 +01:00
Jaco Greeff
1da7cd58bf
Bump deps (#191) 2019-11-06 23:46:16 +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
7fcc4d252f
Bump deps (#137)
* Bump deps

* Fixes for new api
2019-09-05 12:51:04 +02:00
Jaco Greeff
2abe983266
Add call-only chain metadata (#136) 2019-09-02 14:26:25 +02:00
Jaco Greeff
92f749c8ab
Typescript-eslint 2 (#132)
* Setup

* Linting fixes
2019-08-31 09:20:00 +02:00
Jaco Greeff
b1bb579d01
Add Kusama metadata (#126) 2019-08-25 14:14:49 +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
232251b1e5
Bump API (#114) 2019-08-03 08:57:49 +02:00
Jaco Greeff
dd1f9dfacd
Update API to interfaces types (#110)
* Update API to interfaces types

* new GenericCall
2019-07-29 14:25:00 +02:00
Jaco Greeff
0aefb66d92
Update with signPayload for injected signer (#106)
* Update with signPayload for injected signer

* Bare-minimum in interface

* Cleanup linting

* Remove unused (atm) permissions
2019-07-24 16:16:22 +02:00
Axel Chalon
e1a0bd2db8 Extension: reject requests from unauthorized urls (#101) 2019-07-19 20:28:18 +02:00