Commit Graph

100 Commits

Author SHA1 Message Date
tbenr 090a4e7c76
fixes #6573
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-31 10:25:24 +02: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
Roman Volosovskyi 3226309bab
Add js logs to archive 2019-05-15 17:40:41 +03:00
Roman Volosovskyi ff39426e56
[android] send logs to error-reports@status.im 2019-05-10 17:02:58 +03:00
Dmitry Novotochinov 4decedf5f6
Revert "Revert "[#7133] sign tx with keycard""
This reverts commit 4ccb1ea52d.

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-05 15:49:47 +03:00
Andrea Maria Piana f8674c0ee1
Add reading nodes from contract
This PR is part of network incentivisation. It adds a way for a client
to pull nodes from a contract.

This is done by selecting the `eth.contract` fleet. If that is selected
on login it will fetch nodes from a contract and pass them to status-go.
If these can't be fetched, it will default to `eth.beta`.

Currently contract information are hard-coded, but eventually the user
will be able to add their own (probably).

Toggled off in release.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-04-05 14:32:15 +02:00
Dmitry Novotochinov 4ccb1ea52d
Revert "[#7133] sign tx with keycard"
This reverts commit feffcaf33d.

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-02 20:12:40 +03:00
Dmitry Novotochinov feffcaf33d
[#7133] sign tx with keycard
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-02 18:07:41 +03:00
Andrea Maria Piana 29c168dfa1
Upgrade status-go and turn chaos mode on
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-26 10:59:21 +01:00
Andrea Maria Piana 530a6dca2e
Stop activity if we cant start node
Currently when receiving a push notification while the app has not
started (on android), the whole app is woken up. If autologin is enabled, we will try
to start the node, but will fail has no activity has been attached.
In such cases we try for 10s and quit the app if not successful.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-03-21 16:33:16 +01:00
Andrey Shovkoplyas ba37f7b8d0
[#5461] Implement EIP-712
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-07 15:39:17 +01:00
Andrea Franz d4594d815f
add hash-transaction and send-transaction-with-signature
Signed-off-by: Andrea Franz <andrea@gravityblast.com>
2019-03-04 11:19:50 +01:00
Igor Mandrigin 9ba0bda8f7
Use gomobile binaries (again)
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-14 10:19:24 +01:00
Igor Mandrigin 3617fefbe9
Revert "Use gomobile binaries for iOS and Android."
This reverts commit c47fc34127.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-12 12:34:27 +01:00
Adam Babik c47fc34127
Use gomobile binaries for iOS and Android.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-12 10:21:31 +01:00
Dmitry Novotochinov 1b836bf7ec
[#7006] login with keycard
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-02-06 00:20:07 +03:00
Igor Mandrigin fafecfe95a
Get rid of StatusService.
StatusService was only used to handle `signalEvent:` from status-go.
This commit simplifies this interaction and getting rid of the service
and all the problems that come with it.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-29 12:01:05 +01:00
Pedro Pombeiro d3f1b37c12
Use new status-go and rename NotifyUsers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-24 15:41:32 +01:00
Pedro Pombeiro 5a69b4198e
Update PNs to use data-only messaging, and only encode/decode data values. Fixes #6772
Fix navigation to chat when PN is tapped while signed off. Fixes #3488

Anonymize PN pubkeys. Part of #6772
2019-01-17 19:23:55 +02:00
Roman Volosovskyi 2777809db9
enable saving password on android
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-08 17:40:00 +01:00
Pedro Pombeiro 9d21cf143e
Add Send Logs command. Closes #6710
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-08 09:48:56 +01:00
Andrea Maria Piana d760f1696c
Add mailservers confirmations & use peer count for online status
We now check that we are only connected to some `peers` instead of using `NetInfo` from `react-native`.

This is because it has been reported to be quite flaky at times, not reporting online status after sleeping, and for privacy concerns (on ios it pings `apple.com`, on desktop `google.com`).

Adds a new banner `Wallet Offline` and change `Connecting to peers` to  `Chat offline`.

A message will be marked as `Sent` only if it made it to the mailserver you are connected to, which will increase the guarantees that we can make about a message (if you see it as sent, it has reached at least a mailserver), this has the consequence that:

- If you are not connected to any mailserver or the mailserver is non responsive/down, and you send a message, it will be marked as `Not sent`, although it might have been actually made it in the network.

Probably this is something that we would like to communicate to the user through UX (i.e. tick if made it to at least a peer, double tick if it made to a mailserver )

Currently I have only enabled this feature in nightlies & devs, I would give it a run and see how we feel about it.
2018-12-12 19:53:01 +01:00
Roman Volosovskyi 4aa562f6a8
[slow sign in] Unlock account's DB before starting node
There is no need to wait for `Statusgo.Login` callback in order to start
unlocking realm db: currently it is encrypted via a key which is derived
from user’s password, so we can try to unlock that DB before starting
node. That’s how password will be checked. Right after that `:home`
screen is shown, the node is started, then `Statusgo.Login` executed.

The difference in sign in duration is more noticeable on Android
devices, where `Statusgo.Login` is much slower because of PFS database
encryption.
2018-12-12 17:46:52 +02:00
Andrea Maria Piana 693eae9cf9
Send your own messages
Adds a `chat-id` field in `content` map.

The reason it has been added to the map instead of augmenting transit is
that it would simplify the calculation of `message-id`, which in this
case is consistent for both old & new clients.

`chat-id` also represents the `chat-id` with respect of the sender, as
in 1-to-1 chats that is asymmetric.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-06 21:19:50 +01:00
Andrea Maria Piana 9629983f7f
Remove instabug 2018-10-19 09:18:22 +03:00
Andrea Maria Piana 78b6d67d79
Allow to edit group membership
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-09 10:40:13 +02:00
Andrea Maria Piana 165f1a46c7
Propagate signed membership information
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-02 12:06:28 +02:00
Pedro Pombeiro 4ab5e43616
Replace call to `GenerateConfig` with local JSON. Closes #5739
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-19 17:06:10 +02:00
Eric Dvorsak 8d053b4389
[feature #5527] allow user to change status-go loglevel in settings 2018-09-07 15:22:32 +02:00
Adam Babik f054830533
Set FLEET in env variable
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-22 10:21:58 +02:00
pacamara 3f73c5545d
Fixes #5293: Messaging/transacting take too long to be processed
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-08-21 13:15:16 +02:00
Andrey Shovkoplyas 3e7c059b59
wallet refactoring
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-18 07:28:43 +02:00
tbenr 672e8255c4
Fixes #5347
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-17 10:41:57 +03:00
Roman Volosovskyi a586d177f5
remove JSC jail on native side (Android, iOS) 2018-07-29 08:47:29 +03:00
Pedro Pombeiro 3b4d7eebc7
Disable geth.log in release builds. Fixes #4782
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-18 10:25:09 +02:00
Goran Jovic 268b07fddc
feature #4065 - gas and gas price can be changed for dapp transactions
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-12 16:19:51 +02:00
Pedro Pombeiro 03243e4916
Revert "Use the private RPC client for requests to Status backend when not coming from Dapps"
This reverts commit 2136fe62ce.

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-07 18:09:39 +02:00
Pedro Pombeiro 18aaa890a3
Rollback part of 2136fe62ce
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-06 08:58:21 +02:00
Pedro Pombeiro 2136fe62ce
Use the private RPC client for requests to Status backend when not coming from Dapps 2018-06-06 09:01:43 +03:00
Andrea Maria Piana 33ad919508
Add custom bootnodes
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-30 17:49:13 +02:00
Andrey Shovkoplyas 94becb5094
updated status-go to latest
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-11 15:42:16 +02:00
ambilo 9b17cdd306
Remove JSC_ENABLED flag and turn on behavior by default 2018-05-09 14:20:49 +03:00
Roman Volosovskyi 00b8ae311d
[#4006] anonymous uuid for mixpanel 2018-05-04 21:26:46 +02:00
Roman Volosovskyi 0d0be37904
[#3987] disable logging on status-go side if file is not writable 2018-05-02 14:53:35 +02:00
Andrey Shovkoplyas 55d3095b7a
[#3888] [#2704] added personal_sign and CallPrivateRPC methods support
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-19 17:43:50 +03:00
pacamara ef8d5dca6c
Use thread pool instead of new threads on Android. Closes #3690
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-04-17 15:23:49 +02:00
Igor Mandrigin 3008e38624
Send app state changes to status-go.
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-21 10:55:45 +01:00
Roman Volosovskyi b1ce44af3a
implement ConnectionChange call, upgrade status-go
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-28 18:38:51 +01:00
Pedro Pombeiro bb2a008a27
Pass `WhisperConfig.LightClient: true` in node config. Closes #3442
- Add code to completely dump the JSON config, not just the first 4000 characters.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 11:23:45 +01:00
Pedro Pombeiro a4bc752e77
[ISSUE #2287] Push Notifications: Use status-go NotifyUsers
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 11:10:36 +03:00