125 Commits

Author SHA1 Message Date
Eric Dvorsak
225d2e2ec0
[fix] request the right topic from inbox when adding new key
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-15 10:24:25 +02:00
Eric Dvorsak
baa471a929
remove message cache
message cache was initialized when logging-in so it was basically useless
it was causing a bug when switching account and getting a contact request
from the same user in 2 accounts without killing the app because the cache
was not reset and the subsequent contact requests were ignored

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 14:45:49 +02:00
Dmitry Novotochinov
cd41cefa96
Handle mailserver connection error
* Do not try to reconnect when offline
* If online, but mailserver is disconnected, show notification
* Tap on notification starts reconnecting process

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-14 11:25:45 +02:00
Eric Dvorsak
a0a79595ce
Rename multi-send-with-pubkey into multi-send-by-pub-key
previous naming was confusing because it actually sends using
the symkey of each chat whose simkey is passed as an argument

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-12 11:52:47 +02:00
Andrey Shovkoplyas
94becb5094
updated status-go to latest
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-11 15:42:16 +02:00
janherich
62a9f26e30
First stage of realm transactions 2018-05-10 17:21:23 +02:00
Andrea Maria Piana
291932db08
publish using pk in 1-to-1
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-09 20:26:41 +02:00
Eric Dvorsak
b7ab49d305
[fix] recover lost contact requests and following messages
- Fetch discovery topic from offline inboxing
- Send ContactRequestResponse on discovery channel with new-key message
for recovery of invited contacts

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-09 18:57:47 +02:00
Dmitry Novotochinov
428f1d47ee
Request offline message when app returns from background
* Add "connecting" mailserver status
* Send push notification when "envelope.sent" signal received

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-05-09 15:29:27 +03:00
Roman Volosovskyi
8c1cd9d3d4
reformat remaining namespaces 2018-05-08 11:36:32 +03:00
Eric Dvorsak
f8e535f9bc
[fix 3843] query mailserver when going back online
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-03 22:40:59 +02:00
Andrey Shovkoplyas
de03fc2d6a
fixed error on invalid utf-8 from dapp
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-03 15:32:30 +03: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
Roman Volosovskyi
8cd77653f4
fix cyclic deps related to status-im.transport.message.v1.* namespaces;
move account-update to sparate ns;
fix a few more cyclic deps;
2018-05-01 19:25:24 +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
Dmitry Novotochinov
a8a03067a1
Add resend and delete message actions
* Set message status based on signal from Go
* Set status as "not-sent" on app start if no signal received

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-04-27 11:03:42 +03:00
Roman Volosovskyi
6b073fe350
move merge-fx to separate ns 2018-04-25 11:33:48 +02:00
Andrea Maria Piana
baf211e1f3
Send signed transaction to deleted chats 2018-04-25 08:55:39 +02:00
Andrey Shovkoplyas
55d3095b7a
[#3888] [#2704] added personal_sign and CallPrivateRPC methods support
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-19 17:43:50 +03:00
janherich
80cb7ada68
Remove Jarrad from contacts 2018-04-16 11:59:00 +02:00
Eric Dvorsak
3612fd8c47
[fix 3806] Provide separate MailServers for each network
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-16 12:28:50 +03:00
janherich
a82c087a0f
Refactor subs + fix group chat issues 2018-04-16 10:58:26 +02:00
janherich
f406feacc7
Contact refactoring 2018-04-11 14:57:51 +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
Eric Dvorsak
df17c50612
Add new protocol
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-05 15:40:30 +01:00