Commit Graph

110 Commits

Author SHA1 Message Date
Sarah Jamie Lewis 3b822393cd Remove RetryPeer event, Poke token count on new group 2023-05-02 19:28:59 +00:00
Sarah Jamie Lewis 4e0fbbc1de Add UpdatedConversationAttribute Event for the UI 2023-04-20 15:14:09 -07:00
Sarah Jamie Lewis f3296ffdd9 Small Code Fixups 2023-04-17 12:33:53 -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 0e49d70d65 Large API Refactor in prep for autobindings 2023-02-28 10:13:45 -08:00
Sarah Jamie Lewis 321b08bfd3 Prevent Peer Queue Close from being called more than Once on Shutdown 2022-12-04 07:05:40 +00:00
Dan Ballard c8a6a1b079 contactRetry has protocol engine existence awareness (prep for turning profiles on/off) 2022-12-03 15:48:09 -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 c66561d84f Allow using cached tokens for local integ testing
(also new TORCACHE env for integ testing to speed up bootstrapping locally)
2022-10-25 20:59:50 +00:00
Sarah Jamie Lewis 0b72a90b1f Fixup ProtocolEngine Shutdown 2022-09-10 11:57:54 -07:00
Sarah Jamie Lewis d455eb6477 Fix Issues with Antispam triggering / Add explicit timeout calls for group servers / token aquisition and optimistic closing for peers 2022-09-10 10:18:42 -07:00
Sarah Jamie Lewis 5765cfd6c4 Surface Token Management to UX 2022-09-07 09:27:22 -07:00
Dan Ballard 60caa08868 readd deletecontact and wire in 2022-07-30 16:05:39 -07:00
Dan Ballard 56cf2b7bf6 remove unused events (libcwtch-rs audit); add anti dup on import 2022-07-29 17:24:22 -07:00
Sarah Jamie Lewis 4d080a2854 More File Sharing APIS (StopAllFileShares / GetFileShareInfo / GetSharedFiles) 2022-07-06 11:09:28 -07:00
Sarah Jamie Lewis 02044e10f3 Stop and Restart File Shares 2022-07-05 15:31:44 -07:00
Sarah Jamie Lewis 4334d3ff3f Fix event manager test 2022-04-14 13:56:24 -07:00
Sarah Jamie Lewis 75703bf359 Fix goroutine leak in Network Check Plugin + remove simpleQueue 2022-04-14 13:19:53 -07:00
Dan Ballard 0126379436 locking in event manager to fix automated test detected race 2022-03-23 14:57:18 -07:00
Sarah Jamie Lewis f3ac8c0098 Allow Sharing Public Profile Images 2022-02-03 14:44:29 -08:00
Sarah Jamie Lewis 6bb510e39e Negotiate Lower Bandwidth / Higher Density Packets for Peers 2022-01-25 15:41:25 -08:00
Dan Ballard d0b0752fe5 add contenthash to NewMessageFromPeer and NewMessageFromGroup 2022-01-20 00:48:56 -05:00
Sarah Jamie Lewis 81029f1652 Provide runtime information about ACN connections 2022-01-17 12:09:29 -08:00
Dan Ballard 830e479539 fix logic arroudn accept/block contact and add unblock support 2022-01-06 12:55:26 -05:00
Dan Ballard 8250c04c52 refactor out appCore and add migration start and done notification events 2021-12-17 15:07:02 -05:00
Dan Ballard 113a6b617a add back passwrod errors for use; staticcheck fixes 2021-12-17 14:46:24 -05:00
Dan Ballard ac05caf009 change locking on engine.ephermeralServices; logify integ test; delete unused events 2021-12-16 19:11:10 -05:00
Dan Ballard 3efacc889d minor fixes for group functionality 2021-12-16 13:11:16 -05: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 e9f986cc2e Update Server Attribute. Fix Profile Attribute Updates. Add UNIQUE constraint to type/key in profile attributes 2021-11-25 14:34:47 -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 406d900029 First Cut of P2P and Groups using new Storage APIs! 2021-11-16 15:06:30 -08:00
Sarah Jamie Lewis e2bba41a9a Remove IPC App Bridge 2021-11-03 11:40:25 -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 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 a3665af870 Fixes to enable more efficient message syncing / storage 2021-06-23 18:30:40 -07:00
erinn e5ccb5522d Merge branch 'master' of git.openprivacy.ca:cwtch.im/cwtch into countersync 2021-06-17 14:40:21 -07:00
erinn 663255e883 add MessageCounterResync event 2021-06-17 14:40:06 -07:00
Dan Ballard d82194bae0 revert DeletePeer having a return value; match other app apis with message returns; full app client/service support 2021-06-14 16:50:35 -07:00
Sarah Jamie Lewis c2ab6af7b8 Allow Updating of Message Flags 2021-06-08 15:35:50 -07:00
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 b847fc42b8 Add IndexedError for Peer Messages 2021-05-26 10:07:08 -07:00
Sarah Jamie Lewis 08bb2f907f Replace old GroupID with new Dervied GroupID
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 bea58b5ba4 Groups Cleanup 2021-05-04 12:00:06 -07:00
erinn c340167b35 add indexed acknowledgements 2021-05-03 11:35:35 -07:00
Sarah Jamie Lewis e119958db1 Reject Group Invite should delete group invite from storage 2021-04-28 14:46:01 -07:00
Sarah Jamie Lewis 48335552c9 Add Server Restarts to Contact Retry Plugin 2021-04-28 13:50:53 -07:00
Sarah Jamie Lewis 0ad787d07f Listen to ProtocolEngineStopped Event and Handle Restart Listen
Also upgrade connectivity and tapir
2021-04-13 15:12:12 -07:00
Sarah Jamie Lewis b4f9decdf2 Upgrade Tapir, Log, Connectivity 2021-04-08 18:23:26 -07:00