Commit Graph

10957 Commits

Author SHA1 Message Date
Adin Schmahmann
ee42e34ee4 sharness(pubsub): turn off the DHT for pubsub tests 2019-12-05 13:26:46 -05:00
Steven Allen
794cdc2642 chore(dep): update libp2p 2019-12-05 13:26:46 -05:00
Steven Allen
22a15259e7 fix(example): cancel context 2019-12-05 13:26:46 -05:00
Steven Allen
2660bb5d37 test(interop): allow weak keys 2019-12-05 13:26:46 -05:00
Steven Allen
f7584cede8
Merge pull request #6784 from ipfs/fix/gofmt-example
go fmt: go-ipfs-as-a-library
2019-12-05 13:26:36 -05:00
Adin Schmahmann
1283f76aaa gofmt: go-ipfs-as-a-library 2019-12-05 13:18:38 -05:00
Steven Allen
e62f92eafc
Merge pull request #6778 from hacdias/patch-3
feat: web ui 2.7.2
2019-12-04 11:09:17 -05:00
Henrique Dias
5ab7a70131
feat: web ui 2.7.2 2019-12-04 08:15:58 +00:00
Steven Allen
eb11f569b0
Merge pull request #6771 from MichaelMure/extract-pinner
extract the pinner to go-ipfs-pinner and dagutils into go-merkledag
2019-12-02 15:57:26 -05:00
Michael Muré
c3692a5913 extract the pinner to go-ipfs-pinner and dagutils into go-merkledag 2019-12-02 15:45:44 -05:00
Steven Allen
c19bc362f5
Merge pull request #6743 from dreamski21/fix/gateway/content-type-header
fix #2203: omit the charset attribute when Content-Type is text/html
2019-12-02 14:13:57 -05:00
Steven Allen
7295d9af04
Merge pull request #6705 from aschmahmann/fix/6527
Pin ls traverses all indirect pins
2019-12-02 14:06:30 -05:00
Adin Schmahmann
0906d7f3b1 fix (pinning): pin ls traverses all indirect pins. pin ls pin type precedence change - a direct/recursive pin is now labeled as such even if also indirectly pinned. 2019-12-02 13:53:14 -05:00
Steven Allen
59834fd43a
Merge pull request #6773 from ipfs/rm-force-ignore-nonexistant
fix: ignore nonexistant when force rm
2019-12-02 13:33:06 -05:00
Oli Evans
7fcf40eeee
fix: use if over switch
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2019-11-25 14:51:30 +00:00
Oli Evans
25694d0238
fix: ignore nonexistant when force rm
- Make `ipfs files rm --force /nonexistant` succeed when the path does not exist.
- Add shaness test for removing nonexistant paths
- Refactor duplicated code to find a parent dir into a function

