Commit Graph

10437 Commits

Author SHA1 Message Date
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
Łukasz Magiera
d756d64071 Use Circleci 2.0
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-27 17:53:34 +02: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
ccd7f2c802
Merge pull request #5667 from ipfs/fix/simplify-dag-add
simplify dag put and correctly take pin lock
2018-10-27 05:36:21 -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
Steven Allen
831ed47d3f
Merge pull request #5669 from ipfs/docs/pubsub-message-signing
document pubsub message signing
2018-10-27 05:26:30 -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
Steven Allen
f65a5eaa14
Merge pull request #5670 from djdv/gx/go-ipfs-cmds
gx: update go-ipfs-cmds to 2.0.5
2018-10-26 17:07:11 -07:00
Steven Allen
8408444ce7 document pubsub message signing
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-26 16:53:23 -07: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
2235472df0
Merge pull request #5653 from ipfs/fix/gx-update-cmds
gx: update go-ipfs-cmds
2018-10-26 10:00:01 -07:00
Steven Allen
4c970f8c71 fix legacy command tests
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-26 09:26:56 -07: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
26013edd50
Merge pull request #5656 from ipfs/gx/update-pubsub
gx: update pubsub (again)
2018-10-26 06:14:52 -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
Steven Allen
caf819cedc
Merge pull request #5648 from overbool/fix/ipns-config-panic
fix(core): ipns config RecordLifetime panic
2018-10-25 17:34:23 -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
c8d2a4e51e
Merge pull request #5645 from ipfs/fix/remove-p2p-circuit-swarm-hack
remove p2p-circuit addr hack in ipfs swarm peers
2018-10-25 09:35:13 -07: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
Steven Allen
0bd181cddc
Merge pull request #5637 from ipfs/feat/pubsub-rename
mass gx update
2018-10-25 03:43:58 -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
Steven Allen
d3bba25f05
Merge pull request #5455 from chenminjian/feat/flags/profile-apply
feat: add dry-run flag for config profile apply command
2018-10-24 05:56:40 -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
dcecab6854
Merge pull request #5615 from funkyfuture/patch-1
Dockerfile: Specifies comments on exposed ports
2018-10-23 11:57:45 -07:00
Frank Sachsenheim
6a0e7ce30a
Merge branch 'master' into patch-1 2018-10-23 20:30:44 +02:00
Frank Sachsenheim
0b29355220 Dockerfile: Specifies comments on exposed ports
Closes #5610

License: MIT
Signed-off-by: Frank Sachsenheim <funkyfuture@noreply.github.com>
2018-10-23 20:28:32 +02:00