Commit Graph

11341 Commits

Author SHA1 Message Date
Steven Allen
23af25f176
Merge pull request #7119 from fission-suite/fission-early-tester
Adding Fission to IPFS early testers page
2020-04-08 12:53:21 -07:00
Boris Mann
2a42d44dee Adding Fission to IPFS early testers page 2020-04-08 11:46:25 -07:00
Steven Allen
80c1f112d7
Merge pull request #7114 from ipfs/chore/update-dep
chore: update go-ds-badger
2020-04-07 21:06:29 -07:00
Steven Allen
b530543599 chore: update go-ds-badger
fixes https://github.com/ipfs/go-ipfs/issues/6986
2020-04-07 20:08:28 -07:00
Steven Allen
1a2c88baae
Merge pull request #7110 from ipfs/feat/release-0.5.0-rc1
feat: bump version
2020-04-07 00:01:36 -07:00
Steven Allen
3a37423530 feat: bump version 2020-04-07 00:00:37 -07:00
Steven Allen
3c19f5e438
Merge pull request #6977 from ipfs/feat/update-releaselog
feat: initial update to the changelog for 0.5.0
2020-04-06 23:16:01 -07:00
Steven Allen
31a1342833 feat: initial update to the changelog for 0.5.0 2020-04-06 22:41:30 -07:00
Steven Allen
ce78064335
Merge pull request #7103 from ipfs/feat/new-dht
feat(dht): update to cypress DHT in backwards compatibility mode
2020-04-06 19:10:24 -07:00
Steven Allen
ba631bbab0 fix: start the IPFS dht in server mode by default for now 2020-04-06 18:53:16 -07:00
Steven Allen
3e6f0a7942 doc: cleanup experimental features a bit 2020-04-06 18:53:16 -07:00
Steven Allen
56e0e18294 feat: add a dhtserver option 2020-04-06 18:53:16 -07:00
Steven Allen
70fe64581d feat(dht): update to cypress DHT in backwards compatibility mode
This upgrades to the next DHT version, but in backwards compatibility mode.
2020-04-06 18:53:14 -07:00
Steven Allen
f8ffc55534
Merge pull request #7108 from ipfs/chore/update-deps
chore: update deps
2020-04-06 13:36:22 -07:00
Steven Allen
0e39f3da6e chore: update deps 2020-04-06 13:09:23 -07: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