Steven Allen
656c28ef0e
namesys: fix debug message
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-29 18:30:46 -07:00
Steven Allen
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
Steven Allen
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
Steven Allen
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
Steven Allen
5c309ccc38
Merge pull request #5308 from ipfs/fix/5295
...
remove bitswap unwant
2018-08-28 18:14:44 +00:00
Steven Allen
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
Steven Allen
66b54d9ac2
Merge pull request #5337 from ipfs/feat/depth-limited-refs
...
Feat: depth limited refs -r
2018-08-27 19:29:30 +00:00
Hector Sanjuan
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
Hector Sanjuan
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
Steven Allen
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
Kevin Atkinson
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
Steven Allen
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
Steven Allen
086ea326fc
Merge pull request #5393 from ipfs/docs/gateway
...
add some basic gateway documentation
2018-08-23 03:49:05 +00:00
Steven Allen
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
Kevin Atkinson
b0f90e3e84
Address code review.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-08-22 21:41:25 -04:00
Steven Allen
c89102a01c
dns test: switch to localhost
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-22 18:18:30 -07:00
Raúl Kripalani
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
Raúl Kripalani
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
Raúl Kripalani
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
Raúl Kripalani
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
Steven Allen
6a05c97417
Merge pull request #5397 from ipfs/fix/urlstore-tests
...
fix the urlstore tests
2018-08-23 00:46:31 +00:00
Steven Allen
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
Steven Allen
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
Steven Allen
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
David Dias
9cd3fca50f
docs: apply CR
...
License: MIT
Signed-off-by: diasdavid <daviddias.p@gmail.com>
2018-08-22 16:09:51 -07:00
David Dias
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
Steven Allen
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
Steven Allen
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
Łukasz Magiera
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
Kevin Atkinson
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
Steven Allen
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
Steven Allen
aef8eec279
fix cid-fmt import path
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-21 17:47:14 -07:00
Steven Allen
656d7cc1a6
gx: update go-cid, go-libp2p-peer, go-ipfs-cmds, go-ipfs-cmdkit
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-21 17:39:56 -07:00
Steven Allen
fcc96a3ae7
Merge pull request #4177 from Voker57/feat/gw-filename-option
...
Set filename in Content-Disposition if filename=x is passed in URI query
2018-08-21 16:49:53 +00:00
Steven Allen
b3585551c8
Merge pull request #5391 from ipfs/extract/go-mfs
...
Extract /mfs to github.com/ipfs/go-mfs
2018-08-21 00:17:03 +00:00
Steven Allen
1af6717eff
add some basic gateway documentation
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-20 15:53:10 -07:00
Hector Sanjuan
39a87a0fb0
Extract /mfs
...
The /mfs module has been extracted to github.com/ipfs/go-mfs
All history has been retained in the new repository. README, LICENSE,
Makefiles and CI integration have been added to the new location.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-08-20 15:28:14 +02:00
Steven Allen
afda4ca04f
Merge pull request #5384 from ipfs/fix/ipns-mount
...
Fixed ipns address resolution in fuse unix mount
2018-08-16 00:04:33 +00:00
Steven Allen
c22cfbbf75
add test case for /ipns/QmId...
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 16:33:27 -07:00
Steven Allen
f6ba685428
Merge pull request #5356 from ipfs/feat/protobuf-2
...
update protobuf files in go-ipfs
2018-08-15 23:03:57 +00:00
Steven Allen
c80b418e4d
remove old unused imports
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 12:04:06 -07:00
Steven Allen
5ae130dee2
update protobuf files in go-ipfs
...
Also:
* Switch to gogo for filestore for consistency.
* Use the "faster" codegen for fewer allocations.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 12:02:21 -07:00
Steven Allen
d586c34b8a
fix go style
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 11:50:35 -07:00
kvm2116
bde04e3843
Fixed ipns address resolution in fuse unix mount
...
License: MIT
Signed-off-by: Kunal Mahajan <mkunal@cs.columbia.edu>
2018-08-15 11:50:35 -07:00
Steven Allen
3d1802fe64
Merge pull request #5345 from ipfs/fix/5335
...
return a json object from config show
2018-08-15 18:47:12 +00:00
Steven Allen
99df4636b8
Merge pull request #5373 from ipfs/feat/gossipsub
...
gossipsub
2018-08-15 18:45:18 +00:00
vyzo
f8725d8ec9
better documentation for gossipsub
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 20:30:21 +03:00
Steven Allen
9300997887
fix gx duplicate dep by updating iptb
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 10:02:32 -07:00
vyzo
42a9cdcbfb
fix gossipsub test initialization
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00
vyzo
643522e990
document Pubsub.Router option to enable gossipsub
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00