213 Commits

Author SHA1 Message Date
Roman Volosovskyi
b792ab5cf3
[slow sign in] faster get-unviewed-messages 2018-11-21 08:04:33 +02: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
yenda
b41df3b3c2
updating cljs compiler
Signed-off-by: yenda <eric@status.im>
2018-11-16 13:10:31 +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
Aleksandr Pantiukhov
17f74ff2f6
[#6455]: Updated extension management
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-11-12 10:28:48 +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
Dmitry Novotochinov
ae3029c2d9
[#6294] add desktop alpha release warning
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-11-07 22:10:39 +03: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
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
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
yenda
bbf91468e7
[fix] add missing account schema in base schemas
Signed-off-by: Eric Dvorsak <eric@status.im>
2018-10-28 12:07:05 +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
janherich
76165cc7cb
[#6460] [#6438] Deduplication-ids 2018-10-24 09:43:52 +02:00
Aleksandr Pantiukhov
5f06ebc27d
Temporary that makes it possible to install only one extension at a time (required for the hackathon)
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-22 15:01:39 +02:00
Max Risuhin
5986761210
Push notifications support #4432; Rename app to Status globally.
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-10-19 18:52:04 +03:00
Aleksandr Pantiukhov
2c65077270
[#6382]: Makes extensions dev-mode aware
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-19 16:37:46 +02:00
janherich
13eff1fb7e
Fix migrations 2018-10-18 17:31:15 +02:00
Aleksandr Pantiukhov
23503dc996
[#6094]: Persist extensions
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-17 14:08:45 +02:00
Andrea Maria Piana
09ca7d887c
Log db error
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-16 13:25:07 +02:00
yenda
647db6d698
hotfix realm migration
Signed-off-by: yenda <eric@status.im>
2018-10-15 21:53:40 +02: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
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
yenda
efdd76b364
refactor inbox
Signed-off-by: yenda <eric@status.im>
2018-10-11 14:47:04 +02:00
Andrea Maria Piana
d3ed67e29b
Fix broken rebase
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-11 12:41:15 +02:00
janherich
99d33ebbc9
Always load messages referenced in responses 2018-10-11 11:21:34 +02: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
Andrey Shovkoplyas
17053019e3
fixed rebase mess with default-chat-color
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-09 13:58:44 +02:00
Andrey Shovkoplyas
d32f15243d
colors refactoring
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-09 13:26:42 +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
janherich
66ef32d3b9
Move all the legacy handling into transit 2018-10-08 21:00:59 +02: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
janherich
44fbe62773
Chat replies + refactoring 2018-09-28 16:15:47 +02:00
yenda
b8d250ba30
change realm schemas directory layout
the purpose of this change is to avoid the kind of mistakes that
happened in the past were copy/pasting imports led to wrong
migrations that went unnoticed
it will also make it easier to do migrations in the future as the
different versions of the same schemas are grouped together in the
same file and past migrations are grouped in the same file as well
so previous helper functions can be reused

Signed-off-by: yenda <eric@status.im>
2018-09-28 13:37:21 +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
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
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
c948559c09
remove logging of database encryption keys 2018-09-13 20:19:28 +03:00
Dmitry Novotochinov
5944d2b43f
[#5734] Check PN permissions on login
Client with versions 0.9.26/27 who recovered their accounts weren't
asked for PN permissions so we now check permissions after user signs in.

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-13 18:58:56 +03:00
Roman Volosovskyi
c61200f9ae
[#5180] Encrypt account's db with password 2018-09-13 12:20:13 +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
6d84795b2a
[fix 5738] unread counter disappears after app restart
`get-unviewed-messages` cofx was using the `current-public-key`
field from app-db
since it is not set at the point cofx are computed during the init
phase this field is nil and therefore no unread messages were found

the fix changes the cofx so that it returns a function as it is
already done for many cofx that needs parameters that are not
known at the time cofx are computed.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-09-04 14:08:11 +02:00
Goran Jovic
879e33b9b5
bug #5356 - added snackbar for wallet errors, removed ATT from default tokens on ropsten
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-14 12:34:24 +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
Roman Volosovskyi
bb7d31a357
[#5169] Remove Mixpanel 2018-07-18 06:57:16 +03: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