1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-04 06:08:10 +00:00
Commit Graph

174 Commits

Author SHA1 Message Date
Szymon Lesisz
7d9cbf7cbe update fee levels in reducer only if needed 2019-01-03 15:05:55 +01:00
Szymon Lesisz
be9cd4fef0 add fees to Ripple 2019-01-03 15:05:55 +01:00
Szymon Lesisz
bb140b8bfe add BlockchainFeeLevel to BlockchainReducer 2019-01-03 15:05:55 +01:00
Szymon Lesisz
2639aab093 add fee levels to appConfig.json 2019-01-03 15:05:55 +01:00
Vladimir Volek
d83f3c1b28 Fixed flow 2019-01-03 15:01:08 +01:00
Vladimir Volek
e0501b1072 Fixed some flow 2019-01-03 15:01:08 +01:00
Szymon Lesisz
e7ae73c570 add WALLET.SET_FIRST_LOCATION_CHANGE action 2019-01-03 15:01:08 +01:00
Vladimir Volek
786303400c Update fields according to new react-router 2019-01-03 15:01:08 +01:00
Vladimir Volek
0f9d864347 First init added to reducer 2019-01-03 15:01:08 +01:00
Vladimir Volek
cdd325c078 Removed react redux router and adjust store and base reducer 2019-01-03 15:01:08 +01:00
Szymon Lesisz
d9e809e6aa move helper methods from TokensReducer to ./reducers/utils 2018-12-21 11:19:40 +01:00
Szymon Lesisz
31e3c7a9a2 refactoring Account object to coin specific 2018-12-21 10:58:53 +01:00
Szymon Lesisz
c53dfcfaeb ripple/BlockbookAction temporary commented 2018-12-20 14:20:03 +01:00
Szymon Lesisz
6f334182aa handle blockchain_disconnect when wallet init in offline mode 2018-12-20 14:18:06 +01:00
Szymon Lesisz
ce5b13223c add decimals to appConfig.json 2018-12-20 14:18:06 +01:00
Szymon Lesisz
19784b5100 enable RippleDiscovery process from storage 2018-12-20 14:18:06 +01:00
Szymon Lesisz
7ad19dd1c0 replace PendingTx flow declaration by BlockchainLinkTransation from 'trezor-connect' 2018-12-20 14:18:06 +01:00
Szymon Lesisz
cbc0151a62 add inputs and outputs to PendingTxReducer 2018-12-20 14:18:06 +01:00
Szymon Lesisz
2aa6a82911 split loader, notification and exceptionPage to isolated variables
and pass them as they are to views/Wallet/components/Content
2018-12-17 18:33:55 +01:00
Szymon Lesisz
fc4ff5d71c add "testnet" field to config, and filter those values for "dev build" only 2018-12-11 13:25:38 +01:00
Szymon Lesisz
e130b1edc0 update recommended fee in blockchain reducer 2018-12-05 14:12:53 +01:00
Szymon Lesisz
4492dbae63 feeLevels in ripple 2018-12-05 14:12:23 +01:00
Szymon Lesisz
90cc406773 fix pending tx for ethereum networkType 2018-12-05 09:26:31 +01:00
Szymon Lesisz
cbded16091 add "sequence" and "availableBalance" to Account 2018-12-05 09:26:31 +01:00
Szymon Lesisz
ab4ab8b5a4 handle pending tx from blockchain notification 2018-12-05 09:26:30 +01:00
Szymon Lesisz
f28aa760fd BlockchainReducer: add fee and block fields 2018-12-05 09:26:30 +01:00
Szymon Lesisz
eafd541477 change prefix of coin specific reducers 2018-12-05 09:26:30 +01:00
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
3774110a83 handle NOT_SUPPORTED methods in Discovery 2018-12-05 09:24:47 +01:00
Szymon Lesisz
c9eb911756 DiscoveryReducer: hdkey only in ehereum network type 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
5888dca31f flowtype: add type to Network declaration 2018-12-05 09:24:47 +01:00
Szymon Lesisz
c6ce9a94d7 DiscoveryReducer: HDKey only for ethereum 2018-12-05 09:24:47 +01:00
Szymon Lesisz
a0ff803c1d nitpick: rename signVerifyReducer to signVerify 2018-12-04 17:48:05 +01:00
Vladimir Volek
bf3dd1cfde Fix validation on send 2018-11-27 17:11:46 +01:00
Szymon Lesisz
5cf996f000 clear SignVerifyReducer on ACCOUNT.DISPOSE action 2018-11-22 15:35:25 +01:00
Vladimir Volek
e9a60afa0f merge 2 2018-11-22 15:19:44 +01:00
Vladimir Volek
851c7f23cb merge 2018-11-22 15:15:29 +01:00
Vladimir Volek
68d3bbb738 Fix flow 2018-11-22 14:20:37 +01:00
Vladimir Volek
827e5f14fa Separate notifications and loader 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
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
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
Szymon Lesisz
d3093313d6 fix fiat rate value in reducer 2018-11-12 12:39:24 +01:00
Vladimir Volek
8e13b49d2e Review implemented 2018-11-12 10:36:40 +01:00
Vladimir Volek
9844983e09 renamed service 2018-11-07 17:44:57 +01:00
Vladimir Volek
eaede07068 Propagate rate to ui 2018-11-07 17:14:06 +01:00
Vladimir Volek
9498a4effa Added coingecko api 2018-11-07 14:31:42 +01:00
Vladimir Volek
c6a04f2648 Removed logs 2018-11-05 17:56:11 +01:00
Vladimir Volek
dd6117b008 Confirm moved to modals 2018-11-05 17:54:07 +01:00
Vladimir Volek
68a8307b49 Added progress action for verify 2018-11-05 17:10:09 +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
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
Vladimir Volek
434c86dc8c merge 2018-10-25 17:32:39 +02:00
Vladimir Volek
235f5cbdc3 Fixed some eslint and flow 2018-10-20 12:12:29 +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
Szymon Lesisz
d2d184773d quickfix: remove unnecessary condition from ModalReducer
TrezorConnect will emit UI.CLOSE_UI_WINDOW which will close modal window
2018-10-19 13:21:55 +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
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
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
Szymon Lesisz
5eb5e3f774 close modal on DEVICE.CONNECT action 2018-10-11 13:07:58 +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
9671226036 eslint fixes 2018-10-10 10:39:59 +02:00
Szymon Lesisz
99da71c25d flowtype for Notification components 2018-10-10 09:31:26 +02:00
Vladimir Volek
ad97a5cbbd
Merge pull request #150 from trezor/feature/filter-log
Filter log
2018-10-09 17:28:17 +02:00
Szymon Lesisz
7ff2e8642d
Merge pull request #149 from trezor/eslint-fix
Fix some eslint errors
2018-10-09 16:15:00 +02:00
Szymon Lesisz
d78381106e Filter log 2018-10-09 15:36:55 +02:00
Vladimir Volek
ae729dcc46 Fixed some eslint errors 2018-10-09 15:20:57 +02:00
Szymon Lesisz
c10b8baeba remove unused action WALLET.ON_BEFORE_UNLOAD 2018-10-09 14:31:10 +02:00
Szymon Lesisz
d8331cece0 reset "remember" field while switching wallet type 2018-10-08 13:34:04 +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
0a77d0541e remove data while switchin between wallet types 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
109c93aff8 added new field "useEmptyPassphrase" to TrezorDevice object 2018-10-08 13:34:03 +02:00
Szymon Lesisz
6addcb6cde added changelog to InstallBridge + render "cancel" conditionally 2018-10-05 09:24:36 +02:00
Szymon Lesisz
0b4bcfdd45 update utils 2018-10-04 23:06:40 +02:00
Szymon Lesisz
d8f133ad84 InstallBridge page with data from trezor-connect 2018-10-04 23:06:40 +02:00
Szymon Lesisz
130b852977 eslint fixes for DiscoveryReducer 2018-10-04 10:49:12 +02:00
Szymon Lesisz
bcb404e321 clear "selectedAccount" reducer on ACCOUNT.DISPOSE action 2018-10-04 10:48:50 +02:00
Szymon Lesisz
2cb9057d29 DeviceReducer: do not override "state" field, make new object instead 2018-10-03 19:54:22 +02:00
Vladimir Volek
8be738bf2e Removed unnecesary case, add more tests 2018-10-03 12:11:00 +02:00
Vladimir Volek
a03a8287e8 Add more test cases 2018-10-03 12:11:00 +02:00
Szymon Lesisz
29e0eb928a fix reducer utility 2018-10-03 12:11:00 +02:00
Vladimir Volek
583a0f2cf6 Make tests more readable 2018-10-03 12:11:00 +02:00
Vladimir Volek
802e8f8e32 Fixed bug in function, add more tests 2018-10-03 12:11:00 +02:00
Vladimir Volek
147cf400a4 Added basic tests 2018-10-03 12:11:00 +02:00
Szymon Lesisz
479486e4c9 eslint fixes 2018-10-02 10:57:17 +02:00
Szymon Lesisz
2e4acf3ee8 renamed "acquiring" to "acquiringDevice" in connect reducer 2018-10-02 10:05:51 +02:00