Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract Gateway Code From Kubo #65

Merged
merged 981 commits into from
Jan 30, 2023
Merged

Extract Gateway Code From Kubo #65

merged 981 commits into from
Jan 30, 2023
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jan 29, 2020

  1. fix: migrate from deprecated warning function

    This commit was moved from ipfs/kubo@a53d480
    Stebalien committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    ac6b82a View commit details
    Browse the repository at this point in the history
  2. fix(tracing): remove event tracing

    We've deprecated this system and have yet to move to a new system. We might as
    well remove everything, switch to a new system, then deliberately trace the
    entire system.
    
    
    This commit was moved from ipfs/kubo@906f45e
    Stebalien committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    5a0b56d View commit details
    Browse the repository at this point in the history
  3. Merge pull request ipfs/kubo#6832 from ipfs/chore/update-deps

    chore(dep): update deps
    
    This commit was moved from ipfs/kubo@37e0a60
    Stebalien authored Jan 29, 2020
    Configuration menu
    Copy the full SHA
    7ffb0b2 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2020

  1. Merge tag 'v0.4.23' into release

    Release v0.4.23
    
    
    This commit was moved from ipfs/kubo@5b1687d
    Stebalien committed Feb 8, 2020
    Configuration menu
    Copy the full SHA
    1818da6 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2020

  1. rename ProxyOption to P2PProxyOption

    (we're implementing an _actual_ proxy)
    
    License: MIT
    Signed-off-by: Steven Allen <[email protected]>
    
    
    This commit was moved from ipfs/kubo@11c229b
    Stebalien committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    5f8bf3a View commit details
    Browse the repository at this point in the history
  2. gateway: simplify/improve dnslink rewrite handling

    Instead of adding a new fake header (that could be spoofed by the client...),
    just read the original request URI from the request object.
    
    This also removes support for suborigins. They have never been implemented in
    browsers and it looks like efforts have stalled. We can add support back if we
    need it but, well, maintaining support was going to be more trouble than it was
    worth.
    
    License: MIT
    Signed-off-by: Steven Allen <[email protected]>
    
    
    This commit was moved from ipfs/kubo@72490f7
    Stebalien committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    5429ceb View commit details
    Browse the repository at this point in the history
  3. feat(gateway): subdomain and proxy gateway

    License: MIT
    Signed-off-by: Marcin Rataj <[email protected]>
    
    
    This commit was moved from ipfs/kubo@3ecccd6
    lidel authored and Stebalien committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    df09179 View commit details
    Browse the repository at this point in the history
  4. fix(gateway): curl without redirect on localhost

    When request is sent to http://localhost:8080/ipfs/$cid response has
    HTTP 301 status code and "Location" header with redirect destination at
    $cid.ipfs.localhost:8080
    
    Redirect is followed by browsersi, but not by commandline tools.
    Status 301 is ignored by curl in default mode: it will print response
    and won't follow redirect, user needs to add -L for that.
    
    To fix curl, we return correct payload in body of HTTP 301 response,
    but set Clear-Site-Data header to ensure Origin sandbox can't be abused.
    
    This requires a surgical workaround:
    If Location header is present in ResponseWriter's Header map,
    we ensure http.ServeContent() returns HTTP 301
    
    Context: ipfs/kubo#6982
    
    License: MIT
    Signed-off-by: Marcin Rataj <[email protected]>
    
    
    This commit was moved from ipfs/kubo@f9567a0
    lidel authored and Stebalien committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    6ac0716 View commit details
    Browse the repository at this point in the history
  5. Merge pull request ipfs/kubo#6096 from ipfs/feat/gateway-subdomains

    feat: gateway subdomains + http proxy mode
    
    This commit was moved from ipfs/kubo@0114869
    Stebalien authored Mar 18, 2020
    Configuration menu
    Copy the full SHA
    a31c796 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2020

  1. HTTP API: Disallow GET requests on API

    This commit upgrades go-ipfs-cmds and configures the commands HTTP API Handler
    to only allow POST/OPTIONS, disallowing GET and others in the handling of
    command requests in the IPFS HTTP API (where before every type of request
    method was handled, with GET/POST/PUT/PATCH being equivalent).
    
    The Read-Only commands that the HTTP API attaches to the gateway endpoint will
    additional handled GET as they did before (but stop handling PUT,DELETEs).
    
    By limiting the request types we address the possibility that a website
    accessed by a browser abuses the IPFS API by issuing GET requests to it which
    have no Origin or Referrer set, and are thus bypass CORS and CSRF protections.
    
    This is a breaking change for clients that relay on GET requests against the
    HTTP endpoint (usually :5001). Applications integrating on top of the
    gateway-read-only API should still work (including cross-domain access).
    
    Co-Authored-By: Steven Allen <[email protected]>
    Co-Authored-By: Marcin Rataj <[email protected]>
    
    
    This commit was moved from ipfs/kubo@1b49047
    hsanjuan committed Apr 5, 2020
    Configuration menu
    Copy the full SHA
    7ce444a View commit details
    Browse the repository at this point in the history
  2. corehttp: Gateway handler: add Allow headers when returning MethodNot…

    …Allowed
    
    Spec says that response with 405 must set Allow headers.
    
    
    This commit was moved from ipfs/kubo@7340543
    hsanjuan committed Apr 5, 2020
    Configuration menu
    Copy the full SHA
    ecb855b View commit details
    Browse the repository at this point in the history
  3. Merge pull request ipfs/kubo#7097 from ipfs/fix/api-post

    HTTP API: Only allow POST requests (plus OPTIONS)
    
    This commit was moved from ipfs/kubo@3304c28
    Stebalien authored Apr 5, 2020
    Configuration menu
    Copy the full SHA
    eb70087 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2020

  1. feat: webui v2.7.4

    (supersedes v2.7.3)
    
    License: MIT
    Signed-off-by: Marcin Rataj <[email protected]>
    
    
    This commit was moved from ipfs/kubo@7d397ac
    lidel committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    4764185 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#7159 from ipfs/feat/webui-v2.7.4

    feat: webui v2.7.4
    
    This commit was moved from ipfs/kubo@4fdc3ad
    Stebalien authored Apr 14, 2020
    Configuration menu
    Copy the full SHA
    859c22d View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2020

  1. fix: subdomain redirect for dir CIDs

    Closes #7164
    
    License: MIT
    Signed-off-by: Marcin Rataj <[email protected]>
    
    
    This commit was moved from ipfs/kubo@8290ec1
    lidel committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    e1dd5d9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#7165 from ipfs/fix/subdomain-dir-redirect

    fix: subdomain redirect for dir CIDs
    
    This commit was moved from ipfs/kubo@6f4608b
    Stebalien authored Apr 15, 2020
    Configuration menu
    Copy the full SHA
    b11009b View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2020

  1. feat: webui 2.7.5

    This commit was moved from ipfs/kubo@135c451
    hacdias authored Apr 17, 2020
    Configuration menu
    Copy the full SHA
    0431eec View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#7176 from ipfs/webui-2.7.5

    feat: webui 2.7.5
    
    This commit was moved from ipfs/kubo@28b7c3a
    Stebalien authored Apr 17, 2020
    Configuration menu
    Copy the full SHA
    b60396a View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2020

  1. Fix typos and cleanup

    This commit was moved from ipfs/kubo@1e437c7
    rex4539 committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    df6d11f View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2020

  1. feat: always show the hash

    Previously, we only showed this /ipns paths. However, knowing the hash of the
    current directory is useful regardless.
    
    
    This commit was moved from ipfs/kubo@d8bc5c9
    Stebalien committed Apr 26, 2020
    Configuration menu
    Copy the full SHA
    18d90d8 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. feat: show the absolute path every time

    Even for dnslink websites.
    
    fixes ipfs/kubo#7205
    
    
    This commit was moved from ipfs/kubo@46ae021
    Stebalien committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    6161b22 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2020

  1. Merge branch 'master' into release

    This commit was moved from ipfs/kubo@fd6b59b
    Stebalien committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    daface2 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2020

  1. Merge pull request ipfs/kubo#7243 from ipfs/release

    Merge release into master
    
    This commit was moved from ipfs/kubo@dae6c03
    Stebalien authored Apr 29, 2020
    Configuration menu
    Copy the full SHA
    b2899d7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#7219 from ipfs/fix/listing-header

    feat(gateway): show the absolute path and CID every time
    
    This commit was moved from ipfs/kubo@ffe35df
    Stebalien authored Apr 29, 2020
    Configuration menu
    Copy the full SHA
    c30b301 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2020

  1. Fixes #7252 - Uses gabriel-vasile/mimetype to support additional cont…

    …ent types
    
    This commit was moved from ipfs/kubo@2e87ac8
    gowthamgts committed May 1, 2020
    Configuration menu
    Copy the full SHA
    d6424eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    91707d7 View commit details
    Browse the repository at this point in the history
  3. #7252 - print error message

    This commit was moved from ipfs/kubo@214d29e
    gowthamgts committed May 1, 2020
    Configuration menu
    Copy the full SHA
    d9b8483 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2020

  1. optimize import order

    This commit was moved from ipfs/kubo@e93f200
    gowthamgts committed May 2, 2020
    Configuration menu
    Copy the full SHA
    973bcef View commit details
    Browse the repository at this point in the history

Commits on May 4, 2020

  1. Merge pull request ipfs/kubo#7262 from gowthamgts/fix/http/content-type

    Fixes #7252 - Uses gabriel-vasile/mimetype to support additional content types
    
    This commit was moved from ipfs/kubo@01e27f9
    Stebalien authored May 4, 2020
    Configuration menu
    Copy the full SHA
    b3a59a1 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2020

  1. Gateway renders pretty 404 pages if available

    In the same way that an `index.html` file is rendered, if one is present, when the
    requested path is a directory, now an `ipfs-404.html` file is rendered if
    the requested file is not present within the specified IPFS object.
    
    `ipfs-404.html` files are looked for in the directory of the requested path and each
    parent until one is found, falling back on the well-known 404 error message.
    
    License: MIT
    Signed-off-by: JP Hastings-Spital <[email protected]>
    
    
    This commit was moved from ipfs/kubo@dfceafd
    jphastings authored and Stebalien committed May 19, 2020
    Configuration menu
    Copy the full SHA
    156284e View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#4233 from jphastings/feat/gateway/pretty…

    …-404
    
    Gateway renders pretty 404 pages if available
    
    This commit was moved from ipfs/kubo@1744eb2
    Stebalien authored May 19, 2020
    Configuration menu
    Copy the full SHA
    184edbb View commit details
    Browse the repository at this point in the history

Commits on May 20, 2020

  1. fix(gateway): fix status code for HEAD on redirects

    Report a consistent status code for HEAD requests that end up in a
    redirect.
    
    
    This commit was moved from ipfs/kubo@7c7888c
    Lekensteyn committed May 20, 2020
    Configuration menu
    Copy the full SHA
    85cba15 View commit details
    Browse the repository at this point in the history
  2. fix(gateway): ensure directory listings have Content-Type text/html

    Files already have an explicit Content-Type set. Be sure to do this for
    directory listings as well to avoid a fallback to autodetection in
    net/http. That fallback fails when a ResponseWriter is installed that
    performs compression.
    
    
    This commit was moved from ipfs/kubo@d4952f2
    Lekensteyn committed May 20, 2020
    Configuration menu
    Copy the full SHA
    c6fc093 View commit details
    Browse the repository at this point in the history
  3. Merge pull request ipfs/kubo#7330 from cloudflare/fix/dir-listing-con…

    …tent-type
    
    fix(gateway): ensure directory listings have Content-Type text/html
    
    This commit was moved from ipfs/kubo@2380343
    Stebalien authored May 20, 2020
    Configuration menu
    Copy the full SHA
    8a01dd5 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2020

  1. fix: support directory listings even if a 404 page is present

    fixes ipfs/kubo#4233 (comment)
    
    Basically, there's a trade-off here:
    
    1. We can support directory listings while supporting 404 pages (this PR).
    2. If a 404 page is present, directory listings don't work.
    
    Given that option 1 is more flexible and users shouldn't be _too_ confused if
    they land on a directory with no index.html page, I've gone with that option.
    
    
    This commit was moved from ipfs/kubo@6a2fe0a
    Stebalien committed May 21, 2020
    Configuration menu
    Copy the full SHA
    12f186a View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#7339 from ipfs/fix/dir-listing-404

    fix: support directory listings even if a 404 page is present
    
    This commit was moved from ipfs/kubo@edcd118
    Stebalien authored May 21, 2020
    Configuration menu
    Copy the full SHA
    a16c116 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2020

  1. Include the git blob id of the dir-index bundle in the ETag

    While the content of raw files retrieved via the gateway should never
    change, the look and feel of the directory index can and will change
    between versions of go-ipfs.
    
    Incorporate the hash of assets/bindata.go into the ETag when appropriate
    
    
    This commit was moved from ipfs/kubo@2d5f8b4
    ribasushi committed May 25, 2020
    Configuration menu
    Copy the full SHA
    de69041 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2020

  1. chore: update WebUI to 2.8.0

    This commit was moved from ipfs/kubo@58aac04
    sinkuu committed May 28, 2020
    Configuration menu
    Copy the full SHA
    20eab31 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#7380 from sinkuu/chore/webui

    chore: update WebUI to 2.8.0
    
    This commit was moved from ipfs/kubo@285d743
    Stebalien authored May 28, 2020
    Configuration menu
    Copy the full SHA
    37169d1 View commit details
    Browse the repository at this point in the history
  3. feat: webui v2.9.0

    This commit was moved from ipfs/kubo@0f76ed7
    lidel authored May 28, 2020
    Configuration menu
    Copy the full SHA
    7875812 View commit details
    Browse the repository at this point in the history
  4. Merge pull request ipfs/kubo#7387 from ipfs/feat/webui-v2.9.0

    feat: webui v2.9.0
    
    This commit was moved from ipfs/kubo@a30279e
    Stebalien authored May 28, 2020
    Configuration menu
    Copy the full SHA
    23e7e5b View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2020

  1. chore: update WebUI to 2.8.0

    (cherry picked from commit 20eab31)
    
    
    This commit was moved from ipfs/kubo@bd9382f
    sinkuu authored and Stebalien committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    4e3488c View commit details
    Browse the repository at this point in the history
  2. feat: webui v2.9.0

    (cherry picked from commit 7875812)
    
    
    This commit was moved from ipfs/kubo@5be7e0f
    lidel authored and Stebalien committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    2af18ac View commit details
    Browse the repository at this point in the history
  3. Merge pull request ipfs/kubo#7405 from ipfs/backports

    backport fixes
    
    This commit was moved from ipfs/kubo@3a8e076
    Stebalien authored Jun 3, 2020
    Configuration menu
    Copy the full SHA
    43e80e3 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2020

  1. fix: use the correct context when resolving dnsaddr links

    This commit was moved from ipfs/kubo@84341d0
    Stebalien committed Jun 18, 2020
    Configuration menu
    Copy the full SHA
    67db99d View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2020

  1. Merge pull request ipfs/kubo#7491 from ipfs/fix/ipns-resolve-leak

    fix 3 bugs responsible for a goroutine leak (plus one other bug)
    
    This commit was moved from ipfs/kubo@538174f
    Stebalien authored Jun 19, 2020
    Configuration menu
    Copy the full SHA
    ff0c91e View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#7366 from ipfs/release-v0.6.0

    Release v0.6.0
    
    This commit was moved from ipfs/kubo@d6e036a
    aschmahmann authored Jun 19, 2020
    Configuration menu
    Copy the full SHA
    c5ee923 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2020

  1. Merge branch 'release' into master

    This commit was moved from ipfs/kubo@19d6230
    aschmahmann committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    78ced57 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2020

  1. chore: bump webui version

    This commit was moved from ipfs/kubo@cc4a136
    rafaelramalho19 committed Jun 22, 2020
    Configuration menu
    Copy the full SHA
    b2c1ae6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#7501 from rafaelramalho19/chore/bump-web…

    …ui-version
    
    chore: bump webui version
    
    This commit was moved from ipfs/kubo@7ce1d75
    Stebalien authored Jun 22, 2020
    Configuration menu
    Copy the full SHA
    a8f3b1f View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2020

  1. chore:bump webui version to 2.10.1

    This commit was moved from ipfs/kubo@4c38ea7
    rafaelramalho19 committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    b6d36d9 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2020

  1. Merge pull request ipfs/kubo#7504 from rafaelramalho19/chore/bump-web…

    …ui-version
    
    chore:bump webui version to 2.10.1
    
    This commit was moved from ipfs/kubo@e03b5ab
    Stebalien authored Jul 1, 2020
    Configuration menu
    Copy the full SHA
    badbd0c View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2020

  1. feat: support X-Forwarded-Host when doing gateway redirect

    This commit was moved from ipfs/kubo@87dfc46
    MichaelMure authored and aschmahmann committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    84e3c22 View commit details
    Browse the repository at this point in the history
  2. feat: support ED25519 libp2p-key in subdomains

    This:
    
    - adds subdomain gateway support for ED25519 CIDs in a way that fits in
      a single DNS label to enable TLS for every IPNS website.
    
    - cleans up subdomain redirect logic and adds more explicit error
      handling.
    
    TL;DR on router logic:
    
    When CID is longer than 63 characters, router at /ipfs/* and /ipns/*
    converts to Base36, and if that does not help, returns a human readable
    400 Bad Request error.
    
    Addressing code review:
    ipfs/kubo#7441 (review)
    
    refactor: use b36 for all libp2p-keys in subdomains
    Consensus reached in
    ipfs/kubo#7441 (comment)
    ipfs/kubo#7441 (comment)
    ipfs/kubo#7441 (comment)
    
    
    This commit was moved from ipfs/kubo@231fab8
    lidel authored and aschmahmann committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    c1cfe2f View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2020

  1. use t.Cleanup() to reduce the need to clean up servers

    This commit was moved from ipfs/kubo@4dbdbe0
    trashhalo committed Jul 18, 2020
    Configuration menu
    Copy the full SHA
    3937f1f View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2020

  1. chore: bump webui version

    This commit was moved from ipfs/kubo@e3905e1
    rafaelramalho19 authored and aschmahmann committed Jul 24, 2020
    Configuration menu
    Copy the full SHA
    4030f32 View commit details
    Browse the repository at this point in the history
  2. feat: wildcard support for public gateways

    Add support for one or more wildcards in the hostname definition
    of a public gateway. This is useful for example to support easily
    multiples environment.
    
    Wildcarded hostname are set in the config as for example "*.domain.tld".
    
    
    This commit was moved from ipfs/kubo@13e6bcf
    MichaelMure committed Jul 24, 2020
    Configuration menu
    Copy the full SHA
    542242c View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2020

  1. test(gateway): IPNS cleanup and implicit defaults fix

    This ensures implicit defaults are always present, even when
    Gateway.PublicGateways is defined in the config.
    
    User still can disable them, but needs to do it per hostname.
    
    License: MIT
    Signed-off-by: Marcin Rataj <[email protected]>
    
    
    This commit was moved from ipfs/kubo@2ff6f1a
    lidel committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    c0b7f3f View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2020

  1. refactor: cleanup/comment

    ipfs/kubo#7319 (comment)
    
    License: MIT
    Signed-off-by: Marcin Rataj <[email protected]>
    
    
    This commit was moved from ipfs/kubo@6b6569f
    lidel committed Aug 19, 2020
    Configuration menu
    Copy the full SHA
    c37f055 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2020

  1. feat: Directory page UI improvements

    These changes are needed to prepare for the Directory page UI improvements
    implemented in ipfs/dir-index-html#37.
    
    - update dir-index-html type structs
    - emit gateway URL for root links
    - emit CID of each directoryItem
    - emit size of directory
    - emit breadcrumbs
    
    
    This commit was moved from ipfs/kubo@044790a
    Kevin Neaton authored and aschmahmann committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    529c172 View commit details
    Browse the repository at this point in the history
  2. test: update gateway tests for dir-index-html v1.1.0

    This commit was moved from ipfs/kubo@2feff33
    Kevin Neaton authored and aschmahmann committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    000ac7f View commit details
    Browse the repository at this point in the history
  3. Merge pull request ipfs/kubo#7536 from neatonk/master

    [BOUNTY] Directory page UI improvements
    
    This commit was moved from ipfs/kubo@e80601b
    aschmahmann authored Aug 20, 2020
    Configuration menu
    Copy the full SHA
    3ed88d1 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2020

  1. Merge pull request ipfs/kubo#7550 from trashhalo/dry-up-close

    use t.Cleanup() to reduce the need to clean up servers in tests
    
    This commit was moved from ipfs/kubo@bd08c0a
    aschmahmann authored Aug 25, 2020
    Configuration menu
    Copy the full SHA
    3a9fca1 View commit details
    Browse the repository at this point in the history
  2. chore: update go-multiaddr and go-multiaddr-net

    This commit was moved from ipfs/kubo@b88bdfe
    aschmahmann committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    030025e View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2020

  1. Merge pull request ipfs/kubo#7610 from ipfs/chore/update-deps

    chore: update dependencies
    
    This commit was moved from ipfs/kubo@45e574b
    aschmahmann authored Aug 26, 2020
    Configuration menu
    Copy the full SHA
    61ea246 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2020

  1. feat(gateway): ?filename with download=true

    This implements 'attachment' mode triggered then
    ?filename parameter is accompanied with &download=true
    
    When Content-Disposition: attachment is detected by a modern browser
    it will skip rendering and immediately open the "save as" dialog,
    making this useful feature for using IPFS gateway as target of
    "Download" links on various websites.
    
    Parameter name was suggested in:
    ipfs/kubo#4177 (comment)
    
    
    This commit was moved from ipfs/kubo@fd01acd
    lidel committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    95182c2 View commit details
    Browse the repository at this point in the history
  2. feat(gateway): Content-Disposition for legacy clients

    This adds ASCII-only filename for clients that do not implement RFC 5987
    
    Closes #7648
    
    
    This commit was moved from ipfs/kubo@19ec5f4
    lidel committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    d92fd64 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2020

  1. chore: bump webui version

    This commit was moved from ipfs/kubo@1b4f5e7
    rafaelramalho19 authored and aschmahmann committed Sep 17, 2020
    Configuration menu
    Copy the full SHA
    17ef979 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2020

  1. chore: bump webui version

    (cherry picked from commit 17ef979)
    
    
    This commit was moved from ipfs/kubo@54e7437
    rafaelramalho19 authored and aschmahmann committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    f6b3ba2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#7692 from ipfs/release-v0.7.0

    Release v0.7.0
    
    This commit was moved from ipfs/kubo@ea77213
    aschmahmann authored Sep 22, 2020
    Configuration menu
    Copy the full SHA
    75a9aa6 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'release' into feat/merge-v0.7.0-master

    This commit was moved from ipfs/kubo@c407189
    aschmahmann committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    9614114 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2020

  1. fix(gateway): correct breadcrumbs on dnslink site

    This commit was moved from ipfs/kubo@cd1feb3
    lidel committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    d29bc1a View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2020

  1. chore: bump webui version

    This commit was moved from ipfs/kubo@43b8a31
    rafaelramalho19 committed Sep 28, 2020
    Configuration menu
    Copy the full SHA
    543a726 View commit details
    Browse the repository at this point in the history
  2. fix(gw): links in CID column on dir listing

    This switches go-ipfs to dir-index-html after
    ipfs/dir-index-html#43
    got merged to master
    
    
    This commit was moved from ipfs/kubo@c94bd76
    lidel committed Sep 28, 2020
    Configuration menu
    Copy the full SHA
    0872de9 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2020

  1. test(gw): add t0115-gateway-dir-listing.sh to sharness

    This adds proper end-to-end tests for directory listing on Gateway port
    that protects us against regressions oni each gw type:
    - path gateway
    - subdomain gateway
    - dnslink website gateway
    
    Tests cover:
    - etag/unicode support
    - breadcrumbs
    - file name column
    - hash column
    
    
    This commit was moved from ipfs/kubo@3ed46d9
    lidel committed Sep 29, 2020
    Configuration menu
    Copy the full SHA
    60703d4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#7693 from ipfs/feat/merge-v0.7.0-master

    Release v0.7.0
    
    This commit was moved from ipfs/kubo@1168639
    aschmahmann authored Sep 29, 2020
    Configuration menu
    Copy the full SHA
    8a6f4fe View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2020

  1. Merge pull request ipfs/kubo#7677 from ipfs/feat/content-disposition-…

    …attachment
    
    feat(gateway): Content-Disposition improvements
    
    This commit was moved from ipfs/kubo@9b1171d
    aschmahmann authored Oct 2, 2020
    Configuration menu
    Copy the full SHA
    20aa771 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#7703 from rafaelramalho19/chore/bump-go-…

    …ipfs
    
    chore: webui v2.11.2
    
    This commit was moved from ipfs/kubo@9c60ad8
    aschmahmann authored Oct 2, 2020
    Configuration menu
    Copy the full SHA
    1c373e1 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2020

  1. Configuration menu
    Copy the full SHA
    b6e1ee9 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2020

  1. feat: ipfs-webui v2.11.4

    This commit was moved from ipfs/kubo@f626566
    lidel authored Oct 7, 2020
    Configuration menu
    Copy the full SHA
    3fa5b9e View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2020

  1. fix(gw): preserve query on website redirect

    This commit was moved from ipfs/kubo@6ffd0aa
    lidel committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    ce0319c View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2020

  1. fix: localhost API access via ipv6

    This adds localhost ipv6 addresses to the allowlist for use in browser
    context and fixes WebUI on ipv6-only deployments: http://[::1]:5001/webui
    
    We were missing CORS/Origin tests for API port so I've added basic ones
    and included localhost/127.0.0.1/::1 variants.
    
    
    This commit was moved from ipfs/kubo@d1c20bd
    lidel committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    28276f8 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2020

  1. Merge pull request ipfs/kubo#7731 from ipfs/fix/http-api-cors-allowlist

    fix: webui on ipv6 localhost
    
    This commit was moved from ipfs/kubo@0401f60
    Stebalien authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    26d7864 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2020

  1. Merge pull request ipfs/kubo#7716 from ipfs/feat/webui-v2.11.3

    feat: ipfs-webui v2.11.4
    
    This commit was moved from ipfs/kubo@675ef92
    aschmahmann authored Nov 10, 2020
    Configuration menu
    Copy the full SHA
    529cdf2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#7727 from ipfs/fix/preserver-query-on-we…

    …bsite-redirect
    
    fix(gw): preserve query on website redirect
    
    This commit was moved from ipfs/kubo@0700c74
    aschmahmann authored Nov 10, 2020
    Configuration menu
    Copy the full SHA
    c258442 View commit details
    Browse the repository at this point in the history
  3. Merge pull request ipfs/kubo#7699 from ipfs/fix/dnslink-dir-listing

    fix(dnslink-gw): breadcrumbs and CID column when dir listing
    
    This commit was moved from ipfs/kubo@499e011
    aschmahmann authored Nov 10, 2020
    Configuration menu
    Copy the full SHA
    a721e5d View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2020

  1. p2p-proxy: better request length checking

    This commit was moved from ipfs/kubo@a329e4f
    aschmahmann committed Dec 1, 2020
    Configuration menu
    Copy the full SHA
    a91aef2 View commit details
    Browse the repository at this point in the history
  2. p2p-proxy: earlier peerID validation check

    This commit was moved from ipfs/kubo@76f3395
    aschmahmann committed Dec 1, 2020
    Configuration menu
    Copy the full SHA
    83dca91 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2020

  1. register quic opencensus metrics

    This commit was moved from ipfs/kubo@3d98212
    lanzafame authored and aschmahmann committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    d9719f1 View commit details
    Browse the repository at this point in the history
  2. change the scraping url

    This commit was moved from ipfs/kubo@024bf80
    lanzafame authored and aschmahmann committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    aca5504 View commit details
    Browse the repository at this point in the history
  3. fix: decrease log level of opencensus initialization

    This commit was moved from ipfs/kubo@fb3316a
    aschmahmann committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    1e0ccb6 View commit details
    Browse the repository at this point in the history
  4. Merge pull request ipfs/kubo#7815 from ipfs/fix/decrease-oc-init-log

    fix: decrease log level of opencensus initialization
    
    This commit was moved from ipfs/kubo@4823547
    aschmahmann authored Dec 9, 2020
    Configuration menu
    Copy the full SHA
    7c7e576 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2021

  1. feat(gw): support inlined DNSLink names with TLS

    Problem statement and rationale for doing this can be found under
    "Option C" at: ipfs/in-web-browsers#169
    
    TLDR is:
    
    `https://dweb.link/ipns/my.v-long.example.com` can be loaded from a
    subdomain gateway with a wildcard TLS cert if represented as a single
    DNS label: `https://my-v--long-example-com.ipns.dweb.link`
    
    
    This commit was moved from ipfs/kubo@09178aa
    lidel committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    9da8851 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2021

  1. test: false for isHTTPSRequest

    As suggested in
    ipfs/kubo#7847 (comment)
    
    
    This commit was moved from ipfs/kubo@88dd257
    lidel committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    f554a8b View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2021

  1. fix: check if rootID has DNSLink before uninlining

    This kinda enables to run their custom DNS resolver with custom
    tlds/names that are independent from the public DNS network.
    
    
    This commit was moved from ipfs/kubo@f932510
    lidel committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    5ff1d82 View commit details
    Browse the repository at this point in the history
  2. feat: support requests from registerProtocolHandler

    This commit adds support for requests produced by navigator.registerProtocolHandler on gateways. Now one can register `dweb.link` as an URI handler for `ipfs://`:
    
    ```
    navigator.registerProtocolHandler('ipfs', 'https://dweb.link/ipfs/?uri=%s', 'ipfs resolver')
    ```
    
    Then opening `ipfs://QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR` will produce an HTTP GET call to:
    
    ```
    https://dweb.link/ipfs?uri=ipfs%3A%2F%2FQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR
    ```
    
    The query parameter `uri` will now be parsed and the given content identifier resolved via:
    
    `https://dweb.link/ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR`
    
    
    This commit was moved from ipfs/kubo@36368ee
    dennis-tra authored and lidel committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    3820d16 View commit details
    Browse the repository at this point in the history
  3. fix: ?uri= url-decode and preserve query

    This makes ?uri= param able to process URIs passed by web browsers
    https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler
    
    
    This commit was moved from ipfs/kubo@3de5b14
    lidel committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    1def9d8 View commit details
    Browse the repository at this point in the history
  4. refactor: remove redundant urlescape

    URL.Query() will already decode the query parameters
    
    
    This commit was moved from ipfs/kubo@abb25a1
    lidel committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    ed06bc0 View commit details
    Browse the repository at this point in the history
  5. test: cover 2 remaining lines

    This commit was moved from ipfs/kubo@a0f90d3
    lidel committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    8582496 View commit details
    Browse the repository at this point in the history
  6. Merge pull request ipfs/kubo#7802 from dennis-tra/issue-7686

    feat(gw): URI router for Web API navigator.registerProtocolHandler
    
    This commit was moved from ipfs/kubo@b5079b0
    aschmahmann authored Jan 14, 2021
    Configuration menu
    Copy the full SHA
    7a56ba7 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2021

  1. fix: remove use of Clear-Site-Data

    We used Clear-Site-Data to cushion transition period for local gateway
    exposed at http://localhost while we were still figuring out
    security-related details.
    
    In the final implementation subdomain gateways are not tied to a
    hostname explicitly, which removes the risk of cookies leaking,
    removing the need for the header.
    
    Turns out it causes issues for Firefox users, so let's just remove it.
    
    Closes ipfs/ipfs-companion#977
    
    
    This commit was moved from ipfs/kubo@d61ae2b
    lidel committed Jan 29, 2021
    Configuration menu
    Copy the full SHA
    cd00521 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2021

  1. Merge pull request ipfs/kubo#7924 from ipfs/release-v0.8.0

    Release v0.8.0
    
    This commit was moved from ipfs/kubo@ce693d7
    aschmahmann authored Feb 18, 2021
    Configuration menu
    Copy the full SHA
    e90fd62 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2021

  1. feat(gw): /ipfs/ipfs/{cid} → /ipfs/{cid}

    This will try to recover from invalid paths like  /ipfs/ipfs/{cid}
    and redirect to proper one, when possible.
    
    
    This commit was moved from ipfs/kubo@15e3732
    lidel committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    326de7a View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2021

  1. refactor: show error, delay redirect

    This implements error page that does not hide the problem,
    but still redirects to a valid path after short delay:
    ipfs/kubo#7930 (comment)
    
    
    This commit was moved from ipfs/kubo@dae7387
    lidel committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    9cb5821 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2021

  1. Extract the namesys and the keystore submodules

    Namesys is a very useful submodule. Given a ValueStore and a Datastore it can
    resolve and publish /ipns/ paths.
    
    This functionality does not need to be sequestered inside go-ipfs as it can
    and should be used without IPFS, for example, for implementing lightweight
    IPNS publishing services or for resolving /ipns/ paths.
    
    "keystore" extraction was necessary, as there is a dependency to it in
    namesys. Keystore is also a useful module by itself within the stack.
    
    Fixes #6537
    
    
    This commit was moved from ipfs/kubo@3db9551
    hsanjuan authored and aschmahmann committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    0c39f74 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2021

  1. Configuration menu
    Copy the full SHA
    86742cd View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#7986 from ipfs/fix/prom-registry

    revert registration of metrics against unexposed prom registry
    
    This commit was moved from ipfs/kubo@3c81d44
    Stebalien authored Mar 17, 2021
    Configuration menu
    Copy the full SHA
    774ccd7 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. refactor: addressing review

    - moved to separate utility function
    - return Bad Request error
    - improved escaping of values passed via URL path
    
    
    This commit was moved from ipfs/kubo@b81b754
    lidel committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    0eca026 View commit details
    Browse the repository at this point in the history
  2. refactor: explicit prefix check

    ipfs/kubo#7930 (comment)
    
    
    This commit was moved from ipfs/kubo@450baef
    lidel committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    9e5f7ba View commit details
    Browse the repository at this point in the history
  3. refactor: safer query handling

    ipfs/kubo#7930 (comment)
    
    
    This commit was moved from ipfs/kubo@a35ffee
    lidel committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    b3e5c1f View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2021

  1. Configuration menu
    Copy the full SHA
    609ddbc View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2021

  1. Merge pull request ipfs/kubo#7930 from ipfs/fix/redundant-ns-on-gateway

    feat(gw): /ipfs/ipfs/{cid} → /ipfs/{cid}
    
    This commit was moved from ipfs/kubo@d30f1e5
    Stebalien authored Mar 24, 2021
    Configuration menu
    Copy the full SHA
    dd1f10c View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2021

  1. chore: deprecate Gateway.PathPrefixes

    Context:
    ipfs/kubo#7702 (comment)
    
    
    This commit was moved from ipfs/kubo@2f105f7
    lidel committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    8736ffc View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#7994 from ipfs/chore/deprecate-pathprefixes

    chore: deprecate Gateway.PathPrefixes
    
    This commit was moved from ipfs/kubo@0a3f888
    Stebalien authored Mar 30, 2021
    Configuration menu
    Copy the full SHA
    d39e618 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2021

  1. Merge pull request ipfs/kubo#7890 from ipfs/fix/remove-clear-site-data

    fix(gw): remove use of Clear-Site-Data in subdomain router
    
    This commit was moved from ipfs/kubo@4cdb67f
    Stebalien authored Mar 31, 2021
    Configuration menu
    Copy the full SHA
    69fdff0 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. fix(gw): remove hardcoded hostnames

    This closes #7317 by removing hardcoded PL hostnames from default
    config, making the localhost the only implicit gateway hostname.
    
    
    This commit was moved from ipfs/kubo@9f8964e
    lidel committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    0d301bd View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2021

  1. chore: update webui to 2.12.1

    This commit was moved from ipfs/kubo@a006ded
    Stebalien committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    a1ebcb3 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2021

  1. Configuration menu
    Copy the full SHA
    e6f6c42 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2021

  1. update quic-go to v0.21.0-rc.1

    This commit was moved from ipfs/kubo@473d7d5
    marten-seemann authored and aschmahmann committed May 12, 2021
    Configuration menu
    Copy the full SHA
    3255dd9 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2021

  1. Merge pull request ipfs/kubo#8125 from ipfs/update-quic-go

    update quic-go to v0.21.0-rc.1
    
    This commit was moved from ipfs/kubo@c32c757
    aschmahmann authored May 13, 2021
    Configuration menu
    Copy the full SHA
    c5b259e View commit details
    Browse the repository at this point in the history
  2. feat support non-ICANN DNS

    This commit was moved from ipfs/kubo@24dd662
    cong-or authored and aschmahmann committed May 13, 2021
    Configuration menu
    Copy the full SHA
    37f4857 View commit details
    Browse the repository at this point in the history
  3. refactor: add isDomainNameAndNotPeerID

    This ensures we exclude valid PeerIDs from code paths that require
    DNSLink names.
    
    Ref.
    ipfs/kubo#8071 (review)
    
    
    This commit was moved from ipfs/kubo@28d4d9b
    lidel authored and aschmahmann committed May 13, 2021
    Configuration menu
    Copy the full SHA
    f1c5bb9 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2021

  1. fix: webui-2.12.3

    This bumps webui to bugfix release based on feedback from 0.9.0-rc1:
    https://github.com/ipfs/ipfs-webui/releases/tag/v2.12.3
    
    
    This commit was moved from ipfs/kubo@2c431eb
    lidel authored and aschmahmann committed May 24, 2021
    Configuration menu
    Copy the full SHA
    6cb184a View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. fix: webui-2.12.3

    This bumps webui to bugfix release based on feedback from 0.9.0-rc1:
    https://github.com/ipfs/ipfs-webui/releases/tag/v2.12.3
    
    (cherry picked from commit 6cb184a)
    
    
    This commit was moved from ipfs/kubo@73e3559
    lidel authored and aschmahmann committed May 27, 2021
    Configuration menu
    Copy the full SHA
    6fe1b17 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. Merge pull request ipfs/kubo#8208 from ipfs/release-v0.9.0

    Release v0.9.0
    
    This commit was moved from ipfs/kubo@179d1d1
    aschmahmann authored Jun 22, 2021
    Configuration menu
    Copy the full SHA
    b0e7891 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'release'

    This commit was moved from ipfs/kubo@222d005
    aschmahmann committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    16ad079 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2021

  1. feat: webui v2.12.4

    This commit was moved from ipfs/kubo@c7444fb
    lidel authored and aschmahmann committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    0fb688d View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2021

  1. feat: webui v2.12.4

    (cherry picked from commit 0fb688d)
    
    
    This commit was moved from ipfs/kubo@1df585b
    lidel authored and aschmahmann committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    9f8876e View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2021

  1. Merge pull request ipfs/kubo#8267 from ipfs/release-v0.9.1

    Release v0.9.1
    
    This commit was moved from ipfs/kubo@dc2715a
    aschmahmann authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    a1059b0 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. Merge branch 'release'

    # Conflicts:
    #	go.mod
    #	go.sum
    #	version.go
    
    
    This commit was moved from ipfs/kubo@748062a
    aschmahmann committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    47e71f0 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2021

  1. fix: avoid panic on short hash

    (caught higher up but should still be fixed)
    
    
    This commit was moved from ipfs/kubo@0858dc6
    Stebalien committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    ffd5714 View commit details
    Browse the repository at this point in the history
  2. fix: abort when we fail to resolve CIDs

    I believe we figured that these were for "informational purposes", but
    really, we _should_ always be able to resolve names to CIDs. If we
    can't, there's probably something wrong with the directory.
    
    
    This commit was moved from ipfs/kubo@66a76d2
    Stebalien committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    e52ba61 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2021

  1. feat: register first block metric by default

    This commit was moved from ipfs/kubo@0282393
    lanzafame authored and guseggert committed Aug 7, 2021
    Configuration menu
    Copy the full SHA
    f0caf2e View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2021

  1. Merge pull request ipfs/kubo#8332 from ipfs/feat/first-block-metric

    feat: register first block metric by default
    
    This commit was moved from ipfs/kubo@0e73e23
    guseggert authored Aug 9, 2021
    Configuration menu
    Copy the full SHA
    628b0a4 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2021

  1. Merge pull request ipfs/kubo#8318 from ipfs/fix/path-panic

    fix: avoid out of bounds error when rendering short hashes
    
    This commit was moved from ipfs/kubo@7c76118
    Stebalien authored Aug 13, 2021
    Configuration menu
    Copy the full SHA
    978ac9b View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2021

  1. update go-libp2p to v0.15.0-rc.1

    This commit was moved from ipfs/kubo@c95d6ca
    marten-seemann committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    b47513a View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#8354 from ipfs/udpate-libp2p

    update go-libp2p to v0.15.0-rc.1
    
    This commit was moved from ipfs/kubo@956c248
    aschmahmann authored Aug 19, 2021
    Configuration menu
    Copy the full SHA
    282bece View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2021

  1. feat(cli): add daemon option --agent-version-suffix (#8419)

    * feat(cli): add daemon option --agent-version-suffix
    * fix sharness test when commit is empty (release)
    
    This commit was moved from ipfs/kubo@3a84352
    schomatis authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    c613879 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99e0fae View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2021

  1. feat(cli): add daemon option --agent-version-suffix (#8419)

    * feat(cli): add daemon option --agent-version-suffix
    * fix sharness test when commit is empty (release)
    
    (cherry picked from commit c613879)
    
    
    This commit was moved from ipfs/kubo@94bd298
    schomatis authored and aschmahmann committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    b894270 View commit details
    Browse the repository at this point in the history
  2. feat: ipfs-webui v2.13.0 (#8430)

    Release Notes: https://github.com/ipfs/ipfs-webui/releases/tag/v2.13.0
    
    (cherry picked from commit 99e0fae)
    
    
    This commit was moved from ipfs/kubo@f7fd3e5
    lidel authored and aschmahmann committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    722feb9 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2021

  1. Merge pull request ipfs/kubo#8474 from ipfs/release-v0.10.0

    Release v0.10.0
    
    This commit was moved from ipfs/kubo@64b532f
    aschmahmann authored Sep 30, 2021
    Configuration menu
    Copy the full SHA
    f05b646 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'release'

    This commit was moved from ipfs/kubo@178a916
    aschmahmann committed Sep 30, 2021
    Configuration menu
    Copy the full SHA
    8e0b08d View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2021

  1. add more logging to flaky TestPeersTotal

    Cannot reproduce the flakiness at the moment. The report suggests that connections are established on different transports. Adding logging to show what these transports are.
    
    This commit was moved from ipfs/kubo@f50d43e
    petar authored Oct 4, 2021
    Configuration menu
    Copy the full SHA
    aa3a074 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2021

  1. Configuration menu
    Copy the full SHA
    0191d6a View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2021

  1. Fix typos (#8548)

    This commit was moved from ipfs/kubo@0c2f9d5
    rex4539 authored Nov 17, 2021
    Configuration menu
    Copy the full SHA
    7f30fb7 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2021

  1. fix: multiple subdomain gateways on same domain (#8556)

    This commit was moved from ipfs/kubo@11404a9
    mathew-cf authored Nov 23, 2021
    Configuration menu
    Copy the full SHA
    6fc0de9 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. feat: go-libp2p 0.16, UnixFS autosharding and go-datastore with conte…

    …xts (#8563)
    
    * plumb through go-datastore context changes
    
    * update go-libp2p to v0.16.0
    * use LIBP2P_TCP_REUSEPORT instead of IPFS_REUSEPORT
    * use relay config
    * making deprecation notice match the go-ipfs-config key
    * docs(config): circuit relay v2
    * docs(config): fix links and headers
    * feat(config): Internal.Libp2pForceReachability
    
    This switches to config that supports setting and reading
    Internal.Libp2pForceReachability OptionalString flag
    
    * use configuration option for static relays
    
    * chore: go-ipfs-config v0.18.0
    
    https://github.com/ipfs/go-ipfs-config/releases/tag/v0.18.0
    
    * feat: circuit v1 migration prompt when Swarm.EnableRelayHop is set (#8559)
    * exit when Swarm.EnableRelayHop is set
    * docs: Experimental.ShardingEnabled migration
    
    This ensures existing users of global sharding experiment get notified
    that the flag no longer works + that autosharding happens automatically.
    
    For people who NEED to keep the old behavior (eg. have no time to
    migrate today) there is a note about restoring it with
    `UnixFSShardingSizeThreshold`.
    
    * chore: add dag-jose code to the cid command output
    
    * add support for setting automatic unixfs sharding threshold from the config
    * test: have tests use low cutoff for sharding to mimic old behavior
    * test: change error message to match the current error
    * test: Add automatic sharding/unsharding tests (#8547)
    * test: refactored naming in the sharding sharness tests to make more sense
    
    * ci: set interop test executor to convenience image for Go1.16 + Node
    * ci: use interop master
    
    Co-authored-by: Marcin Rataj <[email protected]>
    Co-authored-by: Marten Seemann <[email protected]>
    Co-authored-by: Marcin Rataj <[email protected]>
    Co-authored-by: Gus Eggert <[email protected]>
    Co-authored-by: Lucas Molas <[email protected]>
    
    This commit was moved from ipfs/kubo@52c177c
    aschmahmann authored Nov 29, 2021
    Configuration menu
    Copy the full SHA
    718dd1c View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2021

  1. fix(corehttp): adjust peer counting metrics (#8577)

    This commit was moved from ipfs/kubo@9d197ca
    schomatis authored Dec 3, 2021
    Configuration menu
    Copy the full SHA
    4e07839 View commit details
    Browse the repository at this point in the history
  2. fix(corehttp): adjust peer counting metrics (#8577)

    (cherry picked from commit 9d197ca732b5b1f80a907d35f36d6d0c0b6828cf)
    
    
    This commit was moved from ipfs/kubo@042efd3
    schomatis authored and guseggert committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    7358d05 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2021

  1. Merge pull request ipfs/kubo#8597 from ipfs/release-v0.11.0

    Release v0.11.0
    
    This commit was moved from ipfs/kubo@67220ed
    aschmahmann authored Dec 8, 2021
    Configuration menu
    Copy the full SHA
    c12ff17 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2021

  1. Merge branch 'master' into release

    This commit was moved from ipfs/kubo@4a44edc
    guseggert committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    48c2bc0 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'release'

    This commit was moved from ipfs/kubo@6fb73c4
    guseggert committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    c228a68 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. chore(gateway): debug logging for the http requests (#8518)

    * chore(gateway): better logging for the http requests
    
    * chore(gateway): removed defer and add more data to the final log
    
    * chore(gateway): debug logging refactor
    
    * chore(gateway): use debug w/o context when only msg
    
    * doc: add cmd for log level
    
    * chore: add more logs and address fedback
    
    * chore(gateway): log subdomains and from=requestURI, refactor
    
    * chore(gateway): fix debug redirect
    
    This commit was moved from ipfs/kubo@edb32ac
    Manuel Alonso authored Feb 15, 2022
    Configuration menu
    Copy the full SHA
    d967309 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2022

  1. Merge pull request ipfs/kubo#8743 from ipfs/release-v0.12.0

    Release v0.12.0
    
    This commit was moved from ipfs/kubo@06191df
    aschmahmann authored Feb 18, 2022
    Configuration menu
    Copy the full SHA
    2f94345 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'release'

    This commit was moved from ipfs/kubo@b565374
    aschmahmann committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    156b7c8 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2022

  1. feat: X-Ipfs-Roots for smarter HTTP caches (#8720)

    This commit was moved from ipfs/kubo@caba3b2
    lidel authored Mar 1, 2022
    Configuration menu
    Copy the full SHA
    085c3fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de094cb View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Configuration menu
    Copy the full SHA
    10692b9 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Merge pull request ipfs/kubo#8756 from laurentsenta/feat/add-back-ipf…

    …s-config
    
    Move go-ipfs-config back into go-ipfs,
    close ipfs/go-ipfs-config#151
    
    This commit was moved from ipfs/kubo@83b3ec4
    lidel authored Mar 9, 2022
    Configuration menu
    Copy the full SHA
    ee714da View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2022

  1. feat: add endpoint for enabling block profiling (#8469)

    This commit was moved from ipfs/kubo@0487f03
    guseggert authored Mar 11, 2022
    Configuration menu
    Copy the full SHA
    20807cd View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. fix: allow ipfs-companion browser extension to access RPC API (#8690)

    * fix: add companion ids to allow origins
    
    - fixes #8689
    - Adds the chrome-extension ids for ipfs-companion and
    ipfs-companion-beta to the allowed origins list, this
    allows us to accesss ipfs api from a manifest v3 extension.
    - added tests in t0401-api-browser-security.sh
    
    * fix: companion when custom CORS *-Origin is set
    
    Companion extension should be able to access RPC API even when custom
    Access-Control-Allow-Origin is set
    
    Co-authored-by: Marcin Rataj <[email protected]>
    
    This commit was moved from ipfs/kubo@6774ef9
    meandavejustice authored Mar 16, 2022
    Configuration menu
    Copy the full SHA
    8fc128f View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2022

  1. feat(gateway): Block and CAR response formats (#8758)

    * feat: serveRawBlock implements ?format=block
    * feat: serveCar implements ?format=car
    * feat(gw): ?format= or Accept HTTP header
    
    - extracted file-like content type responses to separate .go files
    - Accept HTTP header with support for application/vnd.ipld.* types
    
    * fix: use .bin for raw block content-disposition
    
    .raw may be handled by something, depending on OS, and .bin
    seems to be universally "binary file" across all systems:
    https://en.wikipedia.org/wiki/List_of_filename_extensions_(A%E2%80%93E)
    
    * refactor: gateway_handler_unixfs.go
    
    - Moved UnixFS response handling to gateway_handler_unixfs*.go files.
    - Removed support for X-Ipfs-Gateway-Prefix (Closes #7702)
    
    * refactor: prefix cleanup and readable paths
    
    - removed dead code after X-Ipfs-Gateway-Prefix is gone
      (ipfs/kubo#7702)
    - escaped special characters in content paths returned with http.Error
      making them both safer and easier to reason about (e.g. when invisible
      whitespace Unicode is used)
    
    This commit was moved from ipfs/kubo@4cabdfe
    lidel authored Mar 17, 2022
    Configuration menu
    Copy the full SHA
    3a09cab View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2022

  1. feat: add gateway histogram metrics (#8443)

    * feat(gw): response type histogram metrics
    
    - response-type agnostic firstContentBlockGetMetric which counts the
      latency til the first content block.
    
    - car/block/file/gen-dir-index duration histogram metrics that show how
      long each response type takes
    
    * docs: improve metrics descriptions
    * feat: more gw histogram buckets
    
    0.05, 0.1, 0.25, 0.5, 1, 2, 5, 10, 30, 60 secs
    as suggested in reviews at ipfs/kubo#8443
    
    Co-authored-by: Marcin Rataj <[email protected]>
    Co-authored-by: Gus Eggert <[email protected]>
    
    This commit was moved from ipfs/kubo@beaa8fc
    aschmahmann authored Mar 21, 2022
    Configuration menu
    Copy the full SHA
    7927c02 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. fix(gw): validate requested CAR version (#8835)

    * fix(gw): validate requested CAR version
    
    This adds validation of 'application/vnd.ipld.car;version=n' passed
    in the Accept header by HTTP clients to align Gateway behavior with
    the spec submitted to IANA.
    
    * test: fix comment in test/sharness/t0118-gateway-car.sh
    
    Co-authored-by: Gus Eggert <[email protected]>
    
    Co-authored-by: Gus Eggert <[email protected]>
    
    This commit was moved from ipfs/kubo@5fa5569
    lidel authored Apr 1, 2022
    Configuration menu
    Copy the full SHA
    97a5888 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2022

  1. feat: add basic gateway tracing (#8595)

    * add deprecation warning when tracer plugins are loaded
    * add response format attribute to span in gateway handler
    * add note about tracing's experimental status in godoc
    * add nil check for TTL when adding name span attrs
    * add basic sharness test for integration with otel collector
    * add nil check in UnixFSAPI.processLink
    * test: sharness check all json objs for swarm span
    * add env var docs to docs/environment-variables.md
    * chore: pin the otel collector version
    * add tracing spans per response type (#8841)
    * docs: tracing with jaeger-ui
    
    Co-authored-by: Marcin Rataj <[email protected]>
    
    This commit was moved from ipfs/kubo@f855bfe
    guseggert authored Apr 4, 2022
    Configuration menu
    Copy the full SHA
    57bfeae View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. fix(gw): update metrics only when payload data sent (#8827)

    * fix: report gateway http metrics only when response is successful
    * fix(gw): 304 Not Modified as no-op
    
    This fix ensures we don't do any additional work when Etag match
    what user already has in their own cache.
    
    Co-authored-by: Marcin Rataj <[email protected]>
    
    This commit was moved from ipfs/kubo@fbf7666
    iand authored Apr 8, 2022
    Configuration menu
    Copy the full SHA
    c2c9c1e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3be8c5a View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. fix: fix context plumbing in gateway handlers (#8871)

    This ensures that child contexts are passed around between
    the handlers so that traces show the call hierarchy correctly.
    
    This commit was moved from ipfs/kubo@9bd346e
    guseggert authored Apr 11, 2022
    Configuration menu
    Copy the full SHA
    03c0187 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

  1. Remove gobindata

    Since go1.16, there are built in tools that allow for embeding
    filesystem inside the binary. We now make use of the `embed` package to
    have all files put into the binary, removing the need to generate the
    files and removes dependencies
    
    Co-authored-by: Jorropo <[email protected]>
    
    
    This commit was moved from ipfs/kubo@9210c08
    frankywahl authored and Jorropo committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    e01550b View commit details
    Browse the repository at this point in the history
  2. Change assets.Asset from a func to the embed.FS

    This removes the delegation to the function and requires all callers
    that used the `asset.Asset` func to access to asset via the `embed.FS`
    
    
    This commit was moved from ipfs/kubo@70398d2
    frankywahl authored and Jorropo committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    2703c9a View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. chore(gw): extract logical functions to improve readability (#8885)

    * Extract functions from getOrHeadHandler to improve readability and prepare for later refactorings
    
    * Address PR feedback on when to return errors or booleans
    
    * Be explicit about use of *requestError vs error
    
    This commit was moved from ipfs/kubo@e07baf5
    Justin Johnson authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    177ce46 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. feat(gw): improved If-None-Match support (#8891)

    Improves the way we handle If-None-Match header:
    - Support for more than one Etag passed in If-None-Match
    - Match both strong and weak Etags to maximize caching across
      various HTTP clients and libraries (some send weak Etags by default)
    - Support for wildcard '*'
    - Tests for If-None-Match behavior
    
    This commit was moved from ipfs/kubo@67fdb6e
    lidel authored Apr 19, 2022
    Configuration menu
    Copy the full SHA
    88cc0da View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2022

  1. feat(gateway): Gateway.FastDirIndexThreshold (#8853)

    * fix(core/gateway): option to limit directory size listing
    
    * feat(gw): HTMLDirListingLimit
    
    This is alternative take on the way we limit the HTML listing output.
    Instead of a hard cut-off, we list up to HTMLDirListingLimit.
    When a directory has more items than HTMLDirListingLimit we show
    additional header and footer informing user that only $HTMLDirListingLimit
    items are listed. This is a better UX.
    
    * fix: 0 disables Gateway.HTMLDirListingLimit
    
    * refactor: Gateway.FastDirIndexThreshold
    
    see explainer in docs/config.md
    
    * refactor: prealoc slices
    
    * docs: Gateway.FastDirIndexThreshold
    
    * refactor: core/corehttp/gateway_handler.go
    
    ipfs/kubo#8853 (comment)
    
    * docs: apply suggestions from code review
    
    Co-authored-by: Alan Shaw <[email protected]>
    
    Co-authored-by: Marcin Rataj <[email protected]>
    Co-authored-by: Alan Shaw <[email protected]>
    
    This commit was moved from ipfs/kubo@25cc85f
    schomatis authored Apr 28, 2022
    Configuration menu
    Copy the full SHA
    e433566 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2022

  1. chore: fix linting errors (#8930)

    This commit was moved from ipfs/kubo@afd11f1
    ajnavarro authored May 4, 2022
    Configuration menu
    Copy the full SHA
    ba03bd8 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2022

  1. fix: JS caching via Access-Control-Expose-Headers (#8984)

    This fix safelists additional headers allowing JS running on websites to
    read them when IPFS resource is downloaded via Fetch API.
    
    These headers provide metadata necessary for making smart caching
    decisions when IPFS resources are downloaded via Service Worker or a
    similar middleware on the edge.
    
    This commit was moved from ipfs/kubo@650bc24
    lidel authored May 19, 2022
    Configuration menu
    Copy the full SHA
    e195b35 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. fix: JS caching via Access-Control-Expose-Headers (#8984)

    This fix safelists additional headers allowing JS running on websites to
    read them when IPFS resource is downloaded via Fetch API.
    
    These headers provide metadata necessary for making smart caching
    decisions when IPFS resources are downloaded via Service Worker or a
    similar middleware on the edge.
    
    (cherry picked from commit e195b35)
    
    
    This commit was moved from ipfs/kubo@4449909
    lidel authored and guseggert committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    0f6329e View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

  1. Merge pull request ipfs/kubo#9023 from ipfs/release-v0.13.0

    Release v0.13.0
    
    This commit was moved from ipfs/kubo@c9d51bb
    guseggert authored Jun 9, 2022
    Configuration menu
    Copy the full SHA
    444e066 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'release'

    This commit was moved from ipfs/kubo@1e1e479
    aschmahmann committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    ca21029 View commit details
    Browse the repository at this point in the history
  3. fix: honor url filename when downloading as CAR/BLOCK

    This commit was moved from ipfs/kubo@33843bf
    hacdias authored and lidel committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    c94a766 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. chore: replace ioutil with io and os (#8969)

    Co-authored-by: Håvard Anda Estensen <[email protected]>
    
    This commit was moved from ipfs/kubo@a433064
    Jorropo authored Jun 14, 2022
    Configuration menu
    Copy the full SHA
    b1186fa View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. update go-libp2p to v0.20.2

    This commit was moved from ipfs/kubo@ec61dd4
    marten-seemann committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    aedec6f View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2022

  1. Merge pull request ipfs/kubo#9038 from ipfs/update-libp2p-v020

    update go-libp2p to v0.20.3
    
    This commit was moved from ipfs/kubo@123f1f6
    aschmahmann authored Jun 30, 2022
    Configuration menu
    Copy the full SHA
    5761ed1 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2022

  1. chore: update go-car

    This commit was moved from ipfs/kubo@cbf5fda
    Jorropo committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    857f12b View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#9089 from Jorropo/chore/update-car

    chore: update go-car
    
    This commit was moved from ipfs/kubo@1efa29d
    aschmahmann authored Jul 6, 2022
    Configuration menu
    Copy the full SHA
    55c3d88 View commit details
    Browse the repository at this point in the history
  3. chore: update go-car

    (cherry picked from commit 857f12b)
    
    
    This commit was moved from ipfs/kubo@bc4f854
    Jorropo authored and aschmahmann committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    add052c View commit details
    Browse the repository at this point in the history
  4. Merge pull request ipfs/kubo#9092 from ipfs/release-v0.13.1

    Release v0.13.1
    
    This commit was moved from ipfs/kubo@8ffc7a8
    aschmahmann authored Jul 6, 2022
    Configuration menu
    Copy the full SHA
    4ae48d6 View commit details
    Browse the repository at this point in the history
  5. chore: resolve go.mod conflicts with master

    This commit was moved from ipfs/kubo@db88daf
    Jorropo committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    6704be1 View commit details
    Browse the repository at this point in the history
  6. fix: correct cache-control in car responses

    Context: ipfs/specs#295
    
    
    This commit was moved from ipfs/kubo@289e465
    lidel authored and Jorropo committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    2871589 View commit details
    Browse the repository at this point in the history
  7. refactor: rename to kubo

    This commit was moved from ipfs/kubo@82467bc
    lidel committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    727a167 View commit details
    Browse the repository at this point in the history
  8. Merge pull request ipfs/kubo#8958 from ipfs/chore/rename-to-kubo

    refactor: rename to kubo
    
    see: ipfs/kubo#8959 
    
    This commit was moved from ipfs/kubo@d82dec3
    lidel authored Jul 6, 2022
    Configuration menu
    Copy the full SHA
    1826a07 View commit details
    Browse the repository at this point in the history
  9. fix(cmds): use kubo in CheckVersionOption

    Using both names to avoid dev problems during the transition from go-ipfs 0.13 to kubo 0.14
    
    
    This commit was moved from ipfs/kubo@9dbc9df
    lidel committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    65a77e8 View commit details
    Browse the repository at this point in the history
  10. Merge pull request ipfs/kubo#9098 from ipfs/fix/post-rename-papercuts

    Follow-ups after repository rename
    Context: ipfs/kubo#8959
    
    This commit was moved from ipfs/kubo@9ce802f
    lidel authored Jul 6, 2022
    Configuration menu
    Copy the full SHA
    0e15789 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    dd6c933 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. Configuration menu
    Copy the full SHA
    77f4da3 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. fix(gw): no backlink when listing root dir

    Closes #9071
    
    
    This commit was moved from ipfs/kubo@a668774
    lidel authored and Jorropo committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    a4632a6 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2022

  1. fix(gw): cache-control of index.html websites

    This fixes a regression introduced in 0.13.0, where websites hosted via
    index.html placed in UnixFS directory were always returned with
    Cache-Control: public, max-age=29030400, immutable
    even when loaded from mutable /ipns/ contentPath.
    
    
    This commit was moved from ipfs/kubo@e832cc2
    lidel authored and Jorropo committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    8478dbc View commit details
    Browse the repository at this point in the history
  2. fix(gw): cache-control of index.html websites

    This fixes a regression introduced in 0.13.0, where websites hosted via
    index.html placed in UnixFS directory were always returned with
    Cache-Control: public, max-age=29030400, immutable
    even when loaded from mutable /ipns/ contentPath.
    
    (cherry picked from commit 8478dbc)
    
    
    This commit was moved from ipfs/kubo@84c3f10
    lidel authored and Jorropo committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    6b88d07 View commit details
    Browse the repository at this point in the history
  3. Merge pull request ipfs/kubo#9133 from ipfs/release-v0.14.0

    Release v0.14.0
    
    This commit was moved from ipfs/kubo@e0fabd6
    Jorropo authored Jul 21, 2022
    Configuration menu
    Copy the full SHA
    2c37162 View commit details
    Browse the repository at this point in the history
  4. Merge v0.14.0 back into master

    This commit was moved from ipfs/kubo@84059cc
    Jorropo authored Jul 21, 2022
    Configuration menu
    Copy the full SHA
    68b1274 View commit details
    Browse the repository at this point in the history
  5. feat: make corehttp a reusable component

    This commit was moved from ipfs/kubo@f4d8741
    iand committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    c92ba64 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7693baa View commit details
    Browse the repository at this point in the history
  7. Clarify offlineApi argument

    This commit was moved from ipfs/kubo@f8cdd96
    iand committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    974dfcb View commit details
    Browse the repository at this point in the history
  8. fix(gw): ensure dir URLs have trailing slash

    This fixes a regression around directory listing and index.html hosting.
    Seems that during one of recent refactors code changed and we no longer
    check for trailing slash in HTTP request path, but look at content path
    instead.
    
    This cleans this up and also ensures dir behavior is the same for
    both index.html hosting and dir-index-html (generated listing).
    
    It also adds more tests so we catch any future regressions.
    
    
    This commit was moved from ipfs/kubo@3182986
    lidel committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    a53a3ee View commit details
    Browse the repository at this point in the history
  9. Merge pull request ipfs/kubo#9123 from ipfs/fix/gw-trailing-slash-uni…

    …xfs-dirs
    
    fix(gw): directory URL normalization
    
    This commit was moved from ipfs/kubo@cf82ae5
    lidel authored Jul 21, 2022
    Configuration menu
    Copy the full SHA
    36819c9 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

  1. fix(gw): 404 when a valid DAG is missing link

    This commit was moved from ipfs/kubo@7992025
    lidel committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    37bc760 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. docs: replace docs.ipfs.io with docs.ipfs.tech (#9158)

    * docs: fix redirecting URL in README.md
    * all: replace `docs.ipfs.io` with `docs.ipfs.tech`
    * apply suggestions from code review
    
    Co-authored-by: Marcin Rataj <[email protected]>
    
    This commit was moved from ipfs/kubo@cb280cb
    dbadoy authored Aug 5, 2022
    Configuration menu
    Copy the full SHA
    ca97743 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2022

  1. chore: switch to dist.ipfs.tech

    Part of protocol/bifrost-infra#2018
    ensures the domain used for fetching migrations is not
    impacted by ipfs.io being blocked at DNS level by some ISPs.
    
    
    This commit was moved from ipfs/kubo@837f6ee
    lidel committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    5b7d96e View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. Move register exporter to metrics file

    This commit was moved from ipfs/kubo@27b046f
    MarcoPolo committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    bb0912a View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. Merge pull request ipfs/kubo#9070 from iand/feat-modular-gateway

    feat: make corehttp a reusable component
    
    This commit was moved from ipfs/kubo@924ab06
    lidel authored Aug 17, 2022
    Configuration menu
    Copy the full SHA
    05c6458 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. Merge pull request ipfs/kubo#9234 from ipfs/release-v0.15.0

    chore: Release v0.15.0
    
    This commit was moved from ipfs/kubo@3ae52a4
    Jorropo authored Aug 30, 2022
    Configuration menu
    Copy the full SHA
    d112b2e View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#9236 from ipfs/release-merge-master

    chore: Release v0.15.0
    
    This commit was moved from ipfs/kubo@6a219af
    Jorropo authored Aug 30, 2022
    Configuration menu
    Copy the full SHA
    64e68a5 View commit details
    Browse the repository at this point in the history
  3. chore: remove Gateway.PathPrefixes

    Closes #7702
    
    
    This commit was moved from ipfs/kubo@c9693ed
    lidel committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    b4f4ce8 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. fix(gw): send 200 for empty files

    Fixes #9238
    
    
    This commit was moved from ipfs/kubo@df22205
    Jorropo committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    a434e7c View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2022

  1. chore: bump go-libp2p v0.22.0 & go1.18&go1.19

    Fixes: #9225
    
    
    This commit was moved from ipfs/kubo@196887c
    Jorropo committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    c1b76cd View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2022

  1. Configuration menu
    Copy the full SHA
    ced2e3a View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. feat: ipfs-webui v2.18.1

    This commit was moved from ipfs/kubo@87dc8de
    SgtPooki authored and Jorropo committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    93a90fa View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. chore: bump go-libp2p v0.23.1

    This does not include any WebTransport config code in Kubo, this will be done later in an other PR.
    
    
    This commit was moved from ipfs/kubo@74aaf37
    Jorropo committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    146e8d0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ipfs/kubo#9285 from Jorropo/chore/go-libp2p-v0.23.1

    chore: bump go-libp2p v0.23.1
    
    This commit was moved from ipfs/kubo@5bcbd15
    Jorropo authored Sep 21, 2022
    Configuration menu
    Copy the full SHA
    e243beb View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2022

  1. feat(gateway): _redirects file support (#8890)

    Justin Johnson authored Sep 23, 2022
    Configuration menu
    Copy the full SHA
    59b3312 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. Merge pull request ipfs/kubo#9306 from ipfs/release-v0.16.0

    release v0.16.0
    
    This commit was moved from ipfs/kubo@38117db
    galargh authored Oct 4, 2022
    Configuration menu
    Copy the full SHA
    134f098 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2022

  1. Merge pull request ipfs/kubo#9324 from ipfs/merge-release-v0.16.0

    Merge release v0.16.0 back into master
    
    This commit was moved from ipfs/kubo@353e6a2
    galargh authored Oct 5, 2022
    Configuration menu
    Copy the full SHA
    7d12bb8 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2022

  1. ci: add stylecheck to golangci-lint (#9334)

    This commit was moved from ipfs/kubo@e550d9e
    guseggert authored Oct 6, 2022
    Configuration menu
    Copy the full SHA
    637ed0f View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. fix: add InlineDNSLink flag to PublicGateways config (#9328)

    ipfs/kubo#9243
    Co-authored-by: Marcin Rataj <[email protected]>
    
    This commit was moved from ipfs/kubo@4291d6b
    hacdias authored Oct 11, 2022
    Configuration menu
    Copy the full SHA
    84f396d View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2022

  1. feat: [email protected]

    This commit was moved from ipfs/kubo@3966609
    SgtPooki authored and lidel committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    e010084 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. feat(gateway): TAR response format (#9029)

    Implementation of IPIP-288 (ipfs/specs#288)
    
    Co-authored-by: Marcin Rataj <[email protected]>
    
    This commit was moved from ipfs/kubo@a210abd
    hacdias authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    772fab3 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. Configuration menu
    Copy the full SHA
    9abf081 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2022

  1. Merge pull request ipfs/kubo#9395 from ipfs/release-v0.17.0

    release v0.17.0
    
    This commit was moved from ipfs/kubo@4485d6b
    galargh authored Nov 22, 2022
    Configuration menu
    Copy the full SHA
    95af22a View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

  1. Merge pull request ipfs/kubo#9431 from ipfs/merge-release-v0.17.0

    Merge release v0.17.0
    
    This commit was moved from ipfs/kubo@4648cb6
    galargh authored Nov 25, 2022
    Configuration menu
    Copy the full SHA
    53e5c20 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. Configuration menu
    Copy the full SHA
    79843b4 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2022

  1. Configuration menu
    Copy the full SHA
    1be1cac View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2022

  1. feat: fast directory listings with DAG Size column (#9481)

    Co-authored-by: Marcin Rataj <[email protected]>
    
    This commit was moved from ipfs/kubo@7bdb341
    hacdias authored Dec 12, 2022
    Configuration menu
    Copy the full SHA
    0293d8c View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

  1. fix(gateway): JSON when Accept is a list

    Block/CAR responses always had single explicit type, and we did not bother
    with implementing/testing lists.
    
    With the introduction of JSON people may start passing a list.
    This is the most basic fix which will return on the first matching
    type (in order). This does not implements weights (can be added in
    future, if needed).
    
    Closes #9520
    
    
    This commit was moved from ipfs/kubo@f6825ab
    lidel committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    b5822ac View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. Configuration menu
    Copy the full SHA
    1c03980 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2023

  1. fix(gateway): undesired conversions to dag-json and friends (#9566)

    * fix(gateway): do not convert unixfs/raw into dag-* unless explicit
    * fix(gateway): keep only dag-json|dag-cbor handling
    * fix: allow requesting dag-json as application/json
    - adds bunch of additional tests including JSON file on UnixFS
    - fix: dag-json codec (0x0129) can be returned as plain json
    - fix: json codec (0x0200) cna be retrurned as plain json
    * fix: using ?format|Accept with CID w/ codec works
    * docs(changelog): cbor and json on gateway
    
    Co-authored-by: Marcin Rataj <[email protected]>
    
    This commit was moved from ipfs/kubo@c706c63
    hacdias authored Jan 21, 2023
    Configuration menu
    Copy the full SHA
    1d99d71 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2023

  1. fix(gateway): JSON when Accept is a list

    Block/CAR responses always had single explicit type, and we did not bother
    with implementing/testing lists.
    
    With the introduction of JSON people may start passing a list.
    This is the most basic fix which will return on the first matching
    type (in order). This does not implements weights (can be added in
    future, if needed).
    
    Closes #9520
    
    
    This commit was moved from ipfs/kubo@b333740
    lidel authored and galargh committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    1e4d1b0 View commit details
    Browse the repository at this point in the history
  2. chore: migrate from go-ipfs-files to go-libipfs/files (#9535)

    This commit was moved from ipfs/kubo@4ddeda5
    hacdias authored and galargh committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    b10c4d9 View commit details
    Browse the repository at this point in the history
  3. fix(gateway): undesired conversions to dag-json and friends (#9566)

    * fix(gateway): do not convert unixfs/raw into dag-* unless explicit
    * fix(gateway): keep only dag-json|dag-cbor handling
    * fix: allow requesting dag-json as application/json
    - adds bunch of additional tests including JSON file on UnixFS
    - fix: dag-json codec (0x0129) can be returned as plain json
    - fix: json codec (0x0200) cna be retrurned as plain json
    * fix: using ?format|Accept with CID w/ codec works
    * docs(changelog): cbor and json on gateway
    
    Co-authored-by: Marcin Rataj <[email protected]>
    
    This commit was moved from ipfs/kubo@14703e1
    hacdias authored and galargh committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    4b0b73c View commit details
    Browse the repository at this point in the history
  4. Merge pull request ipfs/kubo#9498 from ipfs/release-v0.18

    Release: v0.18
    
    This commit was moved from ipfs/kubo@6750377
    galargh authored Jan 23, 2023
    Configuration menu
    Copy the full SHA
    3d2bf0d View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. Merge branch 'master' into merge-kubo-v0.18

    This commit was moved from ipfs/kubo@5ca211b
    galargh authored Jan 24, 2023
    Configuration menu
    Copy the full SHA
    4d487e7 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2023

  1. Merge pull request ipfs/kubo#9581 from ipfs/merge-kubo-v0.18

    Merge Kubo: v0.18
    
    This commit was moved from ipfs/kubo@644f0ae
    galargh authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    4be0abd View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. chore: bump go-libipfs to replace go-block-format

    Includes changes from:
    - ipfs/go-block-format#37
    - #58
    
    
    This commit was moved from ipfs/kubo@f20c980
    Jorropo committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    64b4f66 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. fix(ipns): honour --ttl flag in 'ipfs name publish' (#9471)

    * fix: honour --ttl flag in 'ipfs name publish'
    * docs(cli): ipfs name inspect --help
    
    Co-authored-by: Marcin Rataj <[email protected]>
    
    This commit was moved from ipfs/kubo@94e7f79
    hacdias authored Jan 27, 2023
    Configuration menu
    Copy the full SHA
    9a451ff View commit details
    Browse the repository at this point in the history
  2. feat(gateway): IPNS record response format (IPIP-351) (#9399)

    * feat(gateway): IPNS record response format
    * docs(rpc): mark as experimental: routing provide, get, put
    
    Co-authored-by: Marcin Rataj <[email protected]>
    
    This commit was moved from ipfs/kubo@a3c70a1
    hacdias authored Jan 27, 2023
    Configuration menu
    Copy the full SHA
    41f6bbf View commit details
    Browse the repository at this point in the history
  3. refactor: prepare gateway for extraction

    This commit was moved from ipfs/kubo@5908bbc
    hacdias committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    35c75a7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8e32707 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    29da615 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Configuration menu
    Copy the full SHA
    bad0cf0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eaea27b View commit details
    Browse the repository at this point in the history
  3. docs(gateway): link to specs

    lidel authored Jan 30, 2023
    Configuration menu
    Copy the full SHA
    4436ebf View commit details
    Browse the repository at this point in the history