1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-24 14:08:13 +08:00

8965 Commits

Author SHA1 Message Date
28fdee7fce Extract dagservice, move dagutils to top level
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-07-28 14:22:20 -07:00
e78911ce94 move dagutils package to top level in preparation for merkledag extraction
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-07-28 00:50:17 -07:00
23f9e7bdb7 Merge pull request #5296 from ipfs/feat/extract-blockservice
Extract blockservice and verifcid
2018-07-28 00:48:17 -07:00
1e7b2559e4 Include cid-fmt binary in test/bin.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-07-28 02:28:27 -04:00
0a3a3c9ba7 Extract blockservice and verifcid
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-07-27 18:21:06 -07:00
acd4b38ceb Merge pull request #5294 from ipfs/feat/extract-bitswap
Extract bitswap to go-bitswap
2018-07-27 15:21:24 -07:00
39c5c47c94 Extract bitswap to go-bitswap
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-07-27 14:52:56 -07:00
dfd19c470e Merge pull request #5292 from ipfs/release-0.4.17
Ipfs v0.4.17
v0.4.17
2018-07-27 14:21:59 -07:00
2287dd41e2 release 0.4.17
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-27 12:17:45 -07:00
3b132efa3f fix changelog
the sharded directory bug was introduced since the last release

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-27 12:16:35 -07:00
7b9b401b61 Ipfs v0.4.17
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-07-27 12:08:25 -07:00
b975bac3b1 Merge pull request #5283 from ipfs/kevina/urlstore-200-fix
urlstore: Accept "200 OK" in addition to "206 Partial Content".
2018-07-25 12:52:06 -07:00
726d18fd35 urlstore: Accept "200 OK" in addition to "206 Partial Content".
Some servers seem to return 200 OK when range header covers entire
file.  If the content is wrong we will detect later so there is no
harm in accepting either response.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-07-25 14:51:49 -04:00
f4205780dc Merge pull request #5267 from ipfs/release-0.4.17
Release 0.4.17
v0.4.17-rc1
2018-07-23 23:30:02 -07:00
3a085b7342 release 0.4.17-rc1
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-23 19:10:06 -07:00
50f9401ac1 update release notes and version for 0.4.17-rc1
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-23 18:10:43 -07:00
eb59a62736 Merge pull request #5268 from ipfs/gx/update-deps
gx update deps
2018-07-23 17:17:13 -07:00
42156532e4 Merge pull request #5271 from ipfs/fix/5270
Fix resolving links in sharded directories on gateway
2018-07-23 12:53:42 -07:00
d493624476 path: add a comment on dropping error in ResolveToLastNode
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-07-23 21:29:09 +02:00
53235242a1 gx update deps
Updates:

* go-net
* go-text
* dns
* prometheus
* protobuf (golang, not gogo)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-23 11:49:43 -07:00
de6a6e3e44 path: simplify ResolveToLastNode
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-07-23 17:37:33 +02:00
80fcc4ecf1 Merge pull request #5276 from schomatis/fix/dag-mod/testLargeWriteChunks/seek
test: testLargeWriteChunks: seek before reading
2018-07-22 20:54:31 -07:00
c6fb30450f test: testLargeWriteChunks: seek before reading
License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-07-22 23:02:19 -03:00
ec61e06c68 Merge pull request #5262 from schomatis/fix/mfs/test/seek-before-read
mfs: seek to 0 before reading in `TestTruncateAndWrite`
2018-07-22 18:36:59 -07:00
8ae5119105 Merge pull request #5261 from ipfs/fix/5260
fix check_go_path when it has spaces in it
2018-07-22 18:36:45 -07:00
8a29985298 Merge pull request #5274 from ipfs/feat/noplugin
build tag to disable dynamic plugins
2018-07-22 18:35:28 -07:00
b818679c9b Merge pull request #5117 from ipfs/kevina/idhash0
Add initial support for identity hashes (Part 1)
2018-07-22 14:26:09 -07:00
c85824448d build tag to disable dynamic plugins
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-07-22 21:23:30 +02:00
492a4fc46b path: fix dag tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-07-21 17:29:18 +02:00
a11c5d27e1 path: gateway test for sharded dirs
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-07-21 15:15:40 +02:00
772deca3e9 Fix resolving links in sharded directories on gateway
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-07-21 14:58:16 +02:00
7a3566b007 handle backslash paths in check_go_path
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-07-20 08:35:25 -04:00
acf12b6eaf mfs: seek to 0 before reading in TestTruncateAndWrite
License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-07-19 20:52:19 -03:00
f90fffbdc8 fix path sep on windows in check_go_path
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-19 15:31:11 -07:00
c8613b4300 Add initial support for identity hashes.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-07-19 18:09:52 -04:00
1dede1b1d7 Merge pull request #5219 from schomatis/fix/mfs/remove-sort
mfs: remove `sort` from `ListNames()`
2018-07-19 14:29:11 -05:00
24832881dd fix shebang in check_go_path
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-19 09:01:32 -07:00
5ac752f1fb avoid realpath in check_go_path
It doesn't exist on all operating systems.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-18 19:05:48 -07:00
439b0e35dc fix check_go_path when it has spaces in it
fixes #5260

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-18 17:12:12 -07:00
6f140d2579 Merge pull request #5258 from ipfs/fix/5247
when sending blocks in bitswap, close streams asynchronously
2018-07-18 14:28:29 -05:00
256ad27099 Merge pull request #5218 from schomatis/fix/cmds-files-cp/err-msg
commands/files: add error messages for `cp` paths
2018-07-18 12:19:06 -05:00
a44bffba76 Merge pull request #5237 from schomatis/fix/unixfs/dag-reader/next-buf
unixfs: refactor `precalcNextBuf`
2018-07-18 12:17:12 -05:00
e8cc52966e Merge pull request #5216 from schomatis/fix/dag-modifier/preserve-fsnode
unixfs: fix `dagTruncate` to preserve node type
2018-07-18 12:01:40 -05:00
3e3065861d when sending blocks in bitswap, close streams asynchronously
Otherwise, we tie up the bitswap worker until the other side responds with an EOF.

fixes #5247
related to https://github.com/libp2p/go-libp2p-net/issues/28

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-18 09:56:25 -07:00
70d0f13c9c unixfs/mod: add test to Truncate to the same size
License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-07-18 13:14:34 -03:00
508af1e12c mfs: add test case for MFS repeated truncation failure
License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-07-18 13:14:32 -03:00
65a18ed669 unixfs: fix dagTruncate to preserve node type
Extract the original `FSNode` passed inside the `ipld.Node` argument and modify
its `Blocksizes` (removing all of them and re-adding the ones that were not
truncated). In contrast, the replaced code was creating a new `FSNode` that was
not preserving some of the features of the original one.

Change `TRUNC_HASH` values in `sharness` that were created with the bug to the
correct values.

License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-07-18 13:07:21 -03:00
454a170032 Merge pull request #5245 from ipfs/fix/5241
add trickle-dag support to the urlstore
2018-07-18 10:39:10 -05:00
d74ec0d9d4 Merge pull request #5253 from schomatis/fix/dag-truncate/same-size
fix truncating when already at the correct size
2018-07-18 10:38:50 -05:00
e6545a24b2 fix truncating when already at the correct size
fixes #4518

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-18 11:25:16 -03:00