Steven Allen
6cb03d4dfd
fix(gateway): fix seek read length typo
2020-01-05 16:43:45 -08:00
Steven Allen
453b78962b
chore(gateway): remove dead code
2020-01-05 16:43:45 -08:00
Steven Allen
1a06fb6e2f
fix(gateway): correct symlink content type
...
We should be _resolving_ symlinks (sometimes, still need to figure out when to
do this WRT IPNS). However, that's a larger feature.
2020-01-05 16:43:44 -08:00
Steven Allen
3859f08bf7
fix(gateway): better seeking/sized
...
1. Require files to have known sizes. We can add support for unknown sizes
_later_ but we can't use ServeContent for those files.
2. Replace the `sizeReadSeeker` with a `lazySeeker`. This one makes no
assumptions about how it's used so we're less likely to run into weird bugs.
2020-01-05 16:43:44 -08:00
Steven Allen
e8a6c0c050
fix(gateway): gracefully handle files with unknown sizes in directory listings
2020-01-05 16:43:44 -08:00
Steven Allen
62451039ec
fix(gateway): serve the index with serveFile
2020-01-05 16:43:44 -08:00
flowed
07cbba7c40
Fix Typos
2019-12-25 03:12:41 +00:00
Steven Allen
3c95f65b21
Merge pull request #6785 from ipfs/feat/async-ds
...
Support Asynchronous Datastores
2019-12-19 11:45:00 +01:00
Adin Schmahmann
3a0d0e817a
support async datastores
2019-12-19 00:59:31 -05:00
Marcin Rataj
115b2ba6cd
fix: limit SW registration to content root
...
Introduces hardening proposed in:
https://github.com/ipfs/go-ipfs/issues/4025#issuecomment-342250616
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2019-12-17 02:20:40 +01:00
Steven Allen
8f3b274080
fix: move away from deprecated peer ID functions
2019-12-14 19:48:31 +01:00
Steven Allen
15c35a5a95
doc: update documentation for /ipfs -> /p2p multiaddr switch
...
See: https://github.com/libp2p/libp2p/issues/79
2019-12-14 19:39:59 +01:00
Steven Allen
1b7f3a8d51
Merge pull request #6758 from ipfs/feat/ipns-persistent-pubsub
...
IPNS over PubSub as an Independent Transport
2019-12-13 14:55:56 +01:00
Roman Proskuryakov
7fdcbce1f1
Change Reporter to BandwidthCounter in IpfsNode
2019-12-12 12:42:25 +03:00
Adin Schmahmann
36494e493a
ipns(pubsub): utilize persistent pubsub value store
2019-12-11 11:52:05 -05:00
Steven Allen
8c5c933559
chore: ignore pubsub deprecation warnings
2019-12-05 13:26:46 -05:00
Henrique Dias
5ab7a70131
feat: web ui 2.7.2
2019-12-04 08:15:58 +00: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
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
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
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
Michael Muré
097b684b42
pin: add context and error return to most of the Pinner functions
2019-11-18 18:32:48 +01:00
Hucg
bc8a329a74
Update unixfs.go
...
use sync.Once instead
2019-11-18 17:26:14 +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
hucg
6a171a0b61
fix issue 6760, adding with hash-only, high CPU usage.
2019-11-15 14:58:59 +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
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
Djalil Dreamski
aefff48654
fix #2203 : omit the charset attribute when Content-Type is text/html
...
License: MIT
Signed-off-by: Abdeldjalil Hebal <dreamski21@gmail.com>
2019-11-02 21:56:54 +01:00
Henrique Dias
29d6d7e3cd
feat: web ui 2.6.0
...
See https://github.com/ipfs-shipyard/ipfs-webui/releases/tag/v2.6.0 .
2019-10-30 17:50:29 +00:00
Steven Allen
4a102207a3
Merge pull request #6643 from ipfs/fix/provide-prometheus-namespace
...
ipfs namespace is now being provided to prometheus
2019-10-22 20:38:00 -07:00
Adrian Lanzafame
48f25d9ed7
pass opts.Namespace along like before
2019-10-23 10:46:11 +10:00
Henrique Dias
f3f3899a68
Update webui.go
2019-10-21 20:24:15 +01:00
Henrique Dias
a1854101c0
feat: web ui 2.5.8
2019-10-21 08:31:33 +01:00
Henrique Dias
bb59c24947
feat: web ui 2.5.7
...
Relevant release notes can be found on [v2.5.5](https://github.com/ipfs-shipyard/ipfs-webui/releases/tag/v2.5.5 ).
2019-10-08 08:33:58 +01:00
Jakub Sztandera
01b357a98a
Merge pull request #6701 from ipfs/feat/buzhash
...
Introduce buzhash chunker
2019-10-08 01:45:17 +02:00
Steven Allen
14a095258c
Merge pull request #6685 from aschmahmann/fix/6527
...
Pinning interop: Pin ls returns appropriate zero value
2019-10-08 08:43:08 +09:00
Jakub Sztandera
76d2ad404d
Add buzhash to ipfs add docs
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-07 19:57:43 +02:00