Commit Graph

64 Commits

Author SHA1 Message Date
Dan Ballard 258cf84e68 fixing race conditions; removing peer.GetProfile as unsafe
the build was successful Details
2020-02-04 20:03:43 -05:00
Dan Ballard 639ea560d5 creating a new v1 storage system with shared salt and only key in memory;
the build was successful Details
also make server/metrics test deterministic and not sleep based
2020-01-21 11:32:03 -08:00
Dan Ballard c8541a5e36 fix integ tests to not leak go threads, re make it an error 2019-02-04 14:18:24 -08:00
Dan Ballard a0dab022ad stream storage for timelines, wired into profile store 2019-01-30 14:29:27 -08:00
Sarah Jamie Lewis 9e055f1ee0 Updating libricochet to latest 2019-01-23 12:50:53 -08:00
Dan Ballard 84e31f02fe new profile storeage on eventbus 2019-01-21 12:11:40 -08:00
Dan Ballard ffc4254f18 file storage refactor to make file and profile stores 2019-01-21 10:36:23 -08:00
Sarah Jamie Lewis c3d797b2e1 Protocol Engine Refactor 2019-01-07 13:24:08 -08:00
Sarah Jamie Lewis 39d174ca26 Adding Event Manager
Barebones Event Manager implementation

This change also fixes a linting issue with logging in server/
2019-01-03 12:53:08 -08:00
Dan Ballard 3367f1a083 updating to new libricochet-go log api 2018-12-03 18:52:11 -08:00
Dan Ballard 563597907c server should retry on tor loss 2018-11-26 13:47:03 -08:00
Sarah Jamie Lewis b418eab92f Merge branch 'acn2' of dan/cwtch into master 2018-11-23 03:17:50 +00:00
Dan Ballard 8a0d9c54fd local var rename 2018-11-22 13:47:35 -08:00
Dan Ballard 4814e0b409 undo use of personal fork, pr got merged 2018-11-22 10:08:21 -08:00
Dan Ballard ff54059111 update name 2018-11-21 15:10:02 -08:00
Dan Ballard 655afb1aa0 migrate to personal fork of struCoder/pidusage with threadsafe patch applied 2018-11-21 13:59:27 -08:00
Dan Ballard 85a2c44891 Following libricochetgo's migration to bine and a generic Mixnet
interface.
2018-11-20 12:51:37 -08:00
Dan Ballard 09fdb05168 make docker-entrypoint actually pass env var -_-;; and update README about docker 2018-11-02 17:17:16 -07:00
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
Gareth @ BrassHornComms 04b2191238 Changes to resolve ticket #152 2018-11-01 17:32:26 +00:00
Gareth @ BrassHornComms 24a2fcc44d Remove extraneous content from torrc 2018-10-17 23:18:28 +00:00
Gareth @ BrassHornComms 1001dbb3fe Closes #21
Proof of Concept for dockerising the server component including work
to integrate with kubernetes, gitlab and docker hub.
2018-10-17 23:18:28 +00:00
erinn 2df386f6f6 in which erinn learns to hate the linter 2018-10-14 18:26:46 -07:00
erinn 475fea02d2 fix setuponionv3 call for initial asaur update 2018-10-09 17:06:36 -07:00
erinn ebf846e003 Revert "update setuponionv3 call to match an update to libricochet"
This reverts commit 80339483f0.
2018-10-09 17:04:06 -07:00
erinn 80339483f0 update setuponionv3 call to match an update to libricochet 2018-10-09 17:01:18 -07:00
Sarah Jamie Lewis 1e04b1161e Adding V3 Onions to Cwtch! 2018-10-05 13:38:23 -07:00
Dan Ballard 4e95427f44 messageStore now uses log like rotation on files 2018-09-20 14:08:56 -07:00
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