Commit Graph

32 Commits

Author SHA1 Message Date
Dan Ballard 9be69bda99 all server files now go in configDir, cwtch docker entrypoint sets it by default to where it's expected 2018-11-01 15:42:10 -07:00
Sarah Jamie Lewis f4c45e863e Storage Refactor 2018-10-31 15:31:52 -07:00
Sarah Jamie Lewis 1e04b1161e Adding V3 Onions to Cwtch! 2018-10-05 13:38:23 -07:00
Sarah Jamie Lewis 8ab4752b44 Adding Cwtch Peer Data Channel 2018-10-04 17:03:57 -07:00
Dan Ballard a5ad2a6644 removing panics and reorder invite-to-group args 2018-09-26 19:00:40 -07:00
Dan Ballard 5f046e6d53 app suports multiple peers; cli supports multiple peers; massive cli command change (irc /style) and live follow groups 2018-09-21 16:52:39 -07:00
Dan Ballard c289052aae Android use changes: dedup peer start code; peer and app track write directory and files, do not use supplied filenames for Save(); rework tormanager to take a path to tor binary 2018-07-24 16:51:46 -05:00
Dan Ballard 57f9d68747 drone notify gogs via buildbot 2018-07-02 12:17:21 -05:00
Sarah Jamie Lewis 2981cb4dac Formatting & Adding to Quality 2018-06-29 12:20:07 -07:00
Dan Ballard b70fdf1af2 fix server metrics, wiring in it, server now generates a metrics file
while running
2018-06-27 09:42:30 -07:00
Angus Champion de Crespigny 8e55a77173 Cwtch_peer.go
Added missing imports and corrected NewCwtchPeer to implement the CwtchPeerInterface
Corrected formatting

Main.go
Corrected formatting

App.go
Included missing arguments

Cwtch_peer_test.go
Included password arguments into tests

Cwtch_peer_server_intergration_test.go
Included password arguments into tests
2018-06-27 01:15:03 +00:00
Sarah Jamie Lewis 3215478757 Revert "adding Monitors; fixing metricsHistory rotation logic; wiring in Monitors; cleanup"
This reverts commit bacf733f52.
2018-06-26 11:24:50 -07:00
Sarah Jamie Lewis ea2e7caf5c Merge branch 'server-metrics' of dan/cwtch into master 2018-06-23 18:00:14 +00:00
Dan Ballard bacf733f52 adding Monitors; fixing metricsHistory rotation logic; wiring in Monitors; cleanup 2018-06-23 10:54:33 -07:00
Sarah Jamie Lewis 22aebae0e5 Actually implementing correct signature construction 2018-06-23 09:23:39 -07:00
Dan Ballard cf80207f77 rename go-ricochet to libricochet-go 2018-06-23 09:15:36 -07:00
Sarah Jamie Lewis 89ffc737bc Encapsualting Profile behind Peer interface 2018-06-19 22:51:21 -07:00
Sarah Jamie Lewis e3dfdf35e0 fmt 2018-06-19 15:38:22 -07: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
Dan Ballard dae807da07 comments and variable renames to fully pass golint 2018-06-15 09:24:23 -07: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
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
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