Commit Graph

233 Commits

Author SHA1 Message Date
erinn 5c98fd575b make local port selection deterministic and detach from the control port to improve performance 2018-10-08 20:19:19 -07:00
Sarah Jamie Lewis dd2af9f059 Merge branch 'bulbmigration' of openprivacy/libricochet-go into master 2018-10-09 01:54:13 +00:00
erinn 8a7895a359 oops, accidentally included a future change 2018-10-08 18:50:58 -07:00
erinn fd01dca056 forking bulb 2018-10-08 18:48:37 -07:00
Sarah Jamie Lewis 3ffe8ad0e4 Merge branch 'newnym' of openprivacy/libricochet-go into master 2018-10-08 16:50:01 +00:00
erinn aa7b398646 bugfix: actually attempt to connect again after a failed first attempt 2018-10-08 09:44:52 -07:00
Sarah Jamie Lewis 6c37867ed1 Merge branch 'newnym' of openprivacy/libricochet-go into master 2018-10-08 02:45:01 +00:00
erinn a6ca1571ad gofmt 2018-10-07 19:43:55 -07:00
erinn 06381579e5 after failing a new connection, flush the onion descriptor cache and try again in case the destination has cycled since its last use 2018-10-07 19:31:32 -07:00
Dan Ballard 530fa1f39f Merge branch 'v3onions' of openprivacy/libricochet-go into master 2018-10-05 20:24:04 +00:00
Sarah Jamie Lewis 5066380655 v3 onions 2018-10-05 13:06:54 -07:00
Dan Ballard 1667868d8c .drone: use openpriv version of drone-gogs 2018-07-17 12:06:55 -05:00
Sarah Jamie Lewis 18dcf5c2ae Merge branch 'drone-gogs' of dan/libricochet-go into master 2018-07-08 14:31:20 +00:00
Dan Ballard 90e39869a9 drone: move to drone-gogs 2018-07-07 20:16:43 -05:00
Sarah Jamie Lewis 930b94e0be Merge branch 'proto' of dan/libricochet-go into master 2018-07-05 21:54:47 +00:00
Dan Ballard b3c09e5409 ricochet protobuf files, for completeness 2018-07-05 16:49:52 -05:00
Sarah Jamie Lewis cc6076760f Merge branch 'drone' of dan/libricochet-go into master 2018-07-02 18:27:04 +00:00
Dan Ballard cdb458647f drone build file 2018-07-02 13:16:43 -05:00
Sarah Jamie Lewis 69c1dc18fb Merge branch 'master' of dan/libricochet-go into master 2018-06-25 16:19:58 +00:00
Dan Ballard e0411ecb9a fix: off by one error removing dead ricochet instances 2018-06-25 09:14:24 -07:00
Sarah Jamie Lewis c1907d5a9f Merge branch 'appinstance-cleanup' of dan/libricochet-go into master 2018-06-23 16:02:58 +00:00
Dan Ballard a852bc6678 application deletes application instance when it exit's process; adds CountConnections() 2018-06-23 08:57:22 -07:00
Sarah Jamie Lewis 2dc3739f56 Merge branch 'quality' of dan/libricochet-go into master 2018-06-23 15:47:56 +00:00
Dan Ballard 4442ab6691 code quality vet and lint script 2018-06-23 08:45:17 -07:00
Dan Ballard 7a1c1eb97e Merge branch 'rename' of openprivacy/libricochet-go into master 2018-06-09 16:08:40 +00:00
Sarah Jamie Lewis e382c8eb69 Rename 2018-06-08 15:05:22 -07:00
Dan Ballard 5a94afa0f7 add application integration test: (#42)
- start two peers alice, bob
- make alice requests contact with bob
- they send messages
- they shutdown
- verify (and fix) no threads leaked
- verify messages
- add inbound connection handler to chatChannelHandler
- add Open and AcceptAllContactHandler to application
2018-05-30 10:51:40 -07:00
Sarah Jamie Lewis 417d25dc7c BUGFIX: deadlock 2018-05-09 13:48:41 -07:00
Sarah Jamie Lewis 6f9718596d fmt and travis update 2018-05-09 12:40:07 -07:00
Sarah Jamie Lewis 9980da3bd5 Fixing channelmanager race condition, deleting vendoring 2018-05-09 12:06:34 -07:00
Dan Ballard 3920d33a77 add util to get onion address from private key (#39)
* add util to get onion address from private key

* PR comments: added test, using go-ricochet errors, function argument a privateKey

* remove unnecesary cast and variable
2018-04-30 18:03:06 -07:00
Sarah Jamie Lewis 92b9a0eb1f Commenting 2018-01-17 13:18:46 -05:00
Sarah Jamie Lewis 71685b9c3a Bugfix: Repeated channel opening attempts failed because err was shadowed 2018-01-16 12:13:46 -05:00
Sarah Jamie Lewis 9191b7530e Consolidating Channel Building / Teardown logic 2018-01-16 11:53:34 -05:00
Sarah Jamie Lewis 1e33c17ae3 Extract Authorization Logic / Refactoring OpenChannel Control Logic 2018-01-15 13:07:54 -05:00
Sarah Jamie Lewis 4994e54025 Identity Tests 2018-01-14 12:45:47 -05:00
Sarah Jamie Lewis f9209e187c Testing ContactChannel, Fixing CloseChannel Conditions 2018-01-14 12:16:14 -05:00
Sarah Jamie Lewis a04b3fe08b Moving ChannelResult processing to ControlChannel file and testing 2018-01-14 11:50:15 -05:00
Sarah Jamie Lewis cf46554922 Ensuring Channels Properly Close Themselves 2018-01-13 15:57:37 -05:00
Sarah Jamie Lewis 5d9f2ce9e3 Fixing identity tests and adding them to travis 2018-01-13 15:35:48 -05:00
Sarah Jamie Lewis 88d32191f7 Breaking out KeepAlive into a new control channel file for easier testing 2018-01-13 11:44:40 -05:00
Sarah Jamie Lewis b378c4c825 Revert "Protocol Question TODO"
This reverts commit 9788c07ac4.
2018-01-12 13:59:52 -05:00
Sarah Jamie Lewis 9788c07ac4 Protocol Question TODO 2018-01-12 13:56:32 -05:00
Sarah Jamie Lewis bf19d1b20c Moving FeaturesEnabled logic to another file, adding tests 2018-01-12 13:31:47 -05:00
Sarah Jamie Lewis 39cf4d3871 Removing go 1.7 from travis 2018-01-12 13:07:15 -05:00
Sarah Jamie Lewis 339995c101 Fixing gofmt 2018-01-12 13:04:20 -05:00
Sarah Jamie Lewis 4ccf95bee0 Adding RandNumber util to simplify chatchannel logic 2018-01-12 13:02:15 -05:00
Sarah Jamie Lewis 30808c71b2 Testing MultiChannel Response Condition in Channel Manage 2018-01-12 12:37:45 -05:00
Sarah Jamie Lewis 6e2bfbbc14 Application comments and notes 2018-01-09 17:31:54 -08:00
Sarah Jamie Lewis 4b700d4223 More golint fixing in utils 2018-01-08 11:02:04 -08:00