Commit Graph

4799 Commits

Author SHA1 Message Date
hlolli 7ba2a81735
[nix] patch realm as a nodePackage for linux and darwin and use it from nix store, add to default nix-shell buildDependencies, regenerate nodePackages with node2nix 1.6.1 2019-05-23 22:35:01 +02:00
yenda b13864d052
[refactor] move utils.ethereum to ethereum
move utils.ethereum.tokens to ethereum.tokens
move utils.ethereum.abi-spec to ethereum.abi-spec
move utils.ethereum.core to ethereum.core
move utils.ethereum.eip165 to ethereum.eip165
move utils.ethereum.eip55 to ethereum.eip55
move utils.ethereum.eip681 to ethereum.eip681
move utils.ethereum.ens to ethereum.ens
move utils.ethereum.erc721 to ethereum.erc721
move utils.ethereum.mnemonics to ethereum.mnemonics
move utils.ethereum.resolver to ethereum.resolver
move utils.ethereum.macros to ethereum.macros

Signed-off-by: yenda <eric@status.im>
2019-05-23 15:11:48 +02:00
yenda ded207ead2
[refactor] use `ethereum` `current-address` and `chain-keyword`
in many places in the codebase, we are doing various destructuring
and function calls to get the normalized current address and the chain
keyword for the current network

this PR replace all usages by utility functions introduced recently

Signed-off-by: yenda <eric@status.im>
2019-05-23 14:48:43 +02:00
Jakub Sokołowski f551a3c0c5
add MOBILE_UI_FOR_DESKTOP=0 to other env files
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-23 08:19:04 -04:00
yenda 291c413848
[fix] remove duplicates of :hardwallet/verify-pin event
Signed-off-by: yenda <eric@status.im>
2019-05-23 13:52:03 +02:00
Anton Danchenko c08e370aa3
added test_open_blocked_site
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-05-23 12:13:16 +03:00
yenda 4103591fe1
[fix] always show tokens that have a balance
- temporary fix before visible assets are fixed
- the problem is that you can't hide an asset with the way it currently
works, it will come back every time as long as there is a balance for it

Signed-off-by: yenda <eric@status.im>
2019-05-23 10:56:35 +02:00
yenda b6fecd4e1c
[refactor] remove ethereum `call` and `call-params`
- use `json-rpc/eth-call` and `json-rpc/eth-transaction-call`
everywhere
- move all conversions to abi-spec
2019-05-23 10:44:15 +02:00
yenda fc4c772c0b
[refactoring] remove web3, clean up wallet effects
- introduce json-rpc namespace, which provides `call` and `eth-call`,
a generic way of calling a json-rpc method taking care of conversions
and error handling
- remove web3 usage from wallet
- clean up effects, reducing the amount of computations when login in
2019-05-23 10:44:15 +02:00
yenda 89680f4861
[performance] improve wallet update performances
`wallet-autoconfig-token` is a very expensive call on mainnet
because it checks the balance of every known token.

it is called:
- when wallet is refreshed by pulling
- when user goes on any wallet screen

this PR changes that by:
- calling it only when the wallet is initialized and there is no
visible-token configuration

it only calls update-wallet when a new transaction arrives
2019-05-23 10:44:15 +02:00
yenda 2cd26c585d
[refactor] transaction history and filters 2019-05-23 10:30:33 +02:00
yenda f1b8ba8764
[refactor] transaction details 2019-05-23 10:30:33 +02:00
yenda b274ed9fa9
[feature] use new block signal to get new transactions
- remove the transaction fetching loop entirely to rely only on subscription
for live transactions and token transfer updates
- fetch token transfers history via etherscan API to lift the 100000 blocks
limit on token transfers history

