forked from cwtch.im/cwtch
1
0
Fork 0
Commit Graph

13 Commits

Author SHA1 Message Date
Sarah Jamie Lewis 76b6df4beb Fixup integ testing 2018-06-09 12:11:59 -07:00
Dan Ballard 9bf0fdec56 adding fetch checks to integration test with late joining user carol.
protocol drop 'groupMessages' field
peer/sever fetch channel reworked to send series of groupMessage rather than groupMessages blob in order to not blow up a ricochet packet
minor doc fixes
change a few fmt to log
fix class variable name (cplc -> cpsc) in cwtchpeer listen channel
PeerPeerConnection.Close close Conn rather than break to catch goroutine leak
2018-06-07 17:07:40 -07:00
Dan Ballard 30b4a2068e peer and server tear down; connectionManager tear down; integ test tracks goRoutines and errors if not cleaned up properly 2018-05-31 16:32:59 -07:00
Dan Ballard d68ba9abfc remove integ test from unit tests run; peers don't need to AddContact themselves; remove commented out and non-functional peer accept code 2018-05-31 13:21:23 -07:00
Dan Ballard 3b65cffbdb cwtch peers peer and sendInvite 2018-05-31 13:21:23 -07:00
Sarah Jamie Lewis 77e62b1b66 Renaming to cwtch.im 2018-05-28 11:05:06 -07:00
Dan Ballard e0541dec15 adding tests.sh script; fixing connections tests broken by removing private_key with pk generation 2018-05-25 15:37:44 -07:00
Sarah Jamie Lewis a4532910d0 Fixing up integration test for commit 2018-05-20 12:58:16 -07:00
Dan Ballard af004e4641 expand integ test:
- run own server; delete pk from repo
- test now can use preexisting server if online (checks)
- alice & bob users
- chat
- pretty print results
- verify messages and content
TODO: disconnect and reconnect to confirm offline delivery
TODO: use preexisting test server
2018-05-17 11:52:46 -07:00
Dan Ballard fffe18344e expand integ test:
- run own server; delete pk from repo
- tests check and use test server if available (faster)
- alice & bob users
- chat
- pretty print results
- verify messages and content
TODO: disconnect and reconnect to confirm offline delivery
- server: autogenerate private key
2018-05-17 11:51:53 -07:00
Sarah Jamie Lewis f1d0a8e900 Fixing up messaging to use a proper ordering of messages based on timeline and previous hash.
This isn't perfect, but under normal conditions should prevent malicous server reordering. Still need a second order function
2018-04-02 14:10:29 -07:00
Sarah Jamie Lewis 7e8ad39637 Massive clean up 2018-03-31 13:11:25 -07:00
Sarah Jamie Lewis 5f94e82347 PeerServerConnection Definition and Tests 2018-03-10 13:26:19 -08:00