Commit Graph

134 Commits

Author SHA1 Message Date
Dan Ballard 93e2a25673 tweak reconnect plugin to have faster intervals; add group sync progress state to peer
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2022-03-03 16:06:44 -08:00
Sarah Jamie Lewis 46f32881b9 Port Change Password to new Storage Engine
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is passing Details
2021-12-18 16:48:16 -08:00
Dan Ballard 1d220381eb fix govet
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-12-17 22:55:25 -05:00
Dan Ballard 8250c04c52 refactor out appCore and add migration start and done notification events
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2021-12-17 15:07:02 -05: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 41dbd6da39 Fixing locking in ACN event bus interface
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is failing Details
2021-11-19 15:10:22 -08:00
Sarah Jamie Lewis a4e62fe902 Lock app for CreateTaggedPeer
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2021-11-19 14:31:44 -08:00
Sarah Jamie Lewis f1caca3adf Closing Down Database + Delete Peer
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build was killed Details
2021-11-19 11:49:04 -08:00
Sarah Jamie Lewis 72ac4099d5 Fixes from Cwtch UI Integration
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is pending Details
2021-11-18 15:43:58 -08:00
Sarah Jamie Lewis 0614d31366 Staticheck Pass
continuous-integration/drone/push Build is pending Details
2021-11-17 15:59:52 -08:00
Sarah Jamie Lewis cfff858fe1 First cut of Importing Legacy Profiles
continuous-integration/drone/push Build is pending Details
2021-11-17 15:34:14 -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 8c80340a3d Interim Work - P2P now Works on New Storage Model
continuous-integration/drone/push Build is pending Details
2021-11-09 15:47:33 -08:00
Sarah Jamie Lewis 8ecb105414 Use constant.Tag instead of AttributeTag
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-10-15 12:43:28 -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 aec3c40180 Enforced Zoned Attribute Lookups
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-10-07 15:41:11 -07:00
Sarah Jamie Lewis a3665af870 Fixes to enable more efficient message syncing / storage
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-06-23 18:30:40 -07:00
Dan Ballard d82194bae0 revert DeletePeer having a return value; match other app apis with message returns; full app client/service support
continuous-integration/drone/pr Build is passing Details
2021-06-14 16:50:35 -07:00
Sarah Jamie Lewis 3fc2a3fcb1 Delete Profile API
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-06-14 15:42:44 -07:00
Sarah Jamie Lewis d5024e2bd3 a few select staticcheck fixes
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-06-02 12:09:15 -07:00
Sarah Jamie Lewis 0ad787d07f Listen to ProtocolEngineStopped Event and Handle Restart Listen
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/pr Build is passing Details
Also upgrade connectivity and tapir
2021-04-13 15:12:12 -07:00
Sarah Jamie Lewis b4f9decdf2 Upgrade Tapir, Log, Connectivity
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2021-04-08 18:23:26 -07:00
Dan Ballard 1cbf318e8a expose ACN.GetVersion over app bus
the build was successful Details
2020-11-30 19:25:17 -08:00
Dan Ballard 8d59b3b2e3 add 'created' field to newPeer message for when it's a newly created peer for ui to trigger new peer actions on
the build was successful Details
2020-11-02 14:35:11 -08: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 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 639ea560d5 creating a new v1 storage system with shared salt and only key in memory;
the build was successful Details
also make server/metrics test deterministic and not sleep based
2020-01-21 11:32:03 -08:00
Dan Ballard 2dbab8cfc4 composed apps use their own mutexs
the build was successful Details
2019-12-13 11:34:59 -08:00
Dan Ballard 4ecc7c0f2b Change password on a peer and it's storage 2019-12-12 13:36:04 -08:00
Dan Ballard 1cc60bdfdd add app delete profile and tag profile 2019-12-10 15:45:43 -08:00
Sofía Celi 7e3b5420d9
Fix renaming of signature of function
the build was successful Details
2019-11-29 21:11:12 -05:00
Sofía Celi eff9594196
Fix signature of function
the build failed Details
2019-11-15 21:56:45 +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 df420034ea make contact retry plugin acn connection state aware; make contact retry plugin do groups; remove connectionManager bad retry logic; allow querringing of ACN status
the build was successful Details
2019-09-27 15:29:19 -07:00
Sarah Jamie Lewis 38542751c8 Allowing Blocking of Unknown Contacts 2019-08-21 13:28:48 -07:00
Sarah Jamie Lewis 01ec46a97c Upgrading to Tapir Identity 2019-08-08 12:51:41 -07:00
Dan Ballard f2e69f48d1 Add plugin system for apps; add contact retry plugin 2019-08-01 18:09:01 -07:00
Dan Ballard 0465973a78 add app level functionality to reload from service 2019-07-19 20:08:00 -07:00
Dan Ballard 2246c6b3bc Build out pipeBridge to have a connection manager and base64 encode binary data; add support for tor acn status callback/events 2019-07-10 13:34:01 -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
Sarah Jamie Lewis 5399a31a6f Fixing Profile Creation Bug 2019-02-04 10:44:09 -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
Dan Ballard 44173c9f52 Merge branch 'ebf201901281158' of cwtch.im/cwtch into master 2019-01-29 18:44:44 +00:00
Sarah Jamie Lewis 2239463512 ineffassign and misspell 2019-01-28 12:12:33 -08:00
erinn ad7cddaacf add storage eventbus calls 2019-01-28 11:59:00 -08:00
Sarah Jamie Lewis ebe8db6c31 Blocking now kills listening connections too 2019-01-21 12:42:11 -08:00
Dan Ballard 84e31f02fe new profile storeage on eventbus 2019-01-21 12:11:40 -08:00
Dan Ballard ffc4254f18 file storage refactor to make file and profile stores 2019-01-21 10:36:23 -08:00
erinn f28cf6b781 removing old timeline notification code and dropping support for updating existing groups 2019-01-19 15:16:38 -08:00
erinn 4f39aec94b expose app eventbus and message ack IDs 2019-01-15 12:59:54 -08:00
Sarah Jamie Lewis c3d797b2e1 Protocol Engine Refactor 2019-01-07 13:24:08 -08:00
Dan Ballard 3367f1a083 updating to new libricochet-go log api 2018-12-03 18:52:11 -08:00
Dan Ballard 3cfbb88a58 drop startPeer 2018-11-26 19:11:49 -08:00
erinn 30d37da4e9 app/app.go 2018-11-26 13:51:48 -08:00
Dan Ballard 8a0d9c54fd local var rename 2018-11-22 13:47:35 -08:00
erinn ddbf96e668 little fixes 2018-11-21 16:56:08 -08:00
Dan Ballard ff54059111 update name 2018-11-21 15:10:02 -08:00
Dan Ballard 85a2c44891 Following libricochetgo's migration to bine and a generic Mixnet
interface.
2018-11-20 12:51:37 -08:00
Sarah Jamie Lewis f4c45e863e Storage Refactor 2018-10-31 15:31:52 -07:00
Dan Ballard 4544535ad5 expose tor control port bootstrap info 2018-10-05 16:27:57 -07:00
Sarah Jamie Lewis 8ab4752b44 Adding Cwtch Peer Data Channel 2018-10-04 17:03:57 -07:00
Sarah Jamie Lewis 6620875b61 Shortcut for Primary Identity 2018-10-03 22:58:02 -07:00
Dan Ballard a5ad2a6644 removing panics and reorder invite-to-group args 2018-09-26 19:00:40 -07:00
Dan Ballard 5f046e6d53 app suports multiple peers; cli supports multiple peers; massive cli command change (irc /style) and live follow groups 2018-09-21 16:52:39 -07:00
Sarah Jamie Lewis 7ae8e8d8ee Fixing #107 2018-08-05 09:01:00 -07:00
Dan Ballard da37046658 app add app directory path to filename to load 2018-08-04 18:34:34 -05:00
Dan Ballard c289052aae Android use changes: dedup peer start code; peer and app track write directory and files, do not use supplied filenames for Save(); rework tormanager to take a path to tor binary 2018-07-24 16:51:46 -05:00
Sarah Jamie Lewis f435de4b71 Testing Tor Manager + Some bug fixes 2018-07-01 20:23:30 -07:00
Sarah Jamie Lewis b4c1ac37c4 Adding Tor autostart 2018-06-29 12:11:40 -07:00
Angus Champion de Crespigny 8e55a77173 Cwtch_peer.go
Added missing imports and corrected NewCwtchPeer to implement the CwtchPeerInterface
Corrected formatting

