Szymon Lesisz
350d71521e
validate via wallet-address-validator lib
6 years ago
Szymon Lesisz
179bcb386d
force CI update
6 years ago
Szymon Lesisz
b19c6e87e9
eslint fix
6 years ago
Szymon Lesisz
02040f2505
force CI build
6 years ago
Szymon Lesisz
c53dfcfaeb
ripple/BlockbookAction temporary commented
6 years ago
Szymon Lesisz
6f334182aa
handle blockchain_disconnect when wallet init in offline mode
6 years ago
Szymon Lesisz
19784b5100
enable RippleDiscovery process from storage
6 years ago
Szymon Lesisz
24524d7445
update BlockchainNotification event values to match BlockchainLinkTransaction
6 years ago
Szymon Lesisz
7ad19dd1c0
replace PendingTx flow declaration by BlockchainLinkTransation from 'trezor-connect'
6 years ago
Szymon Lesisz
39786377b6
remove link from Success notification in ripple SendForm
6 years ago
Szymon Lesisz
a8d623b6a7
emit BlockchainEvent from ethereum SendForm
6 years ago
Szymon Lesisz
63fb8109cb
sen payload to EthereumBlockchainActions.onNotification from BlockchainActions
6 years ago
Szymon Lesisz
bab5007847
call PENDING.ADD from BlockbookActions
6 years ago
Szymon Lesisz
780e6e27ef
add coin parameter to connect.rippleGetAccountInfo
6 years ago
Szymon Lesisz
f9f1b6758e
remove unused field from getAccountLoader
6 years ago
Szymon Lesisz
f24f0b33ea
add explanation of 'not-used' strings
6 years ago
Szymon Lesisz
9d6bce9251
fix fwOutdated exceptionPage values
6 years ago
Szymon Lesisz
2aa6a82911
split loader, notification and exceptionPage to isolated variables
...
and pass them as they are to views/Wallet/components/Content
6 years ago
slowbackspace
512574ece2
custom loader type when coin is not supported by the firmware
6 years ago
Maroš Špak
778fc5672b
single quote
6 years ago
Maroš Špak
4273adda27
add missing networkType
6 years ago
Szymon Lesisz
b7790c0351
remove comments
6 years ago
Szymon Lesisz
128d238037
change "if" to "switch"
6 years ago
Szymon Lesisz
fc4ff5d71c
add "testnet" field to config, and filter those values for "dev build" only
6 years ago
Szymon Lesisz
4492dbae63
feeLevels in ripple
6 years ago
Szymon Lesisz
3ae45ddd7e
update fee in reducer only if changed
6 years ago
Szymon Lesisz
ea36e56ece
eslint
6 years ago
Szymon Lesisz
695ae17176
remove unnecessary SEND.TX_COMPLETE action
6 years ago
Szymon Lesisz
9b7987e951
add availableBalance to Account.update action
6 years ago
Szymon Lesisz
bfebef73c7
ripple/SendFormValidations
6 years ago
Szymon Lesisz
90cc406773
fix pending tx for ethereum networkType
6 years ago
Szymon Lesisz
2cc28c4bf6
load coin specific tx drafts
6 years ago
Szymon Lesisz
9cc11e11be
split BlockchainActions into coin specific files
6 years ago
Szymon Lesisz
326967b551
clearing ripple/SendFormAction
6 years ago
Szymon Lesisz
cbded16091
add "sequence" and "availableBalance" to Account
6 years ago
Szymon Lesisz
a94095d527
remove unnecessary params
6 years ago
Szymon Lesisz
ab4ab8b5a4
handle pending tx from blockchain notification
6 years ago
Szymon Lesisz
95d1bdbd9e
handle trezor-connect blockchain events
6 years ago
Szymon Lesisz
e64b44d632
change imports
6 years ago
Szymon Lesisz
e34b9141d8
change prefix of coin specific actions
6 years ago
Szymon Lesisz
9f6e9e37a6
split sendForm actions
6 years ago
Szymon Lesisz
7f56cdbcde
handle unsupported and/or outdated firmware in discovery process
6 years ago
Szymon Lesisz
45583ac477
send account to blockchain subscribe method
6 years ago
Szymon Lesisz
3774110a83
handle NOT_SUPPORTED methods in Discovery
6 years ago
Szymon Lesisz
120c227753
RecevieActions: with ripple call
6 years ago
Szymon Lesisz
7956b4a5fb
subscribe to blockchain after discovery
6 years ago
Szymon Lesisz
c66383ddba
disable BlockchainActions for non-ethereum networks
6 years ago
Szymon Lesisz
0918403024
split discovery actions to coin specific files
6 years ago
Szymon Lesisz
198dd4e9c7
add RippleDiscoveryActions
6 years ago
Szymon Lesisz
a58644f8ec
Load tokens only is exists in config
6 years ago
Vladimir Volek
bf3dd1cfde
Fix validation on send
6 years ago
Vladimir Volek
851c7f23cb
merge
6 years ago
Vladimir Volek
35b97f9114
Merge pull request #252 from trezor/fix/validate-token-in-send-draft
...
token existence validation
6 years ago
Vladimir Volek
68d3bbb738
Fix flow
6 years ago
Szymon Lesisz
556b2be84f
cleaning up SelectedAccountActions + add default loading case
6 years ago
Vladimir Volek
04946b5f06
Do no render loader and notification together
6 years ago
Vladimir Volek
f53726c451
Added missing case
6 years ago
Vladimir Volek
827e5f14fa
Separate notifications and loader
6 years ago
Vladimir Volek
c3bb0899c9
Fix flow
6 years ago
Vladimir Volek
c5a9c8fdb7
Added messages to loading, added more cases
6 years ago
Vladimir Volek
7b7eb5350d
Added loader for all accounts views
6 years ago
Vladimir Volek
43906f505c
Add clear actions
6 years ago
Vladimir Volek
e41cc22e3b
Move values to redux
6 years ago
Szymon Lesisz
2a7d5394db
token existence validation
6 years ago
Szymon Lesisz
09c02160ea
fix flowtype warning (default export in actions)
6 years ago
Szymon Lesisz
a944b9287e
SendFormActions: setDefaultGesLimit - token or coin value fix
6 years ago
Vladimir Volek
fc50202f6a
Added action
6 years ago
Vladimir Volek
8ed59317c7
Simplify actions with modals
6 years ago
Vladimir Volek
d8762ec76f
Merge branch 'feature/accounts-loader' into sign/verify
6 years ago
Vladimir Volek
6c2ae9c1be
Fix flow
6 years ago
Vladimir Volek
f93eb3bebd
Fix flow
6 years ago
Vladimir Volek
68a8307b49
Added progress action for verify
6 years ago
Vladimir Volek
bc0238403b
Add trezor action to textarea
6 years ago
Vladimir Volek
53f7a8ecef
merge
6 years ago
Vladimir Volek
53ca124a55
Added messages to loading, added more cases
6 years ago
Vladimir Volek
31889270a0
Implemented review
6 years ago
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
6 years ago
Szymon Lesisz
bdf1a1d409
add seedless view
6 years ago
Vladimir Volek
90c0dd1276
Added loader for all accounts views
6 years ago
Vladimir Volek
434c86dc8c
merge
6 years ago
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
6 years ago
Szymon Lesisz
0c61bcb08d
local storage prefix
...
- common prefix for localstorage and sessionstorage
- code refactoring
6 years ago
Vladimir Volek
bed5932498
Fixed eslint and flow
6 years ago
Vladimir Volek
235f5cbdc3
Fixed some eslint and flow
6 years ago
Vladimir Volek
35ce9b6a1d
Refactor sign input
6 years ago
Vladimir Volek
7ecfdb7ec2
Pass passphrase to request
6 years ago
Vladimir Volek
07f9fc30f9
Added success case for verify
6 years ago
Vladimir Volek
d1ef608c0e
Textarea added trezor action prop, use textarea higligh while confirm
6 years ago
Vladimir Volek
a31301a9f5
merge
6 years ago
Vladimir Volek
954ad18f8e
Clear for signature
6 years ago
Vladimir Volek
18a424c214
Simplify input values, added verify
6 years ago
Szymon Lesisz
835d172483
quickfix: update token balance on token added
6 years ago
Vladimir Volek
b89a825077
Added sign response, style
6 years ago
Szymon Lesisz
a8bae8bdb1
added beta-wallet disclaimer
...
- Added BetaDiscialmer component used in Landing/RootView
- refactoring LocalStorageActions (moved logic from LocalStorageService)
6 years ago
Vladimir Volek
ca460859ac
Added sign action
6 years ago
Szymon Lesisz
ed7501c4fc
refactor Coin > Network
6 years ago
Szymon Lesisz
a36a5e9dbe
added beta build
6 years ago
Vladimir Volek
8b332b4763
Merge pull request #174 from trezor/feature/modal-context
...
Feature/modal context
6 years ago
Vladimir Volek
60b0e35b2c
Reviex fix - reducer to string
6 years ago
Vladimir Volek
077b6dc7fa
Make notification responsive, flow fix
6 years ago
Vladimir Volek
817b333d3a
notification message can be component, styles adjusted
6 years ago
Szymon Lesisz
337eacd1d2
fixed deviceUtils.isSelectedDevice
6 years ago
Szymon Lesisz
41b78390ed
add MODAL_CONTEXT
...
- update MODAL action constants
- ModalReducer refactoring (field "opened" replaced by "context")
- implementing "context" in all components
6 years ago
Szymon Lesisz
233fac84b6
quickfix: expose TrezorConnect to window for development builds
6 years ago
Szymon Lesisz
6a14601ddd
quickfix: COMMITHASH and LOCAL are not window variables, use flowtype declaration
6 years ago
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
6 years ago
Szymon Lesisz
d78381106e
Filter log
6 years ago
Szymon Lesisz
0f39182db7
quickfix: disable REQUEST_WALLET_TYPE action for device without passphrase_protection
6 years ago
Szymon Lesisz
6a3e71f0a5
remove unused constant WALLET.ON_BEFORE_UNLOAD
6 years ago
Szymon Lesisz
c10b8baeba
remove unused action WALLET.ON_BEFORE_UNLOAD
6 years ago
Szymon Lesisz
571462f08f
quickfix: prevent redirecting to Dashboard for first time RECEIVE_WALLET_TYPE
6 years ago
Vladimir Volek
f258f1b125
Merge pull request #134 from trezor/feature/change-passphrase
...
Feature/change passphrase
6 years ago
Vladimir Volek
95c3c8dba7
Merge pull request #136 from trezor/fix/allow-data-prefix
...
allow "0x" prefix in transaction data
6 years ago
Szymon Lesisz
51ed553e9a
move hex regexp to /utils/ethUtils
6 years ago
Szymon Lesisz
b9251f8db7
add and verify local storage version
...
fix : #131
6 years ago
Szymon Lesisz
4da23c1db2
remove comment
6 years ago
Szymon Lesisz
5995568e19
allow "0x" prefix in transaction data
...
fix : #101
6 years ago
Szymon Lesisz
1a55f45d2d
goto to dashboard page when switching wallet type
6 years ago
Szymon Lesisz
d6af3d6dfa
remove pendingTxs while switching between wallet types and forgeting device
6 years ago
Szymon Lesisz
14eac38246
FORGET_SILENT if disconnected device is not selected and modal is opened
6 years ago
Szymon Lesisz
cea3fe7e68
new modal "wallet type"
6 years ago
Szymon Lesisz
291e771a6b
new actions: request and receive wallet type
6 years ago
Szymon Lesisz
3183426137
TrezorConnect calls using new field "useEmptyPassphrase"
6 years ago
Szymon Lesisz
3512c271e2
FirmwareUpdate: notification button click + "cancel" action conditionally
6 years ago
Szymon Lesisz
a4788d95fb
refactor using device.mode and device.firmware
6 years ago
Szymon Lesisz
33e326a8f2
gotoBridgeUpdate link
6 years ago
Szymon Lesisz
d07d078d92
DiscoveryAction refactoring
6 years ago
Szymon Lesisz
b4f6771544
SelectedAccountActions fix
...
+ ignore ACCOUNT.DISPOSE action in "observe"
+ if discovery is interrupted display proper Account notification
6 years ago
Szymon Lesisz
4354e494c4
remove DiscoveryActions from TrezorConnectActions
6 years ago
Szymon Lesisz
c3c3c10350
fix selectFirstAvailableDevice
...
Redirect only if first available device is not currently selected
fix #117
6 years ago
Szymon Lesisz
9a8ac01dcd
change selectedAccount notification title
6 years ago
Szymon Lesisz
aa96a15b16
WalletActions.observe should react to CONNECT.AUTH_DEVICE action
6 years ago
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
6 years ago
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)
6 years ago
Szymon Lesisz
25f41bd163
fix router actions
6 years ago
Szymon Lesisz
2e4acf3ee8
renamed "acquiring" to "acquiringDevice" in connect reducer
6 years ago
Szymon Lesisz
7083c6e0d1
add "reject" method to PendingTxActions (not implemented yet)
6 years ago
Szymon Lesisz
0fbbdf7b71
changed "observeChanges" utility method
6 years ago
Szymon Lesisz
e3816be8d2
fix for reducerUtils.observeChanges
6 years ago
Szymon Lesisz
f0e0b4fee2
rename selectedAccount.visible to shouldRender
6 years ago
Szymon Lesisz
b30c303d5a
rename constant
6 years ago
Szymon Lesisz
0c0f9e7ac8
rewritten actions
6 years ago
Szymon Lesisz
2d4f3e8232
fixed edgecase: handle disconnect device in BL/initialized mode OR without features
6 years ago
Szymon Lesisz
51e65ef31f
router fix
...
fixed #84
6 years ago
Vasek Mlejnsky
f8bcb0a357
Minor code cleanup changes
6 years ago
Szymon Lesisz
957e02f313
eslint
6 years ago
Szymon Lesisz
590e0ca642
eslint fixes
6 years ago
Szymon Lesisz
6cf3cb4bdb
refactoring SendFromActions
6 years ago
Szymon Lesisz
52cf4f1e8e
clearing sendForm and sessionStorage references from SelectedAccountActions
6 years ago
Szymon Lesisz
1846d936e2
updated SessionStorage actions
6 years ago
Szymon Lesisz
88d2a65340
BlockchainAction "estimateGasLimit" with proxied responses
6 years ago
Szymon Lesisz
51253665be
change blockchain/web3 "estimateGasLimit" to return string
6 years ago
Szymon Lesisz
b36b9667e4
eslint ./src/actions 2
6 years ago
Szymon Lesisz
ef235e6ab8
eslint ./src/actions
6 years ago
Vladimir Volek
ddc190d6dc
Merge pull request #69 from satoshilabs/fix/router
...
Fix/router
6 years ago
Szymon Lesisz
d9239495fa
eslint fixes
6 years ago
Vaclav Mlejnsky
2f988beb05
Merge branch 'master' into fix-send-form-css
6 years ago
Szymon Lesisz
1e4a6c3c21
flowtype fix
6 years ago
Szymon Lesisz
012e222c25
share router patterns between ./src/view/index and RouteActions
6 years ago
Szymon Lesisz
9ecbdc5e38
refactoring RouterService
6 years ago
Szymon Lesisz
6405c13da8
move saving SessionStorage from component to SelectedAccountAction
6 years ago
Szymon Lesisz
13a9e47c73
fix for ACCOUNT.DISPOSE action called + few actions moved from RouterService
6 years ago
Szymon Lesisz
ae9b12f35d
remove leftovers from RouterService
6 years ago
Szymon Lesisz
900c3961cd
implement RouterActions in services and other actions
6 years ago
Szymon Lesisz
46a07b756c
add RouterActions
6 years ago
Vasek Mlejnsky
3202ba2f6d
Fix pending transactions styling
6 years ago
Szymon Lesisz
93b70c1f0a
fixed address validation
...
added checksum validation if address contains any uppercase letter
6 years ago
Szymon Lesisz
c9b9359e70
fix for disappearing accounts balance after block is mined
6 years ago
Szymon Lesisz
4ea7f68250
using connect test version from sisyfos.trezor.io
6 years ago
Szymon Lesisz
0029a4c819
remove unused import
6 years ago
Szymon Lesisz
e512812eb4
unifying DiscoveryResult type with EthereumAccount from 'trezor-connect'
6 years ago
Szymon Lesisz
38669a5dfb
remove ethereum-input-data-decoder package (not used for now)
6 years ago
Szymon Lesisz
d4bcf160d2
remove console.log
6 years ago
Szymon Lesisz
4c9f5468b3
cleaning up flowtype (DiscoveryResult + EthTxRequest)
6 years ago
Szymon Lesisz
892f4fe7c0
TrezorConnect BLOCKCHAIN events returns CoinInfo object
6 years ago
Szymon Lesisz
ab2dddbf44
renamed blockchain constants
6 years ago
Szymon Lesisz
6740b7198d
update account tokens on each block
6 years ago
Szymon Lesisz
7f11e7207b
remove comments
6 years ago
Szymon Lesisz
d4c9db093c
updateGasPrice on block mined
6 years ago
Szymon Lesisz
f0d7de8aa1
ethereumGetAccountInfo only if there are some accounts
6 years ago
Szymon Lesisz
8884d65c8f
removed unused action
6 years ago
Szymon Lesisz
1379a2e745
update actions and reducers
6 years ago
Szymon Lesisz
9293a33b57
update constants
6 years ago
Szymon Lesisz
e2f397d241
local build TrezorConnect endpoint
6 years ago
Szymon Lesisz
6354332e40
fixed conflicts after merge
6 years ago
Szymon Lesisz
a6ac8239f0
before merge
6 years ago
Szymon Lesisz
26978fe984
web3 actions splitted to blockchain actions
6 years ago
Szymon Lesisz
cd48bd2cc0
blockchain actions and reducer
6 years ago
Szymon Lesisz
b5a885907b
add Web3Service
6 years ago
Szymon Lesisz
414d0b0d01
removed web3 references
6 years ago
Szymon Lesisz
99da867617
fixed flow issues
6 years ago
Vasek Mlejnsky
58823e3a81
Fix some eslint errors
6 years ago
Vasek Mlejnsky
354a16f0c0
Fix some eslint errors
6 years ago
Vladimir Volek
bc2d03a7ae
Added public folder, adjust webpack to new configuration
6 years ago
Vasek Mlejnsky
07b6c9f486
Change shape of returned object & temporary fix for async react-select
6 years ago
Vasek Mlejnsky
571522401e
Fix imports & flow errors
6 years ago
Vladimir Volek
424be08e7c
Removed /js folder
6 years ago