Commit Graph

780 Commits

Author SHA1 Message Date
galargh
6c6708af32 docs: guess what's going to be required for the final release 2022-09-27 18:17:54 +02:00
galargh
4b50e59762 docs: move publishing npm package 2022-09-27 17:18:21 +02:00
galargh
c86b75debd docs: move changelog creation instructions earlier 2022-09-27 17:08:37 +02:00
galargh
335d961d15 docs: update release issue template with learnings from v0.16.0-rc1 release 2022-09-27 16:26:38 +02:00
Jorropo
b539cd4e47 docs: add WebTransport docs 2022-09-27 16:14:34 +02:00
Jorropo
baccaef1b5
Merge pull request #9293 from Jorropo/webtransport
feat: add webtransport as an optin transport
2022-09-23 20:09:33 +02:00
Jorropo
8baec10146 feat: add webtransport as an optin transport 2022-09-23 19:50:55 +02:00
Justin Johnson
bcaacdd6c3
feat(gateway): _redirects file support (#8890)
https://github.com/ipfs/kubo/pull/8890
https://github.com/ipfs/specs/pull/290
2022-09-23 18:44:19 +02:00
Jorropo
2549475d84 docs: fix typo in changelog-v0.16.0.md 2022-09-23 11:45:16 +02:00
Antonio Navarro Perez
d1b9e41fc2
feat: Delegated routing with custom configuration. (#9274)
New multi-router configuration system based on https://hackmd.io/G1KRDEX5T3qyfoBMkIrBew#Methods

- Added a new routing type: "custom"
- Added specific struct types for different Routers (instead of map[string]interface{})
- Added `Duration` config type, to make easier time string parsing
- Added config documentation.
- Use the latest go-delegated-routing library version with GET support.
- Added changelog notes for this feature.

It:
- closes #9157
- closes #9079
- closes #9186
2022-09-22 15:47:45 +02:00
galargh
b11efaf765 docs: add docs-release-vX.Y.Z info to the checklist 2022-09-22 10:43:15 +02:00
galargh
e103254e6f docs: incorporate the RC into the main checklist 2022-09-22 10:41:10 +02:00
galargh
f50fc3211c docs: add information about release prerequisites 2022-09-22 10:10:41 +02:00
Jorropo
74aaf37cec chore: bump go-libp2p v0.23.1
This does not include any WebTransport config code in Kubo, this will be done later in an other PR.
2022-09-21 23:16:03 +02:00
Marcin Rataj
b6b97d90ac fix: require IPNS V2 signatures 2022-09-21 01:09:00 +02:00
eth-limo
8e2bf82f97
docs: fix broken ENS DoH example (#9281) 2022-09-21 00:37:47 +02:00
galargh
cb706d73c1 docs: document currently used Go image version 2022-09-19 11:58:58 +02:00
galargh
f7df8d7318 docs: init release issue template improvement process v0.16.0 2022-09-19 11:48:09 +02:00
Steve Loeppky
289b4e1d60 Update docs/RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Steve Loeppky
a6eb9f1238 Update docs/RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Steve Loeppky
5abfd14e9b Update docs/RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Steve Loeppky
203c2f5e78 Update docs/RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Steve Loeppky
07c9b7d815 Update docs/RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
952a376433 Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
e7d9ce2915 Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
3fe18278af Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
4cb7508c3a Update docs/RELEASE_ISSUE_TEMPLATE.md
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
917d2bbf4f Update docs/RELEASE_ISSUE_TEMPLATE.md
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
7c0dde45e9 Add how to test IPFS companion. 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
29810705f7 Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
c9fa800ac9 Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
4ade119953 Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
7efa911b2a Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
951cb328cd Update docs/RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Steve Loeppky
343e265d01 Minor list formatting update 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
3fed8b2a66 Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Jorropo
aeaf57734a chore: bump go-bitswap v0.10.2 2022-09-13 19:21:18 +02:00
Jorropo
196887cbe5 chore: bump go-libp2p v0.22.0 & go1.18&go1.19
Fixes: #9225
2022-09-09 17:09:38 +02:00
Jorropo
849e0478b5 chore: bump go-pinning-service-http-client v0.1.2 to include up to nano precision 2022-09-01 15:36:25 +02:00
Marcin Rataj
c9693edbc5 chore: remove Gateway.PathPrefixes
Closes #7702
2022-08-30 15:38:04 +02:00
Jorropo
0d9478d3c8
docs: fix markdown syntax typo in v0.15's changelog 2022-08-30 14:41:46 +02:00
Antonio Navarro Perez
de7d74f486 Merge branch 'release-v0.15.0' of github.com:ipfs/go-ipfs into release-v0.15.0 2022-08-30 11:27:30 +02:00
Jorropo
8c6aaa8393 docs: changelog: add mention of gateway file to v0.15 2022-08-29 18:19:23 +02:00
Oleg
6516883b6b
correct data type for Reprovider.Interval (#9224)
* correct data type for Reprovider.Interval

Signed-off-by: Oleg Silkin <16809287+osilkin98@users.noreply.github.com>
Co-authored-by: Jorropo <jorropo.pgm@gmail.com>
2022-08-25 12:27:42 -07:00
Antonio Navarro Perez
bd7e41ce83
chore: First v0.15.0 CHANGELOG draft. 2022-08-25 14:12:49 +02:00
Marcin Rataj
9c6094e651 docs(config): mention routing.delegate.ipfs.io 2022-08-18 16:52:44 +02:00
Steve Loeppky
2d98b4f229 Update RELEASE_ISSUE_TEMPLATE.md for 0.15 2022-08-17 09:42:39 +00:00
Jorropo
1236eb0f58 chore: update github.com/gabriel-vasile/mimetype
See the release notes: https://github.com/gabriel-vasile/mimetype/releases/tag/v1.4.1

This is a valuable release with already public security fixes (which don't affect us AFAIT but better safe than sorry).
More mimetypes and bug fixes.
2022-08-17 02:19:18 +02:00
Marcin Rataj
00f2a64673
Merge pull request #9074 from ipfs/rcgmr-auto-scale
feat: go-libp2p v0.21 (rcmgr auto scaling)
2022-08-17 01:37:44 +02:00
Marcin Rataj
77251b60c4
test(rcmgr): regression test prometherus metrics 2022-08-17 01:27:50 +02:00
Marcin Rataj
5ca74c7f7a docs(config): Swarm.ResourceMgr.Allowlist 2022-08-17 00:38:51 +02:00
Antonio Navarro Perez
f5e7905f91
Merge branch 'master' into guseggert-patch-1 2022-08-16 12:35:25 +02:00
Antonio Navarro Perez
654745aaa2
Merge branch 'master' into chore/update-release-template-0.14.0 2022-08-16 10:16:05 +02:00
Marco Munizaga
5c858d5063 Go mod tidy kubo-as-a-library 2022-08-15 14:47:22 -07:00
Marco Munizaga
831135cc9b Update go-libp2p-kad-dht to v0.17.0 2022-08-15 14:14:00 -07:00
Marco Munizaga
194eb2f298 Go mod tidy 2022-08-15 14:12:21 -07:00
Marco Munizaga
4cd437dfe2 Use replace in kubo example as a library 2022-08-15 14:12:21 -07:00
Marco Munizaga
b0adea314a Update go.mod/sum in examples/kubo-as-a-library 2022-08-15 14:12:21 -07:00
Marcin Rataj
44581e9077
Merge branch 'master' into chore/update-patch-release-template-0.13.1 2022-08-15 20:29:27 +02:00
Marcin Rataj
532ba09283
Merge branch 'master' into chore/update-release-template-0.14.0 2022-08-15 20:22:14 +02:00
Gus Eggert
795c2cf819
docs: add fx plugin documentation to plugins.md (#9191) 2022-08-13 08:08:52 -04:00
Marcin Rataj
837f6ee92b chore: switch to dist.ipfs.tech
Part of https://github.com/protocol/bifrost-infra/issues/2018
ensures the domain used for fetching migrations is not
impacted by ipfs.io being blocked at DNS level by some ISPs.
2022-08-12 23:42:17 +02:00
Brendan O'Brien
8fd49badc2
Add reference to Experimental config doc (#9181)
* Add reference to Experimental config doc

this clarifies that `Experimental` is in fact a top level configuration key, and links to the most current documentation

Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2022-08-11 10:15:08 -07:00
Steve Loeppky
c09ead2363
More blog entry updates. 2022-08-08 11:58:30 -07:00
Steve Loeppky
dbe4e6cf24
Updating blog entry request section 2022-08-08 11:53:03 -07:00
Seungbae Yu
cb280cbf16
docs: replace docs.ipfs.io with docs.ipfs.tech (#9158)
* docs: fix redirecting URL in README.md
* all: replace `docs.ipfs.io` with `docs.ipfs.tech`
* apply suggestions from code review

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-08-05 19:01:10 +03:00
Steve Loeppky
312e574f94
Merge branch 'master' into chore/update-patch-release-template-0.13.1 2022-08-04 08:45:20 -07:00
lostystyg
f9db823138
chore: fix markdown link syntax typo for AutoNAT.ServiceMode 2022-08-03 15:17:28 +02:00
Marcin Rataj
2f08eb45e7 chore: update kubo-as-a-library example 2022-07-25 16:48:52 +02:00
Marcin Rataj
e4da0b8663
Update RELEASE_ISSUE_TEMPLATE.md
See https://github.com/ipfs/distributions/pull/745
2022-07-21 23:29:03 +02:00
Marcin Rataj
09fa9beb52
Update docs/RELEASE_ISSUE_TEMPLATE.md 2022-07-21 23:13:31 +02:00
Marcin Rataj
ee3603c674
Merge branch 'master' into chore/update-release-template-0.14.0 2022-07-21 23:13:23 +02:00
Marcin Rataj
fdb9f8f680
Update RELEASE_ISSUE_TEMPLATE.md
Copied npm/choco/snap context from https://github.com/ipfs/kubo/pull/9095
2022-07-21 23:08:56 +02:00
Marcin Rataj
bcab64d42d docs(config): add link to someguy router 2022-07-21 21:00:39 +02:00
Jorropo
9412867f5e docs(changelog): finish v0.14.0 changelog
Co-Authored-By: Marcin Rataj <lidel@lidel.org>
2022-07-21 04:52:18 +02:00
Jorropo
af4211a2fa backport: merge commit '839b0848a' into release-v0.14.0 2022-07-21 04:04:46 +02:00
Steve Loeppky
54a30a857c
Add step for creating PR to improve process 2022-07-14 09:27:17 -07:00
Steve Loeppky
4b4e256a52
Spacing fix 2022-07-14 09:22:23 -07:00
Steve Loeppky
8e2ef239c4
Added link to patch release template 2022-07-14 09:21:37 -07:00
Steve Loeppky
baa7018246
Updating based on release process
Accounting for items in https://pl-strflt.notion.site/Kubo-Release-Process-5a5d066264704009a28a79cff93062c4
2022-07-14 09:19:30 -07:00
Marcin Rataj
fbb496b623 docs(changelog): v0.14 rename and breaking changes 2022-07-08 22:11:10 +02:00
Jorropo
44ec4cd444 docs: fix v0.14's changelog format 2022-07-07 23:47:41 +02:00
Antonio Navarro Perez
92c4dc61a8
feat(routing): Delegated Routing (#8997)
* Delegated Routing.

Implementation of Reframe specs (https://github.com/ipfs/specs/blob/master/REFRAME.md) using go-delegated-routing library.

* Requested changes.

* Init using op string

* Separate possible ContentRouters for TopicDiscovery.

If we don't do this, we have a ciclic dependency creating TieredRouter.
Now we can create first all possible content routers, and after that,
create Routers.

* Set dht default routing type

* Add tests and remove uneeded code

* Add documentation.

* docs: Routing.Routers

* Requested changes.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>

* Add some documentation on new fx functions.

* Add changelog entry and integration tests

* test: sharness for 'dht' in 'routing' commands

Since 'routing' is currently the same as 'dht' (minus query command)
we need to test both, that way we won't have unnoticed divergence
in the default behavior.

* test(sharness): delegated routing via reframe URL

* Add more tests for delegated routing.

* If any put operation fails, the tiered router will fail.

* refactor: Routing.Routers: Parameters.Endpoint

As agreed  in https://github.com/ipfs/kubo/pull/8997#issuecomment-1175684716

* Try to improve CHANGELOG entry.

* chore: update reframe spec link

* Update go-delegated-routing dependency

* Fix config error test

* use new changelog format

* Remove port conflict

* go mod tidy

* ProviderManyWrapper to ProviderMany

* Update docs/changelogs/v0.14.md

Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>

Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2022-07-07 17:10:25 -04:00
Jorropo
24b8dd5ab0 chore: changelogs split
Closes #8976
2022-07-07 19:44:01 +02:00
Marcin Rataj
c5792a0dbe
Merge branch 'master' into chore/update-patch-release-template-0.13.1 2022-07-07 15:32:49 +02:00
Marcin Rataj
8565bbb75c
refactor: kubo in ./docs 2022-07-06 23:45:25 +02:00
Marcin Rataj
91e6451419 refactor: kubo in snap docs 2022-07-06 23:44:38 +02:00
Daniel N
e5f63393ff docs: refine wording 2022-07-06 22:47:07 +02:00
Daniel N
d323189598 docs: refine the wording of provider strategies 2022-07-06 22:47:07 +02:00
Steve Loeppky
bb980eed8a
Update RELEASE_ISSUE_TEMPLATE.md based on 0.14.0 release
Changes based on the 0.14.0 release: https://github.com/ipfs/kubo/issues/9032

Items from 0.13.1 should also be incorporated: https://github.com/ipfs/kubo/pull/9095
2022-07-06 12:51:02 -07:00
Marcin Rataj
2f0ea0f7ff
chore: add links to npm/choco jobs 2022-07-06 18:20:08 +02:00
Marcin Rataj
74c34e2d48
fix: npm link 2022-07-06 18:17:32 +02:00
Marcin Rataj
80cc506c79
docs: add note about automations: npm, choco, snap 2022-07-06 18:16:46 +02:00
Steve Loeppky
5f67f8cb54
Update PATCH_RELEASE_TEMPLATE.md based on 0.13.1
These updates are based on items from https://github.com/ipfs/go-ipfs/pull/9092
2022-07-06 09:10:32 -07:00
Marcin Rataj
61f0710100
fix: remove mdns_legacy & Discovery.MDNS.Interval
* fix: remove mdns_legacy

We've been running both implementations for a long, long time.
It is time to remove legacy version and lower the number of LAN packets
IPFS node produces.

See https://github.com/ipfs/go-ipfs/pull/9048#discussion_r906814717
for the Interval removal rational.
2022-06-27 04:17:40 +02:00
Marcin Rataj
88d88158c6 docs: mark Swarm.ResourceMgr as experimental 2022-06-16 14:34:13 -04:00
Jorropo
a433064d72
chore: replace ioutil with io and os (#8969)
Co-authored-by: Håvard Anda Estensen <haavard.ae@gmail.com>
2022-06-14 12:37:02 -04:00
Gus Eggert
81112c3d6e
docs: elaborate on some git cmds for releasing 2022-06-09 15:52:15 -04:00
Gus Eggert
b1c051d250
feat: disable resource manager by default (#9003)
* feat: disable resource manager by default

We are disabling this by default for v0.13 as we work to improve the
UX around Resource Manager. It is still usable and can be enabled in
the IPFS config with "ipfs config --bool Swarm.ResourceMgr.Enabled true".

We intend to enable Resource Manager by default in a subsequent
release.

* docs(config): Swarm.ResourceMgr disabled by default

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-06-02 10:31:06 -04:00
Antonio Navarro Perez
e8f1ce07b3
fix(ci): make go-ipfs-as-a-library work without external peers (#8978)
* Do not connect to external nodes on ipfs as a lib example.

It was causing some build timeouts error because CircleCI
was throttling WAN connections.

It closes #8956

* style: rename node vars

since this is example, this should make things easier to follow

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-05-25 02:36:01 +02:00
siiky
a72753bade docs: fix abstractions typo 2022-05-14 02:54:00 +02:00
Marcin Rataj
53299e84e0
chore: mark fuse experimental (#8962)
It works only on some platforms, and does not work reliably.
This corrects our error of not setting expectations right.
2022-05-12 10:32:54 -07:00
Adin Schmahmann
6d2f790f76 chore: update example deps 2022-05-04 14:56:19 -04:00
Gus Eggert
0ab4367160 docs(tracing): update env var docs for new tracing env vars
This should have been updated as part of 967bd6932
2022-05-04 14:38:05 -04:00
Gus Eggert
3d527753ff feat: enable Resource Manager by default 2022-05-04 14:08:37 -04:00
Marcin Rataj
cab69276e9 docs: Swarm.ResourceMgr.Limits 2022-05-03 16:21:03 -04:00
Adin Schmahmann
7ad6447453 feat: enable hole-punching by default 2022-05-03 14:26:09 -04:00
Lucas Molas
25cc85fa93
feat(gateway): Gateway.FastDirIndexThreshold (#8853)
* fix(core/gateway): option to limit directory size listing

* feat(gw): HTMLDirListingLimit

This is alternative take on the way we limit the HTML listing output.
Instead of a hard cut-off, we list up to HTMLDirListingLimit.
When a directory has more items than HTMLDirListingLimit we show
additional header and footer informing user that only $HTMLDirListingLimit
items are listed. This is a better UX.

* fix: 0 disables Gateway.HTMLDirListingLimit

* refactor: Gateway.FastDirIndexThreshold

see explainer in docs/config.md

* refactor: prealoc slices

* docs: Gateway.FastDirIndexThreshold

* refactor: core/corehttp/gateway_handler.go

https://github.com/ipfs/go-ipfs/pull/8853#discussion_r851437088

* docs: apply suggestions from code review

Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>

Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
2022-04-28 19:36:57 +02:00
SukkaW
4f7d4bcc05 docs: replace all git.io links with their actual URLs 2022-04-28 18:06:08 +02:00
Marten Seemann
232ccb4e55
feat: relay v2 discovery (go-libp2p v0.19.0) (#8868)
* update go-libp2p to v0.19.0
* chore: go-namesys v0.5.0
* refactor(config): cleanup relay handling
* docs(config): document updated defaults
* fix(tests): panic during sharness

* fix: t0160-resolve.sh
See https://github.com/ipfs/go-namesys/pull/32

* fix: t0182-circuit-relay.sh
* test: transport encryption

Old tests were no longer working because go-libp2p 0.19 removed
the undocumented 'ls' pseudoprotocol.

This replaces these tests with handshake attempt (name is echoed back on
OK or 'na' is returned when protocol is not available) for tls and noise
variants + adds explicit test that safeguards us against enabling
plaintext by default by a mistake.

* fix: ./t0182-circuit-relay.sh

test is flaky, for now we just restart the testbed when we get
NO_RESERVATION error

* refactor: AutoRelayFeeder with exp. backoff

It starts at feeding peers ever 15s, then backs off each time
until it is done once an hour

Should be acceptable until we have smarter mechanism in go-lib2p 0.20

* feat(AutoRelay): prioritize Peering.Peers

This ensures we feed trusted Peering.Peers in addition to any peers
discovered over DHT.

* docs(CHANGELOG): document breaking changes

Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Gus Eggert <gus@gus.dev>
2022-04-28 17:13:15 +02:00
Adin Schmahmann
d59730f51e
Update Go version to 1.17 (#8815)
* remove building the pre-bundled plugins as shared objects in makefile

* chore: update go version to minimum of 1.17
2022-04-15 14:32:00 -04:00
Marten Seemann
514411bedb
feat: opt-in Swarm.ResourceMgr (go-libp2p v0.18) (#8680)
* update go-libp2p to v0.18.0

* initialize the resource manager

* add resource manager stats/limit commands

* load limit file when building resource manager

* log absent limit file

* write rcmgr to file when IPFS_DEBUG_RCMGR is set

* fix: mark swarm limit|stats as experimental

* feat(cfg): opt-in Swarm.ResourceMgr

This ensures we can safely test the resource manager without impacting
default behavior.

- Resource manager is disabled by default
    - Default for Swarm.ResourceMgr.Enabled is false for now
- Swarm.ResourceMgr.Limits allows user to tweak limits per specific
  scope in a way that is persisted across restarts
- 'ipfs swarm limit system' outputs human-readable json
- 'ipfs swarm limit system new-limits.json' sets new runtime limits
  (but does not change Swarm.ResourceMgr.Limits in the config)

Conventions to make libp2p devs life easier:
- 'IPFS_RCMGR=1 ipfs daemon' overrides the config and enables resource manager
- 'limit.json' overrides implicit defaults from libp2p (if present)

* docs(config): small tweaks

* fix: skip libp2p.ResourceManager if disabled

This ensures 'ipfs swarm limit|stats' work only when enabled.

* fix: use NullResourceManager when disabled

This reverts commit b19f7c9eca.
after clarification feedback from
https://github.com/ipfs/go-ipfs/pull/8680#discussion_r841680182

* style: rename IPFS_RCMGR to LIBP2P_RCMGR

preexisting libp2p toggles use LIBP2P_ prefix

* test: Swarm.ResourceMgr

* fix: location of opt-in limit.json and rcmgr.json.gz

Places these files inside of IPFS_PATH

* Update docs/config.md

* feat: expose rcmgr metrics when enabled (#8785)

* add metrics for the resource manager
* export protocol and service name in Prometheus metrics
* fix: expose rcmgr metrics only when enabled

Co-authored-by: Marcin Rataj <lidel@lidel.org>

* refactor: rcmgr_metrics.go

* refactor: rcmgr_defaults.go

This file defines implicit limit defaults used when Swarm.ResourceMgr.Enabled

We keep vendored copy to ensure go-ipfs is not impacted when go-libp2p
decides to change defaults in any of the future releases.

* refactor: adjustedDefaultLimits

Cleans up the way we initialize defaults and adds a fix for case
when connection manager runs with high limits.

It also hides `Swarm.ResourceMgr.Limits` until we have a better
understanding what syntax makes sense.

* chore: cleanup after a review

* fix: restore go-ipld-prime v0.14.2

* fix: restore go-ds-flatfs v0.5.1

Co-authored-by: Lucas Molas <schomatis@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-04-07 21:06:35 -04:00
Justin Johnson
7b2c7c7f16
docs(logging): environment variables (#8833)
- Document IPFS_LOGGING deprecation
  as alias to GOLOG_LOG_LEVEL and expand doc
  to include per-subsystem log levels.

- Document IPFS_LOGGING_FMT deprecation
  as alias to GOLOG_LOG_FMT.
2022-04-06 17:24:23 +02:00
Gus Eggert
f855bfe6ef
feat: add basic gateway tracing (#8595)
* add deprecation warning when tracer plugins are loaded
* add response format attribute to span in gateway handler
* add note about tracing's experimental status in godoc
* add nil check for TTL when adding name span attrs
* add basic sharness test for integration with otel collector
* add nil check in UnixFSAPI.processLink
* test: sharness check all json objs for swarm span
* add env var docs to docs/environment-variables.md
* chore: pin the otel collector version
* add tracing spans per response type (#8841)
* docs: tracing with jaeger-ui

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-04-04 19:24:05 +02:00
Marcin Rataj
d6de97b417
docs: gateway.md (#8825)
Adds link to relevant pages at docs.ipfs.io
2022-03-28 16:31:36 +02:00
Marcin Rataj
4cabdfefbf
feat(gateway): Block and CAR response formats (#8758)
* feat: serveRawBlock implements ?format=block
* feat: serveCar implements ?format=car
* feat(gw): ?format= or Accept HTTP header

- extracted file-like content type responses to separate .go files
- Accept HTTP header with support for application/vnd.ipld.* types

* fix: use .bin for raw block content-disposition

.raw may be handled by something, depending on OS, and .bin
seems to be universally "binary file" across all systems:
https://en.wikipedia.org/wiki/List_of_filename_extensions_(A%E2%80%93E)

* refactor: gateway_handler_unixfs.go

- Moved UnixFS response handling to gateway_handler_unixfs*.go files.
- Removed support for X-Ipfs-Gateway-Prefix (Closes #7702)

* refactor: prefix cleanup and readable paths

- removed dead code after X-Ipfs-Gateway-Prefix is gone
  (https://github.com/ipfs/go-ipfs/issues/7702)
- escaped special characters in content paths returned with http.Error
  making them both safer and easier to reason about (e.g. when invisible
  whitespace Unicode is used)
2022-03-17 17:15:24 +01:00
Gus Eggert
bc33ed4c35
Update PATCH_RELEASE_TEMPLATE.md 2022-03-16 17:50:46 -04:00
Adin Schmahmann
eafa1c7345
docs: note the default reprovider strategy as all (#8603) 2022-03-10 01:42:33 -08:00
Gus Eggert
10ff11b4ca
chore: add instructions for Chocolatey release 2022-03-01 10:35:19 -05:00
Adin Schmahmann
686993f6f2
docs: add Internal.UnixFSShardingSizeThreshold (#8723)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-02-18 23:37:55 +01:00
Manuel Alonso
edb32ac3d7
chore(gateway): debug logging for the http requests (#8518)
* chore(gateway): better logging for the http requests

* chore(gateway): removed defer and add more data to the final log

* chore(gateway): debug logging refactor

* chore(gateway): use debug w/o context when only msg

* doc: add cmd for log level

* chore: add more logs and address fedback

* chore(gateway): log subdomains and from=requestURI, refactor

* chore(gateway): fix debug redirect
2022-02-15 17:13:09 -05:00
Marcin Rataj
f9643a61d7
docs: optionalInteger|String|Duration (#8729) 2022-02-10 23:52:18 +01:00
Thibault Meunier
a93907a40f
feat: DNS.MaxCacheTTL for DNS-over-HTTPS resolvers (#8615)
* feat: Add MaxCacheTTL option for DNS-over-HTTPS resolvers
* Update libp2p/go-doh-resolver dependencies to support Options
* feat: Add `DNS.MaxCacheTTL` config documentation
* docs: DNS.MaxCacheTTL
* chore: go-ipfs-config@v0.19.0
Co-authored-by: Gus Eggert <gus@gus.dev>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-02-10 22:26:14 +01:00
Shu Shen
012be8ae08 chore: bump to go-ipfs@0.11 in go-ipfs-as-a-library 2022-02-02 21:15:51 -08:00
Marcin Rataj
4ad316803e
docs: update badger section in config.md (#8662)
This should fix the issue of users thinking badger
is "no-brainer faster choice" and then running into problems.

Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
2022-01-28 23:22:26 +01:00
chblodg
562365f4fc Adding PowerShell to Minimal Go Installation
Separated CMD and PowerShell to add additional support.
2022-01-14 11:35:11 -05:00
Somajit
7e4fcbb324 Fixed typos in docs/config.md 2022-01-14 11:32:00 -05:00
Gus Eggert
deb79a2587
chore: add release template snippet for fetching artifact tarball 2021-12-09 15:47:44 -05:00
Gus Eggert
007921b900 chore: add release steps for upgrading Go 2021-12-09 11:24:02 -05:00
Marten Seemann
48a6cac00b
feat: Swarm.EnableHolePunching flag (#8562)
* feat: use Swarm.EnableHolePunching flag within libp2p
* docs: Swarm.EnableHolePunching

Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2021-11-30 11:18:51 -08:00
jwh
029d82c4ea
feat: enabling pubsub and ipns-pubsub via config flags (#8510)
* Allow pubsub and namesys-pubsub to be enabled via config

Signed-off-by: Joe Holden <jwh@zorins.us>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2021-11-30 11:00:11 -08:00
Jorropo
c2953ab8f1
feat: Addresses.AppendAnnounce (#8177)
* feat: Addresses.AppendAnnounce

Closes #7791

* fix: deduplicate Swarm.Announce and AppendAnnounce

https://github.com/ipfs/go-ipfs/pull/8177#discussion_r759317772
https://github.com/ipfs/go-ipfs/pull/8177#discussion_r759320332

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2021-11-30 17:58:19 +01:00
Marcin Rataj
82c1bfa0e6 feat: hard deprecation of IPFS_REUSEPORT
Years passed and we still see it. Time to force users to switch to
LIBP2P_TCP_REUSEPORT.
2021-11-29 14:42:30 -05:00
Adin Schmahmann
52c177ced9
feat: go-libp2p 0.16, UnixFS autosharding and go-datastore with contexts (#8563)
* plumb through go-datastore context changes

* update go-libp2p to v0.16.0
* use LIBP2P_TCP_REUSEPORT instead of IPFS_REUSEPORT
* use relay config
* making deprecation notice match the go-ipfs-config key
* docs(config): circuit relay v2
* docs(config): fix links and headers
* feat(config): Internal.Libp2pForceReachability

This switches to config that supports setting and reading
Internal.Libp2pForceReachability OptionalString flag

* use configuration option for static relays

* chore: go-ipfs-config v0.18.0

https://github.com/ipfs/go-ipfs-config/releases/tag/v0.18.0

* feat: circuit v1 migration prompt when Swarm.EnableRelayHop is set (#8559)
* exit when Swarm.EnableRelayHop is set
* docs: Experimental.ShardingEnabled migration

This ensures existing users of global sharding experiment get notified
that the flag no longer works + that autosharding happens automatically.

For people who NEED to keep the old behavior (eg. have no time to
migrate today) there is a note about restoring it with
`UnixFSShardingSizeThreshold`.

* chore: add dag-jose code to the cid command output

* add support for setting automatic unixfs sharding threshold from the config
* test: have tests use low cutoff for sharding to mimic old behavior
* test: change error message to match the current error
* test: Add automatic sharding/unsharding tests (#8547)
* test: refactored naming in the sharding sharness tests to make more sense

* ci: set interop test executor to convenience image for Go1.16 + Node
* ci: use interop master

Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Gus Eggert <gus@gus.dev>
Co-authored-by: Lucas Molas <schomatis@gmail.com>
2021-11-29 19:58:05 +01:00
Steve Loeppky
ba2445ae72
Updating release template based off some 0.10 learnings (#8491)
* Updating release template based off some 0.10 learnings

This addresses the easy items in https://github.com/ipfs/go-ipfs/issues/8248

* Further updates based on 2021-10-07 discussion.

* Added OrbitDB to early testers.

* Fixing early tester username references.

* Being clear about how to contact early testers.
2021-11-23 14:32:22 -05:00
Dimitris Apostolou
0c2f9d5950
Fix typos (#8548) 2021-11-17 21:16:06 +01:00
Adin Schmahmann
acede6f73c
Examples no longer need go mod replace (#8516)
* chore: bump examples to use v0.10.0
* feat: build examples against released packages instead of using replace directives to refer to the parent repo
* ci: run examples against the latest (unreleased) version of go-ipfs
2021-10-26 11:31:50 -04:00
Marcin Rataj
8b7432d6e8
chore: go-ipfs-files v0.0.9 (#8488)
Closes #8445
Closes #8406
2021-10-05 23:53:52 +02:00
Gus Eggert
0a4e484b4f
Update RELEASE_ISSUE_TEMPLATE.md 2021-10-04 15:47:01 -04:00
Gus Eggert
eaf464c41b
Update RELEASE_ISSUE_TEMPLATE.md 2021-10-04 15:28:17 -04:00
Gus Eggert
e4a5513045
Update RELEASE_ISSUE_TEMPLATE.md 2021-10-01 17:04:10 -04:00
Gus Eggert
86dc88c126
Update RELEASE_ISSUE_TEMPLATE.md 2021-10-01 17:02:25 -04:00
Steve Loeppky
727df2ceaf
Updating chocolatey to reference go-ipfs 2021-10-01 08:12:47 -07:00
Adin Schmahmann
85e30b9b36 fuse: load unixfs adls as their dagpb substrates 2021-09-27 17:50:44 -04:00
Marten Seemann
2589e1f65e enable the legacy mDNS implementation 2021-09-27 17:50:00 -04:00
Adin Schmahmann
5471092d85 chore: update go-path 2021-09-27 15:50:23 -04:00
Marten Seemann
4969ed2b17 chore: update go-libp2p to v0.15.0 2021-09-27 11:12:42 -04:00
Daniel Martí
d6127b062c make json, cbor, and git codecs error on empty input 2021-09-23 13:01:50 -04:00
Gus Eggert
65d570c6cb
chore: update IPFS Desktop testing steps (#8393)
* chore: update IPFS Desktop testing steps

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2021-09-03 17:49:46 +02:00
Jesse Bouwman
cb189c7b78 go mod tidy ipfs library example
The code example for using IPFS as a library doesn't run unless indirect dependencies are updated:

```
$ go version
go version go1.17 linux/amd64
$ uname -a
Linux home 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux
$ go run main.go
go: github.com/ipfs/go-ipfs@v0.9.1 requires
	github.com/ipfs/go-bitswap@v0.4.0: missing go.sum entry; to add it:
	go mod download github.com/ipfs/go-bitswap
go: github.com/ipfs/go-ipfs@v0.9.1 requires
	github.com/ipfs/go-bitswap@v0.4.0: missing go.sum entry; to add it:
	go mod download github.com/ipfs/go-bitswap
```

Remedied by:

```
$ go mod tidy
$ go run main.go
-- Getting an IPFS node running --
Spawning node on a temporary repo
    ...
```

Also, require go version 1.16, otherwise, example can fail under go
1.15 with errors like:

```
go build github.com/lucas-clemente/quic-go/internal/qtls:
    build constraints exclude all Go files in
    /home/jbouwman/go/pkg/mod/github.com/lucas-clemente/quic-go@v0.23.0/internal/qtls
```
2021-08-30 09:00:39 -07:00
Petar Maymounkov
c9cc09f6f7
Cosmetic fixups in examples (#8325)
* test the examples in CI
* combine the two examples into a single one
2021-08-27 11:55:26 -04:00
Adin Schmahmann
7448340d20
support bitswap configurability (#8268)
* feat: extract Bitswap fx initialization to its own file
* chore: bump go-bitswap dependency
* feat: bump go-ipfs-config dependency and utilize the new Internal.Bitswap configuration options. Add documentation around the new OptionalInteger config type as well as the Internal.Bitswap options.
* docs(docs/config.md): move the table of contents towards the top of the document and update it

Co-authored-by: Petar Maymounkov <petarm@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Gus Eggert <877588+guseggert@users.noreply.github.com>
2021-08-18 14:15:16 -04:00
Gus Eggert
679c004a46 Merge branch 'master' into update-go-on-ci-guseggert 2021-08-16 15:24:34 -04:00
Marcin Rataj
6e610066f6
fix: macos notarized fs-repo-migrations (#8333)
Uses: https://github.com/ipfs/distributions/pull/381
Closes #8240
2021-08-12 18:52:23 +02:00
lasiar
d00e9656ac refactor(as-a-library): change comment with default path repo 2021-08-03 08:46:16 -07:00
lasiar
da0afea33b refactor(as-a-library): remove unused context
createTempRepo doesn't use context
2021-08-03 08:46:16 -07:00
lasiar
67fdd6e876 refactor(as-a-library): remove redundant alias
libp2p doesn't need alias
2021-08-03 08:46:16 -07:00
lasiar
4a9dace814 refactor(as-a-library): wrap error
wrap error handling from connectToPeers in a closure
2021-08-03 08:46:16 -07:00
lasiar
d6f442bb86 refactor(as-a-library): replace deprecated functions and structures 2021-08-03 08:46:16 -07:00
lasiar
c5b0f15003 fix(as-a-library): go mod tidy 2021-08-03 08:46:15 -07:00
Gus Eggert
db2684f388 Merge branch 'master' into update-go-on-ci-guseggert 2021-08-02 14:42:32 -04:00
Steven Allen
9c1bb99eeb
fix: spelling
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2021-07-21 20:45:45 -07:00
Steven Allen
3745047ccf doc(profile): improve profiling docs 2021-07-21 18:04:11 -07:00
Steven Allen
d52d183020 feat: add an "ipfs diag profile" command
This should replace the "collect-profiles.sh" script and allow users to
easily collect profiles.

At the moment, it just dumps all profiles into a single zip file. It
does this server-side so it's easy fetch them with curl.

In the future, it would be nice to add:

1. Progress indicators (cpu profiles take 30 seconds).
2. An option to specify which profiles to collect.

But we can handle that later.

Unfortunately, this command doesn't produce symbolized svgs as I didn't
want to depend on having a local go compiler.
2021-07-21 14:51:47 -07:00
Adin Schmahmann
74bd44f0ea Create PATCH_RELEASE_TEMPLATE.md 2021-07-20 17:00:16 -07:00
Steven Allen
79403716bf doc(completion): suggest eval instead of writing a file 2021-07-01 08:46:52 -07:00
Steven Allen
0060d5f7c8 feat: programmatic shell completions
These are missing some of the features of the current hand-rolled
completions, but:

1. Are less buggy.
2. Cover _all_ commands.
3. Don't need to be manually maintained (which we never do anyways).

fixes #4551
fixes #8033
2021-07-01 08:46:49 -07:00
Steven Allen
6258374211 doc(config): address nits 2021-05-17 08:25:47 -07:00
@RubenKelevra
253f99f061 config.md: fix typos/improve wording 2021-05-17 08:25:46 -07:00
Marten Seemann
a9dfe38c4b stop using deprecated Go flag -i 2021-05-15 17:27:52 -07:00
Adin Schmahmann
a67cab1c60 docs: added experimental features documentation on the Accelerated DHT Client and batched providing system 2021-05-14 01:47:48 -07:00
Andrew Gillis
c54cdaa1f8
Feat/migration ipfs download (#8064)
* Enable downloading migrations over IPFS

There are now options in the config file that control how migrations are downloaded. This includes enabling downloading migrations using IPFS by (when migrations are required) spinning up a temporary node for fetching the migrations before running them. There is also a config option to decide what to do with the migrations binaries once they are downloaded (e.g. cache or pin them in your node, or just throw out the data).

Co-authored-by: Steven Allen <steven@stebalien.com>
2021-05-12 09:33:14 -07:00
Marcin Rataj
35fe392491 docs: clarify DNS.Resolvers
- document implicit defaults for eth and crypto TLDs
- be very honest and link to ToS of cloudflare-eth.com
- provide suggestion that one should run own resolver if they really care about decentralization
2021-05-10 21:04:57 -07:00
vyzo
9866c13bda use {} as default for DNS.Resolvers in config 2021-05-10 21:04:57 -07:00
Marcin Rataj
0a4defe87b docs: fix formatting and add links to DNS section 2021-05-10 21:04:57 -07:00
vyzo
5a1593e87c update config documentation 2021-05-10 21:04:57 -07:00
David Pflug
d6322f485a
Fix transposed words in docs/config.md 2021-04-05 18:01:15 -04:00
Steven Allen
4cdb67f37d
Merge pull request #7890 from ipfs/fix/remove-clear-site-data
fix(gw): remove use of Clear-Site-Data in subdomain router
2021-03-31 16:24:24 -07:00
Steven Allen
f9db31740e
Merge pull request #8035 from RubenKelevra/patch-5
docs: clarification of the Strategic Providing functionality
2021-03-30 16:07:28 -07:00
Steven Allen
0a3f88823c
Merge pull request #7994 from ipfs/chore/deprecate-pathprefixes
chore: deprecate Gateway.PathPrefixes
2021-03-30 15:52:02 -07:00
Marcin Rataj
2f105f79b9
chore: deprecate Gateway.PathPrefixes
Context:
https://github.com/ipfs/go-ipfs/issues/7702#issuecomment-803136077
2021-03-30 21:17:41 +02:00
@RubenKelevra
5f0d828e85
docs: clarification of the Strategic Providing functionality
or the lack of
2021-03-29 18:32:02 +02:00
Steven Allen
c3b9a3f638 doc: document security fix policy
1. All releases may contain unannounced security fixes.
2. By default, security fixes will not be backported.
2021-03-18 12:02:36 -07:00
Steven Allen
ccc2d23730 feat: remove secio support
We've had a reliable and enabled by default TLS implementation since
0.4.23 (over a year ago) and turned off SECIO in September of last year.
We might as well remove support entirely in the next release and
encourage users to upgrade their networks.

Noise is faster, anyways.
2021-02-25 13:36:40 -08:00
Marcin Rataj
cb7b147e5a
docs: tips on debugging Policies.MFS (#7929)
* docs: tips on debugging Policies.MFS

Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2021-02-23 11:08:49 -05:00
Marcin Rataj
ced3580581
docs: fix DNSLink gw recipe
Unfortunate typo due to additional negation.
2021-02-20 11:46:08 +01:00
Marcin Rataj
04838257f8 docs: RepinInterval 2021-02-18 16:01:25 -05:00
Marcin Rataj
aaa64baaed style: docs/config.md
Co-authored-by: Jessica Schilling <jessica@protocol.ai>
2021-02-18 16:01:25 -05:00
Marcin Rataj
af96ded973 style: improved MFS PinName example
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2021-02-18 16:01:25 -05:00
Marcin Rataj
c338ed83c7 docs: Pinning.RemoteServices.Policies 2021-02-18 16:01:25 -05:00
Marcin Rataj
d61ae2bcb4
fix: remove use of Clear-Site-Data
We used Clear-Site-Data to cushion transition period for local gateway
exposed at http://localhost while we were still figuring out
security-related details.

In the final implementation subdomain gateways are not tied to a
hostname explicitly, which removes the risk of cookies leaking,
removing the need for the header.

Turns out it causes issues for Firefox users, so let's just remove it.

Closes https://github.com/ipfs-shipyard/ipfs-companion/issues/977
2021-01-29 22:08:16 +01:00
Adin Schmahmann
4ccb526b94
Merge pull request #7847 from ipfs/fix/dnslink-in-subdomain-gw
feat(gw): DNSLink names on https:// subdomains
2021-01-14 14:50:04 -05:00
Marcin Rataj
09178aa717
feat(gw): support inlined DNSLink names with TLS
Problem statement and rationale for doing this can be found under
"Option C" at: https://github.com/ipfs/in-web-browsers/issues/169

TLDR is:

`https://dweb.link/ipns/my.v-long.example.com` can be loaded from a
subdomain gateway with a wildcard TLS cert if represented as a single
DNS label: `https://my-v--long-example-com.ipns.dweb.link`
2021-01-01 21:39:42 +01:00
Henrique Dias
9a33b04db4
Update RELEASE_ISSUE_TEMPLATE.md 2020-12-10 09:14:08 +01:00
Petar Maymounkov
a8c7980721
add remote pinning to ipfs command (#7661)
Added support for remote pinning services

A pinning service is a service that accepts CIDs from a user in order to host the data associated with them.
The spec for these services is defined at https://github.com/ipfs/pinning-services-api-spec

Support is available via the `ipfs pin remote` CLI and the corresponding HTTP API

Co-authored-by: Petar Maymounkov <petarm@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2020-12-08 20:32:33 -05:00
Jorropo
c2b4a83731
docs: Add a link in config.md 2020-11-19 01:30:51 +01:00
Oli Evans
f69b067ed3
docs: add notes on snap build and publish
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2020-10-12 18:13:09 +01:00
Adin Schmahmann
00a08985b0
Merge pull request #7651 from ipfs/docs/x-forwarded-host
docs(config): X-Forwarded-Host
2020-10-02 12:27:24 -04:00
Adin Schmahmann
03d82d9821
Merge pull request #7711 from andrew/patch-1
Add task for updating CLI docs right after updating the HTTP-api docs
2020-10-02 11:52:37 -04:00
Andrew Nesbitt
df33dc43db
Add task for updating CLI docs right after updating the HTTP-api docs 2020-10-02 14:58:34 +01:00
Marcin Rataj
fd01acdfc0
feat(gateway): ?filename with download=true
This implements 'attachment' mode triggered then
?filename parameter is accompanied with &download=true

When Content-Disposition: attachment is detected by a modern browser
it will skip rendering and immediately open the "save as" dialog,
making this useful feature for using IPFS gateway as target of
"Download" links on various websites.

Parameter name was suggested in:
https://github.com/ipfs/go-ipfs/pull/4177#issuecomment-414870327
2020-09-16 22:15:18 +02:00
Marcin Rataj
76892f5c2f
docs(config): X-Forwarded-Host
This fixes a bug and documents X-Forwarded-Host

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-09-11 20:00:25 +02:00
Adin Schmahmann
0ad6a92716 docs: update config to indicate SECIO deprecation 2020-08-26 20:51:53 -04:00
Marcin Rataj
135b90e087 docs(config): fix Peering header
Peering is top level namespace
2020-08-25 10:39:32 -04:00
Adin Schmahmann
0c57e9dcf8
Merge pull request #7319 from MichaelMure/wildcard-gateways
feat: wildcard support for public gateways
2020-08-19 11:02:28 -04:00
Peter Rabbitson
90a573354a Upgrade graphsync deps 2020-08-17 12:23:59 +02:00
Oli Evans
97fee07bd2
Merge pull request #7585 from Luflosi/fix-typo
docs: fix typo in default swarm addrs config docs
2020-08-11 09:53:42 +01:00
Steven Allen
7648a46780
Merge pull request #7478 from ipfs/fix/document-reverse-proxy-bug
doc: document reverse proxy bug
2020-08-08 19:15:28 -07:00
Luflosi
0155a88e5f
docs: fix typo 2020-08-08 23:12:49 +02:00
Michael Muré
13e6bcfb4f
feat: wildcard support for public gateways
Add support for one or more wildcards in the hostname definition
of a public gateway. This is useful for example to support easily
multiples environment.

Wildcarded hostname are set in the config as for example "*.domain.tld".
2020-07-24 20:51:22 +02:00
Marcin Rataj
0acfb38763 chore: fix a typo 2020-07-10 14:13:11 -04:00
Marcin Rataj
580d68685c docs: document X-Forwarded-Host 2020-07-10 14:13:11 -04:00
Adin Schmahmann
19d6230cde Merge branch 'release' into master 2020-06-19 20:04:30 -04:00
Steven Allen
0cef475b2d docs(config): update toc 2020-06-16 22:04:24 -07:00
Steven Allen
c0951e73d7 doc(config): expand on config value limits 2020-06-16 15:15:51 -07:00
Steven Allen
e164af1f2a feat: add a transport config section
This way, users can disable transports (especially QUIC), and set muxer/security
transport priorities.
2020-06-16 15:15:47 -07:00
Steven Allen
406d70ff7c doc: document reverse proxy bug
see https://github.com/ipfs/go-ipfs/issues/6402
2020-06-15 17:01:40 -07:00
Steven Allen
91de6c972e doc(prod): start documenting production stuff
Hopefully, we can get the community to start pooling knowledge of how to run
go-ipfs in production.
2020-06-12 12:13:29 -07:00
Steven Allen
ea55e747f2 doc(config): expand peering docs 2020-06-11 17:58:51 -07:00
Steven Allen
b6aa8df471
Merge pull request #7368 from RubenKelevra/feat/early-testers-rubenkelevra
docs: add pacman.store (@RubenKelevra) to the early testers
2020-05-28 15:06:16 -07:00
Jessica Schilling
c86244ecf5
Update docs/config.md 2020-05-28 11:15:09 -06:00
Jessica Schilling
766023311a
Update docs-beta links to final URLs 2020-05-28 11:14:00 -06:00
Steven Allen
e0ea0b3695 doc: update the release template for git flow changes 2020-05-26 14:22:28 -07:00
@RubenKelevra
4ea43cb53a docs: add pacman.store (@RubenKelevra) to the early testers 2020-05-26 16:07:36 +02:00
Steven Allen
56776c9920 doc(experimental): document noise transport experiment 2020-05-25 23:56:31 -07:00
Steven Allen
7990d2ccb5 doc: expand on peering service documentation
* Explain _why_ it exists.
* Explain how it can be used.
2020-05-25 20:24:43 -07:00
Steven Allen
978091a626 feat: implement peering service
MVP for #6097

This feature will repeatedly reconnect (with a randomized exponential backoff)
to peers in a set of "peered" peers.

In the future, this should be extended to:

1. Include a CLI for modifying this list at runtime.
2. Include additional options for peers we want to _protect_ but not connect to.
3. Allow configuring timeouts, backoff, etc.
4. Allow groups? Possibly through textile threads.
5. Allow for runtime-only peering rules.
6. Different reconnect policies.

But this MVP should be a significant step forward.
2020-05-25 20:24:41 -07:00
@RubenKelevra
2dc1f691f1 quic: remove experimental status and add it to the default config 2020-05-22 04:54:19 +02:00
Steven Allen
554a21b647
Merge pull request #7334 from ipfs/docs/ipns-pubsub-experiment-update
docs: update experimental-features doc with IPNS over pubsub changes.
2020-05-20 16:19:24 -07:00
Adin Schmahmann
a0e01501e7 docs: cleanup config formatting 2020-05-20 13:48:26 -04:00
Adin Schmahmann
6fc9d7a62a longer version history for IPNS over PubSub 2020-05-20 13:31:36 -04:00
Adin Schmahmann
a38987a9de docs: update experimental-features doc with IPNS over pubsub changes. 2020-05-20 12:49:10 -04:00
Steven Allen
df179e03d9 doc(experimental): update pubsub docs 2020-05-19 19:26:19 -07:00
Steven Allen
b29f9e9959 doc(config): document pubsub 2020-05-19 19:24:27 -07:00
Steven Allen
6719e124bb doc(config): sort sections 2020-05-19 19:13:50 -07:00
Marcin Rataj
10aaf24304
chore: update X-Forwarded-Proto copy text
Co-authored-by: Steven Allen <steven@stebalien.com>
2020-05-13 15:07:59 +02:00
Marcin Rataj
c5b30545bf
docs: X-Forwarded-Proto: https
Additional documentation for running subdomain gateway behind reverse proxy with TLS.
2020-05-12 13:00:25 +02:00
Alfonso Montero
ec63880545
Delete section headers for removed features 2020-05-05 23:40:34 +02:00
Corbin Page
19426b9ca2
Update config.md 2020-05-02 17:23:56 -04:00
Louis Thibault
5f9c469b17 Upgrade to IPFS v0.5.0 2020-04-30 00:14:30 +01:00
Louis Thibault
a13311922f Add module files for go-ipfs-as-a-library example 2020-04-29 23:59:27 +01:00
Steven Allen
3a9d495f4a doc: add snap to the release checklist 2020-04-29 11:04:16 -07:00
Steven Allen
36789eaa88
Merge pull request #7238 from ipfs/feat/release-0.5.0
feat: release 0.5.0
2020-04-28 09:08:27 -07:00
Steven Allen
f55d3e8a15 feat: release 0.5.0 2020-04-28 07:48:34 -07:00
@RubenKelevra
2cd4bcf010
remove badgerds from the index, too 2020-04-28 08:54:29 +02:00
Steven Allen
4c663bcf24 feat: update experimental documentations for 0.5.0 release
Mostly:

1. Remove old experiments.
2. Update reasons for features being experimental.
3. Comment on experiments that will be enabled in the near future.
2020-04-27 16:01:27 -07:00
Steven Allen
6d7d3ef30e doc: expand on relay documentation 2020-04-27 16:00:48 -07:00
Steven Allen
fa3f4505e9 docs(datastore): fixup some notes on sync safety 2020-04-27 15:19:49 -07:00
Steven Allen
4ebe7e633d doc: fixup config docs
1. Update go-ipfs-config to fix default datastore.
2. Update TOC.
3. Update profiles list and indicate that badger isn't experimental.
2020-04-27 15:12:04 -07:00
Marcin Rataj
d4570e27ae
docs: note that ShardingEnabled is a global flag
People may assume that HAMT gets enabled only for directories over some arbitrary threshold.
This is not the case. Right now it is a global setting 
which will impact the final CID of all directories produced by ipfs.add.
2020-04-27 00:11:38 +02:00
Dimitris Apostolou
1e437c7e97
Fix typos and cleanup 2020-04-20 22:00:01 +03:00
Steven Allen
1f23fc000c feat: add autonat config options
1. Enable AutoNATService on _all_ nodes by default. If it's an issue, we can
disable it in RC3 but this will give us the best testing results.
2. Expose options to configure AutoNAT rate limiting.
2020-04-14 20:54:58 -07:00
Alan Shaw
81ed4a1430
docs: fix link to version.go 2020-04-14 15:10:10 +01:00
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
3e6f0a7942 doc: cleanup experimental features a bit 2020-04-06 18:53:16 -07: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
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
f28b8fce66 feat: tls by default
Switches to TLS as the default security transports.
2020-03-29 19:12:54 -07:00
Marcin Rataj
3ecccd6e1d feat(gateway): subdomain and proxy gateway
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-03-18 08:50:38 -07:00
Marcin Rataj
848d4c7f18 feat: IPFS_NS_MAP
Allows static DNSLink mappings with IPFS_NS_MAP.

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-03-17 19:38:02 -07:00
Steven Allen
46d26af0b6 feat(graphsync): mount the graphsync libp2p protocol
This won't fetch files from graphsync but will serve them.

fixes #6830
2020-02-26 09:11:15 -08:00
Steven Allen
aae957a70d
Merge pull request #6887 from ipfs/peerlog-plugin
feat: add peerlog plugin
2020-02-10 14:53:06 -08:00
Steven Allen
58e52f351d feat: make it possible to enable plugins with a build env variable 2020-02-10 13:05:32 -08:00
Steven Allen
943375b33f doc(plugin): document internal plugins 2020-02-10 12:48:25 -08:00
Steven Allen
bd8917facf doc(config): cleanup
Trying to make this a bit more consistent and structured.

* Fix wrapping.
* Use headings for all config values.
2020-01-30 22:14:21 -08:00
Steven Allen
e18e4f98d8 doc(release): add Charity Engine to the early testers programme 2020-01-29 12:15:20 -08:00
Steven Allen
57727c25c3 doc(release): document how RCs should be communicated 2020-01-22 08:17:12 -08:00
Steven Allen
864485b234 doc(release): move WebUI from manual tests to automated tests section
We no longer need to manually test the webui on release.
2020-01-17 18:17:16 -08:00
Oli Evans
0eba53bd98
docs: define Gateway.PathPrefixes
adds docs for Gateway.PathPrefixes. Taken from great commit notes by @lgierth (thank you!) 09937f84b6
2020-01-15 14:32:05 +00:00
Steven Allen
15c35a5a95 doc: update documentation for /ipfs -> /p2p multiaddr switch
See: https://github.com/libp2p/libp2p/issues/79
2019-12-14 19:39:59 +01:00
Henrique Dias
698084a88c
Update README.md 2019-12-11 18:03:30 +01:00
Henrique Dias
3d976342dc
Update README.md 2019-12-11 17:54:57 +01:00
Henrique Dias
5a979c6ecd
Update main.go 2019-12-11 17:54:27 +01:00
Henrique Dias
9a9660e04a
Create README.md 2019-12-11 17:53:59 +01:00
Henrique Dias
b370cb13bc
Update README.md 2019-12-11 17:26:52 +01:00
Henrique Dias
a596c970c9
Update main.go 2019-12-11 17:25:46 +01:00
Steven Allen
22a15259e7 fix(example): cancel context 2019-12-05 13:26:46 -05:00
Adin Schmahmann
1283f76aaa gofmt: go-ipfs-as-a-library 2019-12-05 13:18:38 -05:00
Steven Allen
e6968c9f22 doc(gateway): document dnslink 2019-11-15 16:53:25 -08:00
David Dias
79d5cede21
docs: remove extra ) on the example README 2019-10-29 09:16:46 +01:00
David Dias
1bc15a4b42
docs: Tutorial - Using go-ipfs as a Library 2019-10-29 09:12:17 +01:00
Oli Evans
134cb5ef9c
docs: add connmgr to config.md toc 2019-10-11 15:26:53 +01:00
Steven Allen
be87862614
Merge pull request #6678 from ipfs/feat/api-over-unix
daemon: support unix domain sockets for the API/gateway
2019-10-01 11:31:45 -07:00
David Dias
04b1bda140
docs: link remaining docs available, guide people to the right locations 2019-10-01 17:23:47 +03:00
Steven Allen
460c2119e4 daemon: support unix domain sockets for the API/gateway
All the work was client-side. Unix domain socket multiaddrs already worked
server-side.

fixes #4218
2019-09-30 17:21:28 -07:00
Steven Allen
76db2a0b31 doc(config): improve DisableNatPortMap documentation 2019-09-20 16:36:15 -07:00
Henrique Dias
ec2383f721
docs: add multiple gateway and api addrs 2019-09-06 13:16:54 +01:00
Steven Allen
8f73cafced
doc: fix typo in the release issue template.
Co-Authored-By: Alan Shaw <alan.shaw@protocol.ai>
2019-09-04 13:41:59 -07:00
Steven Allen
d36e1c8357 doc: add post-release checklist 2019-09-04 12:46:02 -07:00
Alan Shaw
5c2cdd5ed4
docs: add ship date and next release issue opening time
Adds estimated shipping date (can be fuzzy) to the release issue template and clarifies the time before which the next release issue should be opened. This communicates expectations for when the new release is due and will help with planning of included features. The community could even suggest inclusions.
2019-09-04 09:48:46 +01:00
Steven Allen
3c04d74238
Merge pull request #6616 from ipfs/docs/release-doc-improvements
docs: improvements to the release doc
2019-09-03 15:57:35 -07:00
Steven Allen
d5977fc475
Merge pull request #6613 from ipfs/feat/plugin-config
plugins: add support for plugin configs
2019-08-30 18:49:15 -07:00
Alan Shaw
b71f202803
fix stage 3 link 2019-08-30 10:34:45 +01:00
Alan Shaw
878838adbd
fix: more dashes 2019-08-30 10:31:06 +01:00
Alan Shaw
d0983b7641
docs: improvements to the release doc
* Adds missing items to ToC
* Adds sub-level items to ToC (there's not many, lets allow people to more easily skip to a section)
* Moves release process illustration to the top of the release flow section - it's an overview, it should be at the start not the end
* Fix a typo
* Removes braces in "Goal(s):" where there is clearly more than one
2019-08-30 10:29:01 +01:00
Steven Allen
150b6dd1bd plugins: add support for plugin configs
For now, configs specified in `daemon --init-config` and `init CONFIG` are not
available. We should fix this eventually but isn't necessary for now (and
supporting this will be annoying).
2019-08-29 17:17:23 -07:00