Commit Graph

143 Commits

Author SHA1 Message Date
Sarah Jamie Lewis 89ffc737bc Encapsualting Profile behind Peer interface 2018-06-19 22:51:21 -07:00
Dan Ballard 7f99747100 Merge branch 'cli' of cwtch.im/cwtch into master 2018-06-20 05:19:46 +00:00
Dan Ballard 5295075107 Merge branch 'fmt' of cwtch.im/cwtch into master 2018-06-20 05:18:38 +00:00
Sarah Jamie Lewis af7f639744 Making copy and pasting from the cli easier 2018-06-19 16:18:51 -07:00
Sarah Jamie Lewis e3dfdf35e0 fmt 2018-06-19 15:38:22 -07:00
Sarah Jamie Lewis 0cfd672c83 Merge branch 'server-config' of dan/cwtch into master 2018-06-18 23:10:47 +00:00
Dan Ballard d3765fd9bb server now has a config file; delete profile.Save (unsued); update cwtch_peer.Save to use indented Marshal 2018-06-18 16:07:34 -07:00
Sarah Jamie Lewis 4be8930790 LICENSE 2018-06-17 22:58:33 -07:00
Sarah Jamie Lewis 0aebd647de Merge branch 'lint' of dan/cwtch into master 2018-06-16 01:34:11 +00:00
Dan Ballard dae807da07 comments and variable renames to fully pass golint 2018-06-15 09:24:23 -07:00
Sarah Jamie Lewis 1edc952ea5 Merge branch 'test-fix-goroutine' of dan/cwtch into master 2018-06-14 01:11:04 +00:00
Dan Ballard f68c5096ec simplify server check so it doesn't leak goroutine; clean up init logic 2018-06-13 17:42:08 -07:00
Dan Ballard 583a8013d6 fixes to pass go vet and inclusion in tests script 2018-06-13 14:24:47 -07:00
Sarah Jamie Lewis cc90b1a979 Minor changes 2018-06-12 16:55:05 -07:00
Sarah Jamie Lewis 0ef06428ed Adding a tui app that allows chat for an imported group 2018-06-10 17:22:55 -07:00
Dan Ballard ce33f23a2e Merge branch 'integ_test_fix' of cwtch.im/cwtch into master 2018-06-09 21:21:43 +00:00
Sarah Jamie Lewis 76b6df4beb Fixup integ testing 2018-06-09 12:11:59 -07:00
Dan Ballard 46c6f48086 Merge branch 'export' of cwtch.im/cwtch into master 2018-06-09 16:54:57 +00:00
Sarah Jamie Lewis d13a8c3076 Adding import and exporting of groups to support alternative construction 2018-06-09 00:49:18 -07:00
Sarah Jamie Lewis 6b0aaf174d Merge branch 'test-fetch' of dan/cwtch into master 2018-06-08 16:41:57 +00: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 22e74f162c Merge branch 'blocking-thread-safe' of cwtch.im/cwtch into master 2018-06-04 19:48:19 +00:00
Sarah Jamie Lewis b8ce0da2dd Better thread safety pattern and some tests 2018-06-03 12:45:43 -07:00
Sarah Jamie Lewis 381a0d743d Merge branch 'test-teardown' of dan/cwtch into master 2018-06-03 19:07:13 +00: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 c0513d8968 typo 2018-05-31 14:13:34 -07:00
Dan Ballard ec1aa6ea3b Merge branch 'test-peer-invite2' of dan/cwtch into master 2018-05-31 20:37:46 +00:00
Dan Ballard c7c66a73d5 Merge branch 'blocking-thread-safe' of cwtch.im/cwtch into master 2018-05-31 20:37:08 +00: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 ded21271f6 Making profile thread safe, making blocking do something 2018-05-31 13:20:55 -07:00
Sarah Jamie Lewis becfe7c928 Merge branch 'ricochet-port' of dan/cwtch into master 2018-05-31 20:08:48 +00:00
Dan Ballard 0eabf09a32 supporting ricochet app's new requirement for name field 2018-05-30 16:10:50 -07:00
Sarah Jamie Lewis a4846df519 Rename 2018-05-28 13:48:56 -07:00
Sarah Jamie Lewis ad802ad717 Update 'README.md' 2018-05-28 18:17:37 +00:00
Sarah Jamie Lewis 808403ed1b Delete 'attacks.md' 2018-05-28 18:13:37 +00:00
Sarah Jamie Lewis e2a366a0b0 Update 'README.md' 2018-05-28 18:13:16 +00:00
Sarah Jamie Lewis 77e62b1b66 Renaming to cwtch.im 2018-05-28 11:05:06 -07:00
Sarah Jamie Lewis 6de91969ae Adding padding and length stuff 2018-05-28 10:44:47 -07:00
Sarah Jamie Lewis 7a94394e59 Merge branch 'test-script' of dan/cwtch into master 2018-05-25 22:56:55 +00: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
Sarah Jamie Lewis 617bb601a8 Merge branch 'integ-test' of git.openprivacy.ca:dan/cwtch 2018-05-20 12:02:48 -07:00
Sarah Jamie Lewis 5c2ef7a94f Implementing groupkey leak detection 2018-05-20 11:38:56 -07:00
Sarah Jamie Lewis 1534308210 Fixing go vet issues 2018-05-20 11:29:46 -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
Sarah Jamie Lewis 8e7cd9c04b Adding sync around timeline, adding hooks for latency checks 2018-05-17 11:51:53 -07:00
Dan Ballard 13eaa3a684 move server auto keygen to app/main 2018-05-17 11:51:53 -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 027921f760 Added concern about potential DoS vector 2018-05-16 14:33:13 -07:00