- inbound token transfers are catched via a filter on ethlogs
- outbound token transfers and other transactions are catched by filtering
transaction in current block that have the wallet address as to or from field
2019-05-23 10:30:32 +02:00
yenda f5c18ae7a9
[feature] use subscriptions for tokens
- removes fetching of last 100000 blocks of token transfers from
the wallet pull loop
- fetches the last 100000 blocks of token transfers at startup
- replaces pulling by subscriptions to ethlogs for token transfers
2019-05-23 10:30:32 +02:00
Andrey Shovkoplyas 8c349a3038
[#8239] App crash when submit cryptokitties with different than it's valid domain
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-22 17:52:20 +02:00
Andrey Shovkoplyas 7a1cb54b2a
[#8236] [Wallet] Custom token details and remove
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-22 16:50:05 +02:00
Edvard 0ac53000f6
Add Bloom token
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-22 16:42:20 +02:00
Roman Volosovskyi 932ef27ee8
[performance] limit number of rendered messages when open a chat 2019-05-22 16:59:13 +03:00
bitsikka d640b4c87c
[7947] Feature: Blank out app preview screen when switching apps on mobile
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-22 15:31:50 +02:00
Churikova Tetiana 6b1c42ffcb
added accessibility-labels
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-05-22 10:04:39 +02:00
Andrey Shovkoplyas df2a9a0297
[#8249] "" when grant access to ens dapp shown, it prevents the name to be registered
Signed-off-by: yenda <eric@status.im>
2019-05-22 09:56:40 +02:00
Pedro Pombeiro 373291bfc0
nix: Avoid bad practice of inheriting pkgs
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-21 12:15:56 +02:00
Serhy 3799df77cc
Remove LightClient note from PlayStore
Signed-off-by: Serhy <sergii@status.im>
2019-05-21 12:38:55 +03:00
Volodymyr Kozieiev add759711a
Optimized ScrollView instead of FlatList for desktop chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-21 10:51:36 +02:00
Igor Mandrigin 68fc93a935
android: add adaptive icon for non-debug builds
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-05-20 17:23:57 +02:00
Churikova Tetiana d49a8dd5e5
align e2e with 8210
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-05-20 17:21:05 +02:00
bitsikka 4f8399a8fd
[7715] Feature: Contextual bottom sheet on long press
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-20 17:04:21 +02:00
Serhy aa7292d757
Fix deep links tests
Signed-off-by: Serhy <sergii@status.im>
2019-05-20 15:38:53 +03:00
Andrey Shovkoplyas 23b04288f1
[#7983] Basic user added ERC-20 support
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-20 14:29:38 +02:00
Roman Volosovskyi 543ccb69e8
Add send logs button to exception dialog 2019-05-20 15:25:27 +03:00
Dmitry Novotochinov 89643b425e
[#8187] fix keyboard pop-up when logout after keycard setup finished
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-05-20 11:55:32 +03:00
tbenr 50f9354581
remove duplicate entries in en.json
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-20 09:20:29 +02:00
yenda 70e889a03a
[performance] replace reduce by reduce-kv
For associative collections, using reduce-kv should
give a small performance gain over reduce as there is
no allocation of tuples for key/value pairs

Signed-off-by: yenda <eric@status.im>
2019-05-17 19:44:26 +02:00
Dmitry Novotochinov 29eeb140b9
[#8145] exclude some chars when generating pairing password
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-05-17 17:35:58 +03:00
Volodymyr Kozieiev 3939b46930
nix files changed to fetch updated base images for installers
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-05-17 12:46:46 +03:00
Jakub Sokołowski 3527a5d2ce
fix missing env prefix for CHANGE_TARGET
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-16 22:11:49 +02:00
Pedro Pombeiro 1aaf7f5acf
Move to use Stale Probot instead of status-github-bot
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-16 13:22:40 +02:00
Pedro Pombeiro f43bc74760
Add auto_assign and CODEOWNERS config
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-16 11:47:21 +02:00
Jakub Sokołowski 4f4cc91b88
use CHANGE_TARGET to rebase on actual PR target
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-15 17:56:37 +02:00
Jakub Sokołowski c90fe74d9f
check also branch name when skipping rebase
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-15 17:13:48 +02:00
Roman Volosovskyi 3226309bab
Add js logs to archive 2019-05-15 17:40:41 +03:00
Igor Mandrigin 713a461415
bump version to 0.13.0
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-05-14 16:40:41 +02:00
Jakub Sokołowski 0e8e5a51ba
refactor nix_sh to give it optional Map arguments
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-14 16:06:16 +02:00
Pedro Pombeiro c59f372ef3
Disable PNG optimization on Android builds, for reproducibility
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-14 15:49:31 +02:00
Pedro Pombeiro 0f44a46f1f
Remove leftovers from before macOS pure build 2019-05-14 15:47:50 +02:00
Volodymyr Kozieiev 807e816936
Made changes to ubuntu-server to reject connections not from localhost
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-05-14 15:10:00 +03:00
yenda b0449f3416
[fix] ipfs CID
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-14 13:44:08 +02:00
tbenr 1ff0a937ac
fixes #7371
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-14 13:42:28 +02:00
Roman Volosovskyi 74093f6843
[iOS] Allow to send email with logs on iOS 2019-05-14 12:57:05 +03:00
Jakub Sokołowski aa3c0fb585
add alternative nix-cache in China
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-13 19:37:19 +02:00