Commit Graph

1041 Commits

Author SHA1 Message Date
Travis Person
b37338fd68 fix for-each
License: MIT
Signed-off-by: Travis Person <travis@protocol.ai>
2018-11-01 20:13:31 -07:00
Travis Person
be3fc3e791 Update for plugins split
License: MIT
Signed-off-by: Travis Person <travis@protocol.ai>
2018-11-01 19:34:05 -07:00
Travis Person
569eeb8f82 Update IPTB test - WIP
Related to #5521

License: MIT
Signed-off-by: Travis Person <travis@protocol.ai>
2018-11-01 19:33:05 -07:00
Steven Allen
37f33812ae error on resolving non-terminal paths
This isn't the *correct* fix but it (mostly) restores the previous behavior.

Note 1: It *also* fixes resolution of `/ipld` paths by avoiding `path.FromCid`.
Note 2: This does not preserve the error. That was a DagCBOR specific error that
has nothing to do with the issue.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 12:34:32 -07:00
Steven Allen
8543e27e0d
Merge pull request #5699 from ipfs/fix/pin-ls-output
Fix pin ls output when hash is specified
2018-10-30 07:52:19 -07:00
Łukasz Magiera
08d6e7844a fix pin ls output when hash is specified
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-30 15:26:18 +01:00
Steven Allen
62240f347a sharness: verify that we return an error when we can't lookup a peer in ping
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 06:31:03 -07:00
Steven Allen
2b0bc7e084 configurable pubsub singing
I'd like to sneak this into the release so we can turn on strict verification
ASAP.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-26 04:00:44 -07:00
chenminjian
64cdabc88f feat: stop apply command exposing private key over HTTP API
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-10-24 05:46:00 -07:00
chenminjian
2e3cbe3e27 feat: add dry-run flag for config profile apply command
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-10-24 05:46:00 -07:00
Steven Allen
dd4d8bb25e
Merge pull request #5529 from overbool/fix/issue-#5523
fix(p2p): issue #5523
2018-10-18 19:33:44 +01:00
Steven Allen
9cdbb1eaad
Merge pull request #5586 from ipfs/fix/sharness/stat-race
fix: sharness race in directory_size if file is removed
2018-10-18 15:59:18 +01:00
Steven Allen
7de79280bb
Merge pull request #5404 from ipfs/feat/namestream
ipfs name resolve --stream
2018-10-18 15:55:16 +01:00
Overbool
ec8e45120e fix(files): add test
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-17 01:06:32 +08:00
Łukasz Magiera
462c8026be namesys: allow non /ipfs paths
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-16 16:37:15 +02:00
Łukasz Magiera
94bbeffaa9 Merge remote-tracking branch 'origin/master' into feat/namestream
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-15 12:05:03 +02:00
Jakub Sztandera
a4fab7f885 fix(sharness): gc repo size tests failing
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-10-15 09:26:28 +01:00
Łukasz Magiera
0bef4603e8 Merge branch 'master' into feat/namestream
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-10 12:10:12 +02:00
Steven Allen
67ea8dde0e test the correct return value
`res=$?` erases `$?` (sets it to 0)

fixes #5577

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-10 10:08:54 +01:00
Kejie Zhang
f90ee061d3 update add --chunker test
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-10-08 14:15:56 +08:00
Overbool
717c0c83a1 fix(p2p): add test for issue #5523
;wq
Signed-off-by: Overbool <overbool.xu@gmail.com>

License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-05 13:30:31 +08:00
Kejie Zhang
dee54b36d9 add test about issue #4978
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-10-05 11:21:54 +08:00
Kejie Zhang
51fa159e4a add dns support in p2p forward connect
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-10-04 18:14:55 -07:00
Overbool
a86cde50de test(files): add test for force flag
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-04 23:09:39 +08:00
Steven Allen
181c39993a
Merge pull request #5472 from overbool/fix/diff-raw-leaves
fix(object): add support for raw leaves in object diff
2018-10-03 18:58:06 -07:00
Steven Allen
4f9bde807b
Merge pull request #4803 from ipfs/feat/coreapi/swarm
coreapi: Swarm API
2018-10-02 16:25:45 -07:00
Kevin Atkinson
88a7e58b58 Add basic sharness tests.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-10-01 14:06:53 -04:00
Łukasz Magiera
ea352f62d0 update routing-helpers
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-29 12:43:30 +02:00
Jakub Sztandera
12746433ea test: add tess for /debug/pprof-mutex/ endpoint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-09-27 03:44:44 +02:00
Łukasz Magiera
6fa2ab0d41 coreapi swarm: rewire address listing cmds
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-26 22:17:23 +02:00
Overbool
c6daf934ea fix(diff): modify diff logic and comment
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-24 20:39:07 +08:00
Steven Allen
ac53d3aaa4
Merge pull request #5494 from rob-deutsch/feat/publishquieter
add quieter option to name publish
2018-09-24 10:11:18 +00:00
rob-deutsch
286d935036 add quieter option to name publish
Added a quieter/Q option to 'name publish' that, consistent with 'add', only outputs the value that was published.

License: MIT
Signed-off-by: Rob Deutsch <rdeutschob@gmail.com>
2018-09-22 09:49:40 +10:00
Overbool
7d7bca0375 feat(daemon): print version
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-21 14:44:08 +08:00
Overbool
d656ade823 test(add): add test for issue \#5456
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-09-20 07:54:39 +08:00
keks
480184fafa document TEST_IMMEDIATE in test/sharness/README.md
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-09-19 14:35:54 -07:00
Steven Allen
08cc8552e2 fix broken gc test
`ipfs refs` won't work because we don't have the referenced objects (ipfs refs
fetches everything it prints).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-19 14:35:54 -07:00
keks
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
Steven Allen
370bd22372
Merge pull request #5484 from ipfs/fix/resolve-hamt
resolve: use unixfs ResolveOnce
2018-09-19 18:41:44 +00:00
Kejie Zhang
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
Overbool
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
Łukasz Magiera
ec96a21db3 resolve: use unixfs ResolveOnce
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-09-18 01:08:04 +02:00
Overbool
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
Steven Allen
041e771dbd
Merge pull request #5449 from kjzz/fix/chunker
add rabin min error test
2018-09-14 01:32:36 +00:00
Steven Allen
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
Steven Allen
2de616300b
Merge pull request #4929 from ipfs/misc/cleanup-p2p
Refactor `ipfs p2p`
2018-09-13 23:57:43 +00:00
Steven Allen
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
Steven Allen
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
Steven Allen
ce236abf81
Merge pull request #5440 from ipfs/feat/ungodep
remove Godeps
2018-09-13 21:13:57 +00:00
Steven Allen
5629b1ce88 test object links
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-13 11:10:43 -07:00