hannahhoward
be4c4abcc2
chore(commands): Mark feature as experimental
...
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:55:08 -08:00
Łukasz Magiera
7391cfd421
fix(commands): reduce complexity w/ typed encoder
...
uses single flag to support state needed by PostRun
supports encoding=text
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:53:08 -08:00
hannahhoward
20b928094c
fix(commands): Add sharness tests for streaming
...
Also fixes issues discovered with sharness tests
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:52:29 -08:00
hannahhoward
5672ae6bbb
fix(commands): Refactor to use a PostRun
...
Removes flags on LSOutput
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:51:29 -08:00
hannahhoward
ef6e9cf283
feat(commands): --stream option for ls
...
Convert LS Command to use current cmds lib
Update LS Command to support streaming
Rebase fixes
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:30:42 -08:00
hannahhoward
0963c9cdcb
Update go-ipfs-delay and assoc deps
...
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-15 18:53:45 -08:00
Daniel Mack
45b34e2bcb
bootstrap: check for presence of bootstrap nodes earlier
...
Rather than checking for the presence of bootstrap nodes on each iteration
of the deferred function, do the check at initialization time and report an
error immediately.
License: MIT
Signed-off-by: Daniel Mack <daniel@zonque.org>
2018-11-12 22:45:47 +01:00
Steven Allen
a88cd82a70
Merge pull request #5760 from overbool/refactor/cmds/encoder
...
cmds: use MakeTypedEncoder
2018-11-10 10:11:26 -08:00
Overbool
f4976e6b4e
cmds/bitswap: sort wantlist
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-10 12:19:15 +08:00
Overbool
51fa833fda
cmds: use MakeTypedEncoder
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-10 12:11:45 +08:00
Overbool
5002d59d8c
cmds/update: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-09 11:14:48 -08:00
Overbool
cd108a0f88
cmds/file: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-09 09:26:52 +08:00
Overbool
57b0c0f792
cmds: remove reduntant func
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-08 15:21:50 +08:00
Steven Allen
98f6b2f684
Merge pull request #5679 from overbool/refactor/commands/refs
...
commands/refs: use new cmds
2018-11-07 13:57:56 -08:00
Steven Allen
5c15857e33
pin: handle progress in post-run, everything else in the encoder
...
Otherwise, we break the HTTP API (slightly).
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-07 13:19:15 -08:00
Overbool
62ce03ed14
cmds/pin: use PostRun in pin add
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 13:19:15 -08:00
Overbool
52cd246c04
cmds/pin: use EmitOnce for single value
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 13:19:15 -08:00
Overbool
1e7149cd00
commands/pin: fix gofmt and block
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 13:19:15 -08:00
Overbool
6fc049b59f
commands/pin: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 13:19:15 -08:00
Steven Allen
901e9fb955
Merge pull request #5678 from overbool/refactor/commands/bootstrap
...
commands/boostrap: use new cmds
2018-11-07 11:56:09 -08:00
chenminjian
fcea632b3d
fix(cmd/add): progressbar output error when input is read from stdin
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-07 07:52:15 -08:00
Overbool
bc4a9ef7c2
cmds/bootstrap: use EmitOnce directly
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 17:14:56 +08:00
Overbool
bde95077c7
commands/boostrap: use new cmds
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 17:03:34 +08:00
Overbool
bb236cf5ad
cmds/refs: use emit directly
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 16:58:36 +08:00
Overbool
30c6dd9bc1
cmds/refs: remove redundant func
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 16:49:16 +08:00
Overbool
bd5be7efc8
commands/refs: drop goroutine
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 15:22:49 +08:00
Overbool
204a53247c
commands/refs: use new cmds
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 15:22:49 +08:00
Overbool
0afbafdeaf
cmds: use w.Write directly
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
2c48466630
commands: use EmitOnce for single object
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
46902e98e2
commands: use io.Writer in tabwriter
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
d26f97a902
fix(cmd/diag): inorder output
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
35959d623b
refactor(cmds): use new cmds lib in log
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
27bc0ecc2e
refactor(cmds): use new cmds lib in mount
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
b1efb997bf
refactor(cmds): use new cmds lib in config
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
b2badfbb06
refactor(cmds): use new cmds lib in diag
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 13:06:11 -08:00
Overbool
b4b6fc6906
cmds/filestore: use PostRun in verify
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 12:56:15 -08:00
Overbool
c43658621d
commands/filestore: print StatusOtherError error
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 12:56:15 -08:00
Overbool
2462bf913a
commands/filestore: use res.Emit directly
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 12:56:15 -08:00
Overbool
013de54d98
commands/filestore: fix gofmt
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 12:56:15 -08:00
Overbool
dfde39151f
commands/filestore: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-06 12:56:15 -08:00
Overbool
73fef489f5
commands/bitswap: use cmds.EmitOnce in single value
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-05 15:55:04 -08:00
Overbool
c5b44ded40
commands/bitswap: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-05 15:55:04 -08:00
Steven Allen
254dda2823
Merge pull request #5677 from chenminjian/refact/cmd/repo
...
refact(cmd/repo): repo's sub cmds uses new cmd lib
2018-11-05 08:42:49 -08:00
chenminjian
ff27f9f112
refact(cmd/repo): normalize fsck cmd name
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-03 17:12:49 +08:00
chenminjian
5afa7ebfdc
refact(cmd/repo): repo verify uses new cmd lib
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-03 17:12:32 +08:00
chenminjian
f7b6ee3c87
refact(cmd/repo): repo fsck and repo version uses new cmd lib
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-03 17:04:44 +08:00
Steven Allen
5c5b03ea31
Revert "Merge pull request #5708 from ipfs/fix/log-ndjson"
...
This reverts commit f0bf99361e , reversing
changes made to d5c8fa50c8 .
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-02 21:17:22 -07:00
Steven Allen
0d80fc54c3
gx: update go-log and sha256
...
fixes #5709
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-02 21:17:20 -07:00
chenminjian
17e7892036
enhance(cmd/verify): add goroutine count to improve verify speed
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-02 13:30:12 -07:00
Steven Allen
ec9fac7379
gx: update go-ipld-cbor
...
(might as well do this at the same time)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-02 13:17:44 -07:00
hannahhoward
943a5de974
Update go-mfs and go-unixfs
...
So we can get go-unixfs v1.2.0
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-02 13:16:56 -07:00
Steven Allen
f659eec3d9
Merge pull request #5719 from chenminjian/fix/cmd/version
...
fix(flag/version): flag `all` should have a higher priority
2018-11-02 13:13:02 -07:00
Overbool
488db7d2f2
commands/p2p: use cmds.EmitOnce in single value
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 12:06:26 -07:00
Overbool
7292c1da23
commands/p2p: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 12:06:26 -07:00
Overbool
4a2c3cb3cf
commands/dht: use res.Emit directly
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:14:14 -07:00
Overbool
7e7a04e21f
commands/dht: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:14:14 -07:00
Overbool
e1d1f68f08
commands/object: use cmds.EmitOnce in single value
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:06:32 -07:00
Overbool
0fe7bdfce9
commands/object: add comment
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:06:32 -07:00
Overbool
df58a2d617
commands/object: fix object diff option error
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:06:32 -07:00
Overbool
677c953dc4
commands/object: use new cmds
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:06:32 -07:00
Overbool
f37553f065
commands/files: use cmds.EmitOnce in single value
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 09:46:14 -07:00
Overbool
546d3bed5a
commands/files: can't get flush option
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 09:46:14 -07:00
Overbool
efa280c531
commands/files: use MakeTypedEncoder
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 09:46:14 -07:00
Overbool
b80589f98e
commands/files: use new cmds
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 09:46:14 -07:00
chenminjian
6f219e0d8f
fix(flag/version): flag all should have a higher priority
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-02 19:30:09 +08:00
Overbool
bf15999c02
cmds/env: add a config path helper
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 10:10:28 +08:00
Steven Allen
0d56a486c0
Merge pull request #5706 from ipfs/fix/4132
...
fix prometheus concurrent map write bug
2018-10-31 08:00:57 -07:00
Steven Allen
bf69017e25
metrics: we're now recording latency seconds, not microseconds
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-31 05:12:35 -07:00
Steven Allen
16d70eac32
add a todo to remember to remove log reformatting
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-31 04:53:57 -07:00
Steven Allen
68ac5170f1
re-format log output as ndjson
...
Apparently, js-ipfs-api expects this. Really, I'm not sure why js-ipfs-api even
cares about this endpoint but that's a different issue.
The real fix is to change back to ndjson in go-log but that would force us to
update every package (not good when we're trying to push out a release like
this).
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 17:26:49 -07:00
Steven Allen
4674f19913
fix prometheus concurrent map write bug
...
fixes #4132
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 15:38:49 -07:00
Steven Allen
d5c8fa50c8
Merge pull request #5705 from ipfs/fix/resolve-non-terminal
...
error on resolving non-terminal paths
2018-10-30 13:13:34 -07:00
Steven Allen
126d996f60
resolve: restore error message
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 13:02:55 -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
d98351720a
fix expected error message in gateway test
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 10:36:16 -07:00
Steven Allen
af53380e8c
gx: update go-path
...
fixes the changed path cat error causing the js-ipfs-api tests to fail
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 09:27:41 -07:00
Steven Allen
018265940c
Merge pull request #5626 from ipfs/feat/impoter-batching
...
Explicitally use BufferedDAG after removing Batch from importers
2018-10-30 09:24:57 -07:00
Steven Allen
e37b252c0c
coreapi: fix errisdir
...
JavaScript expects this to be "this dag node is a directory". I'm almost of a
mind to say "don't parse errors" but, well, we don't give any better
alternatives.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 08:48:49 -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
3d28165c94
Merge pull request #5698 from ipfs/fix/libp2p-ping
...
ping: switch to the ping service enabled in the libp2p constructor
2018-10-30 07:22:59 -07:00
Steven Allen
cc0d6d7338
ping: switch to the ping service enabled in the libp2p constructor
...
We now configure the ping service in go-libp2p by default. Instead of creating a
new (duplicate) ping service, we can now just (a) rely on this to handle
incoming pings and (b) use the "Ping" function to ping peers.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 06:57:41 -07:00
Steven Allen
e332af8ed5
commands: fix a bunch of tiny commands-lib issues
...
* Always check errors returned by emit. Otherwise, we may not notice when the
client goes away.
* Make sure to use EmitOnce instead of Emit when appropriate. Otherwise, we
break javascript.
(thanks Magik6k for finding this before we cut the release...)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 06:49:08 -07:00
Steven Allen
f8375ec79c
Merge pull request #5680 from ipfs/fix/cleanup-ping
...
cleanup the ping command
2018-10-30 06:42:52 -07:00
Hector Sanjuan
8709e55b85
Add batching when Adding.
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-10-29 18:49:37 +01:00
Hector Sanjuan
ef7234d269
Bubble deps
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-10-29 18:49:37 +01:00
Steven Allen
5fef0286e0
Merge pull request #5688 from ipfs/gx/update-pubsub
...
gx: update pubsub
2018-10-29 08:01:48 -07:00
Steven Allen
4227214239
gx: update pubsub
...
fixes a critical performance issue in the gossipsub pubsub router
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-29 06:34:39 -07:00
chenminjian
78d878e253
fix(cmd/gc): Run func does not return error when Emit func returns error
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-10-29 15:49:14 +08:00
Steven Allen
b8f535567f
simplify ping.ParsePeerParam
...
We now *have* p2p multiaddrs.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-28 05:38:24 -07:00
Steven Allen
b870e8c6d1
cleanup and improve ping
...
1. Use emit directly.
2. Abort immediately when the context is canceled (no need to wait a second for
the sleep to elapse).
3. Ping once a second instead of once a second +TTL (to be more like ping)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-28 05:38:22 -07:00
Steven Allen
b25c14f2e9
Merge pull request #5675 from overbool/refactor/commands/ping
...
commands/ping: use new cmds lib
2018-10-27 05:38:25 -07:00
Steven Allen
a0c0355dd5
fix pin-lock in dag put
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-27 05:29:39 -07:00
Steven Allen
b8d7d25569
remove dead code
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-27 05:28:51 -07:00
Steven Allen
64a517afed
simplify dag add
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-27 05:28:51 -07:00
Overbool
cec3af28ca
commands/ping: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-27 12:37:10 +08:00
Dominic Della Valle
38cae95f30
gx: update go-ipfs-cmds to 2.0.5
...
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-10-26 19:50:32 -04:00
Steven Allen
96334bb073
Merge pull request #5660 from ipfs/fix/resolve-paths
...
namesys: properly attach path in name.Resolve
2018-10-26 16:34:54 -07:00
Łukasz Magiera
f4e5625b2f
namesys: properly attach path in name.Resolve
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-27 00:10:36 +02:00
Steven Allen
223a0606c1
Merge pull request #5662 from overbool/refactor/commands/dag
...
cmds/dag: use new cmds lib
2018-10-26 12:53:55 -07:00
Steven Allen
3accb7bebd
Merge pull request #5650 from overbool/refactor/new-cmds-lib
...
refactor(cmds): use new cmds lib in version, tar and dns
2018-10-26 11:21:22 -07:00
Steven Allen
90d8cff390
Merge pull request #5638 from rcarver/fix/cmds/rm-link
...
object patch rm-link: change arg from 'link' to 'name'
2018-10-26 11:16:39 -07:00
Overbool
4160eaa637
refactor(cmds): use new cmds lib in tar, dns
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-27 01:48:40 +08:00
Overbool
9611d5f310
refactor(cmds): replace MakeEncoder with MakeTypedEncoder
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-27 01:47:37 +08:00
Overbool
40a1c75759
refactor(cmds): use new cmds lib in version
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-27 01:47:37 +08:00
Overbool
d31e92b446
cmds/dag: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-27 01:40:28 +08:00
Steven Allen
37f0fd92c7
gx: update go-ipfs-cmds
...
(no code changes)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-26 09:26:53 -07:00
Steven Allen
5b26444052
gx: update pubsub (again)
...
Small patch to mark gossipsub peers as wanted so we don't prune them.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-26 05:57:43 -07:00
Steven Allen
bf1aeaceb9
Merge pull request #5647 from ipfs/feat/pubsub-signing
...
configurable pubsub signing
2018-10-26 04:13:31 -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
Overbool
74e1aaf17c
fix(core): ipns config RecordLifetime panic
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-26 07:58:46 +08:00
Steven Allen
00a4b38f61
Merge pull request #5646 from overbool/refactor/commands/id
...
refactor(commands/id): use new command
2018-10-25 11:26:30 -07:00
Overbool
2fe969a26a
refactor(commands/id): use new command
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-26 01:11:11 +08:00
Steven Allen
a561eca7ec
remove p2p-circuit addr hack in ipfs swarm peers
...
We used to have to do this as these addresses had `/ipfs/QmId` appended at
the *transport* layer. However, we were able to remove this with the transport
refactor so we can now remove this check.
fixes https://github.com/libp2p/specs/issues/72
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-25 09:15:52 -07:00
Steven Allen
7ecd6756b4
Merge pull request #5642 from chenminjian/refact/command/root
...
refact(command): replace option name with const string
2018-10-25 03:45:02 -07:00
chenminjian
2f008d47cd
refact(command): replace option name with const string
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-10-25 15:13:18 +08:00
Steven Allen
e35d4ea58b
gx: update yamux
...
(fixes a panic due to a race)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-24 15:01:31 -07:00
Steven Allen
636bbc7e2b
gx update go-libp2p
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-24 13:39:48 -07:00
Steven Allen
4d956d2ba9
update for changed relay defaults
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-24 13:39:39 -07:00
Ryan Carver
6aa8525f6e
object patch rm-link: change arg from 'link' to 'name'
...
This improves the semantics of rm-link to be consistent with add-link,
clarifying that you should specify the link name as the thing to remove.
License: MIT
Signed-off-by: Ryan Carver <ryan@ryancarver.com>
2018-10-24 10:09:19 -07:00
Steven Allen
e41ac96207
switch to new raceless routing event interface
...
fixes #5616
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-24 10:00:22 -07:00
Steven Allen
c97c3459be
gx update
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-24 09:59:43 -07:00
Steven Allen
efa282d46e
update for pubsub rename
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-24 09:42:43 -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
Overbool
4e260775b2
docs: add a note for dns command
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-23 13:09:28 +08:00
Steven Allen
caffa59183
Merge pull request #5627 from ipfs/feat/update-webui-2.1.0
...
update webui to 2.1.0
2018-10-23 00:57:09 +01:00
Łukasz Magiera
519c67a00c
coreapi unixfs: gw handler cleanup
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-23 01:14:51 +02:00
Łukasz Magiera
838aeb9b89
coreapi unixfs: docs for getSession, use api.dag
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-23 01:13:35 +02:00
Łukasz Magiera
a4cb06027a
coreapi unixfs: use session for resolving too
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-22 23:39:26 +02:00
Łukasz Magiera
faf5230e69
coreapi unixfs: Return seeker from get
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-22 23:38:47 +02:00
Łukasz Magiera
7915d26090
coreapi unixfs: fix Get seeking in gateway
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-22 23:37:45 +02:00
Łukasz Magiera
34b1313d82
coreapi unixfs: remove Cat, use sessions
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-22 23:37:45 +02:00
Steven Allen
c430e53a17
update webui to 2.1.0
...
This brings us on-par with js-ipfs.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-22 09:22:21 -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
f6c6327c63
Merge pull request #5612 from overbool/refactor/use-int64
...
refactor(command): modify int to int64
2018-10-18 19:26:38 +01:00
Steven Allen
def2147c48
update the webui
...
Because the current one is *so* broken it's not worth waiting for an actual
release.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-18 19:05:11 +01:00
Overbool
ff6f16c939
refactor(command): modify int to int64
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-18 23:44:14 +08:00
Steven Allen
7de79280bb
Merge pull request #5404 from ipfs/feat/namestream
...
ipfs name resolve --stream
2018-10-18 15:55:16 +01:00
Steven Allen
084c7d1646
Merge pull request #5605 from overbool/feat/add-slash-in-files-ls
...
fix(files): add slash for dir
2018-10-18 15:53:17 +01:00
Łukasz Magiera
16e6343abe
Merge remote-tracking branch 'origin/master' into feat/namestream
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-18 12:26:20 +02:00
Łukasz Magiera
59e5a9c652
gx: update to use extracted go-ipfs-files
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-18 10:16:31 +02:00
Łukasz Magiera
e335fd32f2
namesys: drop prefix args
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-16 16:35:31 +02:00
Overbool
e9d6c060ef
fix(files): add slash for dir
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-10-16 22:15:04 +08:00
Łukasz Magiera
7dbeb27e5b
namesys: review fixes
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-16 16:09:55 +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
Steven Allen
bf2d7cb2bd
fix infinite loop in stats bw
...
"break" just breaks from the select, this loops infinitely (fast).
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-13 21:22:48 +01:00
Steven Allen
4f53736430
gx: update yamux and refmt
...
* yamux: fix memory leak.
* refmt: obey the "empty" tag.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-12 16:15:40 +01:00
Steven Allen
8117a2bcee
gx: update go-buffer-pool
...
Turns out that `pool.Put(buf)` had to *allocate* because we needed to turn
`[]byte` into `interface{}`. Apparently, we've never done this correctly we just
never noticed because we never really used buffer pools extensively.
However, since migrating yamux to a buffer-pool backed buffer, this started
showing up in allocation profiles.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-10 14:11:31 +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