Commit Graph

541 Commits

Author SHA1 Message Date
tbenr 2d5c4e3892
fixes #6601
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-25 21:02:58 +01:00
Roman Volosovskyi 5d5847e4b9
[slow sign in] Add unviewed messages counter to chat entity.
Before we fetched ALL user-statuses with `status=received` (which means that
a message hasn't been seen), iterated them, grouped by chat and then stored
`message-ids` of these `user-statuses` in chat's `:unviewed-messages` key.

This commit introduces :unviewed-messages-count field in chat entity.
That means that there is no need to iterate `user-statuses` in order to count
a total number of unviewed messages, it is always stored along with chat.
In the rest of it, the difference is only that chat's db record should be
updated each time when unviewed messages are seen.
2018-11-23 17:08:48 +02:00
Andrey Shovkoplyas 5dd345fe49
[#6643] Allow chat command suggestions to select parameter
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-22 15:57:39 +01:00
Oleksii Lymarenko f1b457677c
new test added: user can send/read messages in public chat
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-22 15:28:37 +02:00
Oleksii Lymarenko ad922f4c60
new test added: check currency fiat value is correct
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-22 15:26:12 +02:00
Bruce Hauman a5c5e1831f
better protect transaction history polling from errors
Go blocks parse try catch blocks and turn them into event
dispatches. This captures the original intent of the code to catch
errors and terminate the current async worker execution.

Signed-off-by: yenda <eric@status.im>
2018-11-21 17:25:36 +01:00
Julien Eluard ee4cafbbe3
[Fixes #6784] Fixed some ABI codec issues
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-21 11:12:19 +01:00
Bruce Hauman d5dde69af9
[#6718] restyle wallet onboarding flow
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-20 17:21:26 +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
Oleksii Lymarenko 58dc06267c
fix faq element locator on help view
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-20 17:26:52 +02:00
Anton Danchenko 1e241b5a90
removed sign in after the network switch
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-11-20 14:48:08 +02:00
Oleksii Lymarenko 9b198e4352
new test added: user can see own assets after account recovering
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-20 09:11:47 +02:00
Oleksii Lymarenko bc44df32cb
new test added: check that system replaces capital letters when typing passphrase
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-19 19:02:00 +02:00
Anton Danchenko cf15789e2a
skip tests in order not to false fail in PR
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-11-19 16:45:03 +02:00
yenda 1ba7feb439
[refactor] move contact.subs and utils.contacts to contact.db
functions defined in subs need to be reusable and testable independently
from re-frame framework. they are moved into db namespace for that purpose

Signed-off-by: yenda <eric@status.im>
2018-11-19 14:30:25 +01:00
Lukasz Fryc eed610c46e
Allow to measure battery and network consumption on real device 2018-11-19 14:16:10 +01:00
yenda 77e9aea755
[refactor] move chat.subs fns to chat.db
Signed-off-by: yenda <eric@status.im>
2018-11-19 12:30:58 +01:00
Anton Danchenko 4ad021691f
added runner and testrail report
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-11-16 11:53:40 +02:00
Bruce Hauman 1716643c46
[#5749] transaction history fixes
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-16 10:03:54 +01:00
yevh-berdnyk e08b496c38
Fixed transactions history test
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-11-15 18:11:58 +01:00
Anton Danchenko 510961e333
swipe to delete fix
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-11-15 12:22:28 +02:00
Oleksii Lymarenko 89e0ea0bd2
new test added: check fiat value is correct for token transactions
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-14 22:43:50 +02:00
yevh-berdnyk 68d6255d44
Fixed chat element locator
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-11-14 18:17:16 +01:00
Andrea Maria Piana 1104becfba
Enable syncing of contacts & style pairing section
Everytime a contact request is sent/confirmed a sync message is also
sent to other devices so the contact is kept in sync.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-14 13:21:14 +01:00
Serhy 5e2c192524
Add automated tests according to #6649
Signed-off-by: Serhy <sergii@status.im>
2018-11-09 12:56:18 +02:00
Eric Dvorsak 548162f733
[refactor] remove current-public-key 2018-11-09 11:16:27 +01:00
Eric Dvorsak f8f499d9b0
[refactor] rename whisper-id and whisper-identity to public-key 2018-11-09 11:16:27 +01:00
Eric Dvorsak a6da75f8e9
[refactor] remove email field in account 2018-11-09 11:16:27 +01:00
Eric Dvorsak 4804d11b0f
[refactor] remove jail-loaded? and jail-loaded-events 2018-11-09 11:16:23 +01:00
yevh-berdnyk 9a088ffc54
Fixed onboarding from DApp and openning links tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-11-07 17:32:21 +01:00
yenda a3b2bc1b87
[fix #3913] do not logout when changing mailserver
- do not logout and remove previous mailserver
from peers when changing mailserver
- rename wnode mailserver
- move transport.inbox to mailserver.core
- fix all subs and db keys

Signed-off-by: yenda <eric@status.im>
2018-11-07 17:10:18 +01:00
Oleksii Lymarenko ed16d9f191
new test added: can complete txn to dapp after onboarding called from dapp is completed
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-07 17:40:16 +02:00
Dmitry Novotochinov 737d44931f
[#4433] update mac os dock badge label on new messages
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-11-07 18:18:35 +03:00
Serhy 6063134202
ix request ETH in simple dapp
Signed-off-by: Serhy <sergii@status.im>
2018-11-07 16:17:21 +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
janherich ff97345f07
Plug-in new text parsing engine 2018-11-06 19:59:24 +01:00
Oleksii Lymarenko 9248db8dfb
changed element locator
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-06 16:33:04 +02: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
Oleksii Lymarenko a8481ab3e1
got rid of set_network_connection() usage in test due to permanent failing
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-05 15:06:44 +02:00
Oleksii Lymarenko 70388b9113
refreshed saucelabs image templates
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-05 15:04:49 +02:00
Serhy b0b2e5013b
Fix help section test
Signed-off-by: Serhy <sergii@status.im>
2018-10-31 11:41:41 +02:00
Oleksii Lymarenko 092da7ab9d
added test: can proceed using dapp after transacting tokens
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-29 10:33:33 +02:00
Oleksii Lymarenko aa18cdc20e
functional test added: user can remove profile picture
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-29 10:19:34 +02:00
yevh-berdnyk c348342590
Added TestRail link for test results in PRs
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-28 15:03:40 +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
yevh-berdnyk f8343cc377
Fixed logging
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-25 15:16:16 +03:00
Andrey Shovkoplyas f8ef431373
[extensions] ethereum call decode params
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-25 09:22:29 +02:00
yenda e020f19da0
[fix 6500] search doesn't find name for contact that added user
- chat name is not updated with contact name
- when a contact adds the user and is added back by user, the name
of the chat is still the random name of the contact
- in active-chats subscriptions, replace the name of the chat by the current
name of the contact
2018-10-24 18:18:50 +02:00
yevh-berdnyk af360cbda6
Added new tests for desktop
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-24 17:16:56 +03:00
Goran Jovic 3da2cd9b9e
feature #6250 - added xdai and poa sidechains
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-24 10:00:04 +02:00
yenda 82c3997f07
[desktop] Add search feature for chat list
Signed-off-by: yenda <eric@status.im>
2018-10-23 17:27:27 +02:00
Oleksii Lymarenko 96fe193daa
switching airplane toggle method added
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-23 16:30:54 +03:00
yevh-berdnyk 927038a1d7
dockerfile for running e2e tests against desktop app
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-23 14:41:23 +03:00
Oleksii Lymarenko 0ef2b68f69
changed element locator for a test
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-23 11:32:06 +03:00
yenda 6b1c6c7d0a
[fix 6410] error when fetching history on certain accounts
- 1-1 chats don't have a topic anymore because they only use the
discovery topic so topic is nil for these chat
- this was causing an error when initializing whisper because the app
was trying to start a filter for each of the chat including the 1-1 with
no topic
- we now filter the transport/chats to only recover sym-key and start filter
for those with a topic
2018-10-22 19:10:34 +02:00
Anton Danchenko 7d0c655441
fix for ETHro selection
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-19 12:43:08 +03:00
Andrea Maria Piana 9629983f7f
Remove instabug 2018-10-19 09:18:22 +03:00
Roman Volosovskyi 4c426d9c2b
remove the rest of testfairy's mentions from the project 2018-10-18 20:54:59 +03:00
Aleksandr Pantiukhov 76a724a2e7
[#6228]: API: requesting to connect to a node that is not available crashes the application
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-18 16:43:42 +02:00
Oleksii Lymarenko df9a59e255
removed critical mark from transaction history test
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-18 17:38:13 +03:00
Dmitry Novotochinov 248e60e1d3
[#5038] desktop deep links
Add support for status-im://chat/public/status type of links

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-10-18 16:02:14 +03:00
yevh-berdnyk 75ade1673b
False failures fix
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-18 12:04:12 +03:00
Lukasz Fryc 8e9f0143ad
Remove TestFairy from E2E tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-17 22:37:05 +03:00
janherich acd05e2687
Implementation of text content parsing 2018-10-16 23:13:11 +02:00
yevh-berdnyk 55d72b534a
Desktop automation PoC
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-16 17:52:26 +03:00
Oleksii Lymarenko dd7132f7d2
cast rerun count to int
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-16 12:35:54 +03:00
yenda 660bd2d1bd
request 7 days of history
- fetch 7 days of history when joining a chat
- make 7 24h requests to request 7 days because mailservers
ignores requests for a timespan > 24h
- make requests sequentially to avoid timeouts
- change mailserver after 3 timeouts on a request

Signed-off-by: yenda <eric@status.im>
2018-10-15 17:18:59 +02:00
Oleksii Lymarenko 184dd03fa0
make conftest file meet pytest requirements
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-15 18:10:46 +03:00
Oleksii Lymarenko 1639943627
onboarding screen verification test added (testrail id 5355)
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-15 18:07:55 +03:00
Oleksii Lymarenko 3bda480fe6
txs history test added (testrail id 5314)
Signed-off-by: yenda <eric@status.im>
2018-10-15 16:45:41 +02:00
Igor Mandrigin 1c4cca1004
Don't start a node while the node is already being started.
Restart it instead, so that we are sure which config is there.

Signed-off-by: yenda <eric@status.im>
2018-10-15 16:43:30 +02:00
Julien Eluard 5eeda7aa0b
Fixes #6275
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-15 15:34:47 +02:00
yenda 1a2fcdfe3a
refactor contact models
- move models.contact and models.contacts to contact.core
- add tags field to contact and chat

Signed-off-by: yenda <eric@status.im>
2018-10-15 11:57:48 +02:00
yevh-berdnyk dc37e8b2dd
Updated profile picture templates
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-11 16:28:02 +03:00
yenda efdd76b364
refactor inbox
Signed-off-by: yenda <eric@status.im>
2018-10-11 14:47:04 +02:00
Oleksii Lymarenko 321fb5e24a
false faucet fixture autouse
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-10 17:31:20 +03:00
Oleksii Lymarenko 2cab2bdc05
fix privacy summary elm locator; changed python string formatting
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-10 13:28:52 +03:00
Andrea Maria Piana 84151ea996
Ignore messages with too high clock-value and prevent stored messages to pollute the database
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-09 14:34:29 +02: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
yevh-berdnyk 95639d1bf2
Token info url is changed to https
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-08 20:10:27 +03:00
Serhy c863f05a83
Fix tests after wallet modal button moved
Signed-off-by: Serhy <sergii@status.im>
2018-10-08 15:38:12 +03:00
yevh-berdnyk 7613e642ff
Fixed username verification in public chat, added StaleElementReferenceException to rerun errors
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-08 14:01:27 +03:00
Oleksii Lymarenko 3bc7378544
fix for python35 string formatting
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-08 11:53:33 +03:00
Oleksii Lymarenko e8c68cfff9
passphrase validation tests added
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-04 18:40:42 +03:00
Andrey Shovkoplyas 1b6d51ff11
implemented functionality to request user action from dapps
fixed qr code js api

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-04 15:25:18 +02:00
yevh-berdnyk 37c3f30d75
Updated share public key accessibility ids
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-03 11:10:15 +03:00
Andrey Shovkoplyas a1d0dcc0ec
introduced new status js api according latest web3 opt-in api 2018-10-02 22:12:46 +02:00
hetvart d49628f648
changed testrail ids and mark according to new testrail structure
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-02 16:19:48 +03:00
yenda f6a50b2799
[fix 6051] log error during connexion and pass cofx
Signed-off-by: yenda <eric@status.im>
2018-10-02 14:11:05 +02:00
Serhy 8e317afe65
Migrate autotests to use new testrail suite
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-02 14:46:09 +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
yevh-berdnyk 1c9a3e38b3
Added public chat bot
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-01 12:58:49 +03:00
yevh-berdnyk ac27625410
e2e tests updated according to 6041
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-01 12:53:44 +03:00
janherich 44fbe62773
Chat replies + refactoring 2018-09-28 16:15:47 +02:00
yenda f37276a648
[fix 6012] can't open dapps from deeplinks
Signed-off-by: yenda <eric@status.im>
2018-09-28 09:44:48 +02:00
Anton Danchenko 1ceebe703a
Added unique users for transactions tests
Signed-off-by: Serhy <sergii@status.im>
2018-09-27 18:11:30 +03:00
Eric Dvorsak 21cc106ed3
cljs implementation of abi-spec
Signed-off-by: yenda <eric@status.im>
2018-09-26 21:58:14 +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
Serhy 559b74ba94
Fixed tests and added accessibility id
Signed-off-by: Serhy <sergii@status.im>
2018-09-26 10:31:41 +03:00
yenda 4bd5d986b0
remove merge-fx macro
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:18:44 +02:00