Commit Graph

9737 Commits

Author SHA1 Message Date
Łukasz Magiera
0618fd77be gx: update go-ipfs-files to 2.0
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
Steven Allen
3f6925dfce
Merge pull request #5857 from ipfs/gx/update-bugfixes
gx: update pubsub, connmgr, and flatfs
2018-12-18 23:04:49 -08:00
Steven Allen
0c14f866f1 gx: update pubsub, connmgr, and flatfs
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-18 21:44:28 -08:00
Steven Allen
3f50279465 Merge branch 'feat/autorelay'
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-18 12:11:31 -08:00
vyzo
526d6198a6 document autorelay
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-12-18 11:30:59 -08:00
vyzo
67a6b1454f remove host parameter from StartOnlineServicesWithHost
PeerHost is now initialized before calling it.

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-12-18 11:30:59 -08:00
vyzo
30e4cc9d91 explicitly enable autorelay
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-12-18 11:30:59 -08:00
vyzo
38da46e4a4 gx update go-libp2p-autonat-svc
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-12-18 11:30:59 -08:00
vyzo
2969c8877d add support for QUIC in autonat service
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-12-18 11:30:59 -08:00
vyzo
19ab1248eb instantiate autonat service
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-12-18 11:30:59 -08:00
vyzo
b514820f21 gate autorelay with config option
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-12-18 11:30:59 -08:00
vyzo
b14907b794 use libp2p.Routing in constructor for routing host construction and autorelay
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-12-18 11:30:59 -08:00
Steven Allen
a14f203314 Merge branch 'fix/3415'
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-18 11:28:38 -08:00
Steven Allen
55c232fc72 commands: return a helpful error when the daemon is offline
fixes #3415

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-18 11:28:29 -08:00
Steven Allen
bca91d1ee2
Merge pull request #5855 from fsdiogo/feat/update-webui-v2.3.0
feat: update Web UI to v2.3.0
2018-12-18 11:22:54 -08:00
Diogo Silva
58694cb67e feat: update Web UI to v2.3.0
License: MIT
Signed-off-by: Diogo Silva <fsdiogo@gmail.com>
2018-12-18 18:26:27 +00:00
Steven Allen
5866e6ace1
Merge pull request #4806 from PlayerWithoutName/feat/plugins/loader
Stateful plugin loading
2018-12-17 20:41:56 -08:00
Kacper Łukawski
a1e654cd38 plugin: wire in plugin loader for node creation
License: MIT
Signed-off-by: Kacper Łukawski <kacluk98@gmail.com>
2018-12-17 19:41:45 -08:00
Steven Allen
d0c27272ad
Merge pull request #5844 from ipfs/feat/always-load-key
startup: always load the private key
2018-12-13 15:48:50 -08:00
Steven Allen
58292f75ff assert private key available in online mode
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-13 12:01:45 -08:00
Steven Allen
2eafa3f3ca startup: always load the private key
Loading this at the last minute means we need a bunch of special cases
in *every* command that needs routing, namesys, or even the public key.

If we ever have a case where we don't want to do this, we can add an option to
the (eventual) IPFS constructor. Handling this up-front is going to be
significantly less error prone.

Motivation: https://github.com/ipfs/go-ipfs/pull/5825/files#diff-fe35ea64d478c4f3fb767a3f618e5d01R863

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-13 11:48:55 -08:00
Steven Allen
c72f6c97f5
Merge pull request #5801 from djdv/feat/link-traverse
add --dereference-args parameter
2018-12-12 17:07:15 -08:00
Dominic Della Valle
5a02b98702 add --dereference-args parameter
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-12-12 16:35:42 -08:00
Steven Allen
90926ca5c7 gx: update go-ipfs-cmds
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-12 16:35:42 -08:00
Steven Allen
451f7b3484
Merge pull request #5839 from ipfs/doc/connmgr
config: document the connection manager
2018-12-12 12:59:00 -08:00
Steven Allen
cb57105dfa
Merge pull request #5834 from ipfs/feat/urlstore-pin
add pinning support to the urlstore
2018-12-12 10:39:17 -08:00
Steven Allen
716f69b8f8 config: document the connection manager
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-11 18:59:30 -08:00
Steven Allen
edd37d8682 improve urlstore pinning tests
address CR

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-11 13:44:07 -08:00
Steven Allen
e18328b5fe
Merge pull request #5836 from chenminjian/refact/cmd/cat
refact(cmd/cat): remove useless code
2018-12-11 09:38:51 -08:00
Steven Allen
25a0db4f69 add pinning support to the urlstore
fixes #5833

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-10 18:30:14 -08:00
Steven Allen
2464b20efd
Merge pull request #5048 from manandbytes/docker-non-root
Really run as non-root user in docker container
2018-12-10 16:35:12 -08:00
Mykola Nikishov
5b2e305fef Really run as non-root user in docker container
As of now,

    $ docker pull ipfs/go-ipfs
    Using default tag: latest
    latest: Pulling from ipfs/go-ipfs
    Digest: sha256:31cc5713ef3e3e81bf868cbb56c19de2d15d661743d8b6077804dee26e929ac5
    Status: Image is up to date for ipfs/go-ipfs:latest

