Commit Graph

2870 Commits

Author SHA1 Message Date
Pedro Pombeiro 78be542f0b
Fix hang at startup with release build 2019-08-27 11:41:47 +02:00
Vitaliy Vlasov 4c545cb70d
Add processing indicator when creating multiaccount
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-08-26 18:55:02 +03:00
Andrea Maria Piana 564090d7e6
upgrade status-protocol-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-26 12:18:03 +02:00
MajorTomSec 5dbac2b1d9
[Fix 8635] About showed "Version ()" instead of Version 0.14.0 (201908...) on Android
Fixes #8635 by adding VERSION and BUILD_NUMBER files in the correct nix
template and updating bash script in order to prevent it from failing,
due to the git repository being not initialized in the nix environment.

Move scripts/build_no.sh and scripts/gen_build_no.sh to
scripts/version/build_no.sh to prevent Nix from rebuilding when
unrelated scripts are touched.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-26 12:51:50 +03:00
yenda 397b193de2
[fix 8831] error when unblocking first blocked contact
when unlocking first blocked contact before relogin, an error occurs
this is because the first blocked contact is added to a list and you can't
disj an element from a list
this makes sure the first blocked contact is put into a set

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-26 11:03:12 +03:00
Andrey Shovkoplyas 0210f413ab
list-item fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-26 10:59:21 +03:00
yenda 41cf68b6a7
[fix 8786] fix multiaccount recovery and add account
fix #8786

- multiaccount recovery wasn't saving the root key properly
- this resulted in the impossibility to add new accounts in the wallet

Signed-off-by: yenda <eric@status.im>
2019-08-23 13:15:28 +02:00
Pedro Pombeiro cfcbe6e5fb
Remove unused `android/app/react.gradle` and mapview leftovers
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-23 11:59:30 +02:00
yenda f14fd19f2c
[fix 8796] big number error when adding owned ens name
fix #8796

Signed-off-by: yenda <eric@status.im>
2019-08-23 09:52:48 +02:00
Vitaliy Vlasov 697c767a8b
Clear all TextInput refs in on-will-blur event
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-08-22 19:54:34 +03:00
Andrey Shovkoplyas 2e06dd36da
remove unused resources
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-22 18:27:06 +03:00
yenda ff2b24b1c6
cleanup shh/post
Signed-off-by: yenda <eric@status.im>
2019-08-22 14:56:10 +02:00
yenda 75ce7da50c
remove realm chat-transport usages 2019-08-22 14:55:50 +02:00
yenda bd3ff3e96a
remove dead realm usages 2019-08-22 14:55:41 +02:00
Andrey Shovkoplyas 50d64fee65
[#8624] Disable stickers in testnet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-22 14:25:59 +03:00
Vitaliy Vlasov 8c9af1ab51
Fix Android back button issues on intro screens
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-08-21 18:53:45 +03:00
yenda c75d5b24f6
[fix 8795] remove mainnet is default alert
Signed-off-by: yenda <eric@status.im>
2019-08-21 17:40:50 +02:00
Andrey Shovkoplyas ad0e0663f6
[#8548] No 'Paste' native Android option on longtap in the app input fields (conract-code, wallet recipient address etc)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-21 13:41:59 +03:00
yenda 5cafef6702
remove contact-recovery
contact recovery is now handled by status-go

Signed-off-by: yenda <eric@status.im>
2019-08-21 10:37:46 +02:00
Andrea Maria Piana 79ab816497
Fix serialization of group-chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-21 09:50:27 +02:00
yenda f2cf42715b
use ethereum address of the default wallet account for ens resolution
Signed-off-by: yenda <eric@status.im>
2019-08-20 17:42:57 +02:00
yenda 1c475e5b1e
replace last remains of web3.js by json-rpc 2019-08-20 17:42:02 +02:00
yenda d61fffb021
remove dev-server and extensions for v1 2019-08-20 17:42:02 +02:00
yenda d7cd2b8a74
integrate status-go accounts 2019-08-20 17:42:02 +02:00
yenda d2f1bbeb16
integrate status-go initKeystore native call
- avoids having to start a node before login
2019-08-20 17:42:02 +02:00
Andrea Maria Piana dcb7415208
Move messages to status-go
This commit does a few things:

1) Move messages to status-go
2) Use message-id computed from status-go
3) Remove old replies

