Commit Graph

36 Commits

Author SHA1 Message Date
Sarah Jamie Lewis 44384d1cec Merge branch 'tor' of cwtch.im/cwtch into master 2018-07-01 18:18:09 +00:00
Sarah Jamie Lewis 2981cb4dac Formatting & Adding to Quality 2018-06-29 12:20:07 -07:00
Dan Ballard f416a3756e ability for metrics to total or average; monitorHistory test will have to be integ test; uptime instead of starttime 2018-06-29 14:13:20 -05:00
Dan Ballard addd5a7b00 remove config sample; now generate config and populate defaults; add config to control logging 2018-06-28 10:28:39 -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
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 e2538e8891 Revert "metrics reporting to a file"
This reverts commit 73f8c98403.
2018-06-26 11:24:16 -07:00
Sarah Jamie Lewis e0396c6c8e Merge branch 'server-metrics' of dan/cwtch into master 2018-06-26 04:49:26 +00:00
Dan Ballard 73f8c98403 metrics reporting to a file 2018-06-25 15:21:26 -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
Dan Ballard 63128bae40 adding simple metrics package to server 2018-06-21 12:20:27 -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
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
Sarah Jamie Lewis ded21271f6 Making profile thread safe, making blocking do something 2018-05-31 13:20:55 -07:00
Dan Ballard 0eabf09a32 supporting ricochet app's new requirement for name field 2018-05-30 16:10:50 -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 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 447b1b30fb More golint fixing 2018-05-16 14:11:04 -07:00
Sarah Jamie Lewis ec0c341bb1 Fixing some race conditions, adding more error checking 2018-05-09 12:09:00 -07:00
Dan Ballard aab5996971 move server auto keygen to app/main 2018-05-03 15:45:50 -07:00
Dan Ballard 4b27e95c26 only generate private key if keyfile is missing, not on other errors: possible corrupt and loss 2018-04-30 10:01:08 -07:00
Dan Ballard a1f0ee7b9f autogen private_key in unavailable 2018-04-30 09:50:50 -07:00
Sarah Jamie Lewis 7e8ad39637 Massive clean up 2018-03-31 13:11:25 -07:00
Sarah Jamie Lewis 914be9e46a Lots of peerand serverstuff 2018-03-30 14:16:51 -07:00
Sarah Jamie Lewis b43aa55b44 Refactoring, fixing up some issues 2018-03-14 15:23:35 -07:00
Sarah Jamie Lewis fbf42b3a79 Client Fetch Logic 2018-03-10 14:05:48 -08:00
Sarah Jamie Lewis 5d7bdce118 Squah commit 2018-03-09 12:44:13 -08:00