Main.go
Corrected formatting

App.go
Included missing arguments

Cwtch_peer_test.go
Included password arguments into tests

Cwtch_peer_server_intergration_test.go
Included password arguments into tests
2018-06-27 01:15:03 +00:00
Angus Champion de Crespigny 13b5d17214 On branch profile-password
Changes to be committed:
modified:   app/app.go

Added password parameters to app.go functions

modified:   app/cli/main.go

Added password prompts to collect the password from user input
Modified Load and New conditions

modified:   peer/cwtch_peer.go
Created CreateKey, DecryptProfile, and EncryptProfile functions
Implemented these functions in the functions
CwtchNewProfile
CwtchLoadProfile
Save
2018-06-27 01:15:03 +00:00
Sarah Jamie Lewis 19bfd64ea8 First cut at TorManager (just does connectivity test) 2018-06-20 11:47:30 -07:00
Sarah Jamie Lewis 89ffc737bc Encapsualting Profile behind Peer interface 2018-06-19 22:51:21 -07:00
Sarah Jamie Lewis 77e62b1b66 Renaming to cwtch.im 2018-05-28 11:05:06 -07:00
Sarah Jamie Lewis 1534308210 Fixing go vet issues 2018-05-20 11:29:46 -07:00
Sarah Jamie Lewis 96fd3bbdda fmt 2018-05-16 14:11:55 -07:00
Sarah Jamie Lewis 447b1b30fb More golint fixing 2018-05-16 14:11:04 -07:00
Sarah Jamie Lewis bd1ad4fc67 Surfacing some error codes 2018-05-16 13:18:47 -07:00
Sarah Jamie Lewis 8d8eb89507 CLI now supports cwtch peering and invites 2018-05-01 13:44:45 -07:00
Sarah Jamie Lewis c28af5f7ae cli bones 2018-04-30 14:47:21 -07:00