Commit Graph

121 Commits

Author SHA1 Message Date
Sarah Jamie Lewis 86250564f0 Make ConnectionState a non-static map + Fix PeerApp for Connection-only Events
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-03-19 14:23:24 -07:00
Sarah Jamie Lewis a1b2d8530f Integrate Group Name into Invite
the build was successful Details
2020-12-16 21:41:24 -08:00
Sarah Jamie Lewis 62866da84c Correctly Handle Messages from Unknown Peers
the build was successful Details
2020-11-12 14:00:18 -08:00
Sarah Jamie Lewis b3ba23992e Clean up some older TODOs
the build was successful Details
2020-11-05 14:44:27 -08:00
Sarah Jamie Lewis 80c6bcead7 Split Peer and Server Connection Launching
the build was successful Details
2020-10-29 14:23:26 -07:00
erinn e9e6dc57f3 adding a comment for the linty lint friend
the build was successful Details
2020-10-22 16:21:33 -07:00
erinn 9c91a89f00 testing new message id id-ea 2020-10-22 16:05:14 -07:00
erinn e4ab5b543b bugfix 2020-10-22 16:03:46 -07:00
erinn 509e5c95ba expose cwtchPeer.Profile.AddMessageToContactTimeline() via StoreMessage() 2020-10-22 16:03:46 -07:00
erinn 5772ce45a4 add cwtchPeer.InitForEvents which allows overriding the default set of eventbus events handles by the peer 2020-10-22 16:03:46 -07:00
Sarah Jamie Lewis b8d308763c Sign and Check ToFU Server Bundle
the build was successful Details
2020-10-01 14:06:30 -07:00
Sarah Jamie Lewis 2d9050346b Fixing Tor/Server Integration
the build was successful Details
2020-09-21 15:39:54 -07:00
Sarah Jamie Lewis d5fb0a5793 Tapir UI Integration First Pass
the build failed Details
2020-09-21 14:41:40 -07:00
Sarah Jamie Lewis 8ed7dd471a Small Fixes 2020-09-21 14:41:40 -07:00
Sarah Jamie Lewis f74e8647ef Fixup APIs, Error handling and formatting 2020-09-21 14:41:40 -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
the build was successful Details
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
the build failed Details
2020-06-16 11:34:15 -07:00
Dan Ballard 5f39c1d498 make peer handling of NewRetValMessage optional, as UI handles it fully
the build was successful Details
2020-04-16 17:00:17 -07:00
Dan Ballard dc3df531dd peer getVal/retVal messages and functions and handling
the build was successful Details
2020-03-27 11:51:52 -07:00
Dan Ballard 12089d9fa4 migrate to stand alone log and connectivity packages
the build was successful Details
2020-02-10 18:36:28 -05:00
Dan Ballard 258cf84e68 fixing race conditions; removing peer.GetProfile as unsafe
the build was successful Details
2020-02-04 20:03:43 -05:00
Sarah Jamie Lewis 87a0265142 Merge branch 'peerAdd' of dan/cwtch into master
the build was successful Details
2019-11-05 14:33:35 -08:00
Dan Ballard 514d25c365 tie peerWithOnion to AddContact
the build was successful Details
2019-11-05 14:15:56 -08:00
Sarah Jamie Lewis 99ea31ce82 Adding Network Status Plugin + Fixing plugin goroutine leaks
the build was successful Details
2019-11-01 16:10:10 -07:00
Dan Ballard b42baef6c5 add get/set attribute for profile/contact/group to cwtch_peer that does the action and emits an event; rename profile.GetGroupByGroupID to GetGroup for consitency
the build was successful Details
2019-10-31 14:39:31 -07: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
the build was successful Details
2019-10-21 13:56:07 -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).
the build was successful Details
2019-09-20 11:06:05 -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 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 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
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
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 1e1cbe6cd8 make engine a interface and private struct, private most methods 2019-05-15 13:07:23 -07:00
Dan Ballard 2b2dcb9f6b make cwtch responsible for firing joinServer after joining a group; fire a fetch done event 2019-04-23 13:31:57 -07:00
Sarah Jamie Lewis a210986140 Upgrade SendMessageToGroup to return the signature for UX tracking purposes 2019-02-19 12:20:39 -08:00
Sarah Jamie Lewis 46bab264b4 Adding Accept Invite Flow 2019-02-13 17:57:42 -08:00
Sarah Jamie Lewis b607293c2d Fixing json/protobuf confusion 2019-02-12 18:46:23 -08:00
Sarah Jamie Lewis 3f6623bf42 Cutting cruft from import group 2019-02-12 18:04:21 -08:00
erinn 1f5a8685c4 store name of new contacts correctly 2019-02-11 13:40:20 -08:00
Sarah Jamie Lewis 8f3b607053 Fixing New Group Invite flow 2019-02-11 11:09:28 -08:00
Sarah Jamie Lewis eb2a770085 Fix AddContact 2019-02-04 11:39:58 -08:00
Sarah Jamie Lewis 33a8922e43 Message Store Fix 2019-02-03 17:55:35 -08:00
Sarah Jamie Lewis 2b47c50d0d Fixing up first time storage and ensuring we no longer dupe messages in timeline 2019-02-02 19:24:42 -08:00
erinn ac077521be save new groups and group timelines 2019-02-02 17:18:33 -08:00