Szymon Lesisz
9f6e9e37a6
split sendForm actions
2018-12-05 09:26:30 +01:00
Szymon Lesisz
7f56cdbcde
handle unsupported and/or outdated firmware in discovery process
2018-12-05 09:25:54 +01:00
Szymon Lesisz
45583ac477
send account to blockchain subscribe method
2018-12-05 09:25:54 +01:00
Szymon Lesisz
3774110a83
handle NOT_SUPPORTED methods in Discovery
2018-12-05 09:24:47 +01:00
Szymon Lesisz
120c227753
RecevieActions: with ripple call
2018-12-05 09:24:47 +01:00
Szymon Lesisz
7956b4a5fb
subscribe to blockchain after discovery
2018-12-05 09:24:47 +01:00
Szymon Lesisz
c66383ddba
disable BlockchainActions for non-ethereum networks
2018-12-05 09:24:47 +01:00
Szymon Lesisz
0918403024
split discovery actions to coin specific files
2018-12-05 09:24:47 +01:00
Szymon Lesisz
198dd4e9c7
add RippleDiscoveryActions
2018-12-05 09:24:47 +01:00
Szymon Lesisz
a58644f8ec
Load tokens only is exists in config
2018-12-05 09:24:47 +01:00
Vladimir Volek
bf3dd1cfde
Fix validation on send
2018-11-27 17:11:46 +01:00
Vladimir Volek
851c7f23cb
merge
2018-11-22 15:15:29 +01:00
Vladimir Volek
35b97f9114
Merge pull request #252 from trezor/fix/validate-token-in-send-draft
...
token existence validation
2018-11-22 15:08:57 +01:00
Vladimir Volek
68d3bbb738
Fix flow
2018-11-22 14:20:37 +01:00
Szymon Lesisz
556b2be84f
cleaning up SelectedAccountActions + add default loading case
2018-11-22 14:19:48 +01:00
Vladimir Volek
04946b5f06
Do no render loader and notification together
2018-11-22 14:19:48 +01:00
Vladimir Volek
f53726c451
Added missing case
2018-11-22 14:19:48 +01:00
Vladimir Volek
827e5f14fa
Separate notifications and loader
2018-11-22 14:19:48 +01:00
Vladimir Volek
c3bb0899c9
Fix flow
2018-11-22 14:19:48 +01:00
Vladimir Volek
c5a9c8fdb7
Added messages to loading, added more cases
2018-11-22 14:19:48 +01:00
Vladimir Volek
7b7eb5350d
Added loader for all accounts views
2018-11-22 14:19:48 +01:00
Vladimir Volek
43906f505c
Add clear actions
2018-11-21 19:32:28 +01:00
Vladimir Volek
e41cc22e3b
Move values to redux
2018-11-21 19:19:14 +01:00
Szymon Lesisz
2a7d5394db
token existence validation
2018-11-21 16:24:22 +01:00
Szymon Lesisz
09c02160ea
fix flowtype warning (default export in actions)
2018-11-21 14:47:04 +01:00
Szymon Lesisz
a944b9287e
SendFormActions: setDefaultGesLimit - token or coin value fix
2018-11-21 14:35:30 +01:00
Vladimir Volek
fc50202f6a
Added action
2018-11-21 14:35:30 +01:00
Vladimir Volek
8ed59317c7
Simplify actions with modals
2018-11-18 17:35:47 +01:00
Vladimir Volek
d8762ec76f
Merge branch 'feature/accounts-loader' into sign/verify
2018-11-15 17:44:44 +01:00
Vladimir Volek
6c2ae9c1be
Fix flow
2018-11-15 17:44:21 +01:00
Vladimir Volek
f93eb3bebd
Fix flow
2018-11-15 16:19:04 +01:00
Vladimir Volek
68a8307b49
Added progress action for verify
2018-11-05 17:10:09 +01:00
Vladimir Volek
bc0238403b
Add trezor action to textarea
2018-11-05 16:45:45 +01:00
Vladimir Volek
53f7a8ecef
merge
2018-11-05 14:57:23 +01:00
Vladimir Volek
53ca124a55
Added messages to loading, added more cases
2018-11-05 12:07:32 +01:00
Vladimir Volek
31889270a0
Implemented review
2018-11-02 16:38:27 +01:00
Szymon Lesisz
474871d375
wallet type from passphrase modal
...
- added new action "CONNECT.UPDATE_WALLET_TYPE" to update DeviceReducer
- pass device straight from action getState() instead of param of this action
- replace switch with if
2018-11-01 18:47:44 +01:00
Szymon Lesisz
bdf1a1d409
add seedless view
2018-11-01 10:53:56 +01:00
Vladimir Volek
90c0dd1276
Added loader for all accounts views
2018-10-31 12:55:29 +01:00
Vladimir Volek
434c86dc8c
merge
2018-10-25 17:32:39 +02:00
Szymon Lesisz
20c503c164
redirect to initial url after acquiring device
...
1. try to redirect after DEVICE.CONNECT event
2. clear initial url when redirection is done
2018-10-25 17:05:02 +02:00
Szymon Lesisz
0c61bcb08d
local storage prefix
...
- common prefix for localstorage and sessionstorage
- code refactoring
2018-10-22 10:04:19 +02:00
Vladimir Volek
bed5932498
Fixed eslint and flow
2018-10-21 16:07:07 +02:00
Vladimir Volek
235f5cbdc3
Fixed some eslint and flow
2018-10-20 12:12:29 +02:00
Vladimir Volek
35ce9b6a1d
Refactor sign input
2018-10-20 02:11:24 +02:00
Vladimir Volek
7ecfdb7ec2
Pass passphrase to request
2018-10-20 01:12:17 +02:00
Vladimir Volek
07f9fc30f9
Added success case for verify
2018-10-20 01:05:19 +02:00
Vladimir Volek
d1ef608c0e
Textarea added trezor action prop, use textarea higligh while confirm
2018-10-20 00:22:07 +02:00
Vladimir Volek
a31301a9f5
merge
2018-10-19 12:04:13 +02:00
Vladimir Volek
954ad18f8e
Clear for signature
2018-10-19 00:55:16 +02:00
Vladimir Volek
18a424c214
Simplify input values, added verify
2018-10-18 14:18:48 +02:00
Szymon Lesisz
835d172483
quickfix: update token balance on token added
2018-10-18 14:17:52 +02:00
Vladimir Volek
b89a825077
Added sign response, style
2018-10-17 17:57:21 +02:00
Szymon Lesisz
a8bae8bdb1
added beta-wallet disclaimer
...
- Added BetaDiscialmer component used in Landing/RootView
- refactoring LocalStorageActions (moved logic from LocalStorageService)
2018-10-17 12:09:25 +02:00
Vladimir Volek
ca460859ac
Added sign action
2018-10-17 00:31:33 +02:00
Szymon Lesisz
ed7501c4fc
refactor Coin > Network
2018-10-15 15:44:10 +02:00
Szymon Lesisz
a36a5e9dbe
added beta build
2018-10-11 18:04:25 +02:00
Vladimir Volek
8b332b4763
Merge pull request #174 from trezor/feature/modal-context
...
Feature/modal context
2018-10-11 15:57:05 +02:00
Vladimir Volek
60b0e35b2c
Reviex fix - reducer to string
2018-10-11 15:18:09 +02:00
Vladimir Volek
077b6dc7fa
Make notification responsive, flow fix
2018-10-11 15:18:09 +02:00
Vladimir Volek
817b333d3a
notification message can be component, styles adjusted
2018-10-11 15:18:09 +02:00
Szymon Lesisz
337eacd1d2
fixed deviceUtils.isSelectedDevice
2018-10-11 13:07:29 +02:00
Szymon Lesisz
41b78390ed
add MODAL_CONTEXT
...
- update MODAL action constants
- ModalReducer refactoring (field "opened" replaced by "context")
- implementing "context" in all components
2018-10-10 21:27:07 +02:00
Szymon Lesisz
233fac84b6
quickfix: expose TrezorConnect to window for development builds
2018-10-10 15:46:42 +02:00
Szymon Lesisz
6a14601ddd
quickfix: COMMITHASH and LOCAL are not window variables, use flowtype declaration
2018-10-10 15:45:21 +02:00
Szymon Lesisz
600d3565f7
fix redirection to /bridge from landingpage
...
- allows to redirect from / to /bridge route
- fix current bridge version if transport is webusb
- RouterActions optionally verifies if requested url has "landing" prefix in ./support/routes
2018-10-10 12:12:56 +02:00
Szymon Lesisz
d78381106e
Filter log
2018-10-09 15:36:55 +02:00
Szymon Lesisz
0f39182db7
quickfix: disable REQUEST_WALLET_TYPE action for device without passphrase_protection
2018-10-09 14:39:10 +02:00
Szymon Lesisz
6a3e71f0a5
remove unused constant WALLET.ON_BEFORE_UNLOAD
2018-10-09 14:32:15 +02:00
Szymon Lesisz
c10b8baeba
remove unused action WALLET.ON_BEFORE_UNLOAD
2018-10-09 14:31:10 +02:00
Szymon Lesisz
571462f08f
quickfix: prevent redirecting to Dashboard for first time RECEIVE_WALLET_TYPE
2018-10-09 13:28:59 +02:00
Vladimir Volek
f258f1b125
Merge pull request #134 from trezor/feature/change-passphrase
...
Feature/change passphrase
2018-10-09 12:58:37 +02:00
Vladimir Volek
95c3c8dba7
Merge pull request #136 from trezor/fix/allow-data-prefix
...
allow "0x" prefix in transaction data
2018-10-09 10:45:35 +02:00
Szymon Lesisz
51ed553e9a
move hex regexp to /utils/ethUtils
2018-10-09 10:42:36 +02:00
Szymon Lesisz
b9251f8db7
add and verify local storage version
...
fix : #131
2018-10-08 18:22:21 +02:00
Szymon Lesisz
4da23c1db2
remove comment
2018-10-08 17:52:48 +02:00
Szymon Lesisz
5995568e19
allow "0x" prefix in transaction data
...
fix : #101
2018-10-08 17:51:25 +02:00
Szymon Lesisz
1a55f45d2d
goto to dashboard page when switching wallet type
2018-10-08 15:52:24 +02:00
Szymon Lesisz
d6af3d6dfa
remove pendingTxs while switching between wallet types and forgeting device
2018-10-08 13:34:03 +02:00
Szymon Lesisz
14eac38246
FORGET_SILENT if disconnected device is not selected and modal is opened
2018-10-08 13:34:03 +02:00
Szymon Lesisz
cea3fe7e68
new modal "wallet type"
2018-10-08 13:34:03 +02:00
Szymon Lesisz
291e771a6b
new actions: request and receive wallet type
2018-10-08 13:34:03 +02:00
Szymon Lesisz
3183426137
TrezorConnect calls using new field "useEmptyPassphrase"
2018-10-08 13:34:03 +02:00
Szymon Lesisz
3512c271e2
FirmwareUpdate: notification button click + "cancel" action conditionally
2018-10-05 09:03:51 +02:00
Szymon Lesisz
a4788d95fb
refactor using device.mode and device.firmware
2018-10-04 23:06:40 +02:00
Szymon Lesisz
33e326a8f2
gotoBridgeUpdate link
2018-10-04 23:06:40 +02:00
Szymon Lesisz
d07d078d92
DiscoveryAction refactoring
2018-10-04 10:51:33 +02:00
Szymon Lesisz
b4f6771544
SelectedAccountActions fix
...
+ ignore ACCOUNT.DISPOSE action in "observe"
+ if discovery is interrupted display proper Account notification
2018-10-04 10:51:06 +02:00
Szymon Lesisz
4354e494c4
remove DiscoveryActions from TrezorConnectActions
2018-10-04 10:49:52 +02:00
Szymon Lesisz
c3c3c10350
fix selectFirstAvailableDevice
...
Redirect only if first available device is not currently selected
fix #117
2018-10-04 10:47:30 +02:00
Szymon Lesisz
9a8ac01dcd
change selectedAccount notification title
2018-10-03 19:55:30 +02:00
Szymon Lesisz
aa96a15b16
WalletActions.observe should react to CONNECT.AUTH_DEVICE action
2018-10-03 19:54:57 +02:00
Szymon Lesisz
4d99577fa7
fix for "selectedAccount" observe action
...
added all BLOCKCHAIN events from 'trezor-connect' (example: disconnect)
and explicly SEND.TX_COMPLETE which create a pending transaction
2018-10-03 14:44:19 +02:00
Szymon Lesisz
647d196e1e
fix for '0' gasPrice from web3
...
if i had some accounts already saved and initSendForm requested "gasPrice" from web3 which didn't exists in this moment yet, returned value was '0'.
This commit fixes that by returning defaultGasPrice instead of '0' and also initializes web3 during Backend.subscribe (before account is shown)
2018-10-03 14:42:52 +02:00
Szymon Lesisz
25f41bd163
fix router actions
2018-10-02 17:33:49 +02:00
Szymon Lesisz
2e4acf3ee8
renamed "acquiring" to "acquiringDevice" in connect reducer
2018-10-02 10:05:51 +02:00
Szymon Lesisz
7083c6e0d1
add "reject" method to PendingTxActions (not implemented yet)
2018-10-01 15:10:06 +02:00
Szymon Lesisz
0fbbdf7b71
changed "observeChanges" utility method
2018-10-01 15:10:06 +02:00
Szymon Lesisz
e3816be8d2
fix for reducerUtils.observeChanges
2018-10-01 15:10:06 +02:00
Szymon Lesisz
f0e0b4fee2
rename selectedAccount.visible to shouldRender
2018-10-01 15:10:06 +02:00