Commit Graph

13904 Commits

Author SHA1 Message Date
Antonio Navarro Perez
633c497f63 Adjust inbound connection limits depending on memory. 2023-01-30 11:01:03 +01:00
Dan McQuillan
7cb8082bbe
feat: ipfs-webui 2.22.0 2023-01-28 08:32:50 +01:00
Jorropo
b3c98bb085 chore: bump go-libipfs remove go-bitswap 2023-01-27 23:07:01 +01:00
Marcin Rataj
f2dab48e66 docs: DefaultResourceMgrMinInboundConns 2023-01-27 19:47:31 +01:00
Henrique Dias
a3c70a11e6
feat(gateway): IPNS record response format (IPIP-351) (#9399)
* feat(gateway): IPNS record response format
* docs(rpc): mark as experimental: routing provide, get, put

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-27 04:46:50 +01:00
Henrique Dias
94e7f79805
fix(ipns): honour --ttl flag in 'ipfs name publish' (#9471)
* fix: honour --ttl flag in 'ipfs name publish'
* docs(cli): ipfs name inspect --help

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-27 02:33:13 +01:00
Mohsin Zaidi
9652f24f6c
feat: Pubsub.SeenMessagesStrategy (#9543)
* feat: expire messages from the cache based on last seen time
* docs: Pubsub.SeenMessagesStrategy

Ref. https://github.com/libp2p/go-libp2p-pubsub/pull/513

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-27 00:24:35 +01:00
Jorropo
f20c980f2d chore: bump go-libipfs to replace go-block-format
Includes changes from:
- https://github.com/ipfs/go-block-format/pull/37
- https://github.com/ipfs/go-libipfs/pull/58
2023-01-26 16:55:48 +01:00
Piotr Galar
644f0ae22d
Merge pull request #9581 from ipfs/merge-kubo-v0.18
Merge Kubo: v0.18
2023-01-25 12:44:55 +01:00
Piotr Galar
5ca211b811
Merge branch 'master' into merge-kubo-v0.18 2023-01-24 14:19:09 +01:00
Piotr Galar
675037721f
Merge pull request #9498 from ipfs/release-v0.18
Release: v0.18
2023-01-23 14:57:21 +01:00
galargh
7edf86c3b3 docs: update changelog 2023-01-23 14:18:01 +01:00
galargh
816904386b chore: update version.go 2023-01-23 13:41:02 +01:00
Steve Loeppky
0aa23b3ed8 fix: clarity: no user supplied rcmgr limits of 0 (#9563)
Co-authored-by: Antonio Navarro Perez <antnavper@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-23 12:05:24 +01:00
Henrique Dias
14703e19e3 fix(gateway): undesired conversions to dag-json and friends (#9566)
* fix(gateway): do not convert unixfs/raw into dag-* unless explicit
* fix(gateway): keep only dag-json|dag-cbor handling
* fix: allow requesting dag-json as application/json
- adds bunch of additional tests including JSON file on UnixFS
- fix: dag-json codec (0x0129) can be returned as plain json
- fix: json codec (0x0200) cna be retrurned as plain json
* fix: using ?format|Accept with CID w/ codec works
* docs(changelog): cbor and json on gateway

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-23 12:05:18 +01:00
Marcin Rataj
a9fdf26eeb fix(ci): work around bifrost-infra/issues/2300
https://github.com/protocol/bifrost-infra/issues/2300#issuecomment-1398946009
2023-01-23 12:05:11 +01:00
Jorropo
486c4b5256 fix: ensure connmgr is smaller then autoscalled ressource limits
Fixes #9545
2023-01-23 12:05:02 +01:00
Jorropo
5bbc5212ee fix: typo in ensureConnMgrMakeSenseVsResourcesMgr 2023-01-23 12:04:56 +01:00
Jorropo
0ae3285a76 docs: clarify browser descriptions for webtransport 2023-01-23 12:04:50 +01:00
galargh
37059b82f7 fix: update saxon download path 2023-01-23 12:04:43 +01:00
Jorropo
c4cc21dcca fix: refuse to start if connmgr is smaller than ressource limits and not using none connmgr
Fixes: #9548
2023-01-23 12:04:35 +01:00
Marcin Rataj
7bcca5fcd4 fix: User-Agent sent to HTTP routers
See https://github.com/ipfs/go-libipfs/issues/17
and https://github.com/ipfs/go-libipfs/pull/31
2023-01-23 12:04:25 +01:00
Gus Eggert
02d4a0100f test: port gateway sharness tests to Go tests 2023-01-23 12:04:18 +01:00
galargh
a7b23d8a49 fix: do not download saxon in parallel 2023-01-23 12:04:05 +01:00
Piotr Galar
b11a8a960f Merge pull request #9546 from ipfs/docker-image
fix: docker image publishing and experimental gh workflow
2023-01-23 12:03:28 +01:00
galargh
bfdaf2ffbf fix: docker image publishing 2023-01-23 12:03:02 +01:00
Antonio Navarro Perez
89cdd8264f docs: improve docs/README (#9539)
Avoid confusion about what kind of documentation we have on this folder.
2023-01-23 12:02:37 +01:00
Marcin Rataj
8b2d21c235 chore: switch actions to master 2023-01-23 12:02:19 +01:00
Piotr Galar
d889a07671 test: port CircleCI to GH Actions and improve sharness reporting (#9355)
Closes https://github.com/ipfs/kubo/issues/8991
Part of https://github.com/ipfs/kubo/issues/8804
2023-01-23 12:01:58 +01:00
Henrique Dias
4ddeda55c0 chore: migrate from go-ipfs-files to go-libipfs/files (#9535) 2023-01-23 12:01:20 +01:00
Antonio Navarro Perez
2759a229c7 fix: stats dht command when Routing.Type=auto (#9538)
Fixes default auto mode, but Routing.Type=custom needs more work.
Continued in https://github.com/ipfs/kubo/issues/9482
2023-01-23 12:01:02 +01:00
Jorropo
5138e7ba07 fix: hint people to changing from RSA peer ids 2023-01-23 12:00:42 +01:00
Marcin Rataj
b333740468 fix(gateway): JSON when Accept is a list
Block/CAR responses always had single explicit type, and we did not bother
with implementing/testing lists.

With the introduction of JSON people may start passing a list.
This is the most basic fix which will return on the first matching
type (in order). This does not implements weights (can be added in
future, if needed).

Closes #9520
2023-01-23 12:00:22 +01:00
Marcin Rataj
b22aae76a4 fix(test): retry flaky t0125-twonode.sh
This makes is clear why test failed, and what were values.

Fixes flaky test: It will re-run flaky advanced test until bitswap stats
match expected value (something team has been doing anyway for the past
year).

It also adds /quic-v1 and /webtransport tests
2023-01-23 11:59:59 +01:00
Antonio Navarro Perez
1f3e1d1120 docs: fix Router config Godoc (#9528)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-23 11:59:29 +01:00
Marcin Rataj
9d8d2748b1 fix(ci): flaky sharness test 2023-01-23 11:59:00 +01:00
Antonio Navarro Perez
04931b042d docs(config): ProviderSearchDelay (#9526)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-23 11:58:38 +01:00
Vladimir Ivanov
26edc75eaa docs: clarify debug environment variables 2023-01-23 11:58:03 +01:00
Steve Loeppky
9327ee64ce
fix: clarity: no user supplied rcmgr limits of 0 (#9563)
Co-authored-by: Antonio Navarro Perez <antnavper@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-22 20:04:18 +01:00
Henrique Dias
c706c638fc
fix(gateway): undesired conversions to dag-json and friends (#9566)
* fix(gateway): do not convert unixfs/raw into dag-* unless explicit
* fix(gateway): keep only dag-json|dag-cbor handling
* fix: allow requesting dag-json as application/json
- adds bunch of additional tests including JSON file on UnixFS
- fix: dag-json codec (0x0129) can be returned as plain json
- fix: json codec (0x0200) cna be retrurned as plain json
* fix: using ?format|Accept with CID w/ codec works
* docs(changelog): cbor and json on gateway

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-21 04:21:18 +01:00
Marcin Rataj
ad9b486511 fix(ci): work around bifrost-infra/issues/2300
https://github.com/protocol/bifrost-infra/issues/2300#issuecomment-1398946009
2023-01-21 00:31:20 +01:00
Jorropo
8328bab28d fix: ensure connmgr is smaller then autoscalled ressource limits
Fixes #9545
2023-01-20 19:25:38 +01:00
Jorropo
b84cd11566
fix: typo in ensureConnMgrMakeSenseVsResourcesMgr 2023-01-20 15:29:54 +01:00
Jorropo
92c76cc91e
docs: clarify browser descriptions for webtransport 2023-01-20 11:24:45 +01:00
galargh
c69632d75b fix: update saxon download path 2023-01-19 18:24:09 +01:00
Jorropo
73ebad1892 fix: refuse to start if connmgr is smaller than ressource limits and not using none connmgr
Fixes: #9548
2023-01-19 01:40:48 +01:00
Marcin Rataj
1fa3a789d4 fix: User-Agent sent to HTTP routers
See https://github.com/ipfs/go-libipfs/issues/17
and https://github.com/ipfs/go-libipfs/pull/31
2023-01-19 00:49:46 +01:00
Gus Eggert
5d864faac7 test: port gateway sharness tests to Go tests 2023-01-17 21:27:54 +01:00
galargh
d90a9b5b33 fix: do not download saxon in parallel 2023-01-16 03:00:21 +01:00
Piotr Galar
ed9ad0cad9
Merge pull request #9546 from ipfs/docker-image
fix: docker image publishing and experimental gh workflow
2023-01-14 12:02:53 +01:00