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
924e8704a0
chore: update flatfs
...
fixes #7115
2020-04-09 21:42:15 -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
Peter Rabbitson
ae5a9e0549
Bring back pipe closure from other end
2020-04-08 14:54:49 -07:00
Peter Rabbitson
380bffa146
Move commented out code together
2020-04-08 14:54:49 -07:00
Peter Rabbitson
73bb0e8353
Check against error veriable
2020-04-08 14:54:49 -07:00
Peter Rabbitson
c2f9849a2b
Fastify with go-car version taking a session
2020-04-08 14:54:49 -07:00
Peter Rabbitson
f129f24bd7
Bring back error-prettifyer removed in f6b707d85f
2020-04-08 14:54:49 -07:00
Peter Rabbitson
3dca025f05
Remove pipe close since we are already in error
2020-04-08 14:54:49 -07:00
Peter Rabbitson
7a749ea7cb
Less confusing CLI helptext
2020-04-08 14:54:49 -07:00
Peter Rabbitson
a5f19c4f9c
Remove unnecessay prefetch
2020-04-08 14:54:49 -07:00
Peter Rabbitson
b0a461ca5c
Typo fix
2020-04-08 14:54:49 -07:00
Peter Rabbitson
635e333d60
Dag export command, silent, no progress
2020-04-08 14:54:49 -07:00
Steven Allen
23af25f176
Merge pull request #7119 from fission-suite/fission-early-tester
...
Adding Fission to IPFS early testers page
2020-04-08 12:53:21 -07:00
Boris Mann
2a42d44dee
Adding Fission to IPFS early testers page
2020-04-08 11:46:25 -07:00
Steven Allen
80c1f112d7
Merge pull request #7114 from ipfs/chore/update-dep
...
chore: update go-ds-badger
2020-04-07 21:06:29 -07:00
Steven Allen
b530543599
chore: update go-ds-badger
...
fixes https://github.com/ipfs/go-ipfs/issues/6986
2020-04-07 20:08:28 -07:00
Steven Allen
1a2c88baae
Merge pull request #7110 from ipfs/feat/release-0.5.0-rc1
...
feat: bump version
2020-04-07 00:01:36 -07:00
Steven Allen
3a37423530
feat: bump version
2020-04-07 00:00:37 -07:00
Steven Allen
3c19f5e438
Merge pull request #6977 from ipfs/feat/update-releaselog
...
feat: initial update to the changelog for 0.5.0
2020-04-06 23:16:01 -07:00
Steven Allen
31a1342833
feat: initial update to the changelog for 0.5.0
2020-04-06 22:41:30 -07:00
Steven Allen
ce78064335
Merge pull request #7103 from ipfs/feat/new-dht
...
feat(dht): update to cypress DHT in backwards compatibility mode
2020-04-06 19:10:24 -07:00
Steven Allen
ba631bbab0
fix: start the IPFS dht in server mode by default for now
2020-04-06 18:53:16 -07:00
Steven Allen
3e6f0a7942
doc: cleanup experimental features a bit
2020-04-06 18:53:16 -07:00
Steven Allen
56e0e18294
feat: add a dhtserver option
2020-04-06 18:53:16 -07:00
Steven Allen
70fe64581d
feat(dht): update to cypress DHT in backwards compatibility mode
...
This upgrades to the next DHT version, but in backwards compatibility mode.
2020-04-06 18:53:14 -07:00
Steven Allen
f8ffc55534
Merge pull request #7108 from ipfs/chore/update-deps
...
chore: update deps
2020-04-06 13:36:22 -07:00
Steven Allen
0e39f3da6e
chore: update deps
2020-04-06 13:09:23 -07:00
Steven Allen
96797cf8d4
Merge pull request #7102 from RubenKelevra/patch-3
...
update bash completion for `ipfs add`
2020-04-05 10:32:38 -07:00
Steven Allen
3304c28b43
Merge pull request #7097 from ipfs/fix/api-post
...
HTTP API: Only allow POST requests (plus OPTIONS)
2020-04-05 10:14:43 -07:00
@RubenKelevra
51bf173f19
update bash completion for ipfs add
2020-04-05 18:47:49 +02:00
Hector Sanjuan
7340543615
corehttp: Gateway handler: add Allow headers when returning MethodNotAllowed
...
Spec says that response with 405 must set Allow headers.
2020-04-05 09:57:57 +02:00
Hector Sanjuan
1b490476e5
HTTP API: Disallow GET requests on API
...
This commit upgrades go-ipfs-cmds and configures the commands HTTP API Handler
to only allow POST/OPTIONS, disallowing GET and others in the handling of
command requests in the IPFS HTTP API (where before every type of request
method was handled, with GET/POST/PUT/PATCH being equivalent).
The Read-Only commands that the HTTP API attaches to the gateway endpoint will
additional handled GET as they did before (but stop handling PUT,DELETEs).
By limiting the request types we address the possibility that a website
accessed by a browser abuses the IPFS API by issuing GET requests to it which
have no Origin or Referrer set, and are thus bypass CORS and CSRF protections.
This is a breaking change for clients that relay on GET requests against the
HTTP endpoint (usually :5001). Applications integrating on top of the
gateway-read-only API should still work (including cross-domain access).
Co-Authored-By: Steven Allen <steven@stebalien.com>
Co-Authored-By: Marcin Rataj <lidel@lidel.org>
2020-04-05 09:57:57 +02:00