165 Commits

Author SHA1 Message Date
Roman Volosovskyi
664cbf6bbe
Sign-in flow docs and tests 2019-01-15 17:00:58 +02:00
Roman Volosovskyi
e3cc50c7d7
[slow sign in] Adding symkeys and filters in batch
This commit changes the way how keys are restored:
1. batch of `ssh.addSymKey` requests for all sym keys is sent at once
2. `:status-im.transport.core/sym-keys-added` event is dispatched with
   results of all successful `ssh.addSymKey` calls
3. filter is created via `ssh.newMessageFilter`
4. `:shh.callback/filters-added` event is dispatched with all added
   filters as a parameter
5. profit

In ideal case only 2 `re-frame` events are dispatched.
2018-12-27 11:49:50 +02:00
Igor Mandrigin
83ef7746d4
Show debug information when LES is selected (in the titlebar).
To simplify testing and debugging, there is a very simple sync indicator
(debug) for LES. This UI is not even close to being production and will
be reworked in the future.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-15 10:34:31 +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
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
efdd76b364
refactor inbox
Signed-off-by: yenda <eric@status.im>
2018-10-11 14:47:04 +02:00
yenda
4bd5d986b0
remove merge-fx macro
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:18:44 +02: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
yenda
7dbc8a7f39
[fix 5814] fix custom network
Signed-off-by: yenda <eric@status.im>
2018-09-19 13:13:30 +02: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
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
Eric Dvorsak
c5b17ac637
[fix #5599] add semaphore for recurring events
:sync-wallet-transaction and :sync-state are self firing events that
dispatch themselves later. this commit introduces semaphores to prevent
these event-loops from starting multiple times when the user logs out and
logs in again.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-24 13:34:21 +02:00
Adam Babik
0a313ef525
Update status-go to 0.10.3
Signed-off-by: Adam Babik <a.babik@designfortress.com>
2018-08-13 23:03:23 +02:00
janherich
9b990a8038
Delete obsolete code
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-24 15:16:24 +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
janherich
73dab568ff
Always try to assert that saved network is the one which node was actually started 2018-06-21 17:49:03 +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
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
Connor Christie
24d5fabe2e
Add support for custom network upstreams
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-18 11:25:21 +03: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
Eric Dvorsak
d876895492
set defaultAccount when getting web3
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-11 15:10:25 +02:00
Roman Volosovskyi
8c1cd9d3d4
reformat remaining namespaces 2018-05-08 11:36:32 +03:00
Roman Volosovskyi
6b073fe350
move merge-fx to separate ns 2018-04-25 11:33:48 +02: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
Andrea Maria Piana
e77504c26f
Revert "Fix message ordering for 1-1 chats"
This reverts commit 7efcdcb15046c6b6fdfa2d03965a3af00fb9c5a7.

We decided to revert this commit as it introduced a couple of issues in
message ordering. In order to release we revert back to the old
behaviour.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-28 17:04:49 +02:00
Julien Eluard
49a53645fb
Make Andy happy again (by fixing debug mode)
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-27 17:05:24 +02:00
Roman Volosovskyi
25a5655e74
configurable powTarget and powTime
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-21 09:49:32 +01:00
Itoh, Masaru
98a0c2081f
Refactor timestamp
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-03-15 11:53:23 +00:00
janherich
7efcdcb150
Fix message ordering for 1-1 chats 2018-03-04 19:26:08 +01:00
Eric Dvorsak
54546204ae
[fix 3424] visually indicated when mailserver or all peers are disconnected
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-03-04 17:43:15 +01:00
Julien Eluard
33f1d8d26b
[ISSUE #3313] Migrated public chat creation flow
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 12:22:08 +01:00
Dmitry Novotochinov
65a2f440c6
[refs #3210] replace contacts/get-by-id with app-db read
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-21 19:40:26 +01:00
Dmitry Novotochinov
8abdd77fb4
[refs #3210] Replace realm reads for chats with app-db reads
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 18:22:35 +03:00
Konstantinos Raptis
dd83212eba Remove library duplication 2018-02-18 07:39:53 +08:00
Dmitry Novotochinov
faa690950f
align
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 20:53:14 +01:00
Dmitry Novotochinov
ddb15863f1
[refs #3055] increase number of retries before mark-trusted-peer call 2018-02-07 20:53:08 +01:00
janherich
c7e34ed122
Use blocking puts 2018-02-07 16:07:29 +01:00
Foo Pang
8582be2e69
[Fix #2751] Allow switching between wnodes for offline messaging
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 08:29:27 +01:00
Foo Pang
cd90e59325
[Fix #2408] Alternative setTimeout for long timers
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-02-05 23:44:42 +08:00
janherich
80fb8dde8b
Read at startup & write through async queues 2018-02-05 12:28:08 +01:00
Alexander Pantyukhov
74f9ea32a3
[fix #1604]: Commands send, request, location are sent several times if quickly tap on send button
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-01 19:16:53 +03:00
Dmitry Novotochinov
008f877cd6
Check admin.peers() before markTrustedPeer() call
addPeer() doesn't add peer right away so markTrustedPeer() could fail.
2018-02-01 14:29:53 +03:00
Dmitry Novotochinov
b7dadc78c2
[fix #2754] Don't update contact with old data
When contact-request message arrives, it may contain outdated info
about contact including old profile picture.
2018-01-23 18:57:49 +03:00
Oskar Thoren
3cdb05e5b8
Perf experiment spike: Change 1on1 send/filter to partial pub-key
- Add MANY_WHISPER_TOPICS_ENABLED flag
- Jenknisfile.parameters
2018-01-17 17:15:39 +01:00
Eric Dvorsak
b8ddc2b16b
[fix #3057] fix chat-contact.identity must be of type string error 2018-01-17 16:34:49 +01:00
Dmitry Novotochinov
17e886da11
[experiment #3038] Add buffer to process incoming messages asynchronously 2018-01-17 16:31:02 +01:00
Julien Eluard
fc92dafca6 Fixed android build script.
Upgraded to latest dependencies and removed useless plugins.
2018-01-17 14:56:52 +01:00
Foo Pang
e35edf1e90
[Fix #2810] Support markTrustedPeer in web3.js
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-01-16 19:14:57 +03:00
Foo Pang
fe697bfcc8
[Fix #2809] Support requestMessages in web3.js
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-01-16 18:56:16 +03:00