Commit Graph

4020 Commits

Author SHA1 Message Date
Roman Volosovskyi 07e8f6908d
[#6952] Fix odd app behavior after quick logout
This commit changes the way how/when the node is started/stopped:
1. `node` is not started on the app startup
2. When the user presses "Sign in" button the node is started
   with user specific configs (`InstallationID`, custom bootnodes, etc),
   and only after that `Login` call is performed.
3. When the user creates a new account, at first the node is started
   with default params (the same as would be used when user signs into
   the app after account creation whithout changing any setting), then
   `CreateAccount` call happens, then `Login`.
4. When the user restores their account, the flow is the same as `3`
   but with `RecoverAccount` instead of `CreateAccount`
5. When the user logs out the node is stopped. That's it.
2018-12-17 13:27:17 +02:00
tbenr 52b7bcd291
fixes #6788
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-17 09:29:28 +01:00
Jakub Sokołowski ffdbedd049
use the new pr commenting service
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-14 18:33:48 +01:00
Andrea Maria Piana 54b9ba5a2e
Dont choke on wrongly serialized messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-14 16:59:34 +01:00
Anton Danchenko 88c06c53d4
urllib upgrade
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-12-14 15:50:49 +02:00
Andrea Maria Piana 05b70b0974
Use cursor and update status-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-14 13:11:31 +01:00
Andrea Maria Piana 6e5d54b5aa
Fetch history action 2018-12-14 13:10:37 +01:00
Vitaliy Vlasov 9afd76c7a8
Set REALM_DISABLE_ANALYTICS env var when running Node.JS server
Remove Jenkins change

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-14 12:50:44 +02:00
Volodymyr Kozieiev d603460ff1
Logging disabled for release build
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2018-12-14 12:08:15 +02:00
Andrey Shovkoplyas 50e0f26864
[#6760] Add DApps for 0.9.33
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-14 10:58:37 +01:00
Jakub Sokołowski 3cfec19757
fix link used for Macs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-13 18:09:04 +01:00
Andrey Shovkoplyas b80230a95f
[#6688] Update ENS resolving implementation to match what is defined in EIP-1577
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-13 16:21:11 +01:00
Goran Jovic 7e8389318d
bug #7047 - reuploaded eth icon
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-13 16:19:44 +01:00
Rob Culliton a04952b60c
new json-rpc call for debug_metrics on advanced settings desktop tab;
include verify() bridge for desktop

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-13 16:27:26 +02:00
Jakub Sokołowski 9f7d32b1c5
add cleanup steps and reduce number of builds to keep
skip github notification if no CHANGE_ID is available

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-13 14:23:55 +01:00
Andrey Shovkoplyas f56a500f64
[#6997] Remove desktop download nightly release feature
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-13 11:33:11 +01:00
Andrea Maria Piana 13b5c14b78
Remove println statement
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-13 10:16:35 +01:00
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 80b868a86e
Update translations 2018-12-12 19:56:51 +01:00
Andrea Maria Piana 090b4a1282
Add re-send popup to desktop 2018-12-12 19:56:50 +01:00
Andrea Maria Piana 82f9b58b97
Use not confirmed 2018-12-12 19:56:49 +01:00
Andrea Maria Piana 7921729910
Dont show wallet offline on desktop 2018-12-12 19:56:48 +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
yenda 9110a64dcc
[fix] handle errorMessage in mailserver.request.completed signal
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-12 18:24:55 +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
Anton Danchenko f6777edbdc
migration to latest appium version
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-12-12 17:33:00 +02:00
Jakub Sokołowski 9e8ec6eac7
run pod only for ios
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: yenda <eric@status.im>
2018-12-12 16:22:14 +01:00
Rob Culliton 88d3e78454
change 9+ to actual count of unread messages
unread-messages-count fn, based off Maciej's comment on #6749

adding test, some difficulty running the test suite locally via clj

actually use the new functionality for displaying on desktop

first pass at updated styling for unread count chat icons

styling pass 2: finer attention to detail for the purple/blue icons

a bit more padding bloat to accomodate for the number 1, which occurs
frequently :)

remove counter from "home" icon on desktop

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-12 15:55:13 +02:00
Jakub Sokołowski 2586e71b30
move upload step top platform specific builds, cleanup
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-12 14:12:17 +01:00
Andrey Shovkoplyas 8374a7d532
fixed extensions installation issues
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-12 13:21:01 +01:00
Zach Zundel 1a46355c61
Add ethereum/poll-logs event, fixes #6855
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-12 12:36:03 +01:00
Igor Mandrigin b65f678429
Upgrade realm to 2.21.0
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-12 11:57:50 +01:00
Andrea Maria Piana 4d5742f666
Fix bug with characters in password
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-11 17:56:12 +01:00
Julien Eluard 6c3f44438c
Allow input to trigger event after a delay
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-11 16:32:30 +01:00
Jakub Sokołowski 63ac18afde
set BUILD_TYPE to pr as default
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-11 12:15:45 +01:00
Lukasz Fryc 45aa302637
Add group chats appium tests
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-12-11 12:55:25 +02:00
Jakub Sokołowski 411a74e040
add mvnrepository.com for gradle
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-10 21:04:38 +01:00
Igor Mandrigin afc368b1b0
Upgrade status-go to 0.17.6-beta (Constantinople).
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-10 12:59:44 +01:00
Roman Volosovskyi 83a8d9db27
Show schema version details on migrations failure
Simplifies debugging of migration failures, specifically in cases when
more than one migration is applied.
2018-12-10 10:12:27 +02:00
yevh-berdnyk d299713037
Added new desktop e2e tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-12-10 00:54:51 +01:00
Max Risuhin 8f0bfde759
Use StatusImAppImage package without redundant files
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-12-09 15:59:42 +02:00
Max Risuhin aea75a2de0
Prompt user explicitly to upload exact crash related files
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-12-08 21:12:59 +02:00
Roman Volosovskyi e20af4d206
Do not update :mailserver/connection-checks` if the user is logged out.
Connection check should be skipped if the user has logged out, otherwise
`app-db` may end up in an invalid state which causes an error and red screen
in dev mode.
2018-12-08 20:56:41 +02:00
Tom Nash c810e0f2c3
Fix arithmetic function in extensions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-08 18:04:16 +01:00
tbenr 5ffeacadbf
fixes #6866
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-08 18:02:46 +01:00
Jakub Sokołowski 51b388cce3
always upload iOS builds to Diawi
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-07 16:15:47 +01:00
Jakub Sokołowski adbf77cb57
remove legacy jenkinsfiles
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-07 16:02:41 +01:00
Jakub Sokołowski 65826b178f
fix PATH for the compile step so we can use qmak
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-07 15:04:23 +01:00
Volodymyr Kozieiev 922caf168b
Returned macdeployqt env var 2018-12-07 15:04:02 +01:00
Volodymyr Kozieiev ad4535e3bd
Removed MACDEPLOYQT record 2018-12-07 15:04:02 +01:00