Commit Graph

70 Commits

Author SHA1 Message Date
Sarah Jamie Lewis d5024e2bd3 a few select staticcheck fixes 2021-06-02 12:09:15 -07:00
Sarah Jamie Lewis d84735cec7 Allow Explicit Server Resyncing 2021-06-02 11:13:08 -07:00
Sarah Jamie Lewis 6b0d9827fb Prevent loading a nil tapir service before tor has started 2021-05-10 17:05:03 -07:00
Sarah Jamie Lewis e7fc228cfa Don't inline group server connections... 2021-05-10 16:37:20 -07:00
Sarah Jamie Lewis 00dc2e60e5 Wire up SendMessageToGroupError
(Also makes this flow much more efficient by including groupId in the round trip)
2021-05-08 12:04:06 -07:00
Sarah Jamie Lewis 0f0b91fc98 Make contact retry more responsive in the optimisitic case 2021-05-07 16:16:22 -07:00
Sarah Jamie Lewis 9f20802a1d Actually use the last known signature for fetching 2021-05-07 15:34:48 -07:00
Sarah Jamie Lewis 678c820db2 Handle Server Disconnections, and Partial Syncing 2021-05-07 15:27:44 -07:00
Sarah Jamie Lewis bea58b5ba4 Groups Cleanup 2021-05-04 12:00:06 -07:00
Sarah Jamie Lewis 361d7befd1 Disable Automatic Peer Invites for Now 2021-05-04 12:00:06 -07:00
Sarah Jamie Lewis b4f9decdf2 Upgrade Tapir, Log, Connectivity 2021-04-08 18:23:26 -07:00
Sarah Jamie Lewis 296dc22b8e API for Block/Allow Unknown Connections
This was previously an application level setting handled by the UI. This commit
pushes back that functionality to the profile.
2021-04-06 14:22:36 -07:00
Sarah Jamie Lewis 2832d17cb9 Deep Copy Events in the Event Bus to Prevent Map Concurrency Issue 2021-03-24 16:07:39 -07:00
Sarah Jamie Lewis 86250564f0 Make ConnectionState a non-static map + Fix PeerApp for Connection-only Events 2021-03-19 14:23:24 -07:00
Sarah Jamie Lewis 62866da84c Correctly Handle Messages from Unknown Peers 2020-11-12 14:00:18 -08:00
Sarah Jamie Lewis f6888b47f1 Fixing up Server APIs 2020-11-04 13:16:35 -08:00
Sarah Jamie Lewis 4d7b155256 Add Leave Server Event 2020-10-29 14:52:39 -07:00
Sarah Jamie Lewis d5fb0a5793 Tapir UI Integration First Pass 2020-09-21 14:41:40 -07:00
Sarah Jamie Lewis 0550a71244 Tapir Server Refactor 2020-09-21 14:41:40 -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 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
Sarah Jamie Lewis 8f85f49404 Initial pass at race condition fixes 2019-11-08 13:25:13 -08:00
Dan Ballard 77d26d3877 profile and peer messaging refactor. Profiles once again store timelines for peers, should be used as canonical timeline by frontend UI 2019-10-21 13:56:07 -07:00
Dan Ballard df420034ea make contact retry plugin acn connection state aware; make contact retry plugin do groups; remove connectionManager bad retry logic; allow querringing of ACN status 2019-09-27 15:29:19 -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 6efde0289d Separate Initial Peer Requests and Retry Events 2019-08-24 13:13:53 -07:00
Sarah Jamie Lewis 38542751c8 Allowing Blocking of Unknown Contacts 2019-08-21 13:28:48 -07:00
Dan Ballard bd75e44555 make event.Queue use internal infinite channels; make event.Manager not use failable writes 2019-08-14 14:00:04 -07:00
Sarah Jamie Lewis 01ec46a97c Upgrading to Tapir Identity 2019-08-08 12:51:41 -07:00
Sarah Jamie Lewis 3c67c47bb0 Add support for unblocking peers 2019-08-07 12:07:57 -07:00
Dan Ballard 695a622963 adding delete contact and group support 2019-08-07 11:35:08 -07:00
Sarah Jamie Lewis 4a08331675 Issue a PeerAuth event when attempting to peer to an existing authed connection 2019-08-07 11:14:31 -07:00
Sarah Jamie Lewis e7f6dc3fa1 Explicitly Send Peer Disconnected Event when Blocking 2019-08-06 19:09:52 -07:00
Sarah Jamie Lewis f08af1289f Fixing blockcing nil pointer 2019-08-06 16:52:52 -07:00
Sarah Jamie Lewis e2ee27cc4d Adding Block Conditional on Peer With Onion 2019-08-06 15:29:17 -07:00
Sarah Jamie Lewis 821e64c360 Additional Tapir Improvements 2019-07-30 16:50:20 -07:00
Sarah Jamie Lewis 29c5214552 Adding RemotePeer Param to Ack Events 2019-07-29 14:01:58 -07:00
Sarah Jamie Lewis 37b9c72abb Review Board Comments #2 2019-07-29 12:49:23 -07:00
Sarah Jamie Lewis 815ec2565b Listen Error 2019-07-29 12:49:23 -07:00
Sarah Jamie Lewis 101cce532f Fixing shutdown flow 2019-07-29 12:49:23 -07:00
Sarah Jamie Lewis 71dd298a91 Review Board Comments 2019-07-29 12:49:23 -07:00
Sarah Jamie Lewis bc226173e4 Fixing Rebase Artifacts 2019-07-29 12:49:23 -07:00
Sarah Jamie Lewis 4c16ec379f First cut of automatic acknowledgements and protocol contexts 2019-07-29 12:49:23 -07:00
Sarah Jamie Lewis 6e64f65962 First cut of Tapir Integration 2019-07-29 12:49:23 -07:00
Dan Ballard 8c16210407 Add windows stub for pipeBridge to fix windows build; fix goland error arround ConnectionState[Type] 2019-07-26 15:34:21 -07:00
Dan Ballard 0465973a78 add app level functionality to reload from service 2019-07-19 20:08:00 -07:00
Sarah Jamie Lewis b7577d9fe3 Removing non-deterministic sleeps, replace with channel wait 2019-07-10 13:59:58 -07:00
Dan Ballard 9f52e5de7b fixes to pipe bridge: it base64 encodes data of messages before sending them over to preserve binary data; fixed a lack of wiring for ipcBridge in service 2019-07-05 17:51:10 -07:00