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 7efcdcb150
.
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
Eric Dvorsak
5c359886e5
[feature] refactor discover events
...
use re-frame idiomatic register-handler-fx, reg-fx and coeffect.
the events are still not free of side-effects as there is some
db calls involved which will be taken care of in a future PR
it also reduces the events fired at app init from 3 to 1
discover-related event
2018-01-15 16:18:24 +01:00
Dmitry Novotochinov
5f02e4287f
Refactor offline inbox events
...
- Add error handlers
- Memoize calls to add-peer and mark-trusted-peer
- Use re-frame events to control flow
2018-01-15 12:43:38 +03:00
janherich
24d0b68c1f
Async audit
2018-01-13 01:26:11 +09:00
Oskar Thoren
87dc4ead85
Revert "Async audit"
...
This reverts commit e379168452
.
2018-01-13 00:09:41 +09:00
janherich
e379168452
Async audit
2018-01-12 12:47:46 +01:00
Oskar Thoren
413f9c2fad
Introduce OFFLINE_INBOX_MANY_ENABLED flag for perf quickfix
...
Since offline inboxing and desktop were introduced, we went from testing with
~10 messages to ~1000 messages. This surfaced inefficiencies such as this issue.
It also means someone who joins a public channel such as #status will experience
significant lag when signing in. To remedy this, we put offline inboxing for
public/group chats under a flag until the underlying perf issue has been
resolved.
2018-01-11 18:32:22 +09:00
janherich
201484f37f
Faster msg status updates
2018-01-09 15:00:06 +01:00
Oskar Thoren
751998e980
Intercept received messages and queue them
...
- Exposes behavior under QUEUE_MESSAGE_ENABLED flag that is turned off in
production.
- Delays messages to allow for reordering of latecoming messages up to 500ms
2018-01-05 17:25:27 +09:00
janherich
52ddccca96
Refactored statuses
2018-01-04 13:49:21 +01:00
Foo Pang
3e8ce2d6d7
[ Fix #2683 ] Do not run sync state loop on upstream RPC networks
2017-12-27 08:40:18 +02:00
alwx
a813ff9e9f
Chat refactoring: updated console (former sign-up) namespace
2017-12-25 22:16:01 +03:00
Dmitry Novotochinov
484e982bdf
Rename 'peer' parameter to 'mailServerPeer' in shh_requestMessages call
...
To conform to the latest status-go interface
Update status-go build to 'develop-gb7fb51d9'
Remove "from" parameter as it defaults to 0
2017-12-25 20:54:57 +03:00
Dmitry Novotochinov
26dad8cf33
[ref #2764 ] Add offline messaging settings screen
...
Screen shows what whisper node we connected to. No adding/editing
allowed yet, screen is ready-only for now.
2017-12-25 20:11:00 +03:00
janherich
c8168e9ff0
Use the correct group chat id
2017-12-24 01:53:44 +01:00
Dmitry Novotochinov
9ca54e9adc
Offline inbox support for public chats
...
- Add `allowP2P` flag to group messages filter
- Remove `to` option from historic messages whisper request
2017-12-20 15:15:41 +03:00
janherich
eb8d0a8a79
Refactored message data-model and view
2017-12-19 12:50:36 +01:00