1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-19 09:52:03 +08:00

9382 Commits

Author SHA1 Message Date
ef21c3bfab update go-ipfs-cmds to 2.0.0-beta2
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-09-19 14:35:54 -07:00
908ffddc1b big squash commit
excerpt of commit messages:
- update postrun functions in core/commands
- sharness: allow setting -i with TEST_IMMEDIATE=1
- cmds Run func returns error now
- gx update cmdkit to 1.1.2 and cmds to 2.0.0-beta1

License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-09-19 14:35:54 -07:00
61f31e5dc0 Merge pull request #5476 from rob-deutsch/fix/5475
fix fuse unmount test
2018-09-19 20:36:14 +00:00
370bd22372 Merge pull request #5484 from ipfs/fix/resolve-hamt
resolve: use unixfs ResolveOnce
2018-09-19 18:41:44 +00:00
23b44ba3c7 Merge pull request #5485 from schomatis/fix/commands/files-cp-wrap-flush-error
files cp: wrap flush error
2018-09-19 18:39:19 +00:00
ce8eb134b5 Merge pull request #5466 from ipfs/fix/less-noisy-boostrap-warning
make warnings on no bootstrap peers less noisy
2018-09-19 18:37:41 +00:00
0fd87de1a4 coreapi name: accept namesys options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-19 11:51:42 +02:00
b5bba2ce80 Merge pull request #5486 from kjzz/fix/id
fix offline id bug
2018-09-19 03:01:02 +00:00
e633eccee4 Merge pull request #5477 from kjzz/fix/publish
error when publishing ipns records without a running daemon
2018-09-19 02:19:31 +00:00
5676eb530b cmds: improve help/errors for allow-offline
Better explain what's happening and why.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-18 17:27:05 -07:00
87250b142c Merge pull request #5481 from ipfs/fix/name-test-swarm
coreapi name: Increase test swarm size
2018-09-18 18:38:34 +00:00
53d1251f74 fix offline id bug
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-18 17:57:59 +08:00
9a53494440 update test about publish offline mode
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-18 14:04:56 +08:00
f915730e68 resolve cmd: use coreapi
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-18 05:05:28 +02:00
7cda005a5f test(diff): separate diff test cases
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-18 08:56:01 +08:00
1e31aba77b resolve cmd: port to new cmd lib
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-18 02:17:30 +02:00
7994689516 files cp: wrap flush error
License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-09-17 21:14:42 -03:00
ec96a21db3 resolve: use unixfs ResolveOnce
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-18 01:08:04 +02:00
53575ddef3 coreapi name: Increase test swarm size
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-17 16:35:39 +02:00
5b0a94895f fix(object): add Diff() comment and test case
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-17 22:34:54 +08:00
264a9fee64 add allow-offline to judge publish in offline mode
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-17 16:10:18 +08:00
e71ca7c5ad refactor ipns command option name
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-17 15:09:55 +08:00
20f5cf7b23 fix fuse unmount test
Fuse unmount test uses ipfs instead of ipns, because offline nodes dont actually mount ipns.

Factored out GOOS-aware function to determine unmount command in fuse/mount.

fixed #5475

License: MIT
Signed-off-by: Rob Deutsch <rdeutschob@gmail.com>
2018-09-16 15:45:53 +10:00
26a3ebf00f fix(object): add support for raw leaves in object diff
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-16 01:16:19 +08:00
224bc0d97f make warnings on no bootstrap peers less noisy
We only need to warn the user if we *can't* connect to the network.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-14 12:10:05 -07:00
996281702d Merge pull request #5453 from overbool/fix/pin/goroutine-leaks
fix(pin): goroutine leaks
2018-09-14 17:20:27 +00:00
e4d8360d8f Merge pull request #5469 from overbool/fix/print-object-diff-err
fix(object): print object diff error
2018-09-14 16:02:11 +00:00
cbe86a91b4 fix(object): print object diff error
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-14 23:08:22 +08:00
e4e35047bd Merge pull request #5465 from rob-deutsch/fix/5450
fix behaviour of key rename to same name
2018-09-14 05:47:42 +00:00
b06a0b0e32 fix behaviour of key rename to same name
Renaming a key to the same name always succeeds regardless of force flag. Fixed bug whereby renaming to same name (with --force) would delete the key by accident

fixed #5450

License: MIT
Signed-off-by: Rob Deutsch <rdeutschob@gmail.com>
2018-09-14 15:02:47 +10:00
cbc6e69ed2 Merge pull request #5457 from overbool/feat/command/add-connection-direction
feat(command): add connection direction
2018-09-14 02:22:16 +00:00
041e771dbd Merge pull request #5449 from kjzz/fix/chunker
add rabin min error test
2018-09-14 01:32:36 +00:00
996691b2f4 feat(pin): return err when ctx.Done
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-14 09:07:14 +08:00
984ae1f406 fix expected error code for add-and-cat test
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-13 17:53:24 -07:00
daf6fbd347 feat(command): add direction flag for swarm peers command
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-14 08:49:07 +08:00
2de616300b Merge pull request #4929 from ipfs/misc/cleanup-p2p
Refactor `ipfs p2p`
2018-09-13 23:57:43 +00:00
72133283fb Merge pull request #5399 from kjzz/zkj/feat
add --name new flag when ipfs adding from stdin
2018-09-13 21:44:41 +00:00
18781fb2e7 fix sharness test_expect_code location in add-and-cat
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-13 14:40:38 -07:00
17635c8ee8 Merge pull request #5451 from ipfs/doc/cors
api: fix outdated HTTPHeaders config documentation
2018-09-13 21:34:15 +00:00
ce236abf81 Merge pull request #5440 from ipfs/feat/ungodep
remove Godeps
2018-09-13 21:13:57 +00:00
cb589a3446 Merge pull request #5459 from ipfs/fix/5458
fix output of object command
2018-09-13 21:13:27 +00:00
9b374c0041 api: fix outdated HTTPHeaders config documentation
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2018-09-13 23:00:01 +02:00
5629b1ce88 test object links
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-13 11:10:43 -07:00
93a7b7f756 don't append tabs to object links output
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-13 11:10:29 -07:00
2a0af78f9d fix output of object command
We're expecting a pointer, not a value. This works in daemon mode but not in
offline mode.

fixes #5458

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-13 10:58:09 -07:00
71c65e425b use test/bin/random instead of recompiling it
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-13 09:54:10 -07:00
428b82f228 feat(command): add connection direction
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-13 23:22:54 +08:00
81453fec3a fix(pin): goroutine leaks
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-13 13:53:08 +08:00
0c56ac104b update rabin min error test
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-13 11:28:04 +08:00
bc2e325e5c add rabin min error test
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-09-13 11:28:04 +08:00