Commit Graph

72 Commits

Author SHA1 Message Date
Sarah Jamie Lewis bea58b5ba4 Groups Cleanup 2021-05-04 12:00:06 -07:00
Sarah Jamie Lewis b3ba23992e Clean up some older TODOs 2020-11-05 14:44:27 -08:00
Sarah Jamie Lewis f6888b47f1 Fixing up Server APIs 2020-11-04 13:16:35 -08:00
Sarah Jamie Lewis 80c6bcead7 Split Peer and Server Connection Launching 2020-10-29 14:23:26 -07:00
Sarah Jamie Lewis 785a4c925a Use new connectivity 2020-10-16 11:08:01 -07:00
Sarah Jamie Lewis 52f1d15c78 Use new connectivity Torrc Builder 2020-10-13 14:09:59 -07:00
Sarah Jamie Lewis b8d308763c Sign and Check ToFU Server Bundle 2020-10-01 14:06:30 -07:00
Sarah Jamie Lewis 1e34eb67a7 Fixing up ContactRetry and Integ Tests 2020-09-28 10:40:41 -07:00
Sarah Jamie Lewis 2d9050346b Fixing Tor/Server Integration 2020-09-21 15:39:54 -07:00
Sarah Jamie Lewis 0550a71244 Tapir Server Refactor 2020-09-21 14:41:40 -07:00
Sarah Jamie Lewis 422b0d5deb Allow Peers to Store History 2020-07-08 15:25:19 -07:00
Dan Ballard e91e892eef Adding new authorization level to peers; porting Blocked status to authorization; removing trusted; securing engine/peerapp message processing around authoriztion 2020-06-16 11:34:15 -07:00
Dan Ballard 5f39c1d498 make peer handling of NewRetValMessage optional, as UI handles it fully 2020-04-16 17:00:17 -07:00
Dan Ballard dc3df531dd peer getVal/retVal messages and functions and handling 2020-03-27 11:51:52 -07:00
Dan Ballard 12089d9fa4 migrate to stand alone log and connectivity packages 2020-02-10 18:36:28 -05:00
Dan Ballard 258cf84e68 fixing race conditions; removing peer.GetProfile as unsafe 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;
also make server/metrics test deterministic and not sleep based
2020-01-21 11:32:03 -08:00
Sarah Jamie Lewis a7fd359233 Fixing Data Races in Event Bus 2019-11-12 12:56:35 -08:00
Sarah Jamie Lewis 8f85f49404 Initial pass at race condition fixes 2019-11-08 13:25:13 -08:00
Sarah Jamie Lewis fadbe4873e More network check events 2019-11-04 13:30:33 -08:00
Sarah Jamie Lewis 99ea31ce82 Adding Network Status Plugin + Fixing plugin goroutine leaks 2019-11-01 16:10:10 -07:00
Dan Ballard 15582c7e79 Rework group invite workflow: delete cwtchPacket references as no longer needed. Remove more events from being default handled by Peer (but allow them for some usecases still (testing, simple apps). 2019-09-20 11:06:05 -07:00
Sarah Jamie Lewis d8ce3bee4e Updating test scripts to remove peer 2019-07-29 12:49:23 -07:00
Dan Ballard 0465973a78 add app level functionality to reload from service 2019-07-19 20:08:00 -07:00
Dan Ballard e1d6dd7253 adding named pipe IPC pipe for use with app client/service; some adjustments to app client/service based on usage by UI; bug fixes: groupInvite json over ipc pipe using json was bugged, 'fixed' with base64 encoding; fixed race condition with peer server connection creation 2019-06-24 18:57:31 -07:00
Dan Ballard 04dd8fa89c App Client/Service: new IPCBridge type and test gochan impl; new IPC using eventManager; new App Client and Service; some app api changes and a few more events (NewPeer) and errors (Loading errors) 2019-06-11 10:43:03 -07:00
Dan Ballard 0c4bbe9ad1 Refactor: engine and peer decoupled, engine and eventbus now per peer
and stored top level in app. Storage has read only mode. Peer and group
state now event based and stored in profiles.
2019-05-22 12:54:47 -07: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 2239463512 ineffassign and misspell 2019-01-28 12:12:33 -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 8a0d9c54fd local var rename 2018-11-22 13:47:35 -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 78fe3ca96e all server files now go in configDir, cwtch docker entrypoint sets it by default to where it's expected 2018-11-01 13:22:29 -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 f435de4b71 Testing Tor Manager + Some bug fixes 2018-07-01 20:23:30 -07: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