Commit Graph

1799 Commits

Author SHA1 Message Date
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
Igor Mandrigin 0d45683935
[#4755] Keep the transaction source intact on errors/discards.
If a tx was send from a chat, that fact is recorded in its properties, `from-chat?` property.
On errors and discards, this property was reset to `false`, hence, making any chat transaction editable if an error happens or user discards it.
This commit makes this property stay as it is.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-14 13:51:48 +03:00
Goran Jovic 6f209ec4c0
bug #4402 and #4639 - showing failed transactions in transaction history
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-14 13:49:45 +03:00
Sylvain Ageneau 9cf7e05446
[#4504] Sort assets alphabetically (send - asset)
Sort assets alphabetically (by symbol).
Keep ETH as first symbol in the list (like before), sort the rest
alphabetically.
2018-06-14 11:05:16 +03:00
Goran Jovic 986fc2bc7c
bug #4746 - using dapp specified gas limit, but default gas price when dapp sets gas limit only
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-14 09:55:36 +03:00
Stepan Lusnikov e7f559c272
Add DAI. Closes #4648
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-13 21:54:07 +02:00
Goran Jovic cdf356bb4f
bug #4737 - fixed duplicate payment message on android back button
bug #4736 - amount from the previous transaction in message

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-13 21:49:30 +02:00
janherich c9774dbfe8
Mark seen when loading more 2018-06-13 16:33:57 +03:00
Andrea Maria Piana 3ba579961d
Update token names
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-13 14:31:36 +02:00
Jakub Sokołowski b0b75e398c
drop the extra ukranian host
squashed:
- drop the extra ukranian host
- update status-go

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-06-13 14:30:08 +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
Julien Eluard 61d7cd2a33
[#4669] Added new DApps
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-13 08:19:50 +02:00
Goran Jovic 268b07fddc
feature #4065 - gas and gas price can be changed for dapp transactions
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-12 16:19:51 +02:00
Aleksandr Pantiukhov 870c67abc0
[#4490]: Advanced button is not collapsed on Profile tab when switching to another tab
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-12 15:03:46 +02:00
Julien Eluard 0498d94d08
[#4707] Updated public chat list
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-12 15:02:16 +02:00
Aleksandr Pantiukhov 41761fd8a2
[#4684]: Share data picture is cut on the top
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-11 20:43:50 +02:00
Goran Jovic 3eca07cadb
bug #4508 - removes tokens and fiat currencies unsupported by cryptocompare
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-11 20:37:51 +02:00
pacamara 45c645082e
Fixes #4223: No error when scanning incorrect public key QR code
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-11 20:37:25 +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
Andrea Maria Piana 6a9c8de0e4
Input text styling
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-11 11:32:59 +02:00
Pedro Pombeiro ed9d678e08
Add DO and Ukr mailservers. Closes #4623
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-08 18:44: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
Julien Eluard d13c9cb677
[#3732] Added some more mixpanel events
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-07 16:40:21 +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
Igor Mandrigin f49cfc02f2
Make the information sharing screen usable on tiny screens.
e.g. an iPhone app on an iPad
This doesn't make it *pretty*, just usable.
2018-06-07 12:12:21 +03:00
Igor Mandrigin 7132e3e423
[#4588] Workaround ellipsis issue on public key in the login screen.
In the latest RN update it seems like `ellipsizeMode: middle` doesn't
play well with negative letter spacing anymore. This workaround remove negative letter spacing.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-06 18:31:34 +03:00
Andrea Maria Piana 19b0cf4052
Text for empty chat
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-06 12:15:50 +02:00
Roman Volosovskyi 2e62e945ff
[#4550] fix delete group chat label 2018-06-06 09:12:20 +03:00
Pedro Pombeiro d3202dffa7
Disable group chats even in dev mode. Closes #4506 2018-06-06 08:59:41 +03:00
Goran Jovic 435b2271fd
bug #4593 - fixed gas update after default gas 2018-06-06 06:40:58 +03:00
janherich cd5542f648
Persist unseen messages 2018-06-05 15:24:55 +02:00
Andrea Maria Piana 5cd643b98e
Enable custom bootnodes for nightly/releases
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-05 15:04:30 +02:00
Roman Volosovskyi 63ac0d9e82
[#4535] decode browser's uri
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-05 13:09:42 +02:00
Roman Volosovskyi 89e0bf4eca
show build number in profile 2018-06-05 11:16:04 +03:00
Eric Dvorsak ab968dba0e
[fix] show connecting to peers popup when no peers at startup
previously was only showing up when there was 0 peers after some
disconnection
but sometimes the app starts and user logs in without being
connected to any peer
this means the peers-summary is nil peers count is nil
2018-06-05 07:30:40 +03: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
Eric Dvorsak 8782ecc06d
[fix 4574] do not send updates to pending contacts
fixes #4574

updates were sent to all pending contacts
fixes that by filtering on the pending? key
2018-06-02 08:31:24 +03: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
Goran Jovic 434324d5fc
bug #4539 - error message for failed transactions sent from chat 2018-06-01 16:27:05 +03:00
Roman Volosovskyi 5d41cdda0c
[#4551] fix error on fetching history for removed chat 2018-06-01 16:25:50 +03: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
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
Dmitry Novotochinov af318822da
Enable long tap on long messages
Allows to copy and share text
2018-06-01 12:09:52 +03:00
Andrey Shovkoplyas 2eccca9898
improved new chat UI 2018-06-01 11:39:13 +03:00
Dmitry Novotochinov f8981ab6cb
Update chat messages styling
* Change background color of outgoing messages
* Add more space between public chat messages
2018-06-01 07:18:49 +03:00
Andrey Shovkoplyas 83afbd515a
show onboarding for transaction from chat [#4456] 2018-06-01 07:17:49 +03:00
Eric Dvorsak 68eb36f7b1
[fix] support offline contact request, confirmation and update
- fix a bug in profile where app would was returning directly to profile
screen after photo capture, showing updating to user but not actually saving
and broadcasting it
- adds support for offline contact request, confirmation and updates by
leveraging the :sent and :not-sent signal from status-go. Each chat
in the protocol layer uses a `resend?` field to keep track of the current
state of the contact, between `nil`, `contact-request`,
`contact-request-confirmation` and `contact-update`. There is no case
were it can be more than one case because if `contact-request` or
`contact-request-confirmation` was not sent yet `contact-update` is not
necessary as the latest contact infos will be sent with the request/confirmation

Signed-off-by: Eric Dvorsak <eric@status.im>
2018-05-31 17:43:37 +02:00
Eric Dvorsak ee7895fe43
[fix 4387] query mailserver in batches of 24 hours 2018-05-31 16:58:53 +03:00
Aleksandr Pantiukhov 7eba090b16
[#4492]: Invalid values for `gas limit` and `gas price` are immediately replaced by default ones instead of warning 2018-05-31 10:58:11 +03: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
janherich e59ffc905d
Protect against duplicate messages
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-30 18:22:52 +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
Andrey Shovkoplyas 7711dc51ad
fixed sign message text [#4529] 2018-05-30 17:23:33 +03:00
pacamara a2762eb19e
Fixes #4334: Update to react-native 0.55.4
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-30 14:00:12 +02:00
Daniel Regeci ce12441340
[FIX #4127] Sign In button is shown when recovering account (android) 2018-05-30 13:25:21 +03:00
Aleksandr Pantiukhov 3b1721dd0d
[#4476]: Seed phrase is visible in logs during account recovery 2018-05-30 10:52:57 +03:00
Goran Jovic f432bad3c0
bug #4518 - configured correct number of decimals for POWR, TGT and TIME 2018-05-30 10:51:48 +03:00
Roman Volosovskyi dd8226b31d
disable auto-correction for pubchat name 2018-05-30 10:50:21 +03:00
Goran Jovic dd37223b58
bug #4485 - shows warning when scanned qr code changes pre-selected asset type or amount
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-05-29 21:16:01 +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
Goran Jovic 6f8647e7d7
bug #4496 - taking decimals into account when calculating fiat value of assets 2018-05-29 17:14:12 +03:00
Goran Jovic 40e6f361c7
bug #4491 - changed the copy for amount too precise validation error 2018-05-29 17:12:55 +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
janherich 874e88fc38
Fix seen statuses
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-29 14:48:27 +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
janherich 5ee356fe4f
Fix console responses
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-29 14:24:55 +03: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
Andrey Shovkoplyas 14a3134edd
recovery onboarding [#4498] [#4483] 2018-05-29 11:52:46 +03:00
Igor Mandrigin 2a7c58ad25
Use MaskedData check in the app-db for wallet's password.
Fixes the regression introduced in `789ee61`, leading to being unable to
sign transactions.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-29 10:38:40 +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
Eric Dvorsak 3430bfe61e
Update last-received everytime a message is received from inbox 2018-05-29 09:58:32 +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
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
Igor Mandrigin 998976c5cc
Read version from the VERSION file.
Remove unnecessary `echo` to `.version` if we already have `VERSION` in the root folder.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-28 15:22:10 +02:00
Andrey Shovkoplyas e972cc4537
[#3414]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-28 15:38:39 +03:00
Igor Mandrigin 789ee61212
Use a custom type to avoid accidentially logging passwords.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-28 11:56:16 +02:00
Dmitry Novotochinov 686d64888d
Add expand/collapse button to long chat messages
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-28 12:07:24 +03:00
Andrey Shovkoplyas 7b8950870f
Webview is still active after unmount [#4353]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-28 12:03:24 +03:00
Aleksandr Pantiukhov 4f6830b271
[#3941]: Introducing wallet / notification not for new user
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-25 16:06:03 +02:00
Pedro Pombeiro 184fb1d612
Disable all translations except English for Beta. Closes #4398
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-25 16:03:20 +02:00
Andrey Shovkoplyas 31c905daa7
make dapps great again
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-25 15:11:36 +03:00
Eric Dvorsak 954efd9dd7
[FIX 4405] Add accessibility label for connection status grey bar
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-25 13:46:14 +02:00
Goran Jovic 957c09a55e
bug 4123 - fixed dapp transactions and incorrect amount formatting in transaction fee screen
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-05-25 13:38:29 +02:00
Goran Jovic 5e33c98008
bug #4123 - fixes incorrect number of decimals for tokens, fixes incorrect network id lookup for token send, fixes token amount formatting where needed 2018-05-25 07:17:01 +03:00
Pedro Pombeiro ae56eec40f
Disable group chats in dev mode. Closes #4396 2018-05-25 07:15:18 +03:00
Julien Eluard 09c11e9061
[#4320] Do not inject jQuery in DApps browser
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-24 15:17:06 +02:00
Roman Volosovskyi e3b283056c
remove views pre-rendering hack
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-24 14:50:49 +02:00
Andrey Shovkoplyas faddabbf74
Security warning for browser view [#4298]
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-24 13:42:20 +02:00
Julien Eluard 25bb59aec6
[#4310] Added headers to DApps list
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-24 13:41:27 +02:00
Julien Eluard 590e1f9f4f
[#4300] Updated DApps icons
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-24 13:40:37 +02:00
Daniel Regeci 7dd9df98b2
[FIX #3603] Tabs are visible along with keyboard when focusing on input field (android)
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-24 13:39:34 +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
Igor Mandrigin 502e8b9908
Don't autocorrect entered text (but still show error messages).
Autocorrecting the text in the amount field leads to typos, like 11
instead of 1,0001, etc. We really want to avoid these types of typos for
amounts.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-23 20:11:14 +02:00
janherich 84208aeb85
Correct :shh/post accumulation
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-23 19:55:27 +02:00