4294a5fb11
explicitly enable the default transports
...
Otherwise, enabling the QUIC transport will disable the default ones
fixes #5416
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-31 14:54:56 -07:00
59805f03c3
Merge pull request #5414 from ipfs/nit/no-caching-nil-repo
...
don't bother caching if we're using a nil repo
2018-08-31 21:06:43 +00:00
1b4972b4cf
Merge pull request #5350 from marten-seemann/feat/quic
...
add QUIC support
2018-08-31 20:43:45 +00:00
5bc843e5c8
don't bother caching if we're using a nil repo
...
(it'll be wrong anyways)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-31 12:21:30 -07:00
46a1d9d39b
gx update deps
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-31 10:29:26 -07:00
514891d54a
add --name new flag when ipfs adding from stdin
...
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2018-08-31 20:03:00 +08:00
41806ccf35
add a QUIC twonode sharness test
...
License: MIT
Signed-off-by: Marten Seemann <martenseemann@gmail.com>
2018-08-31 13:31:22 +07:00
8193a76d7d
add a QUIC sharness test
...
License: MIT
Signed-off-by: Marten Seemann <martenseemann@gmail.com>
2018-08-31 13:30:27 +07:00
dbb92d61d0
update pkg list
...
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2018-08-30 08:16:07 +01:00
9a21a8cb1d
Merge pull request #5409 from ipfs/nit/directly-parse-peer-id
...
directly parse peer IDs as peer IDs
2018-08-30 02:16:23 +00:00
656c28ef0e
namesys: fix debug message
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-29 18:30:46 -07:00
acfa02359d
fix a test failure caused by eagerly killing nc
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-29 16:36:25 -07:00
ef18aa148b
directly parse peer IDs as peer IDs
...
No need to parse it as a hash first.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-29 16:08:25 -07:00
481d19e303
add QUIC support
...
License: MIT
Signed-off-by: Marten Seemann <martenseemann@gmail.com>
2018-08-29 08:58:40 +07:00
1c57b1d287
update go-ipfs-config to version 0.2.5
...
License: MIT
Signed-off-by: Marten Seemann <martenseemann@gmail.com>
2018-08-29 08:58:40 +07:00
2362c6d3d8
Merge pull request #5166 from schomatis/fix/commands/ls-error-unixfs
...
core/commands/ls: wrap `NewDirectoryFromNode` error
2018-08-28 20:46:07 +00:00
5c309ccc38
Merge pull request #5308 from ipfs/fix/5295
...
remove bitswap unwant
2018-08-28 18:14:44 +00:00
db45c4d0d9
remove bitswap unwant
...
This command messes with internal state and doesn't even work at the moment. If
you don't want a block, you should cancel the request that's trying to fetch it.
fixes #5295
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-28 10:21:10 -07:00
1f98f4b99c
coreapi: block: move option logic to options package
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-27 16:42:37 -07:00
9b925e0e65
coreapi: block: don't allow creation of invalid cidv0s
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-27 16:41:24 -07:00
c3e69073e5
block cmd: go-path update
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-27 16:41:24 -07:00
daae93ad89
block cmd: use coreapi
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-27 16:41:24 -07:00
66b54d9ac2
Merge pull request #5337 from ipfs/feat/depth-limited-refs
...
Feat: depth limited refs -r
2018-08-27 19:29:30 +00:00
fe89e2e185
Add sharness tests for the refs -r command using --max-depth
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-08-27 20:34:52 +02:00
ceb37a346d
Feat: depth limited refs -r
...
This adds --max-depth to the "refs" commands and allows limiting
the fetching of refs per depth. Other than that, it works as before.
Note that clever branch pruning is only made when the --unique flag
is passed. Otherwise, we re-explore branches to the given depth.
This means that --unique costs memory, but may save time when
the DAGs contain the same sub-DAGs in several places (specially if
they are big). On the other side, not using --unique saves
memory but may involve re-exploring large sub-DAGs.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-08-27 20:34:52 +02:00
93c4f19169
Merge pull request #5281 from ipfs/kevina/inline-cids
...
Add support for inlinling via the id-hash
2018-08-24 22:09:49 +00:00
7e3265a16d
Change "--inline-limit" default to 32.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-08-24 16:06:54 -04:00
1f6cb89e56
Merge branch 'master' into master
2018-08-23 07:53:58 +01:00
31711e165f
feat: use package-table
...
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2018-08-23 07:52:33 +01:00
4fb2666a24
Merge pull request #5372 from raulk/dns-resolution-api-endpoint
...
Run DNS lookup for --api endpoint provided in CLI
2018-08-23 03:51:14 +00:00
086ea326fc
Merge pull request #5393 from ipfs/docs/gateway
...
add some basic gateway documentation
2018-08-23 03:49:05 +00:00
0be1f5f755
Merge pull request #5359 from achingbrain/allow-files-write-to-create-parent-directories
...
Allow mfs files.write command to create parent directories
2018-08-23 03:34:22 +00:00
b0f90e3e84
Address code review.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-08-22 21:41:25 -04:00
c89102a01c
dns test: switch to localhost
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-22 18:18:30 -07:00
9a579499b2
add sharness test for DNS resolution on API CLI flag.
...
License: MIT
Signed-off-by: Raúl Kripalani <raul.kripalani@gmail.com>
2018-08-22 18:18:30 -07:00
5fe05e9a16
fix linting issue (getApiClient => getAPIClient).
...
License: MIT
Signed-off-by: Raúl Kripalani <raul.kripalani@consensys.net>
2018-08-22 18:18:30 -07:00
0ddaf58336
main: make --api option resolve hostnames via dns ( #5249 )
...
Resolves #5249 . Calls multiaddr-dns, and picks the first result.
Uses a fixed timeout of 10 seconds. Adds test cases for one, multiple,
and no DNS results.
License: MIT
Signed-off-by: Raúl Kripalani <raul.kripalani@consensys.net>
2018-08-22 18:18:30 -07:00
501abdd130
WIP DNS resolution for API endpoint on ipfs bin ( #5249 )
...
License: MIT
Signed-off-by: Raúl Kripalani <raul.kripalani@consensys.net>
2018-08-22 18:17:55 -07:00
6a05c97417
Merge pull request #5397 from ipfs/fix/urlstore-tests
...
fix the urlstore tests
2018-08-23 00:46:31 +00:00
4b4bdf4813
Merge pull request #5396 from ipfs/docs-update
...
docs: README refresh, add cli-http-api-core diagram
2018-08-23 00:17:26 +00:00
43f4147d25
fix the urlstore tests
...
1. GC the intentionally broken files so we don't reuse their blocks.
2. Make sure we actually check the *new* output file instead of an old one.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-22 17:14:56 -07:00
991ae7cda4
README: fix bitswap link
...
And clarify that it's a separate package.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-22 16:10:08 -07:00
9cd3fca50f
docs: apply CR
...
License: MIT
Signed-off-by: diasdavid <daviddias.p@gmail.com>
2018-08-22 16:09:51 -07:00
dae6189bd8
docs: README refresh, add cli-http-api-core diagram
...
License: MIT
Signed-off-by: diasdavid <daviddias.p@gmail.com>
2018-08-22 16:09:51 -07:00
4fd8a6ef6d
Merge pull request #5392 from ipfs/refactor/name-cmd-dir
...
name cmd: move subcommands to subdirectory
2018-08-22 19:17:53 +00:00
faf7aac940
cmds: go fmt and minor cleanup
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-22 09:49:18 -07:00
b0c480acf5
name cmd: move subcommands to subdirectory
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-22 10:34:44 +02:00
08c96ba073
Add support for inlining via the id-hash to the add command.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-08-21 21:56:49 -04:00
30fe06c020
Merge pull request #5394 from ipfs/gx/update-opgmw1
...
gx: update go-cid, go-libp2p-peer, go-ipfs-cmds, go-ipfs-cmdkit
2018-08-22 01:18:55 +00:00
aef8eec279
fix cid-fmt import path
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-21 17:47:14 -07:00