Commit Graph

3021 Commits

Author SHA1 Message Date
Łukasz Magiera
3d79102e44 Return CID from 'ipfs files flush'
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-19 21:44:15 +01:00
Steven Allen
444f364ddc
Merge pull request #6094 from ipfs/gomod/mfs0.0.3
gomod: update go-mfs
2019-03-19 12:18:44 -07:00
Steven Allen
3f0bd78966
Merge pull request #6087 from ipfs/fix/recursive-resolve
resolve: fix recursion
2019-03-19 09:14:40 -07:00
Steven Allen
5fc7b027fd fix(swarm): improve swarm connect no peers found error
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-18 19:13:56 -07:00
Steven Allen
1cc8c3a17e fix(swarm): catch cases where we fail to resolve an address to a peer
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-18 19:13:53 -07:00
Steven Allen
f1b6888081 fix(swarm): use the go fork/join idiom
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-18 19:13:49 -07:00
Steven Allen
291614848f fix(swarm): feed through context
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-18 19:13:43 -07:00
Overbool
597bf2a481 fix(swarm): collect maddr by channel
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-03-18 18:52:16 -07:00
Overbool
309cf70570 fix(swarm): add dnsaddr support in swarm connect
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-03-18 18:51:20 -07:00
Łukasz Magiera
79b15d7b68 gomod: update go-mfs
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-18 17:59:02 +01:00
Steven Allen
1c7a5d1901 resolve: succeed on recursion limit when not recursing
Otherwise, non-recursive resolution is pretty much useless.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-15 19:25:39 -07:00
Steven Allen
fded3bc08c resolve: recurse by default
This is what users expect.

fixes #5635
fixes #5585
fixes #4181
fixes #4293
fixes #6086

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-15 19:25:27 -07:00
Steven Allen
c6d85c2a7d ls: resolve symlinks
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-07 11:10:34 -08:00
Steven Allen
81621396a0 fix ls command to use the new coreinterface types
See: https://github.com/ipfs/interface-go-ipfs-core/pull/14

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-07 11:10:34 -08:00
Steven Allen
918dcbe911
Merge pull request #6049 from ipfs/fix/yamux-window-size
yamux: increase yamux window size to 8MiB.
2019-03-05 11:20:44 -08:00
Jakub Sztandera
ddd573e580 gomod: use cheggaa/pb from gopkg
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:58 +01:00
Jakub Sztandera
dc6423f7de gomod/gx: use correct go-is-domain
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:58 +01:00
Jakub Sztandera
42e191c017 gx: unrewrite
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:56 +01:00
Steven Allen
47f5c6c265 yamux: increase yamux window size to 8MiB.
This _should_ be variable. But, until we can get around to fixing that, 8MiB
means a max speed of 40MiB given a 200ms RTT. The current limit gives us a
2.5MiB max rate which _really_ hurts.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-05 09:13:00 -08:00
Steven Allen
4b57080fb0
Merge pull request #6050 from ipfs/fix/useless-online
cleanup daemon online logic
2019-03-05 09:11:11 -08:00
Steven Allen
1b45a98304
Merge pull request #5429 from ipfs/ci/32bit
ci: test on 32bit os
2019-03-04 22:12:21 -08:00
Steven Allen
23616af314 fix gateway_test on 32bit oses
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-04 19:35:43 -08:00
Overbool
ca4ba6ca13 feat(cmds): hide peers info default in bitswap stat
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-03-04 19:11:29 -08:00
Steven Allen
3dac4609a8 split 'mode' into IsOnline and IsDaemon flags
1. They don't _have_ to be mutually exclusive.
2. local, mode, etc is _really_ confusing.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-04 19:00:47 -08:00
Steven Allen
ebee9ff4b4 fix: get rid of useless cctx.Online option
We never set this to true outside of tests and it's unclear what it's even
supposed to do.

This brings us back down to _two_ online-ish options from three.