ipfs daemon will start as root user:

    $ docker run --rm --entrypoint=/bin/sh ipfs/go-ipfs -c whoami
    root

but later on will drop priviledges:

    $ docker logs ipfs/go-ipfs |head -n 1
    Changing user to ipfs

With this change applied, ipfs daemon starts as ipfs user right from
the begining:

    $ docker run --rm --entrypoint=/bin/sh ipfs/go-ipfs -c whoami
    ipfs

License: MIT
Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-12-10 16:25:14 -08:00
Steven Allen
7956adad22
Merge pull request #5832 from ipfs/docs/guix-package
README: document guix package
2018-12-10 15:11:49 -08:00
Steven Allen
e7d642e5e6 README: document guix package
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-10 12:51:19 -08:00
Steven Allen
508f307c35
Merge pull request #5827 from ipfs/gx/update-peer-id
gx: update go-libp2p-peer
2018-12-10 11:57:16 -08:00
Steven Allen
d60d7ba4b4
Merge pull request #5829 from anacrolix/master
docs: Improve config documentation
2018-12-10 11:34:16 -08:00
chenminjian
1c94a62c48 refact(cmd/cat): remove useless code
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-12-10 19:12:22 +08:00
Matt Joiner
ed260599ba docs: Improve config documentation
License: MIT
Signed-off-by: Matt Joiner <anacrolix@gmail.com>
2018-12-10 19:06:00 +11:00
Steven Allen
d3a488e2a9
Merge pull request #5751 from overbool/fix/block/rm-extra-output
block: rm extra output
2018-12-07 17:02:13 -08:00
Overbool
28d9340dbb test/block: rm mixed hash
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-12-07 15:58:03 -08:00
Overbool
740110e72a block: rm extra output
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-12-07 15:58:03 -08:00
Steven Allen
6cec0b1611 fix ed25519 test(s)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-07 15:51:28 -08:00
Steven Allen
9dcec2b3e2 gx: update go-libp2p-peer
Reverts the changes that allowed small keys (ed25519 keys) to be inlined.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-07 15:37:23 -08:00
Steven Allen
6b8e24f8fd
Merge pull request #4636 from ipfs/feat/expand-issue-template
merge github-issue-guide with the issue template
2018-12-06 15:33:26 -08:00
Steven Allen
d4ae43b42c
Merge pull request #5824 from machawk1/patch-1
docs: fix inconsistent capitalization of "API".
2018-12-06 09:27:51 -08:00
Molly
0a6c7c183e Re update issue description to be shorter and more actionable
Redoing the changes Steven and I worked on separately for the top-line instructions.

License: MIT
Signed-off-by: Molly Mackinlay <molly@protocol.ai>
2018-12-06 09:17:45 -08:00
Mat Kelly
a81683d3f9
docs: fix inconsistent capitalization of "API". 2018-12-06 12:13:41 -05:00
Steven Allen
3099f2fdab add panic issue type to issue template
This was present in the issue guide that I just removed but not in the template.
It's useful for distinguishing between objective bugs and subjective bugs.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-05 15:06:37 -08:00
Steven Allen
d0789c7927 add comment about reading github's issues guide to the issue template
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-05 15:06:37 -08:00
Steven Allen
ab33445190 merge github-issue-guide with the issue template
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-05 15:06:37 -08:00