Old message id was used for compatibility of replies with older clients.
Given that v1 is breaking, this is not needed anymore and simplifies
moving messages to status-go. No protocol/data-store change is made, to minimize
changes.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-20 13:25:05 +02:00
Andrey Shovkoplyas b67eda9bc3
[#8729] iOS crashes on personal_sign
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-20 14:16:34 +03:00
Andrey Shovkoplyas b0db4c6354
Fiddle
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-19 13:22:11 +03:00
bitsikka 39e095e1ed
[8069] feature - [Profile] My profile edit and share screens
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-19 11:09:38 +03:00
Andrey Shovkoplyas 11ed6f481f
[#8762] Dapp can't derive a wallet balance, "Not enough ETH for gas" at attempt to send transaction in any DApp
Signed-off-by: yenda <eric@status.im>
2019-08-16 18:06:37 +02:00
Dmitry Novotochinov c2f646b8bd
fix NFC detection
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-08-16 15:57:02 +03:00
Dmitry Novotochinov b635691c25
recovery flow v1
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-08-14 19:42:26 +03:00
Andrey Shovkoplyas ba112a765b
[#8666] Add account via BIP 44
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-14 17:58:24 +02:00
Andrea Maria Piana 370bc207bc
Add datasync confirmations, enable device-to-device by default
This commit adds datasync confirmations and enables device-to-device for
all the communications, as that's what we will go with v1.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-12 19:52:37 +02:00
Andrea Maria Piana fe9d4e9cd8
Move contacts to status-go
Contacts are now in status-go, no migration of contacts is provided so
all contacts will be lost upon installing this build.

I have left the initialization of filters a bit sketchy (we wait that
load-filters is called twice), as the next step will be to avoid calling
load-filters altogether, as now that both contacts & chats are in
status-go, there's no reason to call it from status-react, and can be
called directly from status-go on loading.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-07 13:39:59 +02:00
Andrea Maria Piana 6fa482a776
Move chats to status-go
This commit moves chats to status-go.

I have changed the logic to load all chats in one go for simplicity and
while that might have a performance impact, I think it's premature to
  optimize this flow as there will be more changes to the login flow.

Also currently this is likely to be slower as we need to wait for the
 status-service to be initialized, as well as realm.

No migration is provided as we are past the point of no return, so by
installing this version you will lose your chats.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-05 16:08:24 +02:00
Dmitry Novotochinov 60de46b6c2
keycard login v1
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-08-05 11:33:19 +03:00
Andrey Shovkoplyas 6d337bc69a
multiaccounts 2019-07-30 20:35:58 +02:00
Andrea Maria Piana 1e655540da
Fix loading of filters
Currently on some devices there are still some legacy chats(?) that are
one-to-one but don't have a public key as an id (transactor,demo-bot).
We were wrongly sending those to status-go to create filters.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-07-30 20:25:59 +02:00
Andrey Shovkoplyas 447d37e5ca
[#8673] Temporay hide commands from chat and extensions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-30 19:13:30 +02:00
Andrea Maria Piana 27b77a6dc9
Add datasync,v1messages & disable discovery topic
In preparation for v1 this commits adds a few options so we can get
start debugging the protocol for v1.
This options are:

1) Datasync: If enabled it will send datasync messages
2) V1Messages: If enabled it will send v1 messages (just adding a
signature to the message)
3) Disable discovery topic: If enabled it will stop listening/publishing
on the discovery topic. You will be able to receive messages only from
clients who have this enabled as well.

If any of this option is on, it will only be compatitle with builds >=
this one. A logout is required for any change to take effect.

All this options will be removed before v1, they are there just to make
it easier for us to test and find potential issues.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-07-30 19:11:59 +02:00
Andrey Shovkoplyas 808aa793e5
[#8648] Packs aren't shown in mainnet but we have them in the contract
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-26 15:02:48 +02:00
yenda 89abc8ab11
[fix #8638] issues with wallet transaction list
- pending transaction was using hash so mined transaction was using it's id
to have a unique id, the fix adds a rule when the existing transaction by hash
is in :pending state, the mined transaction overwrites it

Signed-off-by: yenda <eric@status.im>
2019-07-26 14:01:56 +02:00
yenda c8a8b9fdc0
fix #8636
Signed-off-by: yenda <eric@status.im>
2019-07-26 12:45:47 +02:00
yenda 4bd46d9f1c
fix #8639
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-26 12:43:52 +02:00
Andrey Shovkoplyas 1ec5d2b64b
[#8631] Fix sticker price UI
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-26 12:37:13 +02:00
Andrey Shovkoplyas f3bb555d52
[#8626] Term 'Recovery phrase' should be used instead of 'seed phrase'
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-26 12:33:41 +02:00
yenda 3ea8538377
integrate status-go permissions api
Signed-off-by: yenda <eric@status.im>
2019-07-26 12:16:52 +02:00
yenda 0c839860a2
integrate status-go browsers api 2019-07-26 12:16:32 +02:00
bitsikka 07dfc95658
[8556] fix - Last message jumps up after chat is opened
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-25 14:29:46 +02:00