Commit Graph

11401 Commits

Author SHA1 Message Date
Will Scott
94de605570
startup bootstrap 2020-04-15 08:47:17 -07:00
Will Scott
02cf54dec6
rebase on dual DHT 2020-04-15 08:47:16 -07:00
Will Scott
635a5c798e
integration test for the dual dht 2020-04-15 08:47:15 -07:00
Steven Allen
b6dfe07237
Merge pull request #7163 from ipfs/feat/release-0.5.0-rc2
release: go-ipfs 0.5.0-rc2
2020-04-14 22:15:19 -07:00
Steven Allen
d63761bc9f release: go-ipfs 0.5.0-rc2 2020-04-14 21:19:57 -07:00
Steven Allen
d336d915a9
Merge pull request #7162 from ipfs/feat/autonat-conf
add autonat config options
2020-04-14 21:19:23 -07:00
Steven Allen
1f23fc000c feat: add autonat config options
1. Enable AutoNATService on _all_ nodes by default. If it's an issue, we can
disable it in RC3 but this will give us the best testing results.
2. Expose options to configure AutoNAT rate limiting.
2020-04-14 20:54:58 -07:00
Steven Allen
9a9841074f chore: update bitswap
Remove some allocation hotspots
2020-04-14 16:41:13 -07:00
Steven Allen
f1022f8b8d
Merge pull request #7157 from ipfs/docs/fix-version.go-link
docs: fix link to version.go
2020-04-14 09:35:01 -07:00
Steven Allen
4fdc3adf56
Merge pull request #7159 from ipfs/feat/webui-v2.7.4
feat: webui v2.7.4
2020-04-14 09:13:42 -07:00
Marcin Rataj
7d397ac219
feat: webui v2.7.4
(supersedes v2.7.3)

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-04-14 17:51:25 +02:00
Steven Allen
d64eec9f7d
Merge pull request #7156 from requilence/patch-1
fix the typo in the serveHTTPApi
2020-04-14 08:42:10 -07:00
Alan Shaw
81ed4a1430
docs: fix link to version.go 2020-04-14 15:10:10 +01:00
Roman Khafizianov
90b7b53a40
fix the typo in the serveHTTPApi
It looks like the incorrect address passed into the logger in case of error
2020-04-14 13:24:49 +03:00
Steven Allen
2560e467ef
Merge pull request #7154 from ipfs/fix/car-sharness
test(sharness): improve CAR tests to remove some potential races
2020-04-13 22:35:39 -07:00
Steven Allen
01d0d1146b
Merge pull request #7153 from ipfs/chore/update-deps
chore: update deps
2020-04-13 21:45:42 -07:00
Steven Allen
5772ac7a5f test(sharness): improve CAR tests to remove some potential races
* Instead of ensuring that we GC nothing, verify that the repo validates.
* Avoid a race between removing the fifos and trying to read from them.
* Avoid all 'bash -c' invocations. Instead, make liberal use of subshells and
  wait.

Hopefully fixes #7123.
2020-04-13 21:42:27 -07:00
Steven Allen
e1f78e7929 chore: update deps 2020-04-13 19:51:22 -07:00
Steven Allen
28e31e17a8
Merge pull request #7127 from ipfs/feat/dual-dht
feat: introduce the dual WAN/LAN DHT
2020-04-13 19:01:12 -07:00
Steven Allen
b760d89e02
Merge pull request #7152 from ipfs/fix/sharness-partial-publish
fix: invalidate cache on failed publish
2020-04-13 18:43:26 -07:00
Steven Allen
c12c184ca4 fix: invalidate cache on failed publish
If we fail to publish, _invalidate_ our cache. The publish may have partially
succeeded.
2020-04-13 18:22:04 -07:00
Steven Allen
d0d508b2e1 fix: fix 'dht query' command to actually return the closest peers
Then improve the tests such that they actually work.
2020-04-13 17:42:03 -07:00
Steven Allen
b64d17b924 properly expose dual dht 2020-04-13 15:58:12 -07:00
Steven Allen
af2f4b2301
Merge pull request #7148 from ipfs/chore/disable_gc-race_test
Temporarily disable gc-race test
2020-04-13 10:46:31 -07:00
Peter Rabbitson
cb5863c038 Temporarily disable gc-race test
I am going to rig a more robust version and run it locally to crash
Disabling in master in order to validate the pipe reading itself
works correctly and reliably
2020-04-13 19:28:14 +02:00
Steven Allen
5ecf44a882
Merge pull request #7143 from ipfs/chore/update-bitswap
chore: update bitswap
2020-04-10 18:05:26 -07:00
Steven Allen
fdd0ebac18 chore: update bitswap
Hopefully fixes the message queue bloat issue.
2020-04-10 17:37:01 -07:00
Steven Allen
2ecb4f7fd8
Merge pull request #7142 from ipfs/chore/update-flatfs
chore: update flatfs
2020-04-10 16:56:40 -07:00
Steven Allen
8679954f9b chore: update flatfs
And remove retry logic. This was flatfs specific and we've moved the logic down
into flatfs itself.

