Wykres commitów

24 Commity

Autor SHA1 Wiadomość Data
Sarah Jamie Lewis 62d2497843 Purging old Profile / Storage Code - Start of Group Integration
continuous-integration/drone/push Build is pending Szczegóły
2021-11-10 16:41:43 -08:00
Sarah Jamie Lewis e099f1bf29 BugFix: Crash when sending a message to a Peer who is not a Contact
continuous-integration/drone/push Build is passing Szczegóły
continuous-integration/drone/pr Build is passing Szczegóły
2021-07-08 12:33:09 -07:00
Sarah Jamie Lewis 4f6cba2900 Add Content Addressing to Timeline
continuous-integration/drone/push Build is passing Szczegóły
continuous-integration/drone/pr Build is passing Szczegóły
In order to implement features like quoting/reply-to we need a way
to reference messages that have been previously sent in a way that
is compatible across domains (i.e. p2p and groups).

For groups we could use signature as a universal identifier, but we have
no such analog in p2p - (note that adding a signature to p2p would compromise the
deniability properties of that protocol and as such wasn't considered.)

This PR creates a new index in Timeline that allows messages to be looked
up by their sender + message body. GetMessagesByHash returns a list of
matching messages that can then be used for a variety of applications
e.g. reply-to or duplicate detection.

Implementing reply-to would then be as simple as including the
content-hash of the replied to message in the overlay envelope, looking
up that hash in the timeline and finding the most recent message that
predates the index of the current message.
2021-07-02 12:06:44 -07:00
Sarah Jamie Lewis b4b2b15e76 Fix IsServer check in Invite
continuous-integration/drone/push Build is passing Szczegóły
continuous-integration/drone/pr Build is failing Szczegóły
2021-06-09 13:38:11 -07:00
Sarah Jamie Lewis bea58b5ba4 Groups Cleanup 2021-05-04 12:00:06 -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 Szczegóły
2019-10-31 14:39:31 -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 Szczegóły
2019-09-20 11:06:05 -07: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
Sarah Jamie Lewis c3d797b2e1 Protocol Engine Refactor 2019-01-07 13:24:08 -08:00
Sarah Jamie Lewis dc489398ea Checking if a group is setup on a v3 onion server 2018-11-21 14:29:38 -08:00
Sarah Jamie Lewis 1531885bcd Adding Custom Attributes to Contacts, Removing ClientIdentity Processing 2018-10-31 17:19:40 -07:00
Sarah Jamie Lewis 22aebae0e5 Actually implementing correct signature construction 2018-06-23 09:23:39 -07:00
Sarah Jamie Lewis b8ce0da2dd Better thread safety pattern and some tests 2018-06-03 12:45:43 -07:00
Sarah Jamie Lewis 77e62b1b66 Renaming to cwtch.im 2018-05-28 11:05:06 -07:00
Sarah Jamie Lewis 6de91969ae Adding padding and length stuff 2018-05-28 10:44:47 -07:00
Sarah Jamie Lewis a4532910d0 Fixing up integration test for commit 2018-05-20 12:58:16 -07:00
Sarah Jamie Lewis 8349ff1b3c Golint fixes 2018-05-16 13:53:09 -07:00
Sarah Jamie Lewis be7721d02d fmt 2018-05-16 13:20:46 -07:00
Sarah Jamie Lewis bd1ad4fc67 Surfacing some error codes 2018-05-16 13:18:47 -07:00
Sarah Jamie Lewis ec0c341bb1 Fixing some race conditions, adding more error checking 2018-05-09 12:09:00 -07:00
Sarah Jamie Lewis 8721b8f455 Replacing code with proper Sort, fixing test 2018-04-28 10:52:59 -07:00
Sarah Jamie Lewis f1d0a8e900 Fixing up messaging to use a proper ordering of messages based on timeline and previous hash.
This isn't perfect, but under normal conditions should prevent malicous server reordering. Still need a second order function
2018-04-02 14:10:29 -07:00