Dan Ballard
12089d9fa4
migrate to stand alone log and connectivity packages
2020-02-10 18:36:28 -05:00
Dan Ballard
258cf84e68
fixing race conditions; removing peer.GetProfile as unsafe
2020-02-04 20:03:43 -05:00
Dan Ballard
639ea560d5
creating a new v1 storage system with shared salt and only key in memory;
...
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
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
2019-11-29 21:11:12 -05:00
Sofía Celi
eff9594196
Fix signature of function
2019-11-15 21:56:45 +08:00
Sarah Jamie Lewis
8f85f49404
Initial pass at race condition fixes
2019-11-08 13:25:13 -08:00
Sarah Jamie Lewis
fadbe4873e
More network check events
2019-11-04 13:30:33 -08:00
Sarah Jamie Lewis
6c07e097df
Sent Network Success Message if we receive events
2019-11-04 12:11:02 -08:00
Sarah Jamie Lewis
99ea31ce82
Adding Network Status Plugin + Fixing plugin goroutine leaks
2019-11-01 16:10:10 -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
2019-10-21 13:56:07 -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
2019-09-27 15:29:19 -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).
2019-09-20 11:06:05 -07:00
Sarah Jamie Lewis
6efde0289d
Separate Initial Peer Requests and Retry Events
2019-08-24 13:13:53 -07:00
Sarah Jamie Lewis
38542751c8
Allowing Blocking of Unknown Contacts
2019-08-21 13:28:48 -07:00
Dan Ballard
bd75e44555
make event.Queue use internal infinite channels; make event.Manager not use failable writes
2019-08-14 14:00:04 -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
Sarah Jamie Lewis
4c16ec379f
First cut of automatic acknowledgements and protocol contexts
2019-07-29 12:49:23 -07:00
Dan Ballard
8c16210407
Add windows stub for pipeBridge to fix windows build; fix goland error arround ConnectionState[Type]
2019-07-26 15:34:21 -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
67678e14e4
fixes to pipe bridge: it base64 encodes data of messages before sendign them over to preserve binary data; fixed a lack of wiring for ipcBridge in service
2019-07-05 17:46:51 -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
Sarah Jamie Lewis
a12f78cc9e
Merge branch 'servermon' of dan/cwtch into master
2018-11-28 20:39:02 +00:00
Dan Ballard
d32bc34eb3
server monitor bot
2018-11-28 11:24:23 -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
erinn
2df386f6f6
in which erinn learns to hate the linter
2018-10-14 18:26:46 -07:00
erinn
66459b3d37
adding some convenience functions
2018-10-14 17:59:53 -07:00
Sarah Jamie Lewis
007c72c43c
Merge branch 'tor-status' of dan/cwtch into master
2018-10-05 23:32:18 +00:00
Dan Ballard
4544535ad5
expose tor control port bootstrap info
2018-10-05 16:27:57 -07:00
Dan Ballard
e2b5e5db91
cli /list-serers print server status string
2018-10-05 15:44:05 -07:00
Sarah Jamie Lewis
1e04b1161e
Adding V3 Onions to Cwtch!
2018-10-05 13:38:23 -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
Sarah Jamie Lewis
437c12db75
Bugfixes for #99
2018-08-04 14:20:45 -07:00
Dan Ballard
0f6c0edc46
app/cli export-group properly plugged into autocomplete; autocomplete doesnt seg fault when peer isn't initialized
2018-08-01 19:59:40 -05:00
Sarah Jamie Lewis
90ff4bcba6
Adding Fatal if cannot launch tor in app
2018-07-28 09:48:10 -07: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
Dan Ballard
d1035fd925
disallow cli creating new group for empty server
2018-06-28 09:15:21 -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
966642c957
Modified: app/cli/main.go
...
Updated queries
Modified: peer/cwtch_peer.go
Changed capitalization
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
Dan Ballard
7f99747100
Merge branch 'cli' of cwtch.im/cwtch into master
2018-06-20 05:19:46 +00:00
Sarah Jamie Lewis
af7f639744
Making copy and pasting from the cli easier
2018-06-19 16:18:51 -07:00
Sarah Jamie Lewis
e3dfdf35e0
fmt
2018-06-19 15:38:22 -07:00
Sarah Jamie Lewis
cc90b1a979
Minor changes
2018-06-12 16:55:05 -07:00
Sarah Jamie Lewis
0ef06428ed
Adding a tui app that allows chat for an imported group
2018-06-10 17:22:55 -07:00
Sarah Jamie Lewis
d13a8c3076
Adding import and exporting of groups to support alternative construction
2018-06-09 00:49:18 -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
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
4d3bf6967c
Fix profile save bug for new profiles
2018-05-12 16:13:31 -07:00
Sarah Jamie Lewis
6aa764cf81
Moving Save.
2018-05-12 14:01:14 -07:00
Sarah Jamie Lewis
edfba9a29b
Adding latency testing sendlots command
2018-05-09 12:41:39 -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
b4eb27ae1d
Adding sync around timeline, adding hooks for latency checks
2018-05-05 21:18:30 -07:00
Dan Ballard
ae2729c88f
add info to command list, usage typoes
2018-05-03 13:09:03 -07:00
Sarah Jamie Lewis
9b7b25cbe8
Fixing crshing bugs, peers now connect to other peers and servers when accepted/trusting
...
Connection state is checked before things happen to avoid hangs
2018-05-03 12:23:02 -07:00
Sarah Jamie Lewis
e839e8d12e
Minor fixes
2018-05-03 10:59:58 -07:00
Sarah Jamie Lewis
979ad542f7
fmt
2018-05-02 23:01:15 -07:00
Dan Ballard
5384d8e2da
add help option to cli app
2018-05-02 22:46:42 -07:00
Sarah Jamie Lewis
eacce2113c
feature complete app
2018-05-02 21:12:45 -07:00
Sarah Jamie Lewis
383828512a
Adding groups / inivite to cli
2018-05-01 14:36:19 -07:00
Sarah Jamie Lewis
8d8eb89507
CLI now supports cwtch peering and invites
2018-05-01 13:44:45 -07:00