Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

feat: add HTTP Gateway support for /ipns/ paths #2020

Merged
merged 8 commits into from
Jul 4, 2019

Commits on Jun 27, 2019

  1. feat: support /ipns/ at HTTP Gateway

    It requires below to PRs to land first:
    
    #2002
    ipfs/js-ipfs-http-response#19
    ipfs-inactive/js-ipfs-mfs#48
    
    License: MIT
    Signed-off-by: Marcin Rataj <lidel@lidel.org>
    lidel committed Jun 27, 2019
    Configuration menu
    Copy the full SHA
    97d03fc View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2019

  1. Merge master into feat/ipns-on-gateway

    License: MIT
    Signed-off-by: Marcin Rataj <lidel@lidel.org>
    lidel committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    31233e0 View commit details
    Browse the repository at this point in the history
  2. style: apply name suggestions from review

    License: MIT
    Signed-off-by: Marcin Rataj <lidel@lidel.org>
    lidel committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    99d92b7 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2019

  1. refactor(gateway): simplify path validation

    - remove custom arg passing and replace it with native Joi validation
    - decode escaped unicode in paths before passing to ipfs resolver
    - add tests for /ipns/ path (file and directory)
    
    License: MIT
    Signed-off-by: Marcin Rataj <lidel@lidel.org>
    lidel committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    bb67cc2 View commit details
    Browse the repository at this point in the history
  2. style: unify route param names

    License: MIT
    Signed-off-by: Marcin Rataj <lidel@lidel.org>
    lidel committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    eebde0b View commit details
    Browse the repository at this point in the history
  3. test(gateway): load from URI-encoded path

    License: MIT
    Signed-off-by: Marcin Rataj <lidel@lidel.org>
    lidel committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    c21709d View commit details
    Browse the repository at this point in the history
  4. style: unify names related to content path

    License: MIT
    Signed-off-by: Marcin Rataj <lidel@lidel.org>
    lidel committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    7e3e7b2 View commit details
    Browse the repository at this point in the history
  5. style: immutablePath → ipfsPath

    License: MIT
    Signed-off-by: Marcin Rataj <lidel@lidel.org>
    lidel committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    f1da001 View commit details
    Browse the repository at this point in the history