- 05 Apr, 2020 1 commit
-
-
Hector Sanjuan authored
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 <steven@stebalien.com> Co-Authored-By: Marcin Rataj <lidel@lidel.org>
-
- 04 Apr, 2020 2 commits
-
-
Steven Allen authored
Revert last change (the default is now printed twice)
-
@RubenKelevra authored
-
- 03 Apr, 2020 2 commits
-
-
Steven Allen authored
chore: update libp2p deps
-
Steven Allen authored
Prepare for an RC. This also re-re-disables stream write coalescing till we get a chance to thoroughly profile it.
-
- 02 Apr, 2020 12 commits
-
-
Steven Allen authored
chore(deps): bump github.com/ipfs/go-ds-flatfs from 0.4.0 to 0.4.1
-
Steven Allen authored
Fix #4996: Improve help text for "ipfs files cp"
-
Hector Sanjuan authored
And align capitalization.
-
dependabot-preview[bot] authored
Bumps [github.com/ipfs/go-ds-flatfs](https://github.com/ipfs/go-ds-flatfs) from 0.4.0 to 0.4.1. - [Release notes](https://github.com/ipfs/go-ds-flatfs/releases) - [Commits](https://github.com/ipfs/go-ds-flatfs/compare/v0.4.0...v0.4.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Steven Allen authored
chore(deps): bump go.uber.org/fx from 1.10.0 to 1.11.0
-
Steven Allen authored
chore(deps): bump github.com/hashicorp/go-multierror from 1.0.0 to 1.1.0
-
Steven Allen authored
chore(deps): bump github.com/ipfs/go-ds-badger from 0.2.2 to 0.2.3
-
Steven Allen authored
changed brew to brew cask
-
dependabot-preview[bot] authored
Bumps [github.com/ipfs/go-ds-badger](https://github.com/ipfs/go-ds-badger) from 0.2.2 to 0.2.3. - [Release notes](https://github.com/ipfs/go-ds-badger/releases) - [Commits](https://github.com/ipfs/go-ds-badger/compare/v0.2.2...v0.2.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [go.uber.org/fx](https://github.com/uber-go/fx) from 1.10.0 to 1.11.0. - [Release notes](https://github.com/uber-go/fx/releases) - [Changelog](https://github.com/uber-go/fx/blob/master/CHANGELOG.md) - [Commits](https://github.com/uber-go/fx/compare/v1.10.0...v1.11.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Pretty Please Mark Darkly authored
Mounting complained that the daemon was running.
-
Pretty Please Mark Darkly authored
-
- 01 Apr, 2020 2 commits
-
-
dependabot-preview[bot] authored
Bumps [github.com/hashicorp/go-multierror](https://github.com/hashicorp/go-multierror) from 1.0.0 to 1.1.0. - [Release notes](https://github.com/hashicorp/go-multierror/releases) - [Commits](https://github.com/hashicorp/go-multierror/compare/v1.0.0...v1.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Hector Sanjuan authored
-
- 31 Mar, 2020 2 commits
-
-
Steven Allen authored
fix: remove internal relay discovery
-
Steven Allen authored
This logic collects a list of known relays by testing every new connection. It exists so we can dial /p2p-circuit/p2p/QmFoobar addresses (circuit addresses that don't specify the relay). However, this kind of address is useless outside of basic demos as a random relay is practically guaranteed to not be connected to the target peer. Picking a random relay to connect to some peer is almost _never_ the desired behavior.
-
- 30 Mar, 2020 14 commits
-
-
Steven Allen authored
docs/experimental-features.md: typo
-
Steven Allen authored
-
@RubenKelevra authored
Co-Authored-By: Will <willscott@gmail.com>
-
@RubenKelevra authored
-
Steven Allen authored
fix: get rid of shutdown errors
-
Steven Allen authored
Instead of feeding through the top-level context, feed through a cancel-free context (that still carries the same context values). Then, when the top-level context is canceled, call `stop` to shut everything down in-order. Finally, cancel the inner context to make sure everything has been cleaned up. Ideally, we just wouldn't use contexts for this. But this is strictly better than what we have.
-
Steven Allen authored
Merge pull request #7057 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-peerstore-0.2.2 chore(deps): bump github.com/libp2p/go-libp2p-peerstore from 0.2.1 to 0.2.2
-
Steven Allen authored
chore(deps): bump github.com/ipfs/go-ipfs-files from 0.0.7 to 0.0.8
-
dependabot-preview[bot] authored
Bumps [github.com/libp2p/go-libp2p-peerstore](https://github.com/libp2p/go-libp2p-peerstore) from 0.2.1 to 0.2.2. - [Release notes](https://github.com/libp2p/go-libp2p-peerstore/releases) - [Commits](https://github.com/libp2p/go-libp2p-peerstore/compare/v0.2.1...v0.2.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [github.com/ipfs/go-ipfs-files](https://github.com/ipfs/go-ipfs-files) from 0.0.7 to 0.0.8. - [Release notes](https://github.com/ipfs/go-ipfs-files/releases) - [Commits](https://github.com/ipfs/go-ipfs-files/compare/v0.0.7...v0.0.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Steven Allen authored
feat: tls by default
-
Steven Allen authored
Switches to TLS as the default security transports.
-
Steven Allen authored
fix: downgrade to go 1.13
-
Steven Allen authored
Go 1.14 has a timer reset deadlock (https://github.com/golang/go/issues/38070). This also downgrades quic-go until either a go patch release fixes this issue or a version of quic-go is released that works with go 1.13.
-
- 28 Mar, 2020 4 commits
-
-
Steven Allen authored
chore(deps): bump github.com/ipfs/go-ds-badger from 0.2.1 to 0.2.2
-
Steven Allen authored
chore(deps): bump github.com/libp2p/go-libp2p from 0.7.1 to 0.7.2
-
dependabot-preview[bot] authored
Bumps [github.com/ipfs/go-ds-badger](https://github.com/ipfs/go-ds-badger) from 0.2.1 to 0.2.2. - [Release notes](https://github.com/ipfs/go-ds-badger/releases) - [Commits](https://github.com/ipfs/go-ds-badger/compare/v0.2.1...v0.2.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.7.1 to 0.7.2. - [Release notes](https://github.com/libp2p/go-libp2p/releases) - [Changelog](https://github.com/libp2p/go-libp2p/blob/master/NEWS.md) - [Commits](https://github.com/libp2p/go-libp2p/compare/v0.7.1...v0.7.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 27 Mar, 2020 1 commit
-
-
Steven Allen authored
chore: update golang
-