Commit Graph

329 Commits

Author SHA1 Message Date
pacamara 5e3f65eac8
Fixes #3639 Persist browser history
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-06 13:23:53 +03:00
Anton Danchenko 3d86e646be
added more atomic tests
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-07-05 00:05:37 +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
Andrea Maria Piana b34744133b
[fixes #4745] Don't query mailserver on restored account
When creating a new account / recovery we don't poll the mailserver anymore for historic messages, which solves the immediate issue of fetching only received messages

Handle messages sent from a different device in public chat / restore history. The message will be added, shown correctly as sent by the user, and the status will be set as sent ( need to check for seen race condition, as messages will now be added twice). This means that multidevice should now work for public chats.

Move contact updates to discovery topic. This is necessary as there is a pre-existing bug whereby contact updates would not work anymore after wallet recovery, as the code relies on the initial contact request being stored on the mailserver, which we cannot guarantee (we only pull 7 days of data). Not pulling history anymore exacerbate the problems but does not introduce it.
To make sure that contact updates will work after wallet recovery, we also need to consider a ContactUpdate in the same way we consider a ContactRequest (the other peer has no idea that the user has recovered the wallet). This does not change any behaviour in terms of obscurity/security as ContactRequest are automatically processed (in both case the contact will be set as pending?, not as accepted)
At this stage ContactRequest, ContactRequestConfirmed, ContactUpdate have all the same logic, i.e. update the contact information, leave the pending flag alone.

Only 1 day of history is fetched for newly joined chats, if catching up 7 days is the cap as before.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-03 17:21:59 +02:00
yevh-berdnyk 13c8cbf253
Fix for profile and chats tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-03 14:41:40 +02:00
Anton Danchenko f4c156c3f7
added atomic transaction tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-03 12:30:47 +02:00
Andrea Maria Piana 42509e8fb6
Dont query mailserver when from is greater than to
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-02 12:21:43 +02:00
yevh-berdnyk 0cef5041de
Added atomic tests for account management
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-06-30 19:51:54 +03:00
yevh-berdnyk 2817d00720
Added atomic tests for chats
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-29 14:58:07 +02:00
cammellos c4c5c19a77
[Part of #4944] add deep/universal link ios and use status-im://
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-29 14:54:05 +02:00
Andrea Maria Piana a7fc05fcd3
Add support for browse dapps
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-28 14:18:07 +02:00
Andrea Maria Piana b17d9bab37
Add universal links for android
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-27 22:45:57 +02:00
yevh-berdnyk d276d576a6
Increased time range for message sending progress bar
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-26 18:26:35 +02:00
yevh-berdnyk d12c05d6f7
Fix for e2e tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-22 12:18:07 +02:00
yevh-berdnyk 8bf083cf88
Added atomic tests for chats and sigh in
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-21 20:08:54 +02:00
Goran Jovic 32bbf4e533
feature #3233 #4095 and #3234 - send and request tokens in chat and wallet 2018-06-20 19:04:55 +03:00
Andrea Maria Piana ef0fa75ad4
Handle empty/invalid keys
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-19 20:15:16 +02:00
Andrea Maria Piana a313557694
Cap maximum number of days requested to mailserver
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-19 20:13:19 +02:00
Dmitry Novotochinov 00c5c630f4
Prevent send button spamming in public chats 2018-06-19 11:35:02 +03:00
Anton Danchenko c1120119b2
e2e tests aligned with new commands design
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-06-18 16:22:16 +03:00
Andrea Maria Piana 5a08383bde
Check minimum amount
Use string for inputs

validate gas is not 0

Handle signed/unsigned transactions
2018-06-15 18:32:26 +03:00
janherich be113ab8a4
Unit tests for mark seen functionality 2018-06-15 13:57:59 +02:00
yevh-berdnyk 49bc773037
Fixed accept_agreements method
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-14 20:37:19 +02:00
yevh-berdnyk f81f3e0d05
Added message reliability offline 1-1 chat and push notifications tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-14 19:42:18 +02:00
Andrea Maria Piana 2d54c3e2cc
Select random ms until users explicitictly choose one
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-14 15:02:15 +02:00
yevh-berdnyk 8d278f3d7d
Fixed passphrase input
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-13 17:21:03 +02:00
Andrea Maria Piana 027b558c2d
update requirements.txt with compatible dependencies
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-13 13:45:11 +02:00
Andrea Maria Piana 34174cd539
Validate rpc-url when creating a custom network
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-13 13:42:00 +02:00
Andrea Maria Piana c66c457bbb
Default to value if key is nil
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-13 13:39:04 +02:00
janherich 535ae6b481
Fix messages from multiple chats problem 2018-06-11 18:30:10 +02:00
janherich 0ad15a79d6
Ensure valid timestamp for all messages 2018-06-11 17:44:01 +02:00
janherich 4ba78de407
Faster seen marking
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-11 12:16:42 +02:00
Julien Eluard 952b01e9e1
[#1228] Only enable Next button when passphrase is valid
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-11 11:56:03 +02:00
yevh-berdnyk 69610e41ad
Added test for verification tokens data using api.ethplorer.io
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-08 16:15:21 +02:00
Andrea Maria Piana 00cd7c8578
Dont show add-to-contacts if dapp
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-08 15:07:02 +02:00
yevh-berdnyk 8f1610527b
Fixed e2e tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-08 13:08:05 +02:00
Lukasz Fryc f06f4d7a46
Rerun tests when Connection reset by peer happened
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-07 17:26:10 +02:00
Andrea Maria Piana 608c64e88d
Dont run receive-whisper-messages if the user is logged out
This handles a bug whereby we'd run receive-whisper-messages
when the user is logged out.

I could not replicate locally, but a few issues are apparent from
just inspecting the code:

1) there are some race-conditions on logout as we don't wait for all
the filters to be removed. Changing this behaviour is non trivial and
not sure if we can actually handle this completely
(status-go-has-a-message->remove-filter->logout->status-go-deliver-message).
2) no error handling is made in receive-whisper-messages.

This PR defensively handles both cases.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-07 14:16:35 +02:00
Andrea Maria Piana fc5cd95b9c
Add border to profile picture & style chat icon
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-07 13:50:35 +02:00
yevh-berdnyk 5b3aeccd8f
Added chat_name parameter for public chat in message reliability
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-06 15:10:24 +02:00
Anton Danchenko b38dd8f013
transaction verification is fixed
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-04 16:06:26 +02:00
Andrea Maria Piana 75d1c04412
Allow for different password on different mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-04 14:28:43 +02:00
Anton Danchenko 64f965c392
added test 'sign message in dapp', increased time for validation of a transaction
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-04 12:43:23 +02:00
yevh-berdnyk 65fa9e5741
Fixed login in e2e tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-01 20:12:51 +02:00
Andrea Maria Piana 49592f3a50
Allow editing/deleting custom bootnodes
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-01 18:28:10 +02:00
yevh-berdnyk 19ff402b4b
Updated message reliability test report
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-01 17:52:14 +02:00
Andrea Maria Piana 9058c54933
Allow scanning qr codes for custom bootnodes
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-01 13:57:21 +02:00
yevh-berdnyk b345b4a79a
Added 1-1, public and offline public chat tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-01 12:52:40 +02:00
Andrea Maria Piana 7ef3a5a5da
Delete mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-01 11:23:05 +02:00
Andrey Shovkoplyas 83afbd515a
show onboarding for transaction from chat [#4456] 2018-06-01 07:17:49 +03:00
Anton Danchenko d8c8608419
test 'delete 1to1 chat' has been reworked in order to decrease execution time
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-05-31 16:30:08 +03:00
yevh-berdnyk 955fdc6c17
Added 2 errors for rerun
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-31 11:17:00 +02:00
Andrea Maria Piana 1e4311d4cb
Allow editing existing mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-30 21:42:54 +02: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
Andrea Maria Piana 446ae1b30d
Allow scanning qr codes for custom mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-29 19:22:38 +02:00
yevh-berdnyk e2cc3123b2
Updated tests for deleting public chat and wallet recovery
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-29 17:45:57 +02:00
Goran Jovic 6f8647e7d7
bug #4496 - taking decimals into account when calculating fiat value of assets 2018-05-29 17:14:12 +03:00
Andrea Maria Piana 92289f452e
Dont open chat on contact request
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-29 14:59:51 +02:00
Andrea Maria Piana 638b30c443
Dont use json-string in network config
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-29 14:22:36 +02:00
Andrea Maria Piana 26dd1c1f5a
Reset realm when fail to decrypt
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-29 11:28:44 +02:00
Eric Dvorsak 203f399aca
use from parameter for mailserver requests
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-29 10:19:08 +02:00
Goran Jovic 35467ffd69
bug #4192 - removing mnemonic from db after user backs up seed phrase
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-28 16:31:00 +02:00
Andrea Maria Piana 9cfb591068
Remove chat / clear history
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-28 16:28:16 +02:00
Anton Danchenko 97c96bbcea
bypass minor issues, rerun test in case of 'App stop to respond'
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-28 15:51:00 +02:00
Eric Dvorsak 21f9aa1b10
[fix 4466] improve peer-summary-change-fx
do not request messages from inbox everytime a peer is added or removed

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-28 15:31:16 +02:00
Anton Danchenko a307d8e2d0
transaction by unique amount, fixed simple DAap test, added new errors to rerun tests list
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-26 21:44:46 +02:00
janherich e1da12d8a2
Fast message grouping/sorting
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-24 13:38:40 +02:00
janherich 84208aeb85
Correct :shh/post accumulation
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-23 19:55:27 +02:00
Eric Dvorsak 50072ffe3f
[fix 4177] handle discovery signals
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-23 17:01:57 +02:00
Anton Danchenko b8e41cb464
added public chat management test, disabled group chat tests, added more errors to the rerun tests list
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-23 16:48:15 +02:00
Andrea Maria Piana 735a5b403d
Add custom mailservers feature-toggled
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-23 15:35:25 +02:00
Georgie Mathews 971d780c1c
[FIX #4296] Rename Recent Recipients to Contacts in Wallet
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-22 14:38:50 +02:00
Igor Mandrigin 1aae1a9645
[#4053] Quickfix to not log passwords from the transaction screen.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-21 17:59:32 +02:00
Anton Danchenko 23f1c377c5
fixed e2e tests, fixed empty error message in testrail, better error messages
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-05-20 23:53:05 +03:00
yevh-berdnyk 3d33f3feac
Added tests for messaging, chats deleting and wallet set up
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-05-20 17:47:39 +03:00
Serhy 26c819cc9c
Toggle dev mode to change network
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-05-20 17:46:38 +03:00
Andrey Shovkoplyas 3f3684cddf
removed contacts groups and debug console
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-18 15:17:51 +03:00
Lukasz Fryc d2126d4abc
added 'open transaction on etherscan' and 'wallet errors' tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-17 10:42:28 +02:00
Serhy c80d4bd62c
Removed debug command test
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-16 20:36:20 +02:00
Andrea Franz 24127a598b
update status-go to use the latest commit with wallet-compatibility
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-15 18:56:11 +03:00
Andrea Maria Piana c27418cd2f
Remove username from 1-to-1 chat
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-15 16:38:24 +02:00
yevh-berdnyk 9a94779238
Updated test for signing a transaction in a DApp and removed test fro signing a transaction later
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-14 19:29:54 +02:00
Lukasz Fryc e32ce7af68
Rerun appium tests failed due to infrastructure reasons
rerun_count=0 by default
2018-05-14 17:47:06 +02:00
yevh-berdnyk 0d2849d955
e2e tests updated according to new wallet onboarding
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-14 15:22:03 +03:00
janherich 62a9f26e30
First stage of realm transactions 2018-05-10 17:21:23 +02:00
Serhy 37fe1e2b9e
Fix seed-phrase test
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-10 14:06:20 +03:00
Anton Danchenko 942c703bd8
testrail report for extended automated tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-10 00:39:20 +03:00
Lukasz Fryc d9755f546d
Add appium test about deleting 1-1 chat 2018-05-09 10:57:43 +02:00
Roman Volosovskyi 6e34ede299
reformat test namespaces 2018-05-08 14:43:06 +03:00
Serhy d58d7c8b81
Dont share button tests update from 4098
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-07 12:30:58 +03:00
yevh-berdnyk fcaa291c23
Added e2e tests apk building in Jenkinsfile.nightly_fastlane
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-07 12:29:51 +03:00
Andrea Maria Piana 733f2b193f
dont send seen for public messages and remove checkmark 2018-05-04 21:31:54 +02:00
psdp 5d5444e3de
Show fiat value of wallet assets #4009 2018-05-04 21:25:20 +02:00
yevh-berdnyk f94e1c5826
Added e2e tests for account management verifications
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-04 16:31:31 +03:00
psdp 97083f31f6
Show all users in group chat members list 2018-05-02 14:56:56 +02: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
psdp ef0024c5dc
Replace accounts/accounts by account/account in app-db [#3907]
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-05-01 16:40:36 +02:00
Serhy 076e2c30fc
Update non-dapp browsing test
Signed-off-by: Serhy <sergii@status.im>
2018-05-01 13:40:25 +03:00
yevh-berdnyk c95bc11d52
Removed getting latest nightly apk, fixed messaging tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-30 19:30:05 +03:00
janherich 3b4d7a6a62
Remove obsolete code 2018-04-30 08:35:09 +02:00