Commit Graph

89 Commits

Author SHA1 Message Date
Sarah Jamie Lewis 456a5f5c4d Small fixes pass with upgraded staticcheck and nilaway
continuous-integration/drone/pr Build is failing Details
2023-11-18 11:51:27 -08:00
Sarah Jamie Lewis 781f4a919b Deduplicate Random ID
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2021-11-23 14:45:25 -08:00
Sarah Jamie Lewis 847b04e4fc More comments + UpdateMessageAttribute public API
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is pending Details
2021-11-19 12:27:52 -08:00
Sarah Jamie Lewis e296c30818 libcwtch-go first cut integration / message timelines etc
continuous-integration/drone/push Build is pending Details
2021-11-17 14:34:13 -08:00
Sarah Jamie Lewis 5c47dd789a Deleting Unused Profile Code
continuous-integration/drone/push Build is passing Details
2021-11-16 15:14:34 -08:00
Sarah Jamie Lewis 406d900029 First Cut of P2P and Groups using new Storage APIs!
continuous-integration/drone/push Build is pending Details
2021-11-16 15:06:30 -08:00
Sarah Jamie Lewis 62d2497843 Purging old Profile / Storage Code - Start of Group Integration
continuous-integration/drone/push Build is pending Details
2021-11-10 16:41:43 -08:00
Sarah Jamie Lewis 3d2cafd1de Group Refactor Part 1
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is pending Details
Remove SendMessage* calls in place of a unified interface
Remove Unack*Messages from Group and Store everything in the timeline
2021-10-31 12:12:34 -07:00
Sarah Jamie Lewis ce8d728471 Completely Remove SetAttribute and GetAttribute.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
Also provides backwards compatible upgrade paths for Name and Tag
Moves Constants into Cwtch
2021-10-15 12:40:56 -07:00
Sarah Jamie Lewis 026a00f171 Group Experiment: Do not require GroupID to be Secret
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is failing Details
2021-08-25 12:18:55 -07:00
Sarah Jamie Lewis b4b2b15e76 Fix IsServer check in Invite
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2021-06-09 13:38:11 -07:00
Sarah Jamie Lewis aa6f2499b9 reject group invites without a corresponding key bundle
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2021-06-09 13:26:19 -07:00
Sarah Jamie Lewis 28fd9372de BUGFIX: reference group contact when updating timeline
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-06-09 11:03:10 -07:00
Sarah Jamie Lewis c2ab6af7b8 Allow Updating of Message Flags
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2021-06-08 15:35:50 -07:00
Sarah Jamie Lewis b847fc42b8 Add IndexedError for Peer Messages
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-05-26 10:07:08 -07:00
Sarah Jamie Lewis 95f288bac5 Save Group Name from Invite
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-05-18 16:05:20 -07:00
Sarah Jamie Lewis 08bb2f907f Replace old GroupID with new Dervied GroupID
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
As we move towards a group model that allows for different management
constitutions we need to deprecate our old group security model that relied
on "owners" and transitive signing/verification checks.

This new model derives GroupID from the GroupKey and the GroupServer
binding it both. This allows participants to know if a message was
intended for the same group they are apart of (as GroupID is included
in every encrypted/signed message to Groups) while allowing more dynamic
management protocols to be built on top of the (now agnostic) group protocols.

This PR also adds more validation logic to invites and provides the ValidateInvite
function to allow the UI to validate invites separately from processing them.
2021-05-14 11:26:04 -07:00
Sarah Jamie Lewis 00dc2e60e5 Wire up SendMessageToGroupError
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
(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 bea58b5ba4 Groups Cleanup 2021-05-04 12:00:06 -07:00
erinn c340167b35 add indexed acknowledgements
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-05-03 11:35:35 -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 b3ba23992e Clean up some older TODOs
the build was successful Details
2020-11-05 14:44:27 -08:00
erinn bd3c032ea6 bugfix 2020-10-22 16:03:46 -07:00
erinn 4d6112f28c bugfix 2020-10-22 16:03:46 -07:00
erinn 913f43f699 unackd messages to timeline instead of separate map 2020-10-22 16:03:46 -07:00
erinn 7b98e214e6 UnackdMessages to public 2020-10-22 16:03:46 -07:00
Sarah Jamie Lewis 3f522d4d23 Remove any dependence on protobufs of libricochet
the build was successful Details
2020-09-28 15:09:25 -07:00
Sarah Jamie Lewis e5d21b25a3 Assume Invites are v2 Groups
the build was successful Details
2020-09-28 14:13:30 -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 12089d9fa4 migrate to stand alone log and connectivity packages
the build was successful Details
2020-02-10 18:36:28 -05:00
Dan Ballard 4ecc7c0f2b Change password on a peer and it's storage 2019-12-12 13:36:04 -08:00
Sarah Jamie Lewis 8f85f49404 Initial pass at race condition fixes
the build was successful Details
2019-11-08 13:25:13 -08: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
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
Dan Ballard 0465973a78 add app level functionality to reload from service 2019-07-19 20:08:00 -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
Sarah Jamie Lewis 83faab35a3 Keeping track of anack'd group messages 2019-02-20 12:03:26 -08:00
erinn 1f5a8685c4 store name of new contacts correctly 2019-02-11 13:40:20 -08:00
Sarah Jamie Lewis 84a10a9f5e Fixing unitialized map 2019-02-05 10:58:14 -08:00
Dan Ballard 4d11547393 grou[ invite also gets random local id 2019-02-04 11:53:42 -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
Dan Ballard a0dab022ad stream storage for timelines, wired into profile store 2019-01-30 14:29:27 -08:00