45 Commits

Author SHA1 Message Date
Pedro Pombeiro
861f1289c7 Use new status-go/eth-node module 2019-11-27 18:25:07 +01:00
Pedro Pombeiro
9aa22fc2b2 Integration with Nimbus Go wrapper. Closes #123 2019-11-26 17:21:09 +01:00
Pedro Pombeiro
e16e6e6de3 Upgrade to latest status-protocol-go (#129) 2019-10-13 20:14:38 +02:00
Pedro Pombeiro
b48615d52b
Activate first added chat to avoid crash when sending message (#126) 2019-08-16 07:47:18 +02:00
Andrea Maria Piana
09d67bf07c
Use chats from protocol (#125) 2019-08-05 18:25:44 +02:00
Oskar Thorén
e730f243fa
Nimbus PoC integration (#79)
- README: Add build and run instruction
- Makefile: build-nimbus separate build target
- {main,nimbus,nimbus_disabled}.go: Add support for Nimbus running under a flag
- go.{mod,sum}: Add status-nim as dependency
- vendor/*: Add status-nim as dependency
2019-08-01 18:42:04 +08:00
Andrea Maria Piana
34dbba84cc
Add datasync (#124)
* Add datasync

* Integrate datasync
2019-07-30 18:06:46 +02:00
Adam Babik
08dc389770
Integrate status-protocol-go (#121) 2019-07-17 15:59:34 +02:00
Andrea Maria Piana
695bdfb61c
Rename Contact -> chats and remove histories (#116)
This commit renames contacts -> chats and remove histories.

I have also collapsed the migrations for now so it's not backward
compatible, but while in heavy development is probably best just to keep
a single migration.
2019-07-10 20:58:28 +02:00
Adam Babik
af2f7d96f0
fix sending a message without PFS enabled (#114) 2019-07-09 16:54:21 +02:00
Andrea Maria Piana
428796640f
Feature/add pair installation message (#107)
* add pairing message and patch in filter service
2019-07-08 15:12:50 +02:00
Adam Babik
cadcf79cf8
integrate status-go/messaging/publisher.Publisher (#112) 2019-07-04 16:20:25 +02:00
Dmitry
d087853db5 Dial mail server every request if needed
This method will ensure that we will re-dial mailserver if connection was lost
without waiting for 30s (devp2p timeout) and we will catch if connection
already exists (waiting for event doesn't existing connections)
2019-07-03 07:51:46 +03:00
Adam Babik
48ff50d16d
remove status-go/node dependency from transport (#88) 2019-06-16 21:31:51 +02:00
Dean Eigenmann
4041eafbd4
fix/starts-node (#87)
* fixes data sync

* fix
2019-06-16 12:57:23 -04:00
Adam Babik
a020c363b0
Data sync merge with master (#86) 2019-06-15 21:53:28 +02:00
Adam Babik
67aec0202b
Refactor adapters v2 (#84) 2019-06-14 22:25:02 +02:00
Adam Babik
6009b73feb
Tweaks for status-go integration (#80) 2019-06-06 10:59:28 +02:00
Adam Babik
6ec75b3cb7
display public key in the UI (#77) 2019-06-03 09:02:14 +02:00
Adam Babik
c6ef3353a9
allow empty keyhex (#76) 2019-06-03 09:01:52 +02:00
Adam Babik
088fab977d
add -add-contact flag (#71) 2019-05-31 09:50:25 +02:00
Adam Babik
8b0711b269
Prefix data dir with selected public key (#62) 2019-05-28 10:49:50 +02:00
Adam Babik
3bbaecca40
fix displaying private messages + small others (#60) 2019-05-28 09:39:47 +02:00
Dmitry Shulyak
59579bca82
Request part of messages that wasn't downloaded previously (#42) 2019-05-22 19:55:34 +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
Dmitry Shulyak
6f1f766db7
Dont print signals and redirect logs to two different files (#32) 2019-05-08 09:34:59 +03:00
Adam Babik
e9f740bb45 High-level API (#29) 2019-04-30 10:24:33 +02:00
Adam Babik
434e222b3a
add code comments 2019-04-19 13:24:32 +02:00
Adam Babik
f022b7b068
simplify protocol message struct (#26) 2019-04-15 20:35:56 +02:00
Adam Babik
2120e77f18
add geth service (#24) 2019-04-12 16:53:26 +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
3ada0cd593
fix notifications (#16) 2019-03-25 11:01:42 +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
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
26c4c8eb24
add commands support (#6) 2019-02-25 08:29:35 +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