- 07 Nov, 2016 3 commits
-
-
Lars Gierth authored
License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
-
Lars Gierth authored
License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
-
Lars Gierth authored
License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
-
- 28 Oct, 2016 1 commit
-
-
Richard Littauer authored
License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
-
- 25 Oct, 2016 2 commits
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 17 Oct, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 12 Oct, 2016 1 commit
-
-
Jeromy authored
Also change existing 'Node' type to 'ProtoNode' and use that most everywhere for now. As we move forward with the integration we will try and use the Node interface in more places that we're currently using ProtoNode. License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 10 Oct, 2016 1 commit
-
-
Jeromy authored
This change adds the /ipfs/bitswap/1.1.0 protocol. The new protocol adds a 'payload' field to the protobuf message and deprecates the existing 'blocks' field. The 'payload' field is an array of pairs of cid prefixes and block data. The cid prefixes are used to ensure the correct codecs and hash functions are used to handle the block on the receiving end. License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 06 Oct, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 26 Sep, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 20 Sep, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 07 Sep, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 10 Jul, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 18 Jun, 2016 1 commit
-
-
Lars Gierth authored
This patch is in preparation for the gateway's extraction. It's interesting to trace technical debt back to its origin, understanding the circumstances in which it was introduced and built up, and then cutting it back at exactly the right places. - Clean up the gateway's surface The option builder GatewayOption() now takes only arguments which are relevant for HTTP handler muxing, i.e. the paths where the gateway should be mounted. All other configuration happens through the GatewayConfig object. - Remove BlockList I know why this was introduced in the first place, but it never ended up fulfilling that purpose. Somehow it was only ever used by the API server, not the gateway, which really doesn't make sense. It was also never wired up with CLI nor fs-repo. Eventually @krl started punching holes into it to make the Web UI accessible. - Remove --unrestricted-api This was holes being punched into BlockList too, for accessing /ipfs and /ipn on the API server. With BlockList removed and /ipfs and /ipns freely accessible, putting this option out of action is safe. With the next major release, the option can be removed for good. License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
-
- 09 Jun, 2016 1 commit
-
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 24 May, 2016 1 commit
-
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 12 May, 2016 1 commit
-
-
kpcyrd authored
Given that /ipfs/ resources never change, we can easily benefit from this new cache control extension. Support for this is about to land in Firefox 49: https://bugzilla.mozilla.org/show_bug.cgi?id=1267474 For more details, there is a good blogpost about this here: https://bitsup.blogspot.de/2016/05/cache-control-immutable.html This header is ignored by clients that don't support it. License: MIT Signed-off-by: kpcyrd <git@rxv.cc>
-
- 04 Apr, 2016 1 commit
-
-
Lars Gierth authored
The gateway accepts an X-Ipfs-Path-Prefix header, and assumes that it is mounted in a reverse proxy like nginx, at this path. Links in directory listings, as well as trailing-slash redirects need to be rewritten with that prefix in mind. We don't want a potential attacker to be able to pass in arbitrary path prefixes, which would end up in redirects and directory listings, which is why every prefix has to be explicitly allowed in the config. Previously, we'd accept *any* X-Ipfs-Path-Prefix header. Example: We mount blog.ipfs.io (a dnslink page) at ipfs.io/blog. nginx_ipfs.conf: location /blog/ { rewrite "^/blog(/.*)$" $1 break; proxy_set_header Host blog.ipfs.io; proxy_set_header X-Ipfs-Gateway-Prefix /blog; proxy_pass http://127.0.0.1:8080; } .ipfs/config: "Gateway": { "PathPrefixes": ["/blog"], // ... }, dnslink: > dig TXT _dnslink.blog.ipfs.io dnslink=/ipfs/QmWcBjXPAEdhXDATV4ghUpkAonNBbiyFx1VmmHcQe9HEGd License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
-
- 04 Mar, 2016 1 commit
-
-
Mildred Ki'Lya authored
License: MIT Signed-off-by: Mildred Ki'Lya <mildred-pub.git@mildred.fr>
-
- 09 Feb, 2016 1 commit
-
-
Robert Carlsen authored
panic: net/http: CloseNotify called after ServeHTTP finished goroutine 180 [running]: net/http.(*response).CloseNotify(0xc8220684e0, 0x0) /home/r/go/src/net/http/server.go:1535 +0x9d github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/prometheus/client_golang/ /home/r/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/prome github.com/ipfs/go-ipfs/core/corehttp.(*gatewayHandler).getOrHeadHandler.func1(0x7 /home/r/src/github.com/ipfs/go-ipfs/core/corehttp/gateway_handler.go:119 + created by github.com/ipfs/go-ipfs/core/corehttp.(*gatewayHandler).getOrHeadHandle /home/r/src/github.com/ipfs/go-ipfs/core/corehttp/gateway_handler.go:123 + License: MIT Signed-off-by: Robert Carlsen <rwcarlsen@gmail.com>
-
- 30 Jan, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 21 Jan, 2016 1 commit
-
-
Marcin Rataj authored
OPTIONS is a noop request that is used by the browsers to check if server will accept cross-site XMLHttpRequest (indicated by the presence of CORS headers) Before this fix user could enable CORS headers in the Gateway config, but XHR failed due to the lack of support for OPTIONS request type (as described in https://git.io/vzgGe) License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
-
- 12 Jan, 2016 7 commits
-
-
Etienne Laurin authored
One advantage is that it sets the Content-Type header correctly. License: MIT Signed-off-by: Etienne Laurin <etienne@atnnn.com>
-
rht authored
License: MIT Signed-off-by: rht <rhtbot@gmail.com>
-
rht authored
License: MIT Signed-off-by: rht <rhtbot@gmail.com>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> dont GC blocks used by pinner License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> comment GC algo License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> add lock to blockstore to prevent GC from eating wanted blocks License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> improve FetchGraph License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> separate interfaces for blockstore and GCBlockstore License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> reintroduce indirect pinning, add enumerateChildren dag method License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
Tommi Virtanen authored
Pinner had method GetManual that returned a ManualPinner, so every Pinner had to implement ManualPinner anyway. License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 28 Dec, 2015 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 22 Dec, 2015 1 commit
-
-
Dominic Della Valle authored
License: MIT Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
-
- 30 Nov, 2015 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
- 16 Nov, 2015 1 commit
-
-
Lars Gierth authored
License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
-
- 31 Oct, 2015 1 commit
-
-
Henry authored
License: MIT Signed-off-by: Henry <cryptix@riseup.net>
-
- 28 Oct, 2015 1 commit
-
-
Henry authored
I disabled this a long time ago and never refactored it. About time. License: MIT Signed-off-by: Henry <cryptix@riseup.net>
-
- 29 Aug, 2015 1 commit
-
-
rht authored
Fixes https://github.com/ipfs/dir-index-html/issues/3 License: MIT Signed-off-by: rht <rhtbot@gmail.com>
-
- 23 Aug, 2015 1 commit
-
-
rht authored
Instead put it inside of DAG.Get. The fix is applied only in the case when the context.WithCancel before a DAG.Get is also used later on in the scope. License: MIT Signed-off-by: rht <rhtbot@gmail.com>
-
- 17 Aug, 2015 1 commit
-
-
Lars Gierth authored
IPNSHostnameOption() touches the URL path only on the way in, but not on the way out. This commit makes it complete by touching the following URLs in responses: - Heading, file links, back links in directory listings - Redirecting /foo to /foo/ if there's an index.html link - Omit Suborigin header License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
-
- 08 Aug, 2015 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> implement rabin fingerprinting as a chunker for ipfs License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> vendor correctly License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> refactor chunking interface a little License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> work chunking interface changes up into importer License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> move chunker type parsing into its own file in chunk License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-