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
Sarah Jamie Lewis
a7fd359233
Fixing Data Races in Event Bus
2019-11-12 12:56:35 -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
99ea31ce82
Adding Network Status Plugin + Fixing plugin goroutine leaks
2019-11-01 16:10:10 -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
d8ce3bee4e
Updating test scripts to remove peer
2019-07-29 12:49:23 -07:00
Dan Ballard
0465973a78
add app level functionality to reload from service
2019-07-19 20:08:00 -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
Dan Ballard
c8541a5e36
fix integ tests to not leak go threads, re make it an error
2019-02-04 14:18:24 -08:00
Dan Ballard
a0dab022ad
stream storage for timelines, wired into profile store
2019-01-30 14:29:27 -08:00
Sarah Jamie Lewis
2239463512
ineffassign and misspell
2019-01-28 12:12:33 -08:00
Sarah Jamie Lewis
c3d797b2e1
Protocol Engine Refactor
2019-01-07 13:24:08 -08:00
Sarah Jamie Lewis
39d174ca26
Adding Event Manager
...
Barebones Event Manager implementation
This change also fixes a linting issue with logging in server/
2019-01-03 12:53:08 -08:00
Dan Ballard
3367f1a083
updating to new libricochet-go log api
2018-12-03 18:52:11 -08:00
Dan Ballard
8a0d9c54fd
local var rename
2018-11-22 13:47:35 -08:00
Dan Ballard
85a2c44891
Following libricochetgo's migration to bine and a generic Mixnet
...
interface.
2018-11-20 12:51:37 -08:00
Dan Ballard
78fe3ca96e
all server files now go in configDir, cwtch docker entrypoint sets it by default to where it's expected
2018-11-01 13:22:29 -07:00
Sarah Jamie Lewis
f4c45e863e
Storage Refactor
2018-10-31 15:31:52 -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
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
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
Dan Ballard
57f9d68747
drone notify gogs via buildbot
2018-07-02 12:17:21 -05:00
Sarah Jamie Lewis
f435de4b71
Testing Tor Manager + Some bug fixes
2018-07-01 20:23:30 -07:00
Sarah Jamie Lewis
2981cb4dac
Formatting & Adding to Quality
2018-06-29 12:20:07 -07:00
Dan Ballard
b70fdf1af2
fix server metrics, wiring in it, server now generates a metrics file
...
while running
2018-06-27 09:42:30 -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
Sarah Jamie Lewis
3215478757
Revert "adding Monitors; fixing metricsHistory rotation logic; wiring in Monitors; cleanup"
...
This reverts commit bacf733f52
.
2018-06-26 11:24:50 -07:00
Sarah Jamie Lewis
ea2e7caf5c
Merge branch 'server-metrics' of dan/cwtch into master
2018-06-23 18:00:14 +00:00
Dan Ballard
bacf733f52
adding Monitors; fixing metricsHistory rotation logic; wiring in Monitors; cleanup
2018-06-23 10:54:33 -07:00
Sarah Jamie Lewis
22aebae0e5
Actually implementing correct signature construction
2018-06-23 09:23:39 -07:00
Dan Ballard
cf80207f77
rename go-ricochet to libricochet-go
2018-06-23 09:15:36 -07:00
Dan Ballard
63128bae40
adding simple metrics package to server
2018-06-21 12:20:27 -07:00
Sarah Jamie Lewis
89ffc737bc
Encapsualting Profile behind Peer interface
2018-06-19 22:51:21 -07:00
Sarah Jamie Lewis
e3dfdf35e0
fmt
2018-06-19 15:38:22 -07:00
Dan Ballard
d3765fd9bb
server now has a config file; delete profile.Save (unsued); update cwtch_peer.Save to use indented Marshal
2018-06-18 16:07:34 -07:00
Dan Ballard
dae807da07
comments and variable renames to fully pass golint
2018-06-15 09:24:23 -07:00
Dan Ballard
f68c5096ec
simplify server check so it doesn't leak goroutine; clean up init logic
2018-06-13 17:42:08 -07:00
Dan Ballard
583a8013d6
fixes to pass go vet and inclusion in tests script
2018-06-13 14:24:47 -07:00
Sarah Jamie Lewis
76b6df4beb
Fixup integ testing
2018-06-09 12:11:59 -07:00
Dan Ballard
9bf0fdec56
adding fetch checks to integration test with late joining user carol.
...
protocol drop 'groupMessages' field
peer/sever fetch channel reworked to send series of groupMessage rather than groupMessages blob in order to not blow up a ricochet packet
minor doc fixes
change a few fmt to log
fix class variable name (cplc -> cpsc) in cwtchpeer listen channel
PeerPeerConnection.Close close Conn rather than break to catch goroutine leak
2018-06-07 17:07:40 -07:00
Dan Ballard
30b4a2068e
peer and server tear down; connectionManager tear down; integ test tracks goRoutines and errors if not cleaned up properly
2018-05-31 16:32:59 -07:00
Dan Ballard
d68ba9abfc
remove integ test from unit tests run; peers don't need to AddContact themselves; remove commented out and non-functional peer accept code
2018-05-31 13:21:23 -07:00
Dan Ballard
3b65cffbdb
cwtch peers peer and sendInvite
2018-05-31 13:21:23 -07:00
Sarah Jamie Lewis
77e62b1b66
Renaming to cwtch.im
2018-05-28 11:05:06 -07:00
Dan Ballard
e0541dec15
adding tests.sh script; fixing connections tests broken by removing private_key with pk generation
2018-05-25 15:37:44 -07:00
Sarah Jamie Lewis
a4532910d0
Fixing up integration test for commit
2018-05-20 12:58:16 -07:00
Dan Ballard
af004e4641
expand integ test:
...
- run own server; delete pk from repo
- test now can use preexisting server if online (checks)
- alice & bob users
- chat
- pretty print results
- verify messages and content
TODO: disconnect and reconnect to confirm offline delivery
TODO: use preexisting test server
2018-05-17 11:52:46 -07:00
Dan Ballard
fffe18344e
expand integ test:
...
- run own server; delete pk from repo
- tests check and use test server if available (faster)
- alice & bob users
- chat
- pretty print results
- verify messages and content
TODO: disconnect and reconnect to confirm offline delivery
- server: autogenerate private key
2018-05-17 11:51:53 -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
Sarah Jamie Lewis
7e8ad39637
Massive clean up
2018-03-31 13:11:25 -07:00
Sarah Jamie Lewis
5f94e82347
PeerServerConnection Definition and Tests
2018-03-10 13:26:19 -08:00