I've been writing scripts against the files api, and having to stat things before removing them is a pain. So this PR aims to make --force do what I'd expect it to.

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2019-11-25 11:38:29 +00:00
Steven Allen
14605f9d7f
Merge pull request #6719 from MichaelMure/plugin-node
introduce IpfsNode Plugin
2019-11-22 09:39:17 -06:00
Michael Muré
2a9e5005da
plugins: introduce PluginDaemonInternal to directly interact with IpfsNode 2019-11-22 13:18:44 +01:00
Steven Allen
b8ec598d58
Merge pull request #6750 from ipfs/fix/6749
improve documentation and fix dht put bug
2019-11-19 09:14:41 -06:00
Steven Allen
7c01c2cff9
Merge pull request #6769 from Jorropo/feat/repo-stat-H
Adding alias for `ipfs repo stat`.
2019-11-18 14:18:00 -06:00
Steven Allen
974aabb2a5
Merge pull request #6767 from ipfs/doc/gateway-dnslink
doc(gateway): document dnslink
2019-11-18 14:17:33 -06:00
Steven Allen
fbc284afc6
Merge pull request #6715 from MichaelMure/pinner-with-context
pin: add context and error return to most of the Pinner functions
2019-11-18 12:05:31 -06:00
Steven Allen
c529410f04 chore(dep): update go-ipfs-provider 2019-11-18 11:51:33 -06:00
Michael Muré
cd7c83a1d6
pin: fix a too aggressive refactor and connect some contexts 2019-11-18 18:32:48 +01:00
Michael Muré
097b684b42
pin: add context and error return to most of the Pinner functions 2019-11-18 18:32:48 +01:00
Steven Allen
8c358629fb
Merge pull request #6764 from hcg1314/fix/6760
fix issue 6760, adding with hash-only, high CPU usage.
2019-11-18 07:52:50 -06:00
Hucg
bc8a329a74
Update unixfs.go
use sync.Once instead
2019-11-18 17:26:14 +08:00
Hucg
fa8d4e85ea
Update daemon.go 2019-11-18 17:07:48 +08:00
Jorropo
2d7fae78cc Adding alias for ipfs repo stat.
This add -H (-h is obviously taken by the help) for human and -s for size only (I though of -so but multiple letters is automaticaly -- not -).
2019-11-18 00:54:42 +01:00
Steven Allen
e6968c9f22 doc(gateway): document dnslink 2019-11-15 16:53:25 -08:00
Steven Allen
5fbf0d35fb test(sharness): fix dht tests 2019-11-15 09:15:50 -08:00
Steven Allen
8dd09f1ad3
Merge pull request #6766 from ipfs/feat/update-quic
chore(dep): update QUIC
2019-11-15 06:18:53 -08:00
Steven Allen
dba13955e5 chore(build): switch to go 1.13 2019-11-15 05:36:09 -08:00
Steven Allen
57a7f09196 chore(dep): update QUIC
This is a large protocol breaking change. That's why QUIC is experimental.
2019-11-15 05:36:08 -08:00
Hucg
e9578d3f43
Update daemon.go
fix go-lint
2019-11-15 16:11:18 +08:00
hucg
6a171a0b61 fix issue 6760, adding with hash-only, high CPU usage. 2019-11-15 14:58:59 +08:00
Steven Allen
410e7e8787
Merge pull request #6762 from hacdias/patch-3
feat: web ui 2.7.1
2019-11-12 17:11:14 -08:00
Henrique Dias
f4a4baccee
feat: web ui 2.7.1 2019-11-12 23:37:40 +00:00
Steven Allen
ec748a7b5b
Merge pull request #6747 from ipfs/fix/only-hash-leak
fix(coreapi/add): close the fake repo used when adding with hash-only
2019-11-08 10:30:59 +00:00
Steven Allen
563ac38ac4
Merge pull request #6754 from hcg1314/fix/6748
fix bug 6748
2019-11-08 10:25:32 +00:00
hucg
6155fd17c1 fix bug 6748
ipfs add whit only hash, don't need to announce cid to other peer
2019-11-08 15:12:42 +08:00
Steven Allen
7ae6f6fa3e chore(gateway): document encoding fix 2019-11-06 11:47:27 +00:00
Steven Allen
69f6e08d9d chore(gateway): remove redundant seek 2019-11-06 11:45:41 +00:00
Steven Allen
a12d2e265e chore(gateway): fix error call 2019-11-06 11:44:56 +00:00
Steven Allen
ebf2e7da36 chore(gateway): fix import ordering 2019-11-06 11:44:32 +00:00
Djalil Dreamski
a29a9dbb98
gateway: ServeFile: use file extension to determine Content-Type
License: MIT
Signed-off-by: Abdeldjalil Hebal <dreamski21@gmail.com>
2019-11-06 01:52:49 +01:00
Steven Allen
32e891b788 fix(commands/dht): pass values as files instead of arguments
Stdin can't have newlines, command-line arguments can't include null characters,
DHT values can include both.

This is a breaking change but this API has never worked anyways.

fixes #5112
2019-11-05 17:54:13 +00:00
Steven Allen
4574a8f2c2 fix(commands/dht): document value limitations
fixes #6749
2019-11-05 17:50:19 +00:00
Djalil Dreamski
69f81a11dd
Update gateway_handler.go 2019-11-05 17:36:26 +01:00
Steven Allen
e9e32f8ac6 fix(coreapi/add): close the fake repo used when adding with hash-only
fixes #6744
2019-11-04 18:05:35 +00:00