Commit Graph

14357 Commits

Author SHA1 Message Date
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
galargh
289b490b1b fix: source of the runner workflow 2023-01-14 11:41:20 +01:00
galargh
3e24898488 fix: multiline output in docker image workflow 2023-01-14 11:34:28 +01:00
galargh
dc14ccd7fd chore: use DOCKER_USERNAME from vars rather than secrets 2023-01-14 11:30:59 +01:00
galargh
c9ec418e71 fix: docker image publishing 2023-01-14 11:29:55 +01:00
Antonio Navarro Perez
b74377c6f8
docs: improve docs/README (#9539)
Avoid confusion about what kind of documentation we have on this folder.
2023-01-14 01:30:48 +01:00
Marcin Rataj
cab044171d
chore: switch actions to master 2023-01-14 01:08:42 +01:00
Piotr Galar
d4cd414b5e
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-14 00:49:52 +01:00
Henrique Dias
255e64e49e
chore: migrate from go-ipfs-files to go-libipfs/files (#9535) 2023-01-13 14:27:03 +01:00
Antonio Navarro Perez
3bc9b675a0
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-13 00:38:38 +01:00
Jorropo
f54b2bcf60 fix: hint people to changing from RSA peer ids 2023-01-11 23:54:05 +01:00
Marcin Rataj
f6825ab662 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-11 22:18:52 +01:00
Marcin Rataj
73e6ade109 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-05 22:58:18 +01:00
Antonio Navarro Perez
ca0396ea1c
docs: fix Router config Godoc (#9528)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-05 13:30:24 +01:00
Marcin Rataj
13155e56cd
fix(ci): flaky sharness test 2023-01-05 00:08:05 +01:00
Antonio Navarro Perez
d386c43117
docs(config): ProviderSearchDelay (#9526)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-04 20:44:37 +01:00
galargh
faaac6e4cd chore: combined improvements from v0.18.0-rc2 2023-01-04 18:59:21 +01:00
Vladimir Ivanov
746f14c881 docs: clarify debug environment variables 2023-01-04 17:33:51 +01:00
Antonio Navarro Perez
8cdc86d8c4 fix: disable provide over HTTP with Routing.Type=auto (#9511)
Closes https://github.com/ipfs/kubo/issues/9504
2023-01-04 13:56:15 +01:00
galargh
60092924a9 chore: update version.go 2023-01-04 09:04:09 +00:00
Marcin Rataj
648f765afa fix(test): stabilize flaky provider tests 2023-01-04 09:45:59 +01:00
Marten Seemann
15ed4c1c02 fix: update go-libp2p to v0.24.2 (#9522)
https://github.com/libp2p/go-libp2p/releases/tag/v0.24.2
2023-01-04 09:45:53 +01:00
Gus Eggert
c8442bcf19 feat: port pins CLI test 2023-01-04 09:45:44 +01:00
Piotr Galar
e44a4d9228 Merge pull request #9503 from ipfs/docs/early-testers-remove-qri
Removing QRI from early tester
2023-01-04 09:43:00 +01:00
Antonio Navarro Perez
d6069b93ee
fix: disable provide over HTTP with Routing.Type=auto (#9511)
Closes https://github.com/ipfs/kubo/issues/9504
2023-01-03 21:10:33 +01:00
Marcin Rataj
94f8f89c4a fix(test): stabilize flaky provider tests 2023-01-02 16:59:05 +01:00
Marten Seemann
d6921c6d03
fix: update go-libp2p to v0.24.2 (#9522)
https://github.com/libp2p/go-libp2p/releases/tag/v0.24.2
2023-01-02 13:53:58 +01:00
Gus Eggert
430a65ad5f feat: port pins CLI test 2022-12-16 07:39:52 -05:00
GitHub
7f08039759 chore: Update .github/workflows/stale.yml [skip ci] 2022-12-16 09:21:13 +00:00
Piotr Galar
efc194fe83
Merge pull request #9503 from ipfs/docs/early-testers-remove-qri
Removing QRI from early tester
2022-12-14 10:38:00 +01:00
Steve Loeppky
fceefcdf13
Removing QRI from early tester
Removing QRI from early testers since the organization isn't operating.
2022-12-13 13:27:06 -08:00
Piotr Galar
7db059b493
Update RELEASE_ISSUE_TEMPLATE.md 2022-12-13 22:09:55 +01:00