1. 22 6月, 2016 2 次提交
  2. 21 6月, 2016 8 次提交
  3. 20 6月, 2016 7 次提交
  4. 19 6月, 2016 2 次提交
  5. 18 6月, 2016 3 次提交
    • gateway: clean up its surface, and remove BlockList · 1afebc21
      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: 's avatarLars Gierth <larsg@systemli.org>
      Lars Gierth 提交于
    • Add test for online field in diag sys · c10ed855
      License: MIT
      Signed-off-by: 's avatarJakub Sztandera <kubuxu@protonmail.ch>
      Jakub Sztandera 提交于
    • Add net.online to diag sys command · e67a21ed
      Currently there was no sure way to check if node is in online
      or offline mode.
      
      License: MIT
      Signed-off-by: 's avatarJakub Sztandera <kubuxu@protonmail.ch>
      Jakub Sztandera 提交于
  6. 17 6月, 2016 5 次提交
  7. 16 6月, 2016 1 次提交
  8. 15 6月, 2016 11 次提交
  9. 14 6月, 2016 1 次提交
    • Fix DHT tests failing because of repeated addresses · 32cdbbdf
      Due to SO_REUSE_PORT it is possible for a localhost:0
      address to repeat. This causes failure in DHT tests
      where we spun up a lot of nodes inside test.
      
      As for a birthday paradox it is enough to use 140
      ports to get 20% chance for collision which was causing
      failure in our case.
      
      The fix is to disable REUSE_PORT routine for the
      tests and leave it running for sharness tests where
      not that many addresses are used at the same time.
      
      License: MIT
      Signed-off-by: 's avatarJakub Sztandera <kubuxu@protonmail.ch>
      Jakub Sztandera 提交于