Commit Graph

1470 Commits

Author SHA1 Message Date
Steven Allen
1e9a638af0
Merge pull request #5907 from ipfs/gx/update
gx: update deps
2019-01-09 17:37:10 -08:00
Steven Allen
c8c348b409
Merge pull request #5904 from ipfs/feat/quiet-init
reduce verbosity of daemon start
2019-01-09 15:26:42 -08:00
Steven Allen
08cc5da55f gx: update deps
Importantly:

* fixes a bunch of MFS bugs
* pulls in some bitswap improvements

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-08 19:19:34 -08:00
Steven Allen
42a15ba7e4
Merge pull request #5893 from ipfs/fix/gateway-headers
gateway: fix CORs headers
2019-01-08 13:25:08 -08:00
Steven Allen
7a9b1716f9 daemon: don't print anything when raising file descriptor limit
This isn't an error and 99.999% of users won't care.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-07 19:30:29 -08:00
Steven Allen
b15cf0198f gateway: fix cors headers tests
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-04 13:18:30 -08:00
Łukasz Magiera
c9168ecf05 gateway: use Api.FetchBlocks for NoFetch
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-04 15:56:08 +01:00
Łukasz Magiera
fea7b5da79 gateway: NoFetch ipns test
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-04 15:50:48 +01:00
Łukasz Magiera
6cee21d39a Fix offline gateway directory logic
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-04 02:39:17 +01:00
Iaroslav Gridin
041c46e75c Add tests for FetchBlocks gateway option
License: MIT
Signed-off-by: Iaroslav Gridin <voker57@gmail.com>
2019-01-04 02:37:06 +01:00
Łukasz Magiera
7b4ab36817 gx: update go-ipfs-config
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-04 02:37:06 +01:00
Łukasz Magiera
85772fcd54 Fix name resolve --offline
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-02 11:58:31 -08:00
Steven Allen
1652148cae
Merge pull request #5856 from ipfs/fix/repub-race
testing: slow down republisher sharness test
2019-01-02 11:56:08 -08:00
Steven Allen
5894291139 gx: update go-ipfs-config
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-20 10:07:32 -08:00
Łukasz Magiera
c832a32a4c coreapi: global offline option
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 16:40:09 +01:00
Łukasz Magiera
eb1ecf8789 files2.0: more regreussion fixes
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
Łukasz Magiera
adc7490755 files2.0: updates for file type split
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
Steven Allen
4743374f14 testing: slow down republisher sharness test
We'd frequently hit a race where we'd end up sleeping till *after* the record
was republished.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-18 20:57:30 -08:00
Steven Allen
55c232fc72 commands: return a helpful error when the daemon is offline
fixes #3415

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-18 11:28:29 -08:00
Dominic Della Valle
5a02b98702 add --dereference-args parameter
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-12-12 16:35:42 -08:00
Steven Allen
edd37d8682 improve urlstore pinning tests
address CR

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-11 13:44:07 -08:00
Steven Allen
25a0db4f69 add pinning support to the urlstore
fixes #5833

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-10 18:30:14 -08:00
Steven Allen
508f307c35
Merge pull request #5827 from ipfs/gx/update-peer-id
gx: update go-libp2p-peer
2018-12-10 11:57:16 -08:00
Overbool
28d9340dbb test/block: rm mixed hash
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-12-07 15:58:03 -08:00
Steven Allen
9dcec2b3e2 gx: update go-libp2p-peer
Reverts the changes that allowed small keys (ed25519 keys) to be inlined.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-07 15:37:23 -08:00
Łukasz Magiera
d6626a5c52 p2p: tests for report-peer-id
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-11-29 20:49:17 -08:00
Steven Allen
1dcac25c11
Merge pull request #5803 from ipfs/fix/2528-really
really fix netcat race
2018-11-29 20:21:53 -08:00
Steven Allen
c0f979dfe1 really fix netcat race
We hit this once every few Jenkins runs. This:

1. Ensures netcat has started before we try to use it.
2. Waits for it to actually write the request before trying to read it.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-29 18:28:03 -08:00
Steven Allen
9a443adada p2p proxy tests: make robust against timing
Instead of repeatedly starting the netcat server, start it once and wait for it
to fully start. Then, feed responses in using a fifo.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-29 18:01:41 -08:00
Łukasz Magiera
7e541079c7 Update test/sharness/t0184-http-proxy-over-p2p.sh
License: MIT
Signed-off-by: Ian Preston <ianopolous@protonmail.com>

