@RubenKelevra
613cd78ee9
quick-start: fix typo
2020-04-06 03:15:45 +02:00
@RubenKelevra
5201f11a54
help: fix typo
2020-04-06 03:06:24 +02:00
@RubenKelevra
2b3cbceaad
question.md: fix typo
2020-04-06 03:02:35 +02:00
@RubenKelevra
3612f5a7eb
init-doc: fix typo
2020-04-06 01:52:28 +02:00
@RubenKelevra
afcba4f67c
doc.md: fix typo
2020-04-06 01:52:20 +02:00
@RubenKelevra
ae5bd6f649
files.go: fix typos / wording
2020-04-06 01:52:08 +02:00
Steven Allen
96797cf8d4
Merge pull request #7102 from RubenKelevra/patch-3
...
update bash completion for `ipfs add`
2020-04-05 10:32:38 -07:00
Steven Allen
3304c28b43
Merge pull request #7097 from ipfs/fix/api-post
...
HTTP API: Only allow POST requests (plus OPTIONS)
2020-04-05 10:14:43 -07:00
@RubenKelevra
51bf173f19
update bash completion for ipfs add
2020-04-05 18:47:49 +02:00
Hector Sanjuan
7340543615
corehttp: Gateway handler: add Allow headers when returning MethodNotAllowed
...
Spec says that response with 405 must set Allow headers.
2020-04-05 09:57:57 +02:00
Hector Sanjuan
1b490476e5
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 <steven@stebalien.com>
Co-Authored-By: Marcin Rataj <lidel@lidel.org>
2020-04-05 09:57:57 +02:00
Steven Allen
11747ff79d
Merge pull request #7098 from RubenKelevra/patch-2
...
Revert last change (the default is now printed twice)
2020-04-03 21:28:56 -07:00
@RubenKelevra
7b750664fb
Revert last change (the default is now printed twice)
2020-04-04 05:34:56 +02:00
Steven Allen
6c45f9ed9a
Merge pull request #7085 from ipfs/chore/update
...
chore: update libp2p deps
2020-04-03 10:42:07 -07:00
Steven Allen
8fc9ddfe1b
chore: update libp2p deps
...
Prepare for an RC. This also re-re-disables stream write coalescing till we get
a chance to thoroughly profile it.
2020-04-02 23:25:38 -07:00
Steven Allen
fc8307fe6e
Merge pull request #7075 from ipfs/dependabot/go_modules/github.com/ipfs/go-ds-flatfs-0.4.1
...
chore(deps): bump github.com/ipfs/go-ds-flatfs from 0.4.0 to 0.4.1
2020-04-02 12:09:14 -07:00
Steven Allen
14a202536e
Merge pull request #7069 from ipfs/fix/4996-files-cp-text
...
Fix #4996 : Improve help text for "ipfs files cp"
2020-04-02 12:07:24 -07:00
Hector Sanjuan
3b30e8e2b0
ipfs files cp: improve docstring with better words.
...
And align capitalization.
2020-04-02 20:46:31 +02:00
dependabot-preview[bot]
32838843e4
chore(deps): bump github.com/ipfs/go-ds-flatfs from 0.4.0 to 0.4.1
...
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>
2020-04-02 18:23:07 +00:00
Steven Allen
871bded47a
Merge pull request #7076 from ipfs/dependabot/go_modules/go.uber.org/fx-1.11.0
...
chore(deps): bump go.uber.org/fx from 1.10.0 to 1.11.0
2020-04-02 11:23:02 -07:00
Steven Allen
b90870ea6e
Merge pull request #7070 from ipfs/dependabot/go_modules/github.com/hashicorp/go-multierror-1.1.0
...
chore(deps): bump github.com/hashicorp/go-multierror from 1.0.0 to 1.1.0
2020-04-02 11:18:20 -07:00
Steven Allen
5cca91a9cf
Merge pull request #7077 from ipfs/dependabot/go_modules/github.com/ipfs/go-ds-badger-0.2.3
...
chore(deps): bump github.com/ipfs/go-ds-badger from 0.2.2 to 0.2.3
2020-04-02 11:17:32 -07:00
Steven Allen
d4240e421f
Merge pull request #7072 from pleasemarkdarkly/master
...
changed brew to brew cask
2020-04-02 11:17:15 -07:00
dependabot-preview[bot]
cb063a28a3
chore(deps): bump github.com/ipfs/go-ds-badger from 0.2.2 to 0.2.3
...
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>
2020-04-02 11:26:25 +00:00
dependabot-preview[bot]
c7ab790547
chore(deps): bump go.uber.org/fx from 1.10.0 to 1.11.0
...
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>
2020-04-02 11:25:50 +00:00
Pretty Please Mark Darkly
39510a1ad1
Added additional note about killing the daemon
...
Mounting complained that the daemon was running.
2020-04-01 20:40:56 -07:00
Pretty Please Mark Darkly
248153fc71
changed brew to brew cask
2020-04-01 20:28:52 -07:00
dependabot-preview[bot]
9570efb204
chore(deps): bump github.com/hashicorp/go-multierror from 1.0.0 to 1.1.0
...
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>
2020-04-01 11:24:42 +00:00
Hector Sanjuan
b5aaf75e25
Fix #4996 : Improve help text for "ipfs files cp"
2020-04-01 12:08:48 +02:00
Steven Allen
bf8db87085
Merge pull request #7064 from ipfs/feat/no-relay-discovery
...
fix: remove internal relay discovery
2020-03-31 12:39:18 -07:00
Steven Allen
06ba6d0fc2
fix: remove internal relay discovery
...
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.
2020-03-31 12:24:55 -07:00
Steven Allen
f7a6d5dea9
Merge pull request #7062 from RubenKelevra/patch-2
...
docs/experimental-features.md: typo
2020-03-30 13:15:28 -07:00
Steven Allen
4743b3f341
docs: fix provided -> provider subsystem
2020-03-30 13:15:18 -07:00
@RubenKelevra
4611e41e5c
Apply suggestions from code review
...
Co-Authored-By: Will <willscott@gmail.com>
2020-03-30 21:01:56 +02:00
@RubenKelevra
0c08e0678c
docs/experimental-features.md: typo
2020-03-30 18:03:12 +02:00
Steven Allen
8f623c9124
Merge pull request #7058 from ipfs/fix/shutdown-errors
...
fix: get rid of shutdown errors
2020-03-29 21:17:13 -07:00
Steven Allen
efdb8db276
fix: get rid of shutdown errors
...
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.
2020-03-29 20:48:43 -07:00
Steven Allen
474ade1f49
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
2020-03-29 19:53:12 -07:00
Steven Allen
6674ec337d
Merge pull request #7056 from ipfs/dependabot/go_modules/github.com/ipfs/go-ipfs-files-0.0.8
...
chore(deps): bump github.com/ipfs/go-ipfs-files from 0.0.7 to 0.0.8
2020-03-29 19:53:02 -07:00
dependabot-preview[bot]
8531b242c3
chore(deps): bump github.com/libp2p/go-libp2p-peerstore
...
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>
2020-03-30 02:36:03 +00:00
dependabot-preview[bot]
2f565f1723
chore(deps): bump github.com/ipfs/go-ipfs-files from 0.0.7 to 0.0.8
...
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>
2020-03-30 02:35:24 +00:00
Steven Allen
643acab2cf
Merge pull request #7055 from ipfs/feat/tls-by-default
...
feat: tls by default
2020-03-29 19:29:33 -07:00
Steven Allen
f28b8fce66
feat: tls by default
...
Switches to TLS as the default security transports.
2020-03-29 19:12:54 -07:00
Steven Allen
c6d0232093
Merge pull request #7054 from ipfs/fix/go-1.14
...
fix: downgrade to go 1.13
2020-03-29 18:57:27 -07:00
Steven Allen
968e70f1e2
fix: downgrade to go 1.13
...
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.
2020-03-29 18:41:47 -07:00
Steven Allen
3561de0740
Merge pull request #7047 from ipfs/dependabot/go_modules/github.com/ipfs/go-ds-badger-0.2.2
...
chore(deps): bump github.com/ipfs/go-ds-badger from 0.2.1 to 0.2.2
2020-03-27 22:41:43 -07:00
Steven Allen
5d6f35aff3
Merge pull request #7046 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-0.7.2
...
chore(deps): bump github.com/libp2p/go-libp2p from 0.7.1 to 0.7.2
2020-03-27 22:41:31 -07:00
dependabot-preview[bot]
88bc8362a0
chore(deps): bump github.com/ipfs/go-ds-badger from 0.2.1 to 0.2.2
...
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>
2020-03-28 03:37:46 +00:00
dependabot-preview[bot]
c18b3dafa0
chore(deps): bump github.com/libp2p/go-libp2p from 0.7.1 to 0.7.2
...
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>
2020-03-28 03:37:07 +00:00
Steven Allen
84724a3605
Merge pull request #7045 from ipfs/chore/update-go
...
chore: update golang
2020-03-27 09:55:42 -07:00