Commit Graph

11765 Commits

Author SHA1 Message Date
Steven Allen
2d72467d07 chore: update kad dht 2020-06-05 17:27:30 -07:00
Steven Allen
5e6d855455 update libp2p 2020-06-05 14:21:53 -07:00
Steven Allen
3a8e076fdd
Merge pull request #7405 from ipfs/backports
backport fixes
2020-06-02 19:19:32 -07:00
Steven Allen
10dfd9a3c2 chore: update quic transport
This is a _protocol breaking_ change for the QUIC transport, the last one before
we stabilize it.

(cherry picked from commit 0865634f75)
2020-06-02 17:36:30 -07:00
Steven Allen
16b0913112 fix: update node to fix mocha tests
(cherry picked from commit 4e14582c56)
2020-06-02 17:36:30 -07:00
Steven Allen
cee60700b9 fix: use bitswap sessions for ipfs refs
This isn't perfect (we only use sessions after resolving the root cid) but it's
better than what we have. The real solution is #7198 so we can use sessions
everywhere.

(cherry picked from commit 62f61c588d)
2020-06-02 17:36:30 -07:00
Marcin Rataj
5be7e0f8de feat: webui v2.9.0
(cherry picked from commit 0f76ed79f9)
2020-06-02 17:36:30 -07:00
Shotaro Yamada
bd9382fe41 chore: update WebUI to 2.8.0
(cherry picked from commit 58aac04a53)
2020-06-02 17:36:30 -07:00
Adin Schmahmann
d927a7a853
Merge pull request #7379 from ipfs/chore/update-dht
update dht deps (release v0.6.0)
2020-05-27 19:12:43 -04:00
Adin Schmahmann
e6c8457702 chore: update deps 2020-05-27 18:38:45 -04:00
Adin Schmahmann
ff51530635
Merge pull request #7372 from ipfs/chore/update-deps
chore: update deps (release-v0.6.0 branch)
2020-05-26 18:08:35 -04:00
Steven Allen
02f42f5862 chore: update deps
* Updates circuit relay to rebalance connection manager tags.
* Update pubsub to fix some bugs.
* Other misc updates.
2020-05-26 14:37:05 -07:00
Steven Allen
aa169520cd feat: bump version to 0.6.0-rc1 2020-05-26 00:19:55 -07:00
Steven Allen
812d90267a
Merge pull request #7365 from ipfs/feat/noise
feat: add noise support
2020-05-26 00:17:33 -07:00
Steven Allen
56776c9920 doc(experimental): document noise transport experiment 2020-05-25 23:56:31 -07:00
Steven Allen
d48b80b30e feat: add noise support
We can add a proper configuration option in a followup patch after the RC.
2020-05-25 23:46:48 -07:00
Steven Allen
1bf711d310
Merge pull request #7362 from ipfs/feat/peering
feat: implement peering service
2020-05-25 21:31:48 -07:00
Steven Allen
e10289a93d fix: really cap the max backoff at 10 minutes
While preserving some randomness.

And add a test.
2020-05-25 21:20:23 -07:00
Steven Allen
17b3b02549 fix: remove unecessary context 2020-05-25 21:20:23 -07:00
Steven Allen
87a293f680 fix(peering): fix a race condition 2020-05-25 21:20:23 -07:00
Steven Allen
fe2b289d30 test: add unit test for peering service 2020-05-25 21:20:20 -07:00
Steven Allen
7990d2ccb5 doc: expand on peering service documentation
* Explain _why_ it exists.
* Explain how it can be used.
2020-05-25 20:24:43 -07:00
Steven Allen
0551c4dca8 fix: address peering service code feedback
* better name for timer
* cancel context from within stop
2020-05-25 20:24:43 -07:00
Steven Allen
6ba49cfef2 fix: spelling
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2020-05-25 20:24:43 -07:00
Steven Allen
8e52c7fb2d fix: doc comment location
Co-authored-by: Will <will.scott@protocol.ai>
2020-05-25 20:24:43 -07:00
Steven Allen
978091a626 feat: implement peering service
MVP for #6097

This feature will repeatedly reconnect (with a randomized exponential backoff)
to peers in a set of "peered" peers.

In the future, this should be extended to:

1. Include a CLI for modifying this list at runtime.
2. Include additional options for peers we want to _protect_ but not connect to.
3. Allow configuring timeouts, backoff, etc.
4. Allow groups? Possibly through textile threads.
5. Allow for runtime-only peering rules.
6. Different reconnect policies.