This update:

* Retries in more cases when we run out of file descriptors.
* Ensures we don't leak temporary files on batch put.
2020-04-10 16:42:29 -07:00
Steven Allen
0c619effc1
Merge pull request #7140 from ipfs/chore/harden_impexp_test
Beef up and harden import/export tests
2020-04-10 11:01:13 -07:00
Peter Rabbitson
768c287f9b Extra potential deadlock debugging 2020-04-10 19:25:16 +02:00
Peter Rabbitson
edc27793fb Extra cross-iptb-network testcases 2020-04-10 19:25:16 +02:00
Peter Rabbitson
4319c12692 Fixup all original test issues 2020-04-10 19:25:14 +02:00
Steven Allen
0765c4063f
Merge pull request #7133 from ipfs/chore/update-flatfs
chore: update flatfs
2020-04-10 08:55:46 -07:00
Steven Allen
e55c688fca fix: run tests in "dht server" mode
Otherwise, we'd need to wait a delay on start for nodes to start becoming
servers.
2020-04-09 23:07:27 -07:00
Steven Allen
924e8704a0 chore: update flatfs
fixes #7115
2020-04-09 21:42:15 -07:00
Steven Allen
bb08f7fe56 assign public IP addresses for tests that need them 2020-04-09 21:41:42 -07:00
Steven Allen
8a002250dc feat: introduce the dual WAN/LAN DHT
And only join the WAN DHT if we're publicly reachable.
2020-04-09 21:41:38 -07:00
Steven Allen
6cb3ca41da
Merge pull request #6996 from ipfs/fix/dns-filter
Filter dials to blocked subnets, even when using DNS.
2020-04-08 21:15:33 -07:00
Steven Allen
9a98158bed test(sharness): test address filtering
tests #6995
2020-04-08 20:26:42 -07:00
Steven Allen
791156e734 chore(dep): update quic and kad-dht
* QUIC: update to a new protocol version
* DHT: add some extra checks
2020-04-08 20:10:32 -07:00
Steven Allen
92140ec6fb
Merge pull request #7036 from ipfs/feat/carfile-export-only
Dag export command, complete
2020-04-08 15:26:28 -07:00
Peter Rabbitson
a903e23ab9 We are running under set -e :picard-facepalm: 2020-04-08 14:54:49 -07:00
Peter Rabbitson
f9ae330978 Harden test - no -z in busybox 2020-04-08 14:54:49 -07:00
Peter Rabbitson
fbe40883e6 Remove PresentInImport tracking as per conversation 2020-04-08 14:54:49 -07:00
Peter Rabbitson
90c58d6cac Dag import functionality only ( no progress )
This still works over "loosely defined" .car files
Please refer to the sharness tests for extra info

We can tighten this up if the sentiment is "Postel was wrong"
2020-04-08 14:54:49 -07:00
Peter Rabbitson
1a85fddfeb For now remove export from the gateway whitelist 2020-04-08 14:54:49 -07:00
Peter Rabbitson
871c70a31c Ditch urfave/cli 2020-04-08 14:54:49 -07:00
Peter Rabbitson
4772ca6134 Add simple byte-counting export progress-bar 2020-04-08 14:54:49 -07:00
Peter Rabbitson
7b489bed80 Depend on now-released go-car tag 2020-04-08 14:54:49 -07:00