Commit Graph

815 Commits

Author SHA1 Message Date
Roman Volosovskyi c440b7a3a7
[slow sign in] Denorlmalize last message
The last messages of the chats are necessary to properly show the chat
list, which is shown right after signing in. Before this commit, the
last message was retrieved as one of 20 last messages fetched for each
chat.

Implementation:
- `:last-message-content` and `:last-message-type` fields were added to
  `chat` entity
- both fields are updated when messages are received/sent
- loading of the last 20 messages for each chat was removed as
  initialization step
2018-12-17 13:29:10 +02:00
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
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 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
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
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
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
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
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
Corey 9e75b89d58
Upgrade requests for vuln report 2018-12-05 16:42:08 +02:00
Roman Volosovskyi b6e515618b
[#6956] upgradable `message-id`
Implementation:
1. `transport.utils/message-id` function is called only in three places now
   and accepts `from` and  `raw_payload` as parameters.
   ID is calculated as `sha3(from + raw_payload)`.
2. This means that for wrapped private group chat message
   the raw payload of `GroupMembershipUpdate` is used.
2018-12-05 11:22:43 +02:00
Oleksii Lymarenko e80200f260
tests added: check wallet modal in 1*1/group chats
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-12-04 13:39:02 +02:00
Andrea Maria Piana dfbc27c5d7
Allow admin to leave chat
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-04 10:17:50 +01:00
Anton Danchenko 73cbfd4cd9
new separator in public usernames and medium priority for test_user_can_interact_with_public_chat
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-12-03 11:44:32 +01:00
Vitaliy Vlasov dc4841f041
Add react-native-desktop-menu native module
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-01 02:03:06 +02:00
Anton Danchenko c91e51459f
fix pytest internal error if no response from saucelabs
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-11-30 21:37:35 +02:00
Andrea Maria Piana 5795ca8d1a
Enable group chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-30 11:12:34 +01:00
Julien Eluard e3e75e0498
[Fixes #6874] Added transaction-receipt, schedule and balance events
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-29 23:09:45 +01:00
Andrea Maria Piana 08291a8396
Keep username/photo-path synced across devices
We add syncing of account fields in pairing messages (only photo-path &
name for now). Also a sync message is sent each time we send a
contact-update, to keep other devices in sync. The change is compatible
with previous clients as it's just an accretion of transit.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-29 11:37:14 +01:00
Oleksii Lymarenko 6cf9e6136b
fix for key dict; skip mark removed
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-29 12:04:30 +02:00
Oleksii Lymarenko 79e542e1d5
new test added: redirect to public chat upon tap on the #tag in message
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-28 16:04:30 +02:00
Lukasz Fryc 5b95872a28
Do not save device stats in InfluxDB if database not provided 2018-11-28 10:57:18 +01:00
Oleksii Lymarenko 602a33fdaa
added tests: not enough eth for gas validation from DApp/wallet/chat
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-28 10:03:33 +02:00
yevh-berdnyk 1d0c00d4bc
Fixed test_user_can_interact_with_public_chat
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-11-26 20:17:06 +01:00
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
yenda ed2abf9101
introduce fx/defn macro and fx/merge function
intended to deprecate `handlers-macro/merge-fx`

Signed-off-by: yenda <eric@status.im>
2018-09-25 04:17:19 +02:00
yevh-berdnyk e6ad72039f
False failures fix
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-09-24 20:13:40 +03: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 41347ae5e0
[#5898] add HW setup screens
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-24 16:43:01 +03:00
yenda 8459fef358
Refactor browser and permissions
- move db and models ns to browser module
- remove browser navigation/preload-data
- rewrite dapp-permission logic and move code to permissions ns
- rewrite all browser events according to guidelines and move them to
`status-im.events` ns
- rewrite tests for browser and permissions
2018-09-24 12:08:34 +02:00
yenda 1ddb09b249
Remove misleading wrap-call-once! fn
Signed-off-by: yenda <eric@status.im>
2018-09-23 17:09:07 +02:00
lokalise-bot f1dd24e3b4
Lokalise: update of translations/ko.json
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-21 07:03:27 -04:00
Anton Danchenko 79a7a4dfbb
fix retrieve passphrase
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-09-21 13:14:23 +03:00
yenda b71005d2fa
replace all register-event-db by fx and remove trim-v interceptor
Signed-off-by: yenda <eric@status.im>
2018-09-20 13:37:31 +02:00
janherich 8913dee762
Chat refactoring
Move chat views to ui.screens
2018-09-20 13:27:43 +02:00
lokalise-bot 0658cdbdfa
Lokalise: update of polish translations
enable polish translation

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-20 07:03:24 -04: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
yenda 7dbc8a7f39
[fix 5814] fix custom network
Signed-off-by: yenda <eric@status.im>
2018-09-19 13:13:30 +02:00
Eric Dvorsak d5fcc0b003
[FIX 5813] connect to custom mailserver button fix
Signed-off-by: yenda <eric@status.im>
2018-09-18 17:37:42 +02:00
Roman Volosovskyi 6438a1387b
[#4866] intagrate react-navigation 2018-09-18 14:21:32 +03:00
janherich 031088b856
Fix unit tests 2018-09-17 12:51:57 +02:00
Anton Danchenko 4a21b5192c
Fixed assets selection and default running time for chat bot
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-09-14 17:19:33 +03:00
Anton Danchenko c5549f5d03
fixed issue with empty public key input after entering the key
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-09-14 13:44:50 +03:00
Anton Danchenko 64589d526f
chatbot for one-to-one chats
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-09-14 13:34:47 +03:00
janherich 988a1ca2e2
Prices handling in commands impl 2018-09-12 17:39:02 +02:00
Dmitry Novotochinov ca149062ad
[#5593] Disallow decimal wei value for gas price
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-11 20:10:01 +03:00
Eric Dvorsak 8dc9af8917
refactoring of events into status-im.events
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-11 15:09:54 +02:00
Dmitry Novotochinov eb4f34da22
[fix #5063] calculate fiat amount on recipient side
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-07 18:01:47 +03:00
Eric Dvorsak 80aa0e9286
[feature #5213] allow user to select fleet in settings
- get wnodes from resources/config/fleets.json which is taken from
fleets.status.im
- store wnodes by fleet and not by network since they are always the same
- reset wnodes settings during migration
- add option in developper menu to select fleet
- mailservers are now presented by their real name

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-09-07 15:33:29 +02:00
janherich 252d09ee05
Fix the bug and remove requests 2018-09-06 18:24:17 +03:00
Eric Dvorsak 8eb5047d7a
[fix #4819] update react-native to 0.56
Fix figwheel-bridge path in clj-rn.conf.edn
update SplashScreen
update ios to 9.0
updated Podfile.lock
downgrade cocoapods to 1.5.2
update package-lock.json
update pod repo when installing
update appcompat to v27

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-05 21:27:46 +03:00
yevh-berdnyk 481327fcf4
Updated profile picture, home and signing phrase captures
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-09-05 18:48:26 +03:00
Aleksandr Pantiukhov b283ffe4af
[#5315]: Status development tools: HTTP debugging, updated react-native-http-bridge
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-09-05 15:01:53 +02:00
Dmitry Novotochinov 19590c8e54
[fix #5303] Improve amount validation for /send and /request commands
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-04 12:53:49 +03:00
Eric Dvorsak 02191f0380
[fix 5715] make generate-sym-key-from-password mergeable
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-03 19:05:53 +02:00
Eric Dvorsak 3513adb7ca
[feature #5422] universal links scannable via QR code scanner
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-03 17:14:31 +02:00
Anton Danchenko 1b2eb5826a
false failures fix
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-09-03 16:43:50 +03:00
Goran Jovic c35a651f15
bug #5542 - fixed errors when no currency selected - using usd as default throughout the app
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-03 11:48:48 +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
yevh-berdnyk 6679374573
Fix for transaction confirmation and asset button
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-31 10:23:46 +03:00
Anton Danchenko 869d64a2ff
fixes for false failures in e2e tests
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-30 13:16:31 +03: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
yevh-berdnyk ec611424cb
Fixed GH report layout and limited length of errors
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-29 15:44:36 +03:00
Serhy b0b23bb735
Fix info log on logout process
Signed-off-by: Serhy <sergii@status.im>
2018-08-29 15:25:11 +03:00
yevh-berdnyk a22d13fd80
Added screenshots for failed tests and device number to errors
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-28 17:06:28 +03:00
yevh-berdnyk 4ddb9d582a
False failires fix
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-28 17:02:41 +03:00
Eric Dvorsak bb339dc39b
refactor login flow
simplified flow:

- event `:ui/login` is dispatched
- node is initialized with user config or default config
- `node.started` signal is received, applying `:login` fx
- `:callback/login` event is dispatched, account is changed
in datastore, web-data is cleared
- `:init/initialize-account` event is dispatched

replace event dispatches by function composition

fix bug in universal links where url to be processed after login
was never removed

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-28 14:46:33 +02:00
Eric Dvorsak dacfe97a58
refactor events and fns to dedicated namespaces
- move init events and fns to dedicated namespace
- move web3 events and fns to dedicated namespaces
- move signal events and fns to dedicated namespace
- move notifications events and fns to dedicated namespace
- cosmetic fixes
- remove print statements
- fix formating
- remove unused imports
2018-08-28 14:44:55 +02:00
Eric Dvorsak 002f3e73d1
refactor :initialize-account into single event
fix tests for :initialize-account refactoring
fix destructuring typo
2018-08-28 14:44:55 +02:00
Igor Mandrigin 02545cc3d0
Implement "Save Password" for iOS.
Update react-native-keychain to 3.0.0 release.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-27 17:09:55 +02:00
Eric Dvorsak 67a86f57e9
[fix #5612 #5613] improve contact code validation
- fix contact code validation for universal links
- go to profile when following universal link pointing to
user own contact code
- fix contact code validation for add contact field

spec for validating public-key has been changed to a
regexp that only accept valid normalized public-key

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-24 15:35:08 +02:00
Goran Jovic d46eec0bc8
bug #4476 - fixes reoccurrence of recovery phrase in logs
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-24 10:51:27 +02:00
Anton Danchenko 900949afed
logcat tests will run against each PR
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-23 17:04:46 +03:00
Goran Jovic 2b89d1e25c
feature #5310 - improved validation in account recovery screen; also bug #5353
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-23 13:09:15 +02:00
Serhy 68e4be9197
Do not enable asset if its balance more than 0
Signed-off-by: Serhy <sergii@status.im>
2018-08-22 11:40:37 +03:00
Andrey Shovkoplyas 42abd16e9a
[#5260] Implement web3 provider Opt-in access
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-22 11:31:54 +03:00
Andrey Shovkoplyas a0e7dc65c4
moved wallet transactions ns
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-21 17:35:13 +03:00
Anton Danchenko a7f9390fee
added scroll to logout button
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-20 13:10:24 +03:00
Andrey Shovkoplyas 3e7c059b59
wallet refactoring
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-18 07:28:43 +02:00
yevh-berdnyk 53c9963a46
False failures fix: assets, transaction users
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-16 23:54:16 +03:00
Anton Danchenko c57a1f4cf7
alert text to error message, removed locator text from the message, reduced running time
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-15 13:47:06 +03:00
Eric Dvorsak 1769bfb695
fix tests 2018-08-13 16:17:08 +02:00
Julien Eluard 9bbea373f3
WIP 2018-08-13 16:17:08 +02:00
yevh-berdnyk c5fc619eff
Fixed password in logcat verification and TestFairy warning text
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-13 16:03:33 +03:00
Dmitry Novotochinov a4541c8af3
[#3352] Improve new message notifications
* Set custom sound
* Tap on notification opens chat
* Show message notifications when app in foreground

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-10 13:48:37 +03:00
yevh-berdnyk a249ca25ac
Updated captions in tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-08 18:43:26 +03:00
yevh-berdnyk 75d612cb98
Changed run name and TestRail report for PRs
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-08 16:49:22 +03:00
yevh-berdnyk 8b6f924b26
Fixed public key and chat name inputs and amount for tokens
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-07 17:42:21 +03:00
Anton Danchenko 95a686e4c3
added ability to set default network
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-07 12:20:38 +03:00
Goran Jovic c216a378e4
refactor - extracted all model functions from accounts events
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-07 11:14:18 +02:00
Goran Jovic ef2d0fd4d0
added SPANK token, #5387 fixed issue with token contract address case sensitivity
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-06 16:08:51 +02:00
yevh-berdnyk 2dd1481b59
Fixed amount validation in modal value
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-05 20:36:09 +03:00
yevh-berdnyk 746d580e34
Wallet modal tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-02 20:54:52 +02:00
yevh-berdnyk eaa4ef985b
Added connection secure and updated connection not secure tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-02 12:23:22 +02:00
Andrey Shovkoplyas d834b6e37d
[#4380] Improve browser security warning
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-31 11:34:08 +03:00
yevh-berdnyk 0e401e6973
Changed browser refresh button locator and sign transaction method
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-31 10:10:20 +02:00
tbenr 0f2af863e7
Fixes #4558
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-31 09:27:51 +02:00
yevh-berdnyk 011a7e2218
Added DApp public key, transactions filtering, deep link tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-30 16:27:37 +02:00
yevh-berdnyk 0aaf20911a
False failures fix
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-25 18:43:03 +02:00
yevh-berdnyk 290e0b6d0c
Added error handling tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-24 20:23:08 +02:00
janherich 9b990a8038
Delete obsolete code
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-24 15:16:24 +03:00
Kenneth Tilton 48cc45ec6f
[Fix #3604] ui, screens, browser, events: deduplicate browser history hence chat elements 2018-07-24 12:20:07 +03:00
yevh-berdnyk a3c25163be
Removed old tests and console, added test for faucet from test DApp
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-23 20:12:08 +02:00
Goran Jovic a5d5ed3596
bug #5171 - fixed incorrect amount validation in wallet request
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-23 15:23:21 +02:00
Serhy 14be2c0d5e
[TESTS] Added browser refresh button test
Signed-off-by: Serhy <sergii@status.im>
2018-07-23 14:12:41 +03:00
janherich 76a509ed22
Cljs commands 2018-07-23 12:23:10 +02:00
Dmitry Novotochinov 2d6fdc0ecc
[#5138 #4851 #4865] automatic periodic tx state updates
Fetch transactions state from etherscan every 15 seconds
if there are any unconfirmed transactions

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-20 12:14:21 +03:00
yevh-berdnyk 3229f95ca9
Added new atomic tests for Smoke phase 2
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-19 20:34:49 +02:00
Andrey Shovkoplyas 61374add53
Introduce extended DApp API [#5042]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-19 19:47:17 +03:00
Andrey Shovkoplyas e4e6c71600
Allow to connect to any node for dev mode [#4817]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-19 12:09:04 +03:00
yevh-berdnyk 4663c03ac7
Included test for home verification and false failures fix
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-18 15:22:49 +02:00
Lukasz Fryc 9766740e43
Remove share data screen from appium tests 2018-07-18 06:59:08 +03:00
Roman Volosovskyi bb7d31a357
[#5169] Remove Mixpanel 2018-07-18 06:57:16 +03:00
yevh-berdnyk 59edf46be3
Fixed tests with relogin
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-18 01:18:48 +02:00
yevh-berdnyk 3ada73af89
Fixed test for transaction message when sending funds from wallet
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-17 11:22:40 +02:00
Andrea Maria Piana 3754e1dbae
[Fixes #5130] Select mailserver round-robin on connection failure
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-17 08:49:24 +02:00
Lukasz Fryc 51a59a1296
Fix test_offline_status by dismissing the welcome placeholder
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-16 17:37:02 +02:00
yevh-berdnyk a08c556528
Fixed failed e2e tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-16 16:42:26 +02:00
janherich 6a342fd3a0
Full implementation of the `/reauest` command + tests 2018-07-16 15:10:21 +02:00
yevh-berdnyk 458e7231bd
Added new atomic tests for Smoke phase 1 section
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-16 11:36:44 +02:00
janherich 03598d47c2
Complete implementation of the `/send` command + tests 2018-07-16 08:53:24 +02:00
tbenr 6672400041
Fixes #4938
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-16 08:56:17 +02:00
Andrea Maria Piana f8c9bec383
[Fixes #5127] Move files to no-backup directory & hash accounts
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-13 10:06:36 +02:00
Goran Jovic 6ec40b3e21
bug #4854 - renamed seed or passphrase to recovery phrase in all copies
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-13 07:16:53 +02:00
Andrey Shovkoplyas a644075310
No browsing history kept on iOS [#5078]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-12 15:04:31 +03:00
Dmitry Novotochinov bf9a291a09
[#4073] Fix parse-url regexp
To not identify string like "test...test..." as an URL

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-12 12:50:23 +03:00
Dmitry Novotochinov 867488ae3c
[#4301] Move message timestamp to the left for right-to-left languages
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-12 12:39:30 +03:00
Andrea Maria Piana f36d5d64cc
[Fixes #4944] Enable universal/deep links
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-12 11:33:23 +02:00
yevh-berdnyk c0e5d24791
Fix for logcat verifications and connection status
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-11 20:20:52 +02:00
Anton Danchenko fa52958382
added more tests and smoke_1 mark
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-11 19:47:26 +02:00
Andrea Maria Piana a2ee06bc9d
[Fixes #4998 ] Handle decryption failures in realm
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-11 17:29:56 +02:00
janherich b6a68e79c7
Cljs commands proposal 2018-07-11 09:43:45 +02:00
yevh-berdnyk fcb68e7713
Added tests for logcat verification
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-10 12:19:55 +02:00
janherich be0143a575
Fix clearing unread counter 2018-07-10 10:05:37 +02:00
yevh-berdnyk dabaf3216d
Fixed repeated testrail ids
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-09 16:08:32 +02:00
yevh-berdnyk 6a17f9387c
Added atomic tests for chats management and DApps
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-06 20:30:25 +02:00
Anton Danchenko 784bc2c948
fix for selecting logo
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-06 13:49:37 +02:00
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
yevh-berdnyk 2558fbcfa1
Update for e2e transactions tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-27 19:53:47 +03:00
yevh-berdnyk 4cd85154a3
Fixed transaction tests and account recovery method
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-04-27 16:47:01 +03:00
janherich c6130ed650
Finish faster conversions 2018-04-26 17:21:03 +02:00
Lukasz Fryc 5ccbcb2f3e
Stop waiting for Instabug popup in appium e2e tests 2018-04-26 15:39:59 +02:00
Lukasz Fryc 132ceda907
Fix uuid for android emulators 2018-04-26 12:45:57 +02:00
Lukasz Fryc 1e66eaa742
Add eth-keys to appium requirements 2018-04-26 12:43:58 +02:00
Andrea Maria Piana baf211e1f3
Send signed transaction to deleted chats 2018-04-25 08:55:39 +02:00
Roman Volosovskyi abff71d312
add options to filter events and provide extra data if necessary 2018-04-24 17:15:57 +02:00
yevh-berdnyk 210ea5df7d
Using of Jarrad contact is excluded in tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-17 21:24:49 +03:00
Andrea Maria Piana 3c43a622e1
Add timestamps to each message
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-16 16:24:20 +01:00
Serhy 896abdc119
Reintroduced group chat tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-13 11:44:19 +03:00
janherich f406feacc7
Contact refactoring 2018-04-11 14:57:51 +02:00
Marco Süß 450944af20
[ISSUE #3706] collect mixpanel events while offline
This adds a tracking interceptor to `default-interceptors` that replaces the old
`add-post-event-callback` hook. The interceptor gets the required data from
app-db to know if it's online and passes that to a new mixpanel tracking fn that
queues up tracking events, and drains that queue iff the app is online again.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-04-11 13:00:04 +02:00
Andrea Maria Piana 3256d67c2e
Add clock values for public group/chats
I have extended and modified the current algorithm for message ordering
so that it applies for group and public chats alike.

We use Lamport timestamps but we prefix the unix timestamp, which should
maximize the chances of the message being seen on the top of the chat.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-10 12:19:42 +01:00