But this MVP should be a significant step forward.
2020-05-25 20:24:41 -07:00
Steven Allen
d7691caf6d
Merge pull request #7364 from ipfs/chore/update-quic
chore: update quic-go
2020-05-25 18:49:28 -07:00
Steven Allen
6e54a7a5b5
Merge pull request #7363 from ipfs/chore/update-multibase
chore: update go-multibase for base36 support
2020-05-25 18:39:32 -07:00
Steven Allen
7859232ff2 chore: update quic-go 2020-05-25 18:29:51 -07:00
Steven Allen
478510ed94 chore: update go-multibase for base36 support 2020-05-25 18:25:11 -07:00
Steven Allen
707b5506ba
Merge pull request #7360 from ipfs/feat/better_dir_etag
Include the git blob id of the dir-index bundle in the ETag
2020-05-25 13:21:55 -07:00
Peter Rabbitson
dfd9860183 Add generated comment 2020-05-25 22:10:51 +02:00
Steven Allen
c17bcbd4e0
Merge pull request #7340 from ipfs/feat/boostrap-when-low
feat: bootstrap in dht when the routing table is empty
2020-05-25 13:01:08 -07:00
Peter Rabbitson
2d5f8b4ebe Include the git blob id of the dir-index bundle in the ETag
While the content of raw files retrieved via the gateway should never
change, the look and feel of the directory index can and will change
between versions of go-ipfs.

Incorporate the hash of assets/bindata.go into the ETag when appropriate
2020-05-25 18:42:07 +00:00
Steven Allen
ff17485cbb feat: bootstrap in dht when the routing table is empty
Otherwise, we could end up with only DHT clients and never re-bootstrap.

I've left the default go-ipfs bootstrapping code in for now as it's technically
possible to disable the DHT entirely.
2020-05-24 22:55:30 -07:00
Steven Allen
413ab315ba
Merge pull request #7349 from RubenKelevra/feat/quic_remove_experimental_status
quic: remove experimental status and add it to the default config
2020-05-22 17:22:22 -07:00
Steven Allen
9f40af0b13 test(sharness): fix bootstrap test for quic bootstrap addrs 2020-05-22 16:57:58 -07:00
Steven Allen
48302a1a9d chore: update go-ipfs-config
Fixes init output.
2020-05-22 16:40:43 -07:00
Steven Allen
a4985c29e8 test(sharness): fix pubsub tests 2020-05-22 16:21:15 -07:00
Steven Allen
4714c0cecc feat: enable QUIC by default
But only if private networks are disabled.
2020-05-22 13:48:58 -07:00
Steven Allen
03c1f769d7 fix: remove strict signature verification option
Signature verification is now always strict.
2020-05-22 13:48:26 -07:00
Steven Allen
ed437fa64e chore: update go-ipfs-config 2020-05-22 13:47:57 -07:00
@RubenKelevra
2dc1f691f1 quic: remove experimental status and add it to the default config 2020-05-22 04:54:19 +02:00
Steven Allen
53739faee0
Merge pull request #7344 from ipfs/chore/update-swarm
chore: update libp2p deps
2020-05-20 22:40:19 -07:00
Steven Allen
c1a49d3b8f chore: update libp2p deps
* Update swarm to prefer QUIC addrs over other addrs.
* Update yamux to increase throughput.
2020-05-20 22:13:46 -07:00
Steven Allen
edcd118a88
Merge pull request #7339 from ipfs/fix/dir-listing-404
fix: support directory listings even if a 404 page is present
2020-05-20 20:09:03 -07:00
Steven Allen
6a2fe0a20d fix: support directory listings even if a 404 page is present
fixes https://github.com/ipfs/go-ipfs/pull/4233#issuecomment-631454543

Basically, there's a trade-off here:

1. We can support directory listings while supporting 404 pages (this PR).
2. If a 404 page is present, directory listings don't work.

Given that option 1 is more flexible and users shouldn't be _too_ confused if
they land on a directory with no index.html page, I've gone with that option.
2020-05-20 19:11:50 -07:00
Steven Allen
e0aa23d4a6
Merge pull request #7309 from ipfs/fix/plugin-docs
doc(plugin): document plugin config
2020-05-20 18:04:08 -07:00
Steven Allen
4b10fdb324
Merge pull request #7320 from ipfs/fix/fuse-tests
test(sharness): fix fuse tests
2020-05-20 18:03:32 -07:00
Steven Allen
b367bbac26
Merge pull request #7337 from ipfs/chore/update-all-deps
chore: update deps
2020-05-20 18:01:40 -07:00