1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-01 02:30:39 +08:00

7822 Commits

Author SHA1 Message Date
ddcfef42f8 doc: mention the discourse forum
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-26 11:10:18 -07:00
5146b34a15 Merge pull request #4344 from ipfs/release-0.4.12-rc1
Ipfs v0.4.12-rc1
v0.4.12-rc1
2017-10-26 13:21:53 +01:00
7bc9249188 Ipfs v0.4.12-rc1
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-10-26 04:57:46 -07:00
5923540d37 Merge pull request #4305 from leerspace/fix/repo-stat-sym-link
handle sym links in when calculating repo size
2017-10-25 19:52:44 +01:00
8923fdd91c Merge pull request #4340 from ipfs/feat/extract-ipfsaddr
extract go-ipfs-addr
2017-10-25 10:31:38 +01:00
cf6b52e4b0 extract go-ipfs-addr
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-10-24 07:31:31 -07:00
c0d6224f0e Merge pull request #4324 from ipfs/feat/default-connmgr
default settings for the connection manager
2017-10-24 15:10:04 +01:00
e49d9d9169 default settings for the connection manager
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-10-23 10:48:19 -07:00
40a9036af8 set exec bit on sharness test
setting the executable bit on sharness test

License: MIT
Signed-off-by: John Reed <john@re2d.xyz>
2017-10-23 07:50:47 -05:00
fda7dd188d Merge pull request #4306 from thisconnect/doc/cmd/add-chunker-options
adds more info about chunker option
2017-10-23 13:27:57 +01:00
5012a9d11e Merge pull request #4330 from ipfs/fix/docker-comments
docker: move comments to avoid "empty continuation lines"
2017-10-23 12:29:50 +01:00
5d7fae6055 Merge pull request #4331 from ipfs/fix/gecos
Dockerfiles: do not set gecos field on user add. Set group.
2017-10-22 21:19:05 +01:00
54d7e03303 gofmt fix and sharness test
gofmt fixes to fsrepo.go

The sharness test checks that IPFS_PATHS that are symbolically linked to another directory are returning an appropriate size

License: MIT
Signed-off-by: John Reed <john@re2d.xyz>
2017-10-21 18:22:27 -05:00
b57539c109 Dockerfiles: do not set gecos field on user add. Set group.
I think this was unintended: useradd -g sets the gecos field to "100".
Probably we meant to use -G to set the ipfs user group.

-G does not take gids, so it needs to be set by name.
The group with gid 100 is "users".

Additionally, since we install the ca-certificates package
(which is already installed), at least we should attempt to update it
to get the latest version of certs.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-10-20 20:59:26 +02:00
87408886b2 docker: move comments to avoid "empty continuation lines"
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-10-20 16:22:51 +02:00
005d243cd3 Merge pull request #4320 from ipfs/fix/gateway-seeker
gateway: fix seeker can't seek on specific files
2017-10-20 13:15:32 +01:00
3119f63bb2 Merge pull request #4326 from ipfs/fix/sane-accept-buffer-size
lower yamux accept buffer size
2017-10-20 12:46:40 +01:00
cbccd847ab gateway: apply review to serveFile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-20 13:36:44 +02:00
913f9641e4 merkledag: keep key order in dedupeKeys
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-20 01:26:27 +02:00
e1f158b731 Merge pull request #4026 from ipfs/kevina/files-raw-leaves
Add full support for CidV1 in Files API and Dag Modifier
2017-10-19 23:55:58 +01:00
3003f93854 Fix "files stat" to work on raw nodes.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 16:08:10 -04:00
8b6c6645e2 lower yamux accept buffer size
Should *massively* reduce the amount of memory used by each peer (by 60KiB).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-19 12:11:09 -07:00
b5794c4474 Merge pull request #4323 from ipfs/gx/update-lxc2hc
gx: update go-peerstream
2017-10-19 19:15:15 +01:00
0182e5977c Documentation.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
798afedf8d Make --hash and related option local to sub-commands that use them.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
00a3b1df21 Address C.R. in t0250-files-api.sh.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
b5b61f7527 Rename "files update" to "files chcid".
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
d29930c031 Eliminate Prefix field from MFS root, use MkdirOpts.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
fd7b72fa16 Fix help text for "update" command.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
47c198ceb8 Enhance sharness tests.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
63ddffdb5d Add "files update" command.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
18a6344bdd Add --cid-version and --hash-fun option to files API
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
f2fbfdf291 mfs: inherit CID prefix from from parent directory
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
77e9b8ddf9 Test for alternative hash function in Dag Modifier.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:42 -04:00
2e15dcb647 Enable CidV1 (and other prefixes) in the Dag Modifier.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 13:30:53 -04:00
a3bd2c23b3 Add "--raw-leaves" option to "ipfs files"
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 13:00:24 -04:00
7302c3ab66 Provide support for raw leaves in DAG modifier.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 12:59:40 -04:00
189cf0cb03 Test raw leaves in trickle dag tests.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 12:59:40 -04:00
d74ddd73f2 gx import go-libp2p-interface-connmgr
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-19 08:29:38 -07:00
2f9e9ec571 gx update go-peerstream, go-libp2p-floodsub
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-19 08:20:35 -07:00
3fbb77153b gateway: custom seeker for files
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-18 22:25:36 +02:00
e71dce5dfb gateway: fix seeker can't seek on specific files
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-18 20:10:22 +02:00
5c9125e8b5 Merge pull request #4315 from ipfs/feat/sessions-tagging
tag peers associated with a bitswap session
2017-10-18 16:01:03 +01:00
329eb1cd1d Merge pull request #4316 from ipfs/fix/bitswap-active-peers
filter out "" from active peers in bitswap sessions
2017-10-18 12:17:52 +01:00
08733c2b30 Merge pull request #4317 from ipfs/feat/remove-bsnet-todo
NewStream now creates a connection if necessary
2017-10-18 12:16:58 +01:00
d727a75e6d NewStream now creates a connection if necessary
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-17 15:58:27 -07:00
37296d3958 filter out "" from active peers in bitswap sessions
We use "" to indicate that the block came from the local node. There's no reason
to record "" as an active peer (doesn't really *hurt* but still...).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-17 15:37:46 -07:00
3eafbea262 tag peers associated with a bitswap session
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-10-17 12:03:48 -07:00
d840f67e0a Check for Peers before dht provide (#4290)
* Check for Peers before `dht provide`

Check if there are any peers before running logic for `dht provide`

License: MIT
Signed-off-by: Koushik Roy <meff@meff.me>
2017-10-17 13:29:35 +01:00
c9705c6b31 Merge pull request #4310 from ipfs/fix/p2p-sharness
sharness: make t0180-p2p less racy
2017-10-17 13:07:22 +01:00