Co-Authored-By: ianopolous <ianopolous@protonmail.com>
2018-11-28 23:17:27 -08:00
Steven Allen
fe8ffde4c2 add some additional tests for custom protocols
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-28 23:17:27 -08:00
Steven Allen
d8cab7998e update tests
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-28 23:17:27 -08:00
Steven Allen
28652758df fix tests for iptb update
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-28 23:17:27 -08:00
Steven Allen
83369b5716 setup and teardown nodes only once
We don't need to do this for every test and our tests are slow enough.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-28 23:17:27 -08:00
Steven Allen
acb2cacefe use iptb in http proxy tests
Also:

* Disable bootstrapping
* Listen on random ports
* Write temporary files to the current (trash) directory instead of temp (easier
  to find, collected by Jenkins).
* Fix indentation.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-28 23:17:27 -08:00
Chris Boddy
3f6b866edc [http_proxy_over_p2p] url-decode the proxy name and fix test
License: MIT
Signed-off-by: Chris Boddy <chris@boddy.im>
2018-11-28 23:17:27 -08:00
Chris Boddy
749ba25485 [http_proxy_over_p2p] cfg.Experiments.P2pHttpProxy
Updated config dependency and  made p2p-http-proxy option require
P2pHttpProxy config option.

License: MIT
Signed-off-by: Chris Boddy <chris@boddy.im>
2018-11-28 23:17:27 -08:00
Chris Boddy
8676b2ebf1 [http_proxy_over_p2p] multipart request proxy test
Added a test for the case where the request to be proxied is a
http post multipart-form request.

License: MIT
Signed-off-by: Chris Boddy <chris@boddy.im>
2018-11-28 23:17:27 -08:00
Dr Ian Preston
264d9d6073 fix remaining sharness tests
License: MIT
Signed-off-by: Ian Preston <ianopolous@protonmail.com>
2018-11-28 23:17:27 -08:00
Dr Ian Preston
a818b43624 fix some sharness tests
License: MIT
Signed-off-by: Ian Preston <ianopolous@protonmail.com>
2018-11-28 23:17:27 -08:00
Chris Boddy
5f246e3211 [http_proxy_over_p2p] httputil.ReverseProxy
Reimplement http-request proxying ala httputil.ReverseProxy.

NB: this is proxies the request synchronously (sends all request-body
before reading any response).

License: MIT
Signed-off-by: Chris Boddy <chris@boddy.im>
2018-11-28 23:17:26 -08:00
Dr Ian Preston
22f3b11621 change handler mount point to /proxy/http/
License: MIT
Signed-off-by: Ian Preston <ianopolous@protonmail.com>
2018-11-28 23:17:26 -08:00
Chris Boddy
1945e44f7f [http_proxy_over_p2p] Add sharness tests for http-proxy-over-p2p
License: MIT
Signed-off-by: Chris Boddy <chris@boddy.im>
2018-11-28 23:17:26 -08:00
Steven Allen
cef645936d gx: update go-ipfs-config
* AutoRelay options for #5785.
* Badger truncate-by-default option for #5275, #5625.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-26 17:42:13 -08:00
Łukasz Magiera
7391cfd421 fix(commands): reduce complexity w/ typed encoder
uses single flag to support state needed by PostRun
supports encoding=text

License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:53:08 -08:00
hannahhoward
20b928094c fix(commands): Add sharness tests for streaming
Also fixes issues discovered with sharness tests

License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:52:29 -08:00
hannahhoward
0963c9cdcb Update go-ipfs-delay and assoc deps
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-15 18:53:45 -08:00
Steven Allen
5716926c76
Merge pull request #5573 from kjzz/fix/help
fix `ipfs help` bug #5557
2018-11-05 16:18:58 -08:00
Steven Allen
7e26ef5881
Merge pull request #5729 from dtkav/feat/cmd/webui-link
output link to WebUI on daemon startup
2018-11-05 07:51:47 -08:00
Łukasz Magiera
cb16462885 update t0290-cid with new dash codec
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-11-03 22:59:56 +01:00