Commit Graph

193 Commits

Author SHA1 Message Date
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
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
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
Andrey Shovkoplyas d834b6e37d
[#4380] Improve browser security warning
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-31 11:34:08 +03:00
tbenr 0f2af863e7
Fixes #4558
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-31 09:27:51 +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
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
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
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
Roman Volosovskyi bb7d31a357
[#5169] Remove Mixpanel 2018-07-18 06:57:16 +03: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
janherich 6a342fd3a0
Full implementation of the `/reauest` command + tests 2018-07-16 15:10:21 +02:00
janherich 03598d47c2
Complete implementation of the `/send` command + tests 2018-07-16 08:53:24 +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
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
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
janherich be0143a575
Fix clearing unread counter 2018-07-10 10:05: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
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
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
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
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
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
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
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
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
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
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
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