Sarah Jamie Lewis
cccb97d5f0
Switch to sync.Map because go maps are unsound
2023-04-05 19:31:00 -07:00
Sarah Jamie Lewis
4588cbc604
Support Profile Status and Profile Attributes. Auto Fetch Updates on a Heartbeat. Move Profile Image Download Checks to Cwtch
2023-04-03 12:45:28 -07:00
Sarah Jamie Lewis
195e048410
Fix Map Panic
2023-02-28 10:13:45 -08:00
Sarah Jamie Lewis
0e49d70d65
Large API Refactor in prep for autobindings
2023-02-28 10:13:45 -08:00
Sarah Jamie Lewis
f246ea1e40
FileSharing Experiments / Move Experiment Handling to App and Cwtch Peer
2023-02-28 10:13:45 -08:00
Sarah Jamie Lewis
26c5c11216
Initial Prototype of Event Hooks
2023-02-28 10:13:45 -08:00
Dan Ballard
32a02b68dc
CreateProfile takes attributes
2022-12-10 11:50:22 -08:00
Dan Ballard
ad72ce6e7a
add to app ActivatePeerEngine; add to peer StartConnections; order connection attempts by lastseend (track); massive connection retry rework
2022-12-03 09:26:30 -08:00
Sarah Jamie Lewis
79bf060c2f
Change ioutil -> os APIs
2022-09-07 09:27:22 -07:00
Dan Ballard
664a6dc198
attr/parseScope()
2022-04-04 15:58:48 -07:00
Dan Ballard
93e2a25673
tweak reconnect plugin to have faster intervals; add group sync progress state to peer
2022-03-03 16:06:44 -08:00
Sarah Jamie Lewis
f3ac8c0098
Allow Sharing Public Profile Images
2022-02-03 14:44:29 -08:00
Sarah Jamie Lewis
aa98ef0e5e
Add Constants
2021-12-18 16:51:36 -08:00
erinn
158881ed9c
quality
2021-12-18 16:34:07 -08:00
erinn
a392fa0cda
image previews - dan comments
2021-12-18 16:15:05 -08:00
Dan Ballard
14ed0e7e0e
add server zone
2021-12-10 15:54:33 -08:00
Sarah Jamie Lewis
c5b61cdaf7
Formatting + Quality
2021-12-07 17:03:20 -08:00
Sarah Jamie Lewis
9b09754f0e
Remove Old Code
2021-12-07 17:03:20 -08:00
Sarah Jamie Lewis
359254f81e
Adjust APIs for better UI Cache Performance. Introduce BDD Testing + Tests
2021-12-06 12:20:38 -08:00
Sarah Jamie Lewis
781f4a919b
Deduplicate Random ID
2021-11-23 14:45:25 -08:00
Sarah Jamie Lewis
b45aec6271
Constant Comments
2021-11-23 12:32:42 -08:00
Sarah Jamie Lewis
6ab11fc929
Purge message history for not-saved conversation on Close + other review comments
2021-11-23 12:17:11 -08:00
Sarah Jamie Lewis
847b04e4fc
More comments + UpdateMessageAttribute public API
2021-11-19 12:27:52 -08:00
Sarah Jamie Lewis
72ac4099d5
Fixes from Cwtch UI Integration
2021-11-18 15:43:58 -08:00
Sarah Jamie Lewis
2caaa7eb87
More Deletions
2021-11-17 16:01:25 -08:00
Sarah Jamie Lewis
0614d31366
Staticheck Pass
2021-11-17 15:59:52 -08:00
Sarah Jamie Lewis
cfff858fe1
First cut of Importing Legacy Profiles
2021-11-17 15:34:14 -08:00
Sarah Jamie Lewis
e296c30818
libcwtch-go first cut integration / message timelines etc
2021-11-17 14:34:13 -08:00
Sarah Jamie Lewis
5c47dd789a
Deleting Unused Profile Code
2021-11-16 15:14:34 -08:00
Sarah Jamie Lewis
406d900029
First Cut of P2P and Groups using new Storage APIs!
2021-11-16 15:06:30 -08:00
Sarah Jamie Lewis
62d2497843
Purging old Profile / Storage Code - Start of Group Integration
2021-11-10 16:41:43 -08:00
Sarah Jamie Lewis
8c80340a3d
Interim Work - P2P now Works on New Storage Model
2021-11-09 15:47:33 -08:00
Sarah Jamie Lewis
dc454ad849
Temporarily ignore timeline dedupelication for p2p messags.
2021-11-03 11:40:25 -07:00
Sarah Jamie Lewis
c62ecd6f71
Use length variable, Comment deprecation of GetOnion
2021-11-01 14:09:46 -07:00
Sarah Jamie Lewis
3d2cafd1de
Group Refactor Part 1
...
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
8fead28be9
Prefer public.name when upgrading
2021-10-26 14:48:26 -07:00
Sarah Jamie Lewis
ce8d728471
Completely Remove SetAttribute and GetAttribute.
...
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
81f9d0b094
Scope/Zone API Fixes per Dan's comments
2021-10-08 10:59:32 -07:00
Sarah Jamie Lewis
aec3c40180
Enforced Zoned Attribute Lookups
2021-10-07 15:41:11 -07:00
Sarah Jamie Lewis
907a7ca638
File Sharing MVP ( #384 )
...
Co-authored-by: erinn <erinn@openprivacy.ca>
Reviewed-on: cwtch.im/cwtch#384
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
Co-authored-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
Co-committed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
2021-09-30 00:57:13 +00:00
Sarah Jamie Lewis
026a00f171
Group Experiment: Do not require GroupID to be Secret
2021-08-25 12:18:55 -07:00
Sarah Jamie Lewis
e099f1bf29
BugFix: Crash when sending a message to a Peer who is not a Contact
2021-07-08 12:33:09 -07:00
Sarah Jamie Lewis
4f6cba2900
Add Content Addressing to Timeline
...
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
a3665af870
Fixes to enable more efficient message syncing / storage
2021-06-23 18:30:40 -07:00
Dan Ballard
940fb81a96
Storage v1 massively increase storage capacity
2021-06-21 16:28:47 -07:00
Sarah Jamie Lewis
78ee588538
More test fixes
2021-06-09 14:00:34 -07:00
Sarah Jamie Lewis
b4b2b15e76
Fix IsServer check in Invite
2021-06-09 13:38:11 -07:00
Sarah Jamie Lewis
aa6f2499b9
reject group invites without a corresponding key bundle
2021-06-09 13:26:19 -07:00
Sarah Jamie Lewis
28fd9372de
BUGFIX: reference group contact when updating timeline
2021-06-09 11:03:10 -07:00
Sarah Jamie Lewis
c2ab6af7b8
Allow Updating of Message Flags
2021-06-08 15:35:50 -07:00