1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 09:59:13 +08:00

7451 Commits

Author SHA1 Message Date
1a1935f975 Merge pull request #3964 from MichaelMure/filestore_root
Filestore: more verbose error when adding a file from outside of the root
2017-06-08 20:46:23 -07:00
73010ff593 Filestore: more verbose error when adding a file from outside of the root
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-06-08 16:20:14 +09:00
4fe5b3eab7 gateway: don't redirect to trailing slash if it's go get
This enables `go get` to parse go-import meta tags from index.html
files stored in IPFS. One tiny step toward whyrusleeping/gx-go#2.

For an import like `ipfs.io/ipfs/QmFoo/mypkg`, the gateway would
previously redirect to `/ipfs/QmFoo/mypkg/` (note the trailing slash),
which the `go get` tool can't deal with.

Thankfully, `go get` sets a URL query parameter (`?go-get=1`) which
we can use to switch off the redirect in this case.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-06-08 03:23:48 +02:00
d674dd7e1f repub: iterate through all keys in keystore
Iterate through all keys in the keystore so keys added with
"ipfs key gen" behave the same as the <self> key.  Don't maintain a
separate repub list as it does not really serve a purpose at this
point in time.  See #3808.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-06-07 14:35:44 -04:00
043aa5f308 PTP API: Address review comments
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-07 19:51:44 +02:00
eef022cd5e Merge pull request #3949 from zramsay/fix/codebase-consistency
apply the megacheck code vetting tool for idiomatic go
2017-06-06 19:54:15 -07:00
90287f3b3c Added info on compiling on FreeBSD. (#3959)
License: MIT
Signed-off-by: Laurence Stevens <laurencebelastevens@gmail.com>
2017-06-06 19:52:40 -07:00
104268f1b6 PTP API: Make code more object oriented, use less node
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-04 03:08:39 +02:00
ad9ae350bf PTP API: Rename Corenet to PTP
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-03 21:46:16 +02:00
6c064d1fc3 bugfix: copy the correct variable
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-06-02 23:59:54 -04:00
eac71847bd Corenet API: Move more logic away from commands
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-02 21:44:38 +02:00
edbb42b712 docker: expose port 8081 for /ws listener
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-06-02 03:42:36 +02:00
e66e8bbe96 Corenet API: Review fixes
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-01 20:11:46 +02:00
b77d5aa13d hamt: reinstate a useful debug function
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-06-01 14:04:30 -04:00
ae4cad3ff3 make: use correct location for [test_go_megacheck]
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-06-01 14:04:30 -04:00
0b584587cc codeclimate: use only 4/5 defaults
because context.TODO() is a legit function

License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-06-01 14:04:23 -04:00
096b3232d5 address PR comments; remove commented/dead code
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-06-01 12:13:04 -04:00
c5df8f0796 apply the megacheck tool to improve code quality
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-05-31 16:56:11 -04:00
f9ba45d2eb introduce 'make megacheck'
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-05-31 16:40:55 -04:00
e0bd4a1188 Corenet API: Fix codeclimate issues
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 15:18:39 +02:00
a3889a7164 Corenet API: Update deps
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 12:35:31 +02:00
71bda3d988 Corenet API: Drop 'exp' namespace
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
8948519590 Corenet API: Store state in node
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
fc08d5331b Corenet API: Apply suggestions, cleanups
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
69d3e08776 Corenet API: Some more tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
9414e73c34 Corenet API: Split list subcmd into ls/streams
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
ad1dc5f405 Corenet API: Use simple util instead of socat for tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
a55255fbca Corenet API: Fixed tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
2f17a67c5a Experimental corenet application support.
License: MIT
Signed-off-by: Tom Swindell <t.swindell@rubyx.co.uk>
2017-05-31 11:33:17 +02:00
20dae521ef Merge pull request #3945 from ipfs/gx/update-e9zqg7
gx: update go-libp2p-peerstore, go-libp2p, go-libp2p-kbucket
2017-05-29 18:42:43 -07:00
64ced367ac gx: update go-libp2p-peerstore, go-libp2p, go-libp2p-kbucket
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-05-30 02:26:05 +02:00
c7462acc9b Merge pull request #3843 from ipfs/kevina/pin-verify
"pin verify".
2017-05-25 14:12:16 -07:00
b4a008720d "pin verify": fix API
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-25 13:52:04 -04:00
7a4031ddb7 "pin verify": add --verbose and --quiet options
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-25 13:40:06 -04:00
6e898ea678 "pin verify": don't use a pointer to a slice.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-25 13:40:06 -04:00
325e1c0839 "pin verify": basic implementation
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-25 13:40:06 -04:00
4cf046c4fb Merge pull request #3928 from ipfs/feat/provide-ann-opt
update to dht code with provide announce option
2017-05-25 10:11:09 -07:00
1c9a419e22 Merge pull request #3882 from keremgocen/fix-cmd-key-peerid
WIP: add PeerID lookup
2017-05-25 10:10:47 -07:00
c1f658cb42 Merge pull request #3939 from WilliButz/master
README.md: add Nix to the linux package managers
2017-05-25 10:04:43 -07:00
2f761081ec README.md: add Nix to the linux package managers
License: MIT
Signed-off-by: Willi Butz <wbutz@cyberfnord.de>
2017-05-25 12:50:58 +02:00
9a9df1f176 Merge pull request #3941 from jdanford/typo-neccessary
Change 'neccessary' to 'necessary'
2017-05-24 17:48:43 -07:00
a6bb83b8ad Merge pull request #3940 from ipfs/fix/http-proc-panic
make odds of 'process added after close' panic less likely
2017-05-24 17:45:41 -07:00
c9e20dd907 Change 'neccessary' to 'necessary'
License: MIT
Signed-off-by: Jordan Danford <jordandanford@gmail.com>
2017-05-24 09:40:53 -07:00
53f1a9a50a make odds of 'process added after close' panic less likely
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-05-24 09:12:27 -07:00
e61e4d24f8 Merge pull request #3938 from ipfs/kevina/filestore-verify-sort
filestore: add "--file-order" option to "filestore ls" and "verify"
2017-05-24 08:53:49 -07:00
332a7967f9 filestore: add "--file-order" option to "filestore ls" and "verify"
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-23 17:40:20 -04:00
0418930ca8 update to dht code with provide announce option
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-05-23 13:59:36 -07:00
27ebaabdc1 Merge pull request #3936 from mishmosh/patch-1
Add Comms items from js-ipfs, including blog
2017-05-22 15:56:45 -07:00
f7d9aba433 Remove duplicate release checklist
Removing this one, and keeping https://github.com/ipfs/go-ipfs/blob/master/docs/releases.md (per @larsgeirth in https://github.com/ipfs/blog/issues/97)

Please review/modify thoroughly, I am not familiar enough with go-ipfs release process to comment on contents.
2017-05-22 13:18:15 -04:00
f07e2f33a8 Add Comms items from js-ipfs, including blog 2017-05-22 13:13:31 -04:00