Commit Graph

815 Commits

Author SHA1 Message Date
Churikova Tetiana 081b90ff4e
Fix high/critical e2e for profile
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-30 09:54:38 +02:00
Andrey Shovkoplyas 0288d617cb
[#8849] Use node-qrcode instead of react-native-qrcode 2019-08-29 15:53:44 +02:00
Andrea Maria Piana 3b52a61bdf
validate links before opening
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-29 15:14:06 +02:00
Churikova Tetiana fe6f7999bd
Fix critical e2e for new profile
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-29 12:26:06 +02:00
yenda b28c521b2b
remove semaphores 2019-08-28 11:11:41 +02:00
yenda d4a396bedf
move networks out of multiaccount 2019-08-28 11:11:40 +02:00
yevh-berdnyk b9c7dbd5d2
Fixed e2e tests (high/medium)
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-27 09:59:22 +02: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
yevh-berdnyk 59000d5698
False failed tests fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-23 14:14:44 +02: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
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 c75d5b24f6
[fix 8795] remove mainnet is default alert
Signed-off-by: yenda <eric@status.im>
2019-08-21 17:40:50 +02: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
yevh-berdnyk da7a69bc02
Fixed tests with profile picture editing verifications
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-21 09:26:24 +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
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
yevh-berdnyk 5db9080990
Added tests for multiaccount
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-20 10:58:27 +02:00
yevh-berdnyk d2a9cb355a
Updated test users public keys and usernames
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-20 10:57:51 +02:00
Andrea Maria Piana be9cd1b050
Revert "Added tests for multiaccount"
This reverts commit 5fc358469a.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-19 12:19:50 +02:00
yevh-berdnyk 2b3ef5b985
Fixed false failed tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-19 10:26:14 +02:00
yevh-berdnyk 5fc358469a
Added tests for multiaccount
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-19 10:24:56 +02:00
Churikova Tetiana ebefb0c9e3
fixed actions for profile
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-19 10:16:59 +02:00
yevh-berdnyk 9a0bb7d137
Updated tests 5441, 5453, created 6221
Signed-off-by: Serhy <sergii@status.im>
2019-08-15 19:10:10 +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
yevh-berdnyk fde55b80d0
Added test for searching not used translation strings
Signed-off-by: Serhy <sergii@status.im>
2019-08-13 14:00:54 +03:00
Churikova Tetiana fc999c2462
Check version format
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-12 09:42:26 +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
Churikova Tetiana 68da6159ed
skipped some steps in e2e due to deleteing commands
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-07 11:19:20 +02:00
yevh-berdnyk df66f9ddbe
Added new tests
Signed-off-by: Serhy <sergii@status.im>
2019-08-06 16:54:29 +03:00
Churikova Tetiana c8a4c2ac21
restore 7 accounts
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-06 10:53:46 +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
Churikova Tetiana 5b08d129d4
skipped e2e due to missing commands in chat
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-02 13:57:18 +02:00
Churikova Tetiana 7f05c09632
ens e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-02 11:37:05 +02:00
Churikova Tetiana 90ec7768e6
disable 1 more e2e due to disable send to contacts from wallet 2019-07-30 20:35:58 +02:00
Churikova Tetiana ca97cb53fe
skipped e2e for commands 2019-07-30 20:35:58 +02: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
yevh-berdnyk 6091517110
E2E tests false failures fixes
Signed-off-by: Serhy <sergii@status.im>
2019-07-30 16:07:27 +03:00
yevh-berdnyk ce84f81741
Re-enabled and updated e2e tests
Signed-off-by: Serhy <sergii@status.im>
2019-07-29 14:54:25 +03: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
yevh-berdnyk 7e061e9cd1
False failed tests fixed - chat, browsing, deeps links, transactions
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2019-07-26 00:54:48 +03:00
yevh-berdnyk f7bb0d3648
Fixed false failed tests
Signed-off-by: Serhy <sergii@status.im>
2019-07-24 19:10:33 +03:00
yevh-berdnyk f0269bc732
Updated test_home_view with new onboarding flow
Signed-off-by: Serhy <sergii@status.im>
2019-07-24 11:53:33 +03:00
yenda 562773fa1b
[wallet] use status-go wallet service
- remove use of etherscan and subscriptions
- replace by status-go
2019-07-22 11:16:00 +02:00
yenda c3c4a5170a
[multiaccount] rename multiaccount to account
Signed-off-by: yenda <eric@status.im>
2019-07-22 11:14:44 +02:00
Serhy 0c6c185394
Fixing e2e tests
Signed-off-by: Serhy <sergii@status.im>
2019-07-18 19:28:50 +03:00
Vitaliy Vlasov 3a903fbaa2
Revert "Hide key storage selection screen temporarily"
This reverts commit 8764fafc42.
2019-07-18 13:14:37 +03:00
Vitaliy Vlasov 8764fafc42
Hide key storage selection screen temporarily
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-07-18 12:59:01 +03:00
Serhy 840fbfd2d7
E2e nightly fixes
Signed-off-by: Serhy <sergii@status.im>
2019-07-16 11:28:27 +03:00
Serhy 3c0a24f429
fix e2e wallet setup
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-12 12:36:45 +02:00
Serhy d92eb8374f
e2e fix after new onboarding
Signed-off-by: Serhy <sergii@status.im>
2019-07-12 13:02:10 +03:00
Julien Eluard 28f7ea0408
Enable stickers on all envs. Use contenthash to identify stickers
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-07-11 15:06:32 +02:00
Vitaliy Vlasov 433f840f76
Onboarding sign-in
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-07-11 15:46:24 +03:00
Anton Danchenko 253c8c8e7a
Test time to load for login screen
Signed-off-by: Serhy <sergii@status.im>
2019-07-10 10:45:14 +03:00
Vitaliy Vlasov e9fd6e1a6b
Onboarding setup wizard
New onboarding e2e tests updates

New onboarding e2e fix 2

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-07-08 18:17:50 +03:00
Volodymyr Kozieiev ea8bf402d7
Two pane ui on large screens
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-07-05 13:03:21 +03:00
Andrea Maria Piana de0d98da20
Use a signal for messages
This commits changes the behavior to read from a signal instead of
polling each filter.

We receive a signal from status-go every 0.3 seconds, only if new
messages are received. We receive a single signal for all the chats, and
we don't dispatch anymore on every message.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-07-04 15:07:59 +02:00
Serhy f2135c019f
Disable e2e until 8234 merged
Signed-off-by: Serhy <sergii@status.im>
2019-07-04 12:54:15 +03:00
Jakub Sokołowski 119c5303a4
don't raise exception on testrail api errors
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-03 12:32:42 -04:00
Andrea Maria Piana 138ade3b8d
Move installations to status-go
This commit moves the management of installations to status-go, and
migrates the data from realm.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-07-03 12:50:23 +02:00
Churikova Tetiana d4aac3c423
fix for 4 e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-07-02 09:59:01 +02:00
Jakub Sokołowski 37dc51a93d
add a Jenkinsfile for nightly end-to-end tests
also add error handling for TestRail

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 11:22:26 -04:00
Churikova Tetiana 0c644705b3
fixed 19 e2e and skipped 3 e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-07-01 09:11:50 +02:00
Anton Danchenko adb90e35de
Chatbot fix
Signed-off-by: Serhy <sergii@status.im>
2019-06-27 09:50:27 +03:00
Churikova Tetiana eef777175e
Fix e2e with default usernames instead of custom
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-06-26 17:17:08 +02:00
Serhy 7a7bafd5ef
Fix critical e2e
Signed-off-by: Serhy <sergii@status.im>
2019-06-26 12:08:27 +03:00
Serhy 7237dd510d
Multiaccount critical e2e fixed
Signed-off-by: Serhy <sergii@status.im>
2019-06-25 13:42:27 +03:00
Julien Eluard 3b7e92230b
[Fix #8067] Added screens for ENS preferred name selection
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-06-25 08:50:39 +02:00
Igor Mandrigin 79454938bc
[android, ios] render markdown-ish formatting in chat messages natively.
use patched RN to make sure that heavily-formatted messages don't slow
our chats down.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-06-24 16:50:09 +02:00
Andrea Maria Piana 532664ab84
Adds topic negotiation and partitioned topic
All the code has been implemented in statusgo: status-im/status-go#1466

Basically all the whisper filter management is done at that level.

Technical description
On startup we load all chats and send a list of them to status go:
For a public chat: {:chatId "status"}, we create a single filter, based on the name of the chat.

For each contact added by us, each user in a group chat and each one to one chat open, we send:
{:chatId "0x", :oneToOne true}. This will create a chats, to listen to their contact code.

Any previously negotiated topic is also returned.

Once loaded, we create our filters, and upsert the mailserver topics, both of which are solely based on the filters loaded.
In order to remove a chat, we delete/stopwatching first the the filter in status-react and then ask status-go to remove the filter. For a public chat we always remove, for a one-to-one we remove only if the user is not in our contacts, or in a group chat or we have a chat open. Negotiated topics are never removed, as otherwise the other user won't be able to contact us anymore.

On stopping whisper we don't have to ask status-go to remove filters as they are removed automatically.

Some more logic can be pushed in status-go, but that will be in subsequent PRs.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-06-24 13:54:43 +02:00
Serhy 3973ebd607
Tx in Dapp multiaccount followup e2e fix
Signed-off-by: Serhy <sergii@status.im>
2019-06-20 16:23:46 +03:00
Vitaliy Vlasov b6163b8ae5
Check tribute if contact was added (but not otherwise)
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-06-19 15:19:09 +03:00
Serhy c9048f2e35
Fix stickers and wallet e2e tests
Signed-off-by: Serhy <sergii@status.im>
2019-06-19 09:32:22 +03:00
Julien Eluard 8aa16520c6
[Fixes #8066] Added native ENS registration
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-06-18 13:25:56 +02:00
Roman Volosovskyi 908f730b1d
[perf] network module 2019-06-13 09:33:18 +03:00
Serhy f3aa376d16
More e2e fixes
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-06-12 16:02:23 +02:00
Anton Danchenko d1b991f656
e2e fixes 2019-06-12 13:20:02 +02:00
Andrey Shovkoplyas 7de2941f26
[#8026] [Wallet] Sign transaction module 2019-06-12 13:20:01 +02:00
Roman Volosovskyi 3bd0947b4c
[perf] move goog.i18n deps to a module 2019-06-10 21:10:42 +03:00
Churikova Tetiana 3e8b02616b
Requirement for Faucet request received is removed
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-06-07 16:18:22 +02:00
yenda 04de022eae
[refactor] replace web3-prototype
- replace web3-prototype wherever possible
- currently only the money namespace is left
for future refactoring, the ideal solution
would be to use strings for big numbers all
the time and only convert for arithmetic operations
- use json-rpc call to replace trivial web3 calls

Signed-off-by: yenda <eric@status.im>
2019-06-06 15:57:34 +02:00
Churikova Tetiana 6c76cc866c
fetch_message and e2e fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-06-05 18:17:33 +02:00
Roman Volosovskyi 632bbf3bc1
[perf] Move translation to node_modules in release build 2019-06-05 18:40:53 +03:00
yenda 1ae42ea424
[perf] upgrade realm and improve schemas/queries
- upgrade to realm 2.28 to benefit from perf improvements
- remove user-statuses and replace by seen and outgoing-status fields
to get rid of a lot of bloat queries and computations
- remove unused seen message, bottom-infos
- remove unused fields in transport schema
- use objectForPrimaryKey whenever possible instead of get by field

Signed-off-by: yenda <eric@status.im>
2019-06-04 23:36:35 +02:00
yenda 1cb7f3b83f
[perf] remove unused schemas and properties
Signed-off-by: yenda <eric@status.im>
2019-06-03 18:24:34 +02:00
Vitaliy Vlasov 04ccd0e7d8
Add TtT chat flow
Signed-off-by: yenda <eric@status.im>
2019-06-03 15:31:30 +02:00
yenda 75e20a0bbd
remove useless field in message subs
Signed-off-by: yenda <eric@status.im>
2019-06-03 11:06:34 +02:00
Igor Mandrigin 34300cc0c0
Remove unused fields in chats dictionary.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-05-31 16:11:05 +02:00
Churikova Tetiana 9fe656705e
e2e for sync chats and profile
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-05-31 10:33:53 +02:00
tbenr 090a4e7c76
fixes #6573
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-31 10:25:24 +02:00
Roman Volosovskyi daacccb512
[Android, iOS] Advanced ClojureScript compilation 2019-05-30 21:23:31 +03:00
yenda f03225c03d
[fix] destructuring in events for fx/defn macro
Signed-off-by: yenda <eric@status.im>
2019-05-30 18:17:28 +02:00