fixes #5787

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-04 19:00:47 -08:00
Steven Allen
5f11ed79be
Merge pull request #6013 from AuHau/doc/logging
Improve CLI help pages
2019-03-04 18:25:40 -08:00
Steven Allen
a301a711d9
Merge pull request #6045 from ZenGround0/fix/6044
Close #6044
2019-03-04 15:56:08 -08:00
ZenGround0
ffbc4fb34e remove extra error check 2019-03-03 15:21:34 -05:00
Steven Allen
ae889b0b17 gx: update routing helpers
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-01 18:00:08 -08:00
Steven Allen
5e5c040cc3
commands(help): remove --local and --stream-chanels options
Users should use --offline instead of --local and --stream-channels is sent by default (and doesn't do anything as far as I can tell)...

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-01 14:52:00 -08:00
Steven Allen
b4d94c93c9 commands(dht): return final error
This error has always been exposed as a value (visible with the `-v` flag) but
we should also be returning it as a final error.

fixes #6032
fixes #4611

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-01 14:40:11 -08:00
Steven Allen
3fa1bfe1bc gx: update cmds and flatfs
fixes #6028, fixes crash when writing after closing on flatfs.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-01 12:17:49 -08:00
Steven Allen
f227862e88 gx: update go-ipfs-cmds, go-bitswap, go-libp2p-kad-dht, and go-mplex
Fixes the latest batch of bugs found in RC testing.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-27 12:39:24 -08:00
Hector Sanjuan
b83376afe1 Fix a problem with go-libp2p-kad-dht
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2019-02-27 05:30:15 +00:00
Hector Sanjuan
6972a9aa4d Gx Bubble. libp2p-6.0.38
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2019-02-27 01:10:59 +00:00
Steven Allen
e804bafc79
Revert "chore: update to Web UI 2.4.0" 2019-02-26 09:12:43 -07:00
Steven Allen
3c2536dd81 gx: update go-ipfs-cmds
fixes #6021

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-25 16:45:43 -07:00
Diogo Silva
ded265fc67 chore: update to Web UI 2.4.0
License: MIT
Signed-off-by: Diogo Silva <fsdiogo@gmail.com>
2019-02-25 16:41:19 +00:00
Adam Uhlir
0c4c82740d
Add information about logging env. variables (#2692)
License: MIT
Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
2019-02-22 10:05:45 -08:00
Adam Uhlir
8ffaa62f98
Adding information about 'ipfs log' subcommand
License: MIT
Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
2019-02-22 10:05:45 -08:00
Adam Uhlir
5ed95347f5
Updating synopsis
License: MIT
Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
2019-02-22 10:05:45 -08:00
Steven Allen
fea7ae727f gx: update go-cid
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-20 20:29:06 -08:00
Steven Allen
f924f57c61 gx: update go-bitswap and go-libp2p-kad-dht
* go-bitswap: fix some race conditions.
* go-libp2p-kad-dht: fix a goroutine leak.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-20 17:19:54 -08:00
Steven Allen
0df4bb7685
Merge pull request #5704 from ipfs/fix/5703
fix: return the shortest, completely resolved path in the resolve command
2019-02-20 10:42:57 -08:00
Steven Allen
2f17b951c2 gx: update deps
* Updates go-ipfs-cmds to try to get the tests to pass on travis.
* While we're at it, fix duplicate gx deps.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-19 13:12:21 -08:00
Steven Allen
4bb1cb65e8 fix: return the shortest, completely resolved path in the resolve command
fixes #5703

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-19 12:08:27 -08:00
Steven Allen
91ca5911be coreapi: return coreiface.ErrNotSupported when "catting" symlinks.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-19 03:48:04 -08:00
Steven Allen
229f5f3b65 cat: revert change to 'not a directory' error (interop)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-18 20:55:06 -08:00
Steven Allen
a356aeb9b9 cmds/config: make config get use EmitOnce
(interop)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-18 19:27:24 -08:00
Steven Allen
cf418cd2db cmds/bootstrap: return the correct error on failure
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-18 19:24:07 -08:00