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
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
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
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
Jaco Greeff
7eb6e11d5b
Bump deps ( #544 )
2020-11-24 13:58:14 +01: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
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
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
Thibaut Sardan
a9dd655612
french translation ( #529 )
...
Co-authored-by: Github Actions <action@github.com>
2020-10-31 07:59:14 +01: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
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
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
Jaco Greeff
60fa6d2c33
Bump deps ( #521 )
...
* Bump deps
* linting
* React 17 support for enzyme
2020-10-23 14:12:11 +02: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
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
Thibaut Sardan
f4d705ed13
use overflow auto ( #511 )
...
Co-authored-by: Github Actions <action@github.com>
2020-10-20 15:18:10 +02: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
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
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
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
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
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
Thibaut Sardan
ba96ce7337
Groupe accounts by network and sort by name, path, creation date ( #481 )
...
* sort by name
* compare by path
* fixed and added tests
* sort by network first
* add comment
* use localCompare
* use the same sorting name - path - creation everywhere
* Apply suggestions from code review
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* Apply suggestions from code review
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-10-07 13:25:25 +02:00
Thibaut Sardan
61d4d9efe8
Fix derive suggestion when switching root ( #483 )
...
* fix and refactor tests a little
* no test possible :(
2020-10-06 20:10:12 +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
d713f48a51
Fix missing translations ( #475 )
...
* fix fixmes
* fix translation generation
2020-10-01 15:51:06 +02:00
Thibaut Sardan
4fb1fd6067
Add i18n language change dropdown ( #467 )
...
* add dropdown and make it work
* clean up
* Update packages/extension-ui/src/util/languages.ts
* lint
* remove lang detection
* rename and clean up getLanguage options util
2020-09-30 21:19:29 +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
Jaco Greeff
38fc061c93
0.34 ( #453 )
2020-09-15 09:25:40 +02:00
Thibaut Sardan
539a0a9c5f
fix back button ( #438 )
2020-09-07 17:38:40 +02:00
Jaco Greeff
12ce4af694
Basic optimizations ( #432 )
...
* Basic optimizations
* CHANGELOG
2020-09-04 16:53:34 +02:00
Jaco Greeff
206c0b4d85
Swap to actual react-i18next ( #431 )
...
* Swap to actual react-i18next
* Update i18n creation
2020-09-04 16:32:42 +02:00
Jaco Greeff
270930db9e
Plumbing for i18n (key -> key) ( #429 )
...
* Plumbing for i18n (key -> key)
* Update test text
* Apply suggestions from code review
* i18next-scanner for extraction
2020-09-04 15:34:15 +02:00
Jaco Greeff
8eae8a39b5
Small UI adjustments ( #428 )
...
* Small UI adjustments
* Bump api
2020-09-04 09:16:48 +02:00
Jaco Greeff
f215eb7d87
Asjust spinner buttons ( #427 )
2020-09-04 02:43:10 +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
2d16ecea5a
Small cleanups ( #425 )
...
* Small cleanups
* CHANGELOG
2020-09-03 19:36:27 +02:00
Jaco Greeff
91073cc8fb
Extend popup width ( #424 )
2020-09-03 17:30:21 +02:00
Jaco Greeff
10e1eee36c
Protect against requestIndex over/under ( #423 )
2020-09-03 17:12:43 +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
4407ffb0ba
Make import from seed, QR & JSON options available on first-start ( #419 )
...
* Make import from seed, QR & JSON options available on first-start
* Cleanups
2020-09-03 10:39:14 +02:00
Jaco Greeff
49f8e89eb5
Derive using parent genesisHash ( #420 )
2020-09-03 10:24:32 +02:00
Jaco Greeff
bb4f355ef6
0.32 ( #396 )
...
* 0.32
* Speed improvements for derivation (#397 )
* Speed improvements for derivation
* Cleanups
* Remove obsolete test
* Menu adjustments
2020-07-28 10:48:46 +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
f4fc547c7e
Close the no-accounts import (JSON/seed) hole ( #388 )
...
* Close the no-accounts import (JSON/seed) hole
* Use accounts (not hierarchy)
2020-07-11 11:25:27 +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
cb8dd7d42d
Remove prop-types overrides ( #382 )
2020-07-02 11:20:19 +02:00
Jaco Greeff
baf9a7b0a1
Bump deps ( #381 )
2020-07-02 09:43:25 +02:00
Jaco Greeff
e9fe113b29
Unlock error display ( #373 )
...
* Unlock error display
* Bumps
2020-06-24 10:54:23 +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
a7132a95aa
Adjust account menu position ( #367 )
2020-06-07 12:47:53 +02:00
Jaco Greeff
99b9596bdd
Menu for adding accounts ( #366 )
...
* Menu for adding accounts
* Cleanup menu, remove buttons
2020-06-07 09:27:18 +02:00
Jaco Greeff
b21956f608
Use chain colors for badge display ( #357 )
2020-06-02 12:43:52 +02:00
Jaco Greeff
bda7f4aec1
Small adjustments in locations ( #356 )
...
* Small adjustments in locations
* Adjust banner location
* Test update
2020-06-02 11:05:15 +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
5bdc3aec3a
More small css adjustments ( #353 )
2020-06-01 14:57:32 +02:00
Jaco Greeff
56cc6b301a
JSON input styling via theme ( #352 )
2020-06-01 12:00:53 +02:00
Jaco Greeff
02a1837edb
Display address with current genesisHash ( #351 )
2020-06-01 11:15:48 +02:00
Jaco Greeff
6051ddc44c
Don't refesh on ss58 changes ( #350 )
2020-05-31 13:02:02 +02:00
Jaco Greeff
ba3b0d3c77
Small css class adjustments ( #342 )
...
* Small css class adjustments
* Additional
* Adjustments
* Update packages/extension-ui/src/partials/AddAccount.tsx
* Additional css movements
* Minor adjustments
2020-05-31 12:18:54 +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
Jaco Greeff
262bef7a56
Update CHANGELOG with all latest ( #345 )
...
* Update CHANGELOG with all latest
* Bump with ui-settings ss58 renames
2020-05-30 10:52:46 +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
1be5dceeec
Bump deps ( #344 )
2020-05-30 07:30:34 +02:00
Jaco Greeff
45d75aede0
Re-enable lines between settings ( #341 )
2020-05-27 11:14:47 +02:00
Jaco Greeff
fba0754633
Fix for settings UI layout (half-effeort in previous PR) ( #340 )
2020-05-27 10:30:43 +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
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
Ivan Rukhavets
ed36ed24bb
Create new account as a child of a master account by default ( #318 )
...
* derive accounts for master account
* Add master field to account context (#75 )
* add master field to account context
* add tests for buildHierarchy function
* Fix selection master account
* Add path numeration for derived accounts (#76 )
* add path numeration for derived accounts
* Fix PR notices. Add util for Path generation.
* Correct test
Co-authored-by: Ivan Rukhavets <ivanruch@gmail.com>
Co-authored-by: VladStarostenko <vlad@DESKTOP-V12SRE8.localdomain>
* Add arrows to buttons (#77 )
* Add parent label (#80 )
* refactor parent label
* refactor parent label
* refactor parent label
Co-authored-by: Ivan Rukhavets <ivanruch@gmail.com>
* Implement new create account flow (#78 )
* Add copied snackbar (#83 )
* refactor parent label
* Add "Copied" snackbar
* Add "Copied" snackbar
* Hide suri input behind a spoiler (#84 )
* Disallow changing parent account when 'Derive' option is clicked (#82 )
* Add lock to path input (#85 )
Co-authored-by: VladStarostenko <38181661+VladStarostenko@users.noreply.github.com>
Co-authored-by: VladStarostenko <vlad@DESKTOP-V12SRE8.localdomain>
2020-05-11 12:27:00 +02:00
Jaco Greeff
526f2a2612
Additional useCallback on inputs ( #320 )
2020-04-20 18:23:14 +02:00
Jaco Greeff
25e0ea7530
Stylelint (testing, non-required) ( #317 )
...
* Stylelint
* Minor cleanups
* Default parser
* Header eslint rule
2020-04-07 11:10:14 +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
c6d019fe3c
Cleanup some UI import locations ( #308 )
...
* Cleanup som UI import locations
* Remove content.inject (from elsewhere)
* Update index.tsx
2020-04-03 12:20:36 +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
Ivan Rukhavets
e3407782ed
Add address copy button ( #300 )
...
* Add address copy button
* CR requests implemented
* Fix lint
Co-authored-by: VladStarostenko <38181661+VladStarostenko@users.noreply.github.com>
2020-04-02 11:30:02 +02:00
Ivan Rukhavets
1af44b4264
Add validation to text inputs ( #299 )
...
* Add validation to text inputs (#56 )
* [CI Skip] 0.24.0-beta.3
skip-checks: true
* Change imports
* Refactor ValidatedInput.tsx to stop cloning elements
* Fix linter
* Fix lint
Co-authored-by: Github Actions <action@github.com>
2020-04-02 11:19:42 +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
Jaco Greeff
0be206d4e0
Bump dev, adjust JSX props ( #303 )
2020-04-01 13:39:47 +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
32f52dfc13
Exhaustive hooks ( #294 )
2020-03-27 08:41:35 +01: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
Jaco Greeff
a2c0c8a433
Cleanup extension decoding ( #287 )
...
* Cleanup extension decoding
* Bumps
2020-03-25 16:47:15 +01:00
Jaco Greeff
84769dc81d
Update metadata for Kusama ( #285 )
...
* Update metadata for Kusama
* Revert icon changes, stick to defaults
2020-03-25 08:01:06 +01:00
Jaco Greeff
8e0b81a6cb
Dev bump ( #281 )
2020-03-21 11:21:08 +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
2c017d17b2
Display IdentityIcon with chain prefix ( #218 )
...
* Display IdentitIcon with chain prefix
* Cleanups, make it actually work
2020-01-27 12:28:47 +01:00
Jaco Greeff
7efd915506
Bump deps ( #216 )
2020-01-06 15:27:25 +01:00
Jaco Greeff
563559286a
Disable spellcheck on inputs ( #215 )
...
* Disable spellcheck on inputs
* Cleanup alphabetical attributes
2020-01-06 12:45:35 +01:00
Ivan Rukhavets
85db56cd0f
Redesign ( #203 )
...
* Inject theme using styled-components' ThemeProvider (#3 )
* Apply colors from design, styles refactoring (#5 )
* Add new tip and accounts screen without accounts (#7 )
* Sync with upstream (#10 )
* Use Nunito font (#11 )
* Create account first page (#14 )
* Customizable identicon (#13 )
* Inline buttons (#16 )
* Welcome screen styling (#17 )
* Account creation second step (#15 )
* Add new header (#20 )
* change welcome screen (#19 )
* Account screen (#18 )
* Update from upstream (#21 )
* Window title (#25 )
* New authorize (#24 )
* Refactor and remove unnecessary stuff from theme (#22 )
* refactor add accounts screen (#29 )
* Export and forget screens, change general padding to 24px (#27 )
* Signing screen (#26 )
* Import account screens (#31 )
* Change header with settings (#28 )
* Refactor button and mnemonic (#30 )
* Restyle checkbox (#33 )
* Remove opacity from background; add borders (#32 )
* Code style polishing (#34 )
* Move fileMock to __mocks__ (#35 )
* Add light theme (#36 )
* Small design changes (#38 )
* Change background color (#39 )
* Sync with upstream (#41 )
* Update screenshots in readme
* [CI Skip] 0.14.0-beta.7
skip-checks: true
* fix error for display menu (#42 )
* fix display of authorization (#43 )
* firefox scrol (#45 )
* small change for rename account (#44 )
* Sync with upstream
* Print and back button (#48 )
* delete print button and change cancel to back button
* Set body color (#49 )
* Fix the fix of account rename (#52 )
* Update generic sign screen (#47 )
* Improve UI/UX design (#53 )
* [CI Skip] 0.14.0-beta.10
skip-checks: true
* Improve QR code recognition on dark theme (#54 )
* Add proper tx/sign texts and headers (#55 )
Co-authored-by: Kamil Dąbrowski <kamil@ethworks.io>
2019-12-20 10:06:43 +01:00
Caio
411e1f1ed1
Implement signRaw ( #196 )
2019-12-06 15:49:37 +01:00
Jaco Greeff
ed57fa6a6c
CC3 ( #202 )
...
* CC3
* Bumps
* Bump API
* CC3 metadata
* Remove multi export (Mac keyboard... what can I say...)
* Add ValidatorPrefs override to edgeware
* Bump deps
2019-12-05 11:43:07 +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
98f0a0f3fd
Alphabetical messages ( #189 )
2019-10-25 10:14:15 +02:00
Jaco Greeff
872d7b808a
Allow settings for camera ( #183 )
...
* Allow settings for camera
* Bump deps
* Linting
* Add settings listener
2019-10-24 21:16:34 +02:00
Jaco Greeff
1f858a8024
Button alignment ( #182 )
...
* Button alignment
* Adjust test for new button layouts
* Bump deps
2019-10-24 15:48:38 +02:00
Jaco Greeff
b034f0a865
Bump deps ( #177 )
2019-10-11 10:49:56 +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
0667c80497
Bump deps ( #163 )
2019-09-25 14:22:09 +02:00
Jaco Greeff
d51182e884
All icon theme per chain ( #155 )
2019-09-19 11:04:44 +02:00
Jaco Greeff
1e248093c2
Cleanup details rendering ( #151 )
...
* Cleanup details rendering
* Pass request genesisHash to rendering
2019-09-15 20:47:53 +02:00
Jaco Greeff
8aba99fc9c
Add chain type overrides ( #150 )
2019-09-14 10:16:56 +02:00
Jaco Greeff
b83490605b
Don't fail outright on decoding ( #149 )
2019-09-14 08:58:22 +02:00
Jaco Greeff
cf6a76e5a6
Bump deps ( #147 )
2019-09-12 16:14:27 +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
1154525111
Remove unicode icons (crappy on FF) ( #138 )
2019-09-05 16:00:25 +02:00
Jaco Greeff
0d1485db6b
Replace with* with useContext as applicable ( #135 )
2019-09-01 16:07:52 +02:00
Jaco Greeff
92f749c8ab
Typescript-eslint 2 ( #132 )
...
* Setup
* Linting fixes
2019-08-31 09:20:00 +02:00
Jaco Greeff
afb8aedb0a
Bump deps ( #127 )
...
* Bump deps
* Linting fixed (new)
2019-08-27 14:41:47 +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
83a50e3081
Bump API (new SignedExtra) ( #123 )
2019-08-19 10:16:01 +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
Jaco Greeff
d40f61d0b3
Add network prefix settings ( #97 )
...
* Add nework prefix settings
* Use setAddressPrefix
* Align dependencies (aka resolutions)
2019-07-18 12:51:27 +02:00
Jaco Greeff
77da117711
Fix name display for other prefixes ( #90 )
2019-07-17 12:40:52 +02:00
Jaco Greeff
00c38de0a4
Re-enable mortals ( #87 )
2019-07-16 16:20:54 +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
da16a494e8
Make it work with apps ( #74 )
...
* Make it work with apps
* Update package.json
2019-07-12 19:58:22 +02:00
Jaco Greeff
42c17b7e80
Bumps ( #67 )
...
* Bumps
* api-metadata import
2019-07-09 17:00:14 +02:00
Jaco Greeff
cdf5729f4f
Bump deps ( #59 )
2019-06-21 13:08:31 +02:00
Jaco Greeff
c16818fd3e
Pull RawPayload and ExtensionStore from deps ( #55 )
...
* Pull RawPayload and ExtensionStore from deps
* Use {method,section}Name from Method
* Cleanup method display (known) with meta
2019-06-07 11:02:20 +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
1552deeaea
Welcome overview ( #49 )
...
* Welcome overview
* Lint fixes
2019-06-03 15:10:55 +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
0e3193a358
Metadata for known chains ( #40 )
...
* Metadata for known chains
* Decode from metadata
2019-06-02 16:23:16 +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
d8728e473e
Display requests with Iconbox ( #32 )
...
* Display requests with Iconbox
* Make (X) clickable
* Remove cc-test-reporter
2019-05-26 14:56:18 +02:00
Jaco Greeff
a025f5e752
Rework inputs ( #26 )
2019-05-24 07:52:25 +02:00
Jaco Greeff
66f871b7b9
More small css tweaks ( #25 )
...
* More small css tweaks
* Adjust Tip width
2019-05-23 22:16:34 +02:00
Jaco Greeff
85704d5beb
Small margin adjustment for Address ( #24 )
...
* Small margin adjustment for Address
* https
2019-05-23 18:17:47 +02:00
Jaco Greeff
d85d69f422
Tny info bg adjusment (no alpha) ( #23 )
2019-05-23 17:16:49 +02:00
Jaco Greeff
4566d2cc4e
Small styling updates ( #22 )
2019-05-23 16:51:56 +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
4a2768cee8
Display genesis (or chain, if known), update deps ( #19 )
...
* Display genesis (or chain, if known), update deps
* Build optimizations
2019-05-22 13:16:40 +02:00
Jaco Greeff
cdf5579b8e
Rework context with HOCs ( #16 )
...
* Rework context with HOCs
* Type for signing requests list
2019-05-21 17:25:39 +02:00
Jaco Greeff
aaf2adbaa8
Adjust some styling ( #12 )
...
* Adjust some tyling
* Add danger button color
* Make a's focussable
* Tiny icon peeking move
2019-05-21 13:47:43 +02:00
Jaco Greeff
971f4e4a1a
Adjust inline edit jumps ( #11 )
2019-05-21 12:21:25 +02:00
Jaco Greeff
8c25cb3e39
Swap to using context for accounts & requests ( #6 )
...
* Swap to using context for accounts & requests
* Move event handlers
2019-05-20 18:02:20 +02:00
Jaco Greeff
e730d4e7c0
Forget actually returns ( #5 )
2019-05-20 16:25:31 +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
7f35ea1e8e
Highlight password when unlock fails ( #3 )
...
* Highlight password when unlock fails
* Remove old/renamed packages
* manifest.json matched package.json
* Update build script name
* Update package name, skip tests
2019-05-20 14:32:26 +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