1. 24 Jun, 2016 5 commits
  2. 23 Jun, 2016 6 commits
  3. 22 Jun, 2016 7 commits
  4. 21 Jun, 2016 9 commits
  5. 20 Jun, 2016 7 commits
  6. 19 Jun, 2016 2 commits
  7. 18 Jun, 2016 3 commits
    • Lars Gierth's avatar
      gateway: clean up its surface, and remove BlockList · 1afebc21
      Lars Gierth authored
      This patch is in preparation for the gateway's extraction.
      
      It's interesting to trace technical debt back to its
      origin, understanding the circumstances in which it
      was introduced and built up, and then cutting it back
      at exactly the right places.
      
      - Clean up the gateway's surface
        The option builder GatewayOption() now takes only
        arguments which are relevant for HTTP handler muxing,
        i.e. the paths where the gateway should be mounted.
        All other configuration happens through the
        GatewayConfig object.
      
      - Remove BlockList
        I know why this was introduced in the first place,
        but it never ended up fulfilling that purpose.
        Somehow it was only ever used by the API server,
        not the gateway, which really doesn't make sense.
        It was also never wired up with CLI nor fs-repo.
        Eventually @krl started punching holes into it
        to make the Web UI accessible.
      
      - Remove --unrestricted-api
        This was holes being punched into BlockList too,
        for accessing /ipfs and /ipn on the API server.
        With BlockList removed and /ipfs and /ipns freely
        accessible, putting this option out of action
        is safe. With the next major release,
        the option can be removed for good.
      
      License: MIT
      Signed-off-by: default avatarLars Gierth <larsg@systemli.org>
      1afebc21
    • Jakub Sztandera's avatar
      Add test for online field in diag sys · c10ed855
      Jakub Sztandera authored
      License: MIT
      Signed-off-by: default avatarJakub Sztandera <kubuxu@protonmail.ch>
      c10ed855
    • Jakub Sztandera's avatar
      Add net.online to diag sys command · e67a21ed
      Jakub Sztandera authored
      Currently there was no sure way to check if node is in online
      or offline mode.
      
      License: MIT
      Signed-off-by: default avatarJakub Sztandera <kubuxu@protonmail.ch>
      e67a21ed
  8. 17 Jun, 2016 1 commit