Commit Graph

71 Commits

Author SHA1 Message Date
Andrea Maria Piana 7367f3d54b
Disable confirmations
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-12 21:06:42 +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
Goran Jovic 72e7ae2fff
feature #6509 - validating token config against their contracts; moved token info from compile time list to app-db; fixed any discrepancies in existing info
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-20 17:18:08 +01: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 7aa597517e
Add system messages to group chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-05 14:54:43 +01:00
Andrea Maria Piana 073dddcee0
Add pairing
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-27 20:43:53 +02:00
Andrea Maria Piana 9629983f7f
Remove instabug 2018-10-19 09:18:22 +03:00
Roman Volosovskyi c338896018
[#6330] remove testfairy 2018-10-16 20:46:43 +03:00
Vitaliy Vlasov a0f707fee2
Add port arg to ubuntu-server.js
Use the value of REACT_SERVER_PORT env var if set

Change node port and datadir depending on the value of DEV_BUILD config
variable

Fix missing paren

Bugfix

Remove desktopJSBundlePath

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-10-09 14:30:50 +03: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
Igor Mandrigin 851a3db9ee
Add an option to run LES on Ropsten as an experimental feature.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-10-01 13:10:29 +02:00
Andrea Maria Piana 0c48d09c71
Add back group chats messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-09-26 20:58:03 +02:00
Andrea Maria Piana df51731fca
Add pfs flag, installation id and nobackup data directory
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-09-24 17:47:02 +02:00
Dmitry Novotochinov 60cb0eb36c
[#5825] add hardwallet auth method and connect screens
* add react-native-nfc-manager to detect NFC support
* add "Choose auth method" screen https://www.figma.com/file/UfQjpWl1hmRchHIyY3Wvu2nW/Hardwallet-light-flows?node-id=259%3A29
* add "Hardwallet connect" screen https://www.figma.com/file/UfQjpWl1hmRchHIyY3Wvu2nW/Hardwallet-light-flows?node-id=258%3A594

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-20 12:30:47 +03:00
Julien Eluard ae976e205f
Added extensions loading panel
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-08-31 16:41:58 +02:00
Eric Dvorsak 728831c9c2
remove unused flags
reorganize config flags
remove offline-inbox-enabled? flag
remove universal-links-enabled flag
remove add-custom-mailservers-enabled? flag
remove spam-button-detection-enabled? flag
remove flags from config files

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-29 16:30:05 +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
Roman Volosovskyi 48d81a4f95
[#5278][Android] persist webview state during session 2018-08-15 08:57:51 +03:00
Roman Volosovskyi 27b3f1b87b
remove STUB_STATUS_GO parameter 2018-07-30 06:50:16 +03:00
Roman Volosovskyi bb7d31a357
[#5169] Remove Mixpanel 2018-07-18 06:57:16 +03:00
Andrey Shovkoplyas ee317c4aeb
Wrong number of collectibles in the list and they are mixed up [#4904]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-03 18:31:18 +03:00
Roman Volosovskyi 42fe00d5cb
remove sent-received tracking 2018-06-26 10:46:18 +03:00
Roman Volosovskyi 77cb0c2f3d
[#4671 #4708] mainnet_rpc as default network, no mainnet warning
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-19 20:17:04 +02:00
Dmitry Novotochinov 00c5c630f4
Prevent send button spamming in public chats 2018-06-19 11:35:02 +03:00
Pedro Pombeiro ae56eec40f
Disable group chats in dev mode. Closes #4396 2018-05-25 07:15:18 +03:00
Roman Volosovskyi e3b283056c
remove views pre-rendering hack
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-24 14:50:49 +02:00
Igor Mandrigin 732de57444
Filter out non-RPC networks for new and restored accounts.
Those who plainly upgrades, will keep these networks as "Custom" in their DB.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-23 15:02:17 +02:00
Pedro Pombeiro 98ee9d8fe4
Remove unused settings from .env files
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-18 11:01:34 +02:00
Andrea Maria Piana 291932db08
publish using pk in 1-to-1
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-09 20:26:41 +02:00
Goran Jovic df901e8748
feature #3953 - enabled mainnet on release builds, with a warning 2018-05-09 19:46:30 +03:00
Roman Volosovskyi f67fb6eaa1
use separate mixpanel app key for local/test/other builds 2018-05-09 14:29:19 +03:00
ambilo 9b17cdd306
Remove JSC_ENABLED flag and turn on behavior by default 2018-05-09 14:20:49 +03:00
Roman Volosovskyi e830183011
track sent/received events;
force sent/received ratio tracking;
send mixpanel events when state is changed to online;
2018-05-01 19:25:25 +02:00
janherich 8dd04570e4
Hide group chats behind flag
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-01 11:13:58 +01:00
Dmitry Novotochinov 62af757fa1
Show user survey when N amount of messages sent
It's a temporary solution until Instabug fix User Events API
2018-04-30 21:00:09 +02:00
Dmitry Novotochinov 05379747da
[#3174] add js injection support for service worker
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-18 11:38:02 +03:00
Eric Dvorsak 7148734e2a
increase pow target to 0.002
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-04-12 10:04:17 +02:00
Roman Volosovskyi 8a7536df06
set mainnet as default network in .env and .env.jenkins 2018-04-09 09:16:51 +01:00
Dmitry Novotochinov 8bbb2f8760
update instabug to 2.8.1
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-30 18:37:19 +03:00
Dmitry Novotochinov 6786123765
[#3593] Hide passphrase field during TestFairy session
Switch to react-native version of TestFairy

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-29 13:09:23 +03:00
Dmitry Novotochinov 05dd8eba2a
[#3654] set default network in config
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-29 12:12:27 +03:00
Julien Eluard f1e41cc7ab
[ISSUE #3537] Added mixpanel support
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-22 10:44:18 +01:00
Roman Volosovskyi 25a5655e74
configurable powTarget and powTime
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-21 09:49:32 +01:00
Julien Eluard a86e59dbbe
[ISSUE #3331] Allow to configure view compilation
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 11:11:56 +01:00
Roman Volosovskyi 9f91557565
turn off RN bridge warnings by default
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-03 12:47:02 +01:00
Roman Volosovskyi f65e200fca
integrate rn-snoopy https://github.com/status-im/rn-snoopy
add warnings on suspicious activity in RN bridge communication
2018-01-29 21:45:51 +02:00
Andrea Maria Piana 0b035cfad7
Remove unused erc20-enabled flag
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-18 10:02:00 +01:00
Oskar Thoren 3cdb05e5b8
Perf experiment spike: Change 1on1 send/filter to partial pub-key
- Add MANY_WHISPER_TOPICS_ENABLED flag
- Jenknisfile.parameters
2018-01-17 17:15:39 +01:00
Ivan Borovkov 7e2ef2ea98 add newline to .env file to fix build 2018-01-15 22:45:05 +02:00
Oskar Thoren 413f9c2fad
Introduce OFFLINE_INBOX_MANY_ENABLED flag for perf quickfix
Since offline inboxing and desktop were introduced, we went from testing with
~10 messages to ~1000 messages. This surfaced inefficiencies such as this issue.
It also means someone who joins a public channel such as #status will experience
significant lag when signing in. To remedy this, we put offline inboxing for
public/group chats under a flag until the underlying perf issue has been
resolved.
2018-01-11 18:32:22 +09:00