44 Commits

Author SHA1 Message Date
Adam Babik
6009b73feb
Tweaks for status-go integration (#80) 2019-06-06 10:59:28 +02:00
Adam Babik
7b5c6cece3
Add flags protocol message (#78) 2019-06-05 18:50:59 +02:00
Adam Babik
d2a8ed9c12
test protocol clock (#75) 2019-05-31 17:12:26 +02:00
Adam Babik
bfe159da76
Fix sending public messages in PFS mode (#74) 2019-05-31 10:30:00 +02:00
Adam Babik
617d6a35e6
Explain concept of Stream (#63) 2019-05-29 22:43:43 +02:00
Adam Babik
3bbaecca40
fix displaying private messages + small others (#60) 2019-05-28 09:39:47 +02:00
Dmitry Shulyak
86f1b48bcd
Update status-go, whisper and ethereum to our newest versions (#49) 2019-05-27 14:22:18 +03:00
Dmitry Shulyak
59579bca82
Request part of messages that wasn't downloaded previously (#42) 2019-05-22 19:55:34 +03:00
Dmitry Shulyak
220bf05e8d
Ethereum event.Feed is used for messenger events (#44)
It allows not to block producer when there are not consumers.
And it allows to have more then one consumer in different parts of the application.
2019-05-21 15:33:22 +03:00
Dmitry Shulyak
a8314adb0b
Check if response returned cursor when making paginated request (#41) 2019-05-17 11:21:56 +03:00
Dmitry Shulyak
a17396e618
Refresh contacts periodically and compare contacts correctly (#40) 2019-05-17 11:06:42 +03:00
Dmitry Shulyak
7cedfa8c10
Marshal key without a curve (#38) 2019-05-16 17:06:03 +03:00
Dmitry Shulyak
3efc79cd74
Encode random key to hex and change ID to BLOB (#39) 2019-05-16 16:53:23 +03:00
Dmitry Shulyak
bb6cf0b2a9
Add topics to contact (#37) 2019-05-15 14:00:04 +03:00
Dmitry Shulyak
0775fbb085
Implement streams for public and private chats (#35)
Stateless messenger

Replace original messenger with stateless messenger

Add benchmark for loading messages

Add new message event after msg was persisted

Request history chat by chat otherwise it doesn't worko

Db and stream tests

Move flag parsing higher

Fix linter and test
2019-05-14 19:34:36 +03:00
Dmitry Shulyak
02106188fd
Add sqlite datastore (#31)
Use sqlite in protocol

Use timestamps the same way as in original code and make chat moke to return hash

Use sqlite db in console application

Database encrypted with a user address, derived from public key of the user.
Pub key is hashed and last 20 bytes are used as an adress.

Replace gen.sh with makefile gen-migrations

Fix db references

Ensure directory is created
2019-05-08 10:23:51 +03:00
Adam Babik
e9f740bb45 High-level API (#29) 2019-04-30 10:24:33 +02:00
Adam Babik
d705367b07
clean up protocol/client interface (#28) 2019-04-18 10:10:07 +02:00
Adam Babik
f022b7b068
simplify protocol message struct (#26) 2019-04-15 20:35:56 +02:00
Adam Babik
0bb7e1a212
add protocol API tests and mocks support (#25) 2019-04-13 23:08:57 +02:00
Adam Babik
2120e77f18
add geth service (#24) 2019-04-12 16:53:26 +02:00
Adam Babik
2afc19f21a
improve naming a bit (#23) 2019-04-12 01:15:19 +02:00
Adam Babik
d3c1dc5d30
add PFS support for 1-1 chats (#21) 2019-04-04 17:07:27 +02:00
Adam Babik
c4ad56c1cd
redesign adapters (#19) 2019-04-02 15:02:50 +02:00
Adam Babik
af39bf4660
add BenchmarkDecodeMessage 2019-03-29 15:49:55 +01:00
Adam Babik
b80668730a
align WhisperClient with WhisperService (#17) 2019-03-28 15:03:37 +01:00
Adam Babik
3ada0cd593
fix notifications (#16) 2019-03-25 11:01:42 +01:00
Adam Babik
876ad1ae8f
add READMEs and code comments (#15) 2019-03-22 12:14:33 +01:00
Adam Babik
3f1f11c751
follow Cursor from mailserver (#14) 2019-03-21 19:09:13 +01:00
Adam Babik
6ef0686b10
extract adapters from protocol package (#13) 2019-03-18 09:53:39 +01:00
Adam Babik
ede2d8b031
autoload earlier messages when reaching chat top (#12) 2019-03-17 21:24:39 +01:00
Adam Babik
69d62d555a
implement Home/End scrolling in chat view (#11) 2019-03-17 13:20:02 +01:00
Adam Babik
028dd3a1f3
fix messages deduplication bug 2019-03-16 20:26:59 +01:00
Adam Babik
44f1c1bd44
update status-go to v0.23.0-beta.9 2019-03-15 15:25:02 +01:00
Adam Babik
15f52ee627
clean up messanger 2019-03-15 15:12:00 +01:00
Adam Babik
4a928279fd
improve leaving Chat logic (#10) 2019-03-13 23:54:07 +01:00
Adam Babik
5245185f1b
add unit tests for client Chat (#9) 2019-03-13 23:06:36 +01:00
Adam Babik
0d773353bc
make Chat and Messenger thread-safe (#8) 2019-03-13 21:20:22 +01:00
Adam Babik
179241a572
Implement data persistency and add protocol/client package (#7) 2019-03-11 18:49:18 +01:00
Adam Babik
0b9bb1abe3
fix TestEncodeMessage 2019-02-11 14:20:53 +01:00
Adam Babik
3fcc42d8be
make travis CI work 2019-02-11 13:48:44 +01:00
Adam Babik
0c9bf7d497
Add private chats support (#2) 2019-01-24 12:39:23 +01:00
Adam Babik
e744368566
Refactor and use whisper adapters (#1) 2019-01-22 09:39:23 +01:00
Adam Babik
dfb5e8375e
initial commit 2019-01-08 21:02:11 +01:00