Commit Graph

707 Commits

Author SHA1 Message Date
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
Github Actions
8df2e3472c [CI Skip] release/beta 0.35.2-2
skip-checks: true
2020-12-03 14:29:07 +00: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
Github Actions
b56f869118 [CI Skip] release/beta 0.35.2-1
skip-checks: true
2020-12-01 20:47:25 +00:00
Jaco Greeff
7dd9e844b3
Bump berry (#559)
* Bump berry

* rewrite
2020-12-01 21:44:06 +01:00
Github Actions
55aa5c9954 [CI Skip] release/beta 0.35.2-0
skip-checks: true
2020-12-01 13:22:50 +00:00
Jaco Greeff
58b1320d41
Use type import (#556)
* Use type import

* Small updates
2020-12-01 14:18:19 +01:00
Thibaut Sardan
10a7db7066
Fix error overlap and translation (#557)
* fix error overlap and translation

* translation

Co-authored-by: Github Actions <action@github.com>
2020-12-01 14:17:59 +01:00
Github Actions
7846fb75ad [CI Skip] release/stable 0.35.1
skip-checks: true
2020-11-30 09:04:18 +00:00
Jaco Greeff
f54659d714
0.35 (#551) 2020-11-30 09:59:58 +01:00
Github Actions
489463d3a8 [CI Skip] release/beta 0.35.0-beta.57
skip-checks: true
2020-11-29 10:55:09 +00:00
Jaco Greeff
a89450ae21
Show method decode fallback error/log (#550)
* Show method decode fallback error/log

* Pass only valid chains to decode

* Fix metadata registry injection
2020-11-29 11:50:58 +01:00
Github Actions
c1429068cb [CI Skip] release/beta 0.35.0-beta.56
skip-checks: true
2020-11-27 10:50:36 +00:00
Github Actions
2b0c00897b [CI Skip] release/beta 0.35.0-beta.55
skip-checks: true
2020-11-27 09:23:25 +00:00
Jaco Greeff
91baa8ced1
Adjust fonts for docs (#548) 2020-11-27 10:19:46 +01:00
Github Actions
fa8a2d4c4a [CI Skip] release/beta 0.35.0-beta.54
skip-checks: true
2020-11-25 13:30:35 +00:00
Thibaut Sardan
f534b9197d
try with vh (#546)
Co-authored-by: Github Actions <action@github.com>
2020-11-25 14:26:27 +01:00
Github Actions
4fba0e9223 [CI Skip] release/beta 0.35.0-beta.53
skip-checks: true
2020-11-25 12:24:12 +00:00
Thibaut Sardan
1cb36bb73c
unify warning and error and add capslock warning (#545)
* unify warning and error and add capslock warning

* Update packages/extension-ui/src/Popup/Signing/Unlock.tsx

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

* Update packages/extension-ui/src/Popup/Derive/SelectParent.tsx

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

* check capslock using onKeyPress

* lint

* fix tests

* add test for caps-lock

Co-authored-by: Github Actions <action@github.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-25 13:20:07 +01:00
Github Actions
f60ab0fd47 [CI Skip] release/beta 0.35.0-beta.52
skip-checks: true
2020-11-24 13:02:17 +00:00
Jaco Greeff
7eb6e11d5b
Bump deps (#544) 2020-11-24 13:58:14 +01:00
Github Actions
a48e392b33 [CI Skip] release/beta 0.35.0-beta.51
skip-checks: true
2020-11-24 11:17:43 +00:00
Thibaut Sardan
6b43954d05
Hide visibility button on signing popup (#543)
* hide visibility button

* Update packages/extension-ui/src/components/Address.tsx

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

Co-authored-by: Github Actions <action@github.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-24 12:12:58 +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
Github Actions
25ee668b17 [CI Skip] release/beta 0.35.0-beta.50
skip-checks: true
2020-11-24 07:44:28 +00:00
Thibaut Sardan
e6b608ff80
Show error on wrong parent password when deriving (#527)
* show error on wrong parent password

* add tests

* fix test

* group button and error tests

* Show error upon wrong derivation suri (#528)

* show error when wrong suri and fix tests

* alpha ordering and stray log

Co-authored-by: Github Actions <action@github.com>

Co-authored-by: Github Actions <action@github.com>
2020-11-24 08:40:00 +01:00
Github Actions
9aff6ba4ba [CI Skip] release/beta 0.35.0-beta.49
skip-checks: true
2020-11-23 17:53:10 +00: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
Github Actions
a0897fdec8 [CI Skip] release/beta 0.35.0-beta.48
skip-checks: true
2020-11-12 13:03:39 +00:00
Jaco Greeff
1c51e47ec7
Allow inject when phishing is unavailable (#536) 2020-11-12 13:59:23 +01:00
Github Actions
cec189a8bd [CI Skip] release/beta 0.35.0-beta.47
skip-checks: true
2020-11-11 13:19:49 +00:00
Jaco Greeff
cb4912286c
Bump dev (#535)
* Bump dev

* Bumps
2020-11-11 14:15:34 +01:00
Github Actions
a4482d8077 [CI Skip] release/beta 0.35.0-beta.46
skip-checks: true
2020-11-10 17:32:13 +00:00
Jaco Greeff
75f5c37505 Bumps 2020-11-10 18:27:27 +01:00
Github Actions
203f0ac6e5 [CI Skip] release/beta 0.35.0-beta.45
skip-checks: true
2020-11-10 13:48:52 +00:00
Jaco Greeff
bc5610bf96
Re-enable esnext (#534) 2020-11-10 14:43:40 +01:00
Github Actions
3bd8966fc2 [CI Skip] release/beta 0.35.0-beta.44
skip-checks: true
2020-11-09 22:42:08 +00:00
Jaco Greeff
3cc302c307 Bumps 2020-11-09 23:37:14 +01:00
Github Actions
4a2e26820c [CI Skip] release/beta 0.35.0-beta.43
skip-checks: true
2020-11-09 16:49:45 +00:00
Jaco Greeff
e4031049c2
Build esnext modules (#533)
* Build esnext modules

* index
2020-11-09 17:45:12 +01:00
Github Actions
c114050783 [CI Skip] release/beta 0.35.0-beta.42
skip-checks: true
2020-11-09 12:07:17 +00:00
Jaco Greeff
d971308de4
Bump util/crypto to next major (#532)
* Bump util/crypto to next major

* nvm install?

* Fixed node version
2020-11-09 13:03:27 +01:00
Github Actions
81f535a1bd [CI Skip] release/beta 0.35.0-beta.41
skip-checks: true
2020-10-31 07:22:51 +00:00
Thibaut Sardan
3aa54a081c
Ability to set account visibility from main screen (#523)
* set in/visibility on main screen

* change title

Co-authored-by: Github Actions <action@github.com>
2020-10-31 08:18:07 +01:00
Github Actions
2d51384426 [CI Skip] release/beta 0.35.0-beta.40
skip-checks: true
2020-10-31 07:03:42 +00:00
Thibaut Sardan
a9dd655612
french translation (#529)
Co-authored-by: Github Actions <action@github.com>
2020-10-31 07:59:14 +01:00
Github Actions
b9b3a75c09 [CI Skip] release/beta 0.35.0-beta.39
skip-checks: true
2020-10-30 08:59:35 +00:00
Thibaut Sardan
9b33cc579c
Use nunito fonts (#530)
* use nunito

* set to 400 (or remove since 400 is default)

* style.

Co-authored-by: Github Actions <action@github.com>
2020-10-30 09:55:09 +01:00
Github Actions
c0eff342eb [CI Skip] release/beta 0.35.0-beta.38
skip-checks: true
2020-10-26 21:12:18 +00:00
Thibaut Sardan
6eb9c7ab31
Fix error field being shown before entering any name (#522)
* fix test and bug

* use useIsMounted hook

Co-authored-by: Github Actions <action@github.com>
2020-10-26 22:08:03 +01:00
Github Actions
8c15dd41b7 [CI Skip] release/beta 0.35.0-beta.37
skip-checks: true
2020-10-26 15:02:00 +00:00
Jaco Greeff
b86b4909b5
Remove copy-to-apps script (#526) 2020-10-26 15:57:28 +01:00
Github Actions
fb16887f05 [CI Skip] release/beta 0.35.0-beta.36
skip-checks: true
2020-10-26 11:55:07 +00:00
Jaco Greeff
1cba2f5cea
Bump DG actions, cleanu up root, bump deps (#524) 2020-10-26 12:50:20 +01:00
Github Actions
02b2273cbd [CI Skip] release/beta 0.35.0-beta.35
skip-checks: true
2020-10-23 18:31:33 +00:00
Thibaut Sardan
e7fb3651ab
Style component global cleanup (#518)
* ButtonArea

* List

* Box and Welcome screen

* Svg

* remove single used Title

* ValidateInput

* VerticalSpace

* View

* Export

* Forget

* DropdownAddress

* Accounts

* Request

* Authorize

* SelectParent

* Header

* Menu item spacing

* fix tests

* Apply suggestions from code review

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

* Refactor Request into smaller components (#519)

* refactor into smaller components

* stray component

* Update packages/extension-ui/src/Popup/Signing/Request/SignArea.tsx

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

* lint

Co-authored-by: Github Actions <action@github.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>

Co-authored-by: Github Actions <action@github.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-10-23 20:26:14 +02:00
Github Actions
824baee178 [CI Skip] release/beta 0.35.0-beta.34
skip-checks: true
2020-10-23 17:47:16 +00: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
Github Actions
fdf2d54eaf [CI Skip] release/beta 0.35.0-beta.33
skip-checks: true
2020-10-23 12:17:41 +00:00
Jaco Greeff
60fa6d2c33
Bump deps (#521)
* Bump deps

* linting

* React 17 support for enzyme
2020-10-23 14:12:11 +02:00
Github Actions
8f5bb7e1ef [CI Skip] release/beta 0.35.0-beta.32
skip-checks: true
2020-10-21 14:57:22 +00:00
Thibaut Sardan
e5eef19d04
remove deprecated util-crypto setSs58 (#516)
Co-authored-by: Github Actions <action@github.com>
2020-10-21 16:52:01 +02:00
Github Actions
5cf1014edf [CI Skip] release/beta 0.35.0-beta.31
skip-checks: true
2020-10-21 08:51:15 +00:00
Github Actions
f2fb691a49 [CI Skip] release/beta 0.35.0-beta.30
skip-checks: true
2020-10-21 07:14:22 +00:00
Github Actions
ff4224f484 [CI Skip] release/beta 0.35.0-beta.29
skip-checks: true
2020-10-21 06:50:19 +00:00
Github Actions
23e1d40098 [CI Skip] release/beta 0.35.0-beta.28
skip-checks: true
2020-10-21 06:19:36 +00:00
Github Actions
4d4107a5b1 [CI Skip] release/beta 0.35.0-beta.27
skip-checks: true
2020-10-20 14:47:23 +00:00
Github Actions
34fd34b7cb [CI Skip] release/beta 0.35.0-beta.26
skip-checks: true
2020-10-20 14:40:06 +00:00
Thibaut Sardan
34e16c2a04
Refactor password error in request pop up and remember checkbox (#503)
* error and remember checkbox refactoring

* make it build

* remove margin

Co-authored-by: Github Actions <action@github.com>
2020-10-20 16:34:48 +02:00
Github Actions
0c4c3365be [CI Skip] release/beta 0.35.0-beta.25
skip-checks: true
2020-10-20 13:23:35 +00:00
Thibaut Sardan
f4d705ed13
use overflow auto (#511)
Co-authored-by: Github Actions <action@github.com>
2020-10-20 15:18:10 +02:00
Github Actions
3fe738e56c [CI Skip] release/beta 0.35.0-beta.24
skip-checks: true
2020-10-19 14:21:41 +00:00
Thibaut Sardan
431ae37afd
Move the extension-dapp to docs (#509)
Co-authored-by: Github Actions <action@github.com>
2020-10-19 16:16:58 +02:00
Github Actions
087fc2828b [CI Skip] release/beta 0.35.0-beta.23
skip-checks: true
2020-10-19 06:20:33 +00:00
Jaco Greeff
43675d77e2
Bump deps (#508) 2020-10-19 08:15:21 +02:00
Github Actions
b63a19ef71 [CI Skip] release/beta 0.35.0-beta.22
skip-checks: true
2020-10-18 08:25:49 +00:00
Jaco Greeff
d523d210c5
Some cleanups to web3Enable (god-function) (#507)
* Some cleanups to web3Enable (god-function)

* Only use document complete

* Cleanup

* Rewrite
2020-10-18 10:21:04 +02:00
Github Actions
b3ab81a7d7 [CI Skip] release/beta 0.35.0-beta.21
skip-checks: true
2020-10-17 15:08:08 +00:00
Thibaut Sardan
fe4148f12f
Use FontAwesome as much as possible (#499)
* header

* menuAdd

* bring in regular and ActionText

* settings menu

* replace arrow-left

* warning

* lock unlock derivation path

* fix test Header

* fix test Header

* alpha ordering

* neutral colors for menu icons

* Update package.json

* add a back button hover color (#502)

Co-authored-by: Github Actions <action@github.com>

* Update package.json

* Apply suggestions from code review

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

Co-authored-by: Github Actions <action@github.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-10-17 17:03:01 +02:00
Github Actions
95716b7da9 [CI Skip] release/beta 0.35.0-beta.20
skip-checks: true
2020-10-16 13:36:19 +00:00
Jaco Greeff
9b3a0c4451
Bumping (aligning all util/keyring/networks) (#505) 2020-10-16 15:31:29 +02:00
Github Actions
9c98c006a5 [CI Skip] release/beta 0.35.0-beta.19
skip-checks: true
2020-10-16 12:40:50 +00:00
Thibaut Sardan
7d6542fba7
Use @polkadot/networks (#504)
* use @polkadot/networks

* address comments

* icon is set

* pull latest beta

* filtering out if no genesis

Co-authored-by: Github Actions <action@github.com>
2020-10-16 14:35:41 +02:00
Github Actions
bc16cade94 [CI Skip] release/beta 0.35.0-beta.18
skip-checks: true
2020-10-15 10:03:07 +00: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
Github Actions
47767091d1 [CI Skip] release/beta 0.35.0-beta.17
skip-checks: true
2020-10-15 05:43:05 +00:00
Jaco Greeff
55c4a0abe5
Latest util (incl. version with genesisHash[] support) (#501) 2020-10-15 07:38:00 +02:00
Github Actions
2eb6923f74 [CI Skip] release/beta 0.35.0-beta.16
skip-checks: true
2020-10-15 00:22:40 +00:00
Jaco Greeff
d96ba9d90f
Bump deps (#500)
* Bump deps

* Move build deps
2020-10-15 02:17:43 +02:00
Github Actions
7f7abb64cf [CI Skip] release/beta 0.35.0-beta.15
skip-checks: true
2020-10-14 10:03:54 +00:00
WoeOm
97b32dabc0
add darwinia network (#493) 2020-10-14 11:58:26 +02:00
Github Actions
e165554a4f [CI Skip] release/beta 0.35.0-beta.14
skip-checks: true
2020-10-13 17:05:58 +00: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
Github Actions
c7c2bafaa7 [CI Skip] release/beta 0.35.0-beta.13
skip-checks: true
2020-10-13 12:19:47 +00: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
Github Actions
142cc74d80 [CI Skip] release/beta 0.35.0-beta.12
skip-checks: true
2020-10-10 10:06:21 +00:00
Thibaut Sardan
a11244adf4
Show a specific icon on external account (#484)
* icon to show external account

* revert renaming

* lint

* use find instead of some

* before the name

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

* Update packages/extension-ui/src/components/Address.tsx
2020-10-10 12:01:05 +02:00
Github Actions
8fa54c9a3a [CI Skip] release/beta 0.35.0-beta.11
skip-checks: true
2020-10-10 08:47:38 +00:00
Thibaut Sardan
91cfad0c0e
Add error boundaries with fallback component to show any error (#471)
* add error boundaries with fallback component

* use own ErrorBoundaries

* fix build

* simplistic implementation

* Update packages/extension-ui/src/components/ErrorBoundary.tsx

* keep fragments

* at the root only

* weird svg error

* double click needed

* remove trigger

* demove errorDisplay and move goHome to class

* cleanup and button

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

* use trigger

* remove intentionnal error

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

* Update packages/extension-ui/src/components/ErrorBoundary.tsx

* fix build

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

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

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-10-10 10:42:35 +02:00
Github Actions
c9c2f6a366 [CI Skip] release/beta 0.35.0-beta.10
skip-checks: true
2020-10-07 11:30